Expand description
Cell styles (font, fill, borders, alignment, number format, protection), interned per workbook.
Structs§
- Alignment
- Border
Line - Borders
- DxfStated
- The parts a differential format states at a value its
Stylecan’t tell from unset: a dxf’s default parts are unset, so a bold turned off, a face, a size or a protection that matches the defaults would otherwise read as nothing. The values are the style’s own; this records that the format states them, and only where they match the defaults, so a format built in the app and the same format read back from a file stay equal. - Fill
- Font
- NumFmt
- Protection
- Style
- StyleId
- Style
Table - Interned styles. Index 0 is the default (Normal) style.
- Theme
- Workbook theme: 12 colours and the heading/body fonts.
Enums§
- Border
Style - Color
- A colour: explicit RGB, a theme slot with tint, or automatic (black text / no fill).
- HAlign
- Pattern
Type - Underline
- VAlign
- Vert
Align
Functions§
- apply_
tint - Tint as in ECMA-376: lighten towards white (positive) or darken (negative) in HSL luminance.