Uses of Class
io.keikai.axyra.sheets.style.CellStyle
Packages that use CellStyle
Package
Description
Public Java API for the Axyra Sheets engine.
Cell styles, colors and workbook themes.
-
Uses of CellStyle in io.keikai.axyra.sheets
Methods in io.keikai.axyra.sheets that return CellStyleModifier and TypeMethodDescriptionSheet.columnStyle(int col) Returns the column-level style: the style that cells in this column without their own style render with (<col style>).Workbook.defaultStyle()The workbook default ("Normal") style — what unstyled cells render with.ImportOptions.headerStyle()Returns the value of theheaderStylerecord component.Sheet.rowStyle(int row) Returns the row-level style: the style that cells in this row without their own style render with.Cell.style()Returns the cell's resolved style: the workbook default style for a cell that has none.Range.style()Returns the style of the top-left cell of the rectangle.Methods in io.keikai.axyra.sheets with parameters of type CellStyleModifier and TypeMethodDescriptionImportOptions.Builder.headerStyle(CellStyle headerStyle) Sets the style that replaces the header cells' style;nullleaves it unchanged.voidWorkbook.registerNamedStyle(String name, CellStyle style) Registers a reusable named cell style (for example"Good"or"Title").voidSheet.setColumnStyle(int col, CellStyle style) Sets the column-level style: the style that cells in this column without their own style render with (<col style>).voidWorkbook.setDefaultFont(CellStyle style) Replace the workbook default ("Normal") font with the font attributes ofstyle(name, size, color, bold, …); its non-font attributes are ignored.voidSheet.setRowStyle(int row, CellStyle style) Sets the row-level style: the style that cells in this row without their own style render with.voidReplaces this cell's style withstyle.voidReplaces the style of every cell in the rectangle withstyle.booleanWorkbook.updateNamedStyle(String name, CellStyle style) Redefine a named cell style and PROPAGATE the change: every cell (and row/column default) currently styled with it is restyled — Excel's "Modify…" on a cell style.Constructors in io.keikai.axyra.sheets with parameters of type CellStyleModifierConstructorDescriptionImportOptions(String[] columns, boolean headers, String[] columnLabels, CellStyle headerStyle) Creates an instance of aImportOptionsrecord class. -
Uses of CellStyle in io.keikai.axyra.sheets.style
Methods in io.keikai.axyra.sheets.style that return CellStyle