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)
IExcelCellStylesetBorderStyle in interface IExcelCellStyleborderSide - the border sidetype - the border typepublic void setBorderColor(Common.BorderSide borderSide, IExcelCellStyle.Color color)
IExcelCellStylesetBorderColor in interface IExcelCellStyleborderSide - 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)
IExcelCellStylesetDataFormat in interface IExcelCellStylepublic void setTextDecoration(boolean isBold,
boolean isItalic,
boolean isUnderlined,
boolean isStrikeOut)
IExcelCellStylesetTextDecoration in interface IExcelCellStylepublic void setFontStyle(java.lang.String fontName,
short height,
IExcelCellStyle.Color fontColor)
IExcelCellStylesetFontStyle in interface IExcelCellStylepublic IExcelCellStyle.HorizontalAlignment getHAlign()
public void setHAlign(IExcelCellStyle.HorizontalAlignment align)
IExcelCellStylesetHAlign in interface IExcelCellStylealign - the hAlign to setpublic IExcelCellStyle.VerticalAlignment getVAlign()
public void setVAlign(IExcelCellStyle.VerticalAlignment align)
IExcelCellStylesetVAlign in interface IExcelCellStylealign - the vAlign to setpublic IExcelCellStyle.Color getBackGroundColor()
public void setBackGroundColor(IExcelCellStyle.Color backGroundColor)
IExcelCellStylesetBackGroundColor in interface IExcelCellStylebackGroundColor - the backGroundColor to set