Skip to content

API reference / Common / Engine types / GridStylesAddition

Interface: GridStylesAddition ​

The style pool entries a SetCellFormats adds to the workbook, each under an id its issuer minted. An entry is written once and never taken away, even by an undo: another collaborator may already have used it. A save merges entries that came out the same.

Properties ​

PropertyDescription
numberFormats?
[string, GridNumberFormat][]
Number format codes, each under its id.
fonts?
[string, GridFont][]
Fonts, each under its id.
fills?
[string, GridFill][]
Fills, each under its id.
borders?
[string, GridBorder][]
Borders, each under its id.
cellFormats?
[string, GridCellFormat][]
Cell formats, each under its id, naming entries of the pools above or the workbook's.