public class CellStyle extends Object implements ICellStyle
BOTTOM, LEFT, RIGHT, TOP| Constructor and Description |
|---|
CellStyle(ICellStyle cellStyle) |
| Modifier and Type | Method and Description |
|---|---|
short[][] |
getBorderRGB() |
org.apache.poi.ss.usermodel.BorderStyle[] |
getBorderStyle() |
short[] |
getFillBackgroundColor()
get the background fill color
|
short |
getFillBackgroundColorIndex() |
short[] |
getFillForegroundColor()
get the foreground fill color
|
short |
getFillForegroundColorIndex() |
org.apache.poi.ss.usermodel.FillPatternType |
getFillPattern() |
short |
getFormatIndex()
Get the index of the data format.
|
String |
getFormatString()
Get the format string
|
org.apache.poi.ss.usermodel.HorizontalAlignment |
getHorizontalAlignment()
get the type of horizontal alignment for the cell
|
int |
getIndent()
get the number of spaces to indent the text in the cell
|
int |
getRotation()
get the degree of rotation for the text in the cell
|
org.apache.poi.ss.usermodel.VerticalAlignment |
getVerticalAlignment()
get the type of vertical alignment for the cell
|
boolean |
isWrappedText()
get whether the text should be wrapped
|
void |
setBorderRGB(short[][] borderRGB) |
void |
setBorderStyle(org.apache.poi.ss.usermodel.BorderStyle[] borderStyle) |
void |
setFillBackgroundColor(short[] fillBackgroundColor) |
void |
setFillForegroundColor(short[] fillForegroundColor) |
public CellStyle(ICellStyle cellStyle)
public short[][] getBorderRGB()
getBorderRGB in interface ICellStylepublic org.apache.poi.ss.usermodel.BorderStyle[] getBorderStyle()
getBorderStyle in interface ICellStylepublic short[] getFillBackgroundColor()
ICellStylegetFillBackgroundColor in interface ICellStylepublic short[] getFillForegroundColor()
ICellStylegetFillForegroundColor in interface ICellStylepublic org.apache.poi.ss.usermodel.HorizontalAlignment getHorizontalAlignment()
ICellStylegetHorizontalAlignment in interface ICellStylepublic int getIndent()
ICellStylegetIndent in interface ICellStylepublic int getRotation()
ICellStylegetRotation in interface ICellStylepublic org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlignment()
ICellStylegetVerticalAlignment in interface ICellStylepublic boolean isWrappedText()
ICellStyleisWrappedText in interface ICellStylepublic void setBorderRGB(short[][] borderRGB)
public void setBorderStyle(org.apache.poi.ss.usermodel.BorderStyle[] borderStyle)
public void setFillBackgroundColor(short[] fillBackgroundColor)
public void setFillForegroundColor(short[] fillForegroundColor)
public short getFillBackgroundColorIndex()
getFillBackgroundColorIndex in interface ICellStylepublic short getFillForegroundColorIndex()
getFillForegroundColorIndex in interface ICellStylepublic org.apache.poi.ss.usermodel.FillPatternType getFillPattern()
getFillPattern in interface ICellStylepublic short getFormatIndex()
ICellStyleBuiltinFormats.getFormatIndex in interface ICellStyleDataFormatpublic String getFormatString()
ICellStylegetFormatString in interface ICellStyleCopyright © 2004–2019 OpenL Tablets. All rights reserved.