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.

  • Class
    Description
    One border edge read back from a CellStyle with CellStyle.border(Side): the line style and its color.
    The line style of one cell border edge (ECMA-376 ST_BorderStyle).
    An immutable cell style: font, fill, borders, alignment, number format and protection.
    Fluent builder for a CellStyle.
    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-376 ST_VerticalAlignRun).
    One color stop of a gradient fill (ECMA-376 Part 1 §18.8.38 gradientFill/stop), read back with CellStyle.gradientStops().
    Horizontal alignment of the cell content (ECMA-376 ST_HorizontalAlignment).
    The pattern of a cell fill (ECMA-376 ST_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.
    Fluent builder for a Theme; see Theme.builder() and Theme.toBuilder().
    The 12 theme color slots, in ECMA-376 <a:clrScheme> order.
    The underline style of a font (ECMA-376 ST_UnderlineValues).
    Vertical alignment of the cell content (ECMA-376 ST_VerticalAlignment).