Package io.keikai.axyra.sheets.style
package io.keikai.axyra.sheets.style
Cell styles, colors and workbook themes.
CellStyle is an immutable style
(font, fill, borders, alignment, number format, protection). Build one with
CellStyle.builder() and apply it with
Range.setStyle(CellStyle), one engine call for
the whole range. Color is an RGB,
indexed, theme or automatic color. Theme
is the color scheme and fonts that theme colors resolve against; read and
set it with Workbook.theme() and
Workbook.setTheme(Theme). The enums name the
ECMA-376 values for borders, fills, alignment and underlines.
-
ClassDescriptionOne border edge read back from a
CellStylewithCellStyle.border(Side): the line style and its color.The line style of one cell border edge (ECMA-376ST_BorderStyle).An immutable cell style: font, fill, borders, alignment, number format and protection.Fluent builder for aCellStyle.An immutable spreadsheet color in one of four kinds: plain ARGB, a legacy indexed-palette reference, a theme-palette reference with an optional tint, or the automatic (window-text) color.The vertical position of the font: normal baseline, superscript or subscript (ECMA-376ST_VerticalAlignRun).One color stop of a gradient fill (ECMA-376 Part 1 §18.8.38gradientFill/stop), read back withCellStyle.gradientStops().Horizontal alignment of the cell content (ECMA-376ST_HorizontalAlignment).The pattern of a cell fill (ECMA-376ST_PatternType).One border edge of a cell.An immutable workbook theme: the 12-slot color scheme plus the major (heading) and minor (body) font names.The 12 theme color slots, in ECMA-376<a:clrScheme>order.The underline style of a font (ECMA-376ST_UnderlineValues).Vertical alignment of the cell content (ECMA-376ST_VerticalAlignment).