Modifier and Type | Method and Description |
---|---|
StyleSetter |
StyleSetter.bold()
Use bold text.
|
StyleSetter |
StyleSetter.borderColor(BorderSide side,
String borderColor)
Set cell border color.
|
StyleSetter |
StyleSetter.borderColor(String borderColor)
Set cell border color.
|
StyleSetter |
StyleSetter.borderStyle(BorderSide side,
BorderStyle borderStyle)
Apply cell border style on a side.
|
StyleSetter |
StyleSetter.borderStyle(BorderSide side,
String borderStyle)
Apply cell border style on a side.
|
StyleSetter |
StyleSetter.borderStyle(BorderStyle borderStyle)
Apply cell border style on all sides, except diagonal.
|
StyleSetter |
StyleSetter.borderStyle(String borderStyle)
Apply cell border style on all sides, except diagonal.
|
StyleSetter |
StyleSetter.fillColor(String rgb)
Set fill color.
|
StyleSetter |
StyleSetter.fontColor(String rgb)
Set font color.
|
StyleSetter |
StyleSetter.fontName(String name)
Set font name.
|
StyleSetter |
StyleSetter.fontSize(BigDecimal size)
Set font size.
|
StyleSetter |
StyleSetter.fontSize(int size)
Set font size.
|
StyleSetter |
StyleSetter.format(String numberingFormat)
Set numbering format.
|
StyleSetter |
StyleSetter.horizontalAlignment(String alignment)
Define horizontal alignment.
|
StyleSetter |
StyleSetter.italic()
Use italic text.
|
StyleSetter |
StyleSetter.merge()
Merge cells in this style setter's range.
|
StyleSetter |
StyleSetter.protectionOption(ProtectionOption option,
Boolean value)
Sets the value for a protection option.
|
StyleSetter |
StyleSetter.shadeAlternateRows(String rgb)
Shade alternate rows.
|
StyleSetter |
StyleSetter.shadeRows(String rgb,
int eachNRows)
Shade Nth rows.
|
StyleSetter |
Range.style()
Get a new style setter for this range.
|
StyleSetter |
Worksheet.style(int r,
int c)
Get a new style setter for a cell.
|
StyleSetter |
StyleSetter.underlined()
Use underlined text.
|
StyleSetter |
StyleSetter.verticalAlignment(String alignment)
Define vertical alignment.
|
StyleSetter |
StyleSetter.wrapText(boolean wrapText)
Enable or disable text wrapping in cells.
|
Copyright © 2022. All rights reserved.