public class XlsCellStyle extends Object implements ICellStyle
BOTTOM, LEFT, RIGHT, TOP| Constructor and Description |
|---|
XlsCellStyle(org.apache.poi.ss.usermodel.CellStyle xlsStyle,
org.apache.poi.ss.usermodel.Workbook workbook) |
| 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
|
org.apache.poi.ss.usermodel.CellStyle |
getXlsStyle() |
boolean |
hasNoFill() |
boolean |
isWrappedText()
get whether the text should be wrapped
|
public XlsCellStyle(org.apache.poi.ss.usermodel.CellStyle xlsStyle,
org.apache.poi.ss.usermodel.Workbook workbook)
public short[][] getBorderRGB()
getBorderRGB in interface ICellStylepublic org.apache.poi.ss.usermodel.BorderStyle[] getBorderStyle()
getBorderStyle in interface ICellStylepublic org.apache.poi.ss.usermodel.FillPatternType getFillPattern()
getFillPattern in interface ICellStylepublic boolean hasNoFill()
public short[] getFillBackgroundColor()
ICellStylegetFillBackgroundColor in interface ICellStylepublic short getFillBackgroundColorIndex()
getFillBackgroundColorIndex in interface ICellStylepublic short[] getFillForegroundColor()
ICellStylegetFillForegroundColor in interface ICellStylepublic short getFillForegroundColorIndex()
getFillForegroundColorIndex in interface ICellStylepublic org.apache.poi.ss.usermodel.HorizontalAlignment getHorizontalAlignment()
ICellStylegetHorizontalAlignment in interface ICellStylepublic org.apache.poi.ss.usermodel.VerticalAlignment getVerticalAlignment()
ICellStylegetVerticalAlignment in interface ICellStylepublic int getIndent()
ICellStylegetIndent in interface ICellStylepublic int getRotation()
ICellStylegetRotation in interface ICellStylepublic boolean isWrappedText()
ICellStyleisWrappedText in interface ICellStylepublic short getFormatIndex()
ICellStyleBuiltinFormats.getFormatIndex in interface ICellStyleDataFormatpublic String getFormatString()
ICellStylegetFormatString in interface ICellStylepublic org.apache.poi.ss.usermodel.CellStyle getXlsStyle()
Copyright © 2004–2019 OpenL Tablets. All rights reserved.