Annotation Type ExcelHeaderCellLayout
The Interface ExcelHeaderCellLayout.
ExcelHeaderCellLayout is used to define the header cell style.
It is set on fields of
The header cell style is composed by:
ExcelHeaderCellLayout is used to define the header cell style.
It is set on fields of
RowSheet classes or it is a property of the annotation ExcelHeaderLayout.The header cell style is composed by:
- Border - to set borders types
- HorizontalAlignment - to set horizontal alignment
- VerticalAlignment - to set vertical alignment
- Font - to set font type
- wrap - to enable and disable wrap text into cell
- rgbFont - to set the font color
- rgbForeground - to set the background color
- fillPatternType - to set fill pattern style
- precision - to set the precision number, if the value is not a number then it can be ignored
- locked - to enable and disable cell editable
- rotation - to set the cell rotation
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionBorder.org.apache.poi.ss.usermodel.FillPatternTypeFill pattern type.Font.org.apache.poi.ss.usermodel.HorizontalAlignmentHorizontal alignment.booleanLocked.Rgb font.Rgb foreground.intRotation.org.apache.poi.ss.usermodel.VerticalAlignmentVertical alignment.booleanWrap.
-
Element Details
-
border
ExcelBorder borderBorder.- Returns:
- the excel border
- Default:
@bld.generator.report.excel.annotation.ExcelBorder(top=THIN, bottom=THIN, left=THIN, right=THIN)
-
wrap
boolean wrapWrap.- Returns:
- true, if successful
- Default:
true
-
rgbFont
ExcelRgbColor rgbFontRgb font.- Returns:
- the excel rgb color
- Default:
@bld.generator.report.excel.annotation.ExcelRgbColor(red=(byte)0x00, green=(byte)0x61, blue=(byte)0x00)
-
rgbForeground
ExcelRgbColor rgbForegroundRgb foreground.- Returns:
- the excel rgb color
- Default:
@bld.generator.report.excel.annotation.ExcelRgbColor(red=(byte)0xc6, green=(byte)0xef, blue=(byte)0xce)
-
font
ExcelFont fontFont.- Returns:
- the excel font
- Default:
@bld.generator.report.excel.annotation.ExcelFont(bold=true)
-
horizontalAlignment
org.apache.poi.ss.usermodel.HorizontalAlignment horizontalAlignmentHorizontal alignment.- Returns:
- the horizontal alignment
- Default:
CENTER
-
verticalAlignment
org.apache.poi.ss.usermodel.VerticalAlignment verticalAlignmentVertical alignment.- Returns:
- the vertical alignment
- Default:
CENTER
-
fillPatternType
org.apache.poi.ss.usermodel.FillPatternType fillPatternTypeFill pattern type.- Returns:
- the fill pattern type
- Default:
SOLID_FOREGROUND
-
rotation
int rotationRotation.- Returns:
- the int
- Default:
0
-
locked
boolean lockedLocked.- Returns:
- true, if successful
- Default:
false
-