public interface IExcelCellStyle
Modifier and Type | Interface and Description |
---|---|
static class |
IExcelCellStyle.BorderTypes |
static class |
IExcelCellStyle.Color |
static class |
IExcelCellStyle.HorizontalAlignment |
static class |
IExcelCellStyle.VerticalAlignment |
Modifier and Type | Method and Description |
---|---|
void |
setBackGroundColor(IExcelCellStyle.Color backGroundColor)
Set the background color of a cell
|
void |
setBorderColor(Common.BorderSide borderSide,
IExcelCellStyle.Color color)
Set the border color for a given border side
|
void |
setBorderStyle(Common.BorderSide borderSide,
IExcelCellStyle.BorderTypes type)
Set a border style for a given border side
|
void |
setDataFormat(java.lang.String dataFormat)
Set the data format of a cell
|
void |
setFontStyle(java.lang.String fontName,
short height,
IExcelCellStyle.Color fontColor)
Set the font style
|
void |
setHAlign(IExcelCellStyle.HorizontalAlignment align)
Set horizontal alignment of text in a cell
|
void |
setTextDecoration(boolean isBold,
boolean isItalic,
boolean isUnderlined,
boolean isStrikeOut)
Set text decoration
|
void |
setVAlign(IExcelCellStyle.VerticalAlignment align)
Set vertical alignment of text in a cell
|
void setBorderStyle(Common.BorderSide borderSide, IExcelCellStyle.BorderTypes type)
borderSide
- the border sidetype
- the border typevoid setBorderColor(Common.BorderSide borderSide, IExcelCellStyle.Color color)
borderSide
- the border sidecolor
- the colorvoid setTextDecoration(boolean isBold, boolean isItalic, boolean isUnderlined, boolean isStrikeOut)
isBold
- isItalic
- isUnderlined
- isStrikeOut
- void setFontStyle(java.lang.String fontName, short height, IExcelCellStyle.Color fontColor)
fontName
- height
- fontColor
- void setHAlign(IExcelCellStyle.HorizontalAlignment align)
align
- void setVAlign(IExcelCellStyle.VerticalAlignment align)
align
- void setBackGroundColor(IExcelCellStyle.Color backGroundColor)
backGroundColor
- void setDataFormat(java.lang.String dataFormat)
dataFormat
-