A class to build an org.apache.poi.xssf.usermodel.XSSFCellStyle from a map
| Modifiers | Name | Description |
|---|---|---|
protected static java.lang.String |
BACKGROUND_COLOR |
|
protected static java.lang.String |
BORDER |
|
protected static java.lang.String |
BOTTOM |
|
protected static java.lang.String |
COLOR |
|
protected static java.lang.String |
FILL |
|
protected static java.lang.String |
FONT |
|
protected static java.lang.String |
FONT_BOLD |
|
protected static java.lang.String |
FONT_COLOR |
|
protected static java.lang.String |
FONT_ITALIC |
|
protected static java.lang.String |
FONT_NAME |
|
protected static java.lang.String |
FONT_SIZE |
|
protected static java.lang.String |
FONT_STRIKEOUT |
|
protected static java.lang.String |
FONT_UNDERLINE |
|
protected static java.lang.String |
FOREGROUND_COLOR |
|
protected static java.lang.String |
FORMAT |
|
protected static java.lang.String |
HIDDEN |
|
protected static java.lang.String |
HORIZONTAL_ALIGNMENT |
|
protected static java.lang.String |
INDENT |
|
protected static java.lang.String |
LEFT |
|
protected static java.lang.String |
LOCKED |
|
protected static java.lang.String |
RIGHT |
|
protected static java.lang.String |
ROTATION |
|
protected static java.lang.String |
STYLE |
|
protected static java.lang.String |
TOP |
|
protected static java.lang.String |
VERTICAL_ALIGNMENT |
|
protected static java.lang.String |
WRAPPED |
| Type | Name and description |
|---|---|
org.apache.poi.xssf.usermodel.XSSFWorkbook |
workbook |
| Constructor and description |
|---|
CellStyleBuilder
(org.apache.poi.xssf.usermodel.XSSFWorkbook workbook) |
| Type | Name and description |
|---|---|
void |
applyBorderToRegion(CellRangeBorderStyleApplier borderStyleApplier, java.util.Map border) |
org.apache.poi.xssf.usermodel.XSSFCellStyle |
buildStyle(java.lang.Object value, java.util.Map options)A method to build a style object based on a map of parameters |
static void |
convertSimpleOptions(java.util.Map options)A method to convert global options into specific options. |
java.util.Map |
merge(java.util.Map[] sources)Merges multiple maps |
void |
setStyle(java.lang.Object value, org.apache.poi.xssf.usermodel.XSSFCell cell, java.util.Map options, java.util.Map defaultOptions = null)A method to set a style to a cell based on a map of options and a map of default options |
void |
setStyle(org.apache.poi.xssf.usermodel.XSSFRow row, java.util.Map options, java.util.Map defaultOptions = null)A method to set a style to a row based on a map of options and a map of default options |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
A method to build a style object based on a map of parameters
value - The data being rendered with the styleoptions - A map of options to configure the styleA method to convert global options into specific options. Example: [border: BorderStyle.THIN] would convert to [border: [style: BorderStyle.THIN, left: [style: BorderStyle.THIN], right: ...]]
options - A map of optionsMerges multiple maps
sources - The maps to mergeA method to set a style to a cell based on a map of options and a map of default options
value - The data to be rendered to the cellcell - The cell to apply the styling to_options - A map of options for stylingdefaultOptions - A map of default options for stylingA method to set a style to a row based on a map of options and a map of default options
row - The row to apply the styling to_options - A map of options for stylingdefaultOptions - A map of default options for stylingGroovy Documentation