IExcelCellStyle
.@Deprecated public class ExcelCellStyle extends java.lang.Object implements IExcelCellStyle
IExcelCellStyle.BorderTypes, IExcelCellStyle.Color, IExcelCellStyle.HorizontalAlignment, IExcelCellStyle.VerticalAlignment
Constructor and Description |
---|
ExcelCellStyle()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IExcelCellStyle.Color |
getBackGroundColor()
Deprecated.
As of release 6.10.18, will be removed in release 7.22.
|
IExcelCellStyle.HorizontalAlignment |
getHAlign()
Deprecated.
As of release 6.10.18, will be removed in release 7.22.
|
org.apache.poi.hssf.usermodel.HSSFCellStyle |
getHSSFCellStyle(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
Deprecated.
|
IExcelCellStyle.VerticalAlignment |
getVAlign()
Deprecated.
As of release 6.10.18, will be removed in release 7.22.
|
void |
setBackGroundColor(IExcelCellStyle.Color backGroundColor)
Deprecated.
Set the background color of a cell
|
void |
setBorderColor(Common.BorderSide borderSide,
IExcelCellStyle.Color color)
Deprecated.
Set the border color for a given border side
|
void |
setBorderStyle(Common.BorderSide borderSide,
IExcelCellStyle.BorderTypes type)
Deprecated.
Set a border style for a given border side
|
void |
setDataFormat(java.lang.String dataFormat)
Deprecated.
Set the data format of a cell
|
void |
setFontStyle(java.lang.String fontName,
short height,
IExcelCellStyle.Color fontColor)
Deprecated.
Set the font style
|
void |
setHAlign(IExcelCellStyle.HorizontalAlignment align)
Deprecated.
Set horizontal alignment of text in a cell
|
void |
setTextDecoration(boolean isBold,
boolean isItalic,
boolean isUnderlined,
boolean isStrikeOut)
Deprecated.
Set text decoration
|
void |
setVAlign(IExcelCellStyle.VerticalAlignment align)
Deprecated.
Set vertical alignment of text in a cell
|
public void setBorderStyle(Common.BorderSide borderSide, IExcelCellStyle.BorderTypes type)
IExcelCellStyle
setBorderStyle
in interface IExcelCellStyle
borderSide
- the border sidetype
- the border typepublic void setBorderColor(Common.BorderSide borderSide, IExcelCellStyle.Color color)
IExcelCellStyle
setBorderColor
in interface IExcelCellStyle
borderSide
- the border sidecolor
- the colorpublic org.apache.poi.hssf.usermodel.HSSFCellStyle getHSSFCellStyle(org.apache.poi.hssf.usermodel.HSSFWorkbook workbook)
public void setDataFormat(java.lang.String dataFormat)
IExcelCellStyle
setDataFormat
in interface IExcelCellStyle
public void setTextDecoration(boolean isBold, boolean isItalic, boolean isUnderlined, boolean isStrikeOut)
IExcelCellStyle
setTextDecoration
in interface IExcelCellStyle
public void setFontStyle(java.lang.String fontName, short height, IExcelCellStyle.Color fontColor)
IExcelCellStyle
setFontStyle
in interface IExcelCellStyle
public IExcelCellStyle.HorizontalAlignment getHAlign()
public void setHAlign(IExcelCellStyle.HorizontalAlignment align)
IExcelCellStyle
setHAlign
in interface IExcelCellStyle
align
- the hAlign to setpublic IExcelCellStyle.VerticalAlignment getVAlign()
public void setVAlign(IExcelCellStyle.VerticalAlignment align)
IExcelCellStyle
setVAlign
in interface IExcelCellStyle
align
- the vAlign to setpublic IExcelCellStyle.Color getBackGroundColor()
public void setBackGroundColor(IExcelCellStyle.Color backGroundColor)
IExcelCellStyle
setBackGroundColor
in interface IExcelCellStyle
backGroundColor
- the backGroundColor to set