Cell Style
class CellStyle(fontColorHex: ExcelColor = ExcelColor.black, backgroundColorHex: ExcelColor = ExcelColor.none, fontSize: Int? = null, fontFamily: String? = null, fontScheme: FontScheme? = null, horizontalAlign: HorizontalAlign = Left, verticalAlign: VerticalAlign = VerticalAlign.Bottom, textWrapping: TextWrapping? = null, bold: Boolean = false, italic: Boolean = false, underline: Underline = None, rotation: Int = 0, leftBorder: Border? = null, rightBorder: Border? = null, topBorder: Border? = null, bottomBorder: Border? = null, diagonalBorder: Border? = null, diagonalBorderUp: Boolean = false, diagonalBorderDown: Boolean = false, var numberFormat: NumFormat = NumFormat.standard_0)(source)
Styling class for cells.
Constructors
Link copied to clipboard
constructor(fontColorHex: ExcelColor = ExcelColor.black, backgroundColorHex: ExcelColor = ExcelColor.none, fontSize: Int? = null, fontFamily: String? = null, fontScheme: FontScheme? = null, horizontalAlign: HorizontalAlign = Left, verticalAlign: VerticalAlign = VerticalAlign.Bottom, textWrapping: TextWrapping? = null, bold: Boolean = false, italic: Boolean = false, underline: Underline = None, rotation: Int = 0, leftBorder: Border? = null, rightBorder: Border? = null, topBorder: Border? = null, bottomBorder: Border? = null, diagonalBorder: Border? = null, diagonalBorderUp: Boolean = false, diagonalBorderDown: Boolean = false, numberFormat: NumFormat = NumFormat.standard_0)
Properties
Link copied to clipboard
Get background color.
Link copied to clipboard
Get/set bottom border.
Link copied to clipboard
Get/set diagonal border.
Link copied to clipboard
Get/set diagonal border down.
Link copied to clipboard
Get/set diagonal border up.
Link copied to clipboard
Get font color.
Link copied to clipboard
Get/set font family.
Link copied to clipboard
Get/set font scheme.
Link copied to clipboard
Get/set horizontal alignment.
Link copied to clipboard
Get/set left border.
Link copied to clipboard
Link copied to clipboard
Get/set right border.
Link copied to clipboard
Get/set vertical alignment.
Link copied to clipboard
Get/set text wrapping.
Functions
Link copied to clipboard
fun copyWith(fontColorHexVal: ExcelColor? = null, backgroundColorHexVal: ExcelColor? = null, fontFamilyVal: String? = null, fontSchemeVal: FontScheme? = null, horizontalAlignVal: HorizontalAlign? = null, verticalAlignVal: VerticalAlign? = null, textWrappingVal: TextWrapping? = null, boldVal: Boolean? = null, italicVal: Boolean? = null, underlineVal: Underline? = null, fontSizeVal: Int? = null, rotationVal: Int? = null, leftBorderVal: Border? = null, rightBorderVal: Border? = null, topBorderVal: Border? = null, bottomBorderVal: Border? = null, diagonalBorderVal: Border? = null, diagonalBorderUpVal: Boolean? = null, diagonalBorderDownVal: Boolean? = null, numberFormat: NumFormat? = null): CellStyle