getStyles
Get the workbook’s style definitions. Returns styles where each index corresponds to a style_index in cell data. Use this to understand what formatting (colors, fonts, borders, etc.) is applied to cells.
If no indices are provided, returns all styles as an array. If indices are provided, returns only those styles as an object keyed by index.
| Parameter | Type | Description | |
|---|---|---|---|
indices | number[] | optional | Optional array of style indices to fetch. If omitted, returns all styles. |