mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-28 17:30:24 +01:00
`Alignment::padding: [Option<u16>; 4]` (left, right, top, bottom, in hundredths of a point; `None` where a file states none) holds an OpenDocument cell's padding, which LibreOffice lays rows out with. It is part of style equality and hashing, so styles that differ only by padding intern apart; serde default, skipped when all `None`, so older JSON reads. Excel has no cell padding: the XLSX and XLS readers set none, and the XLSX writer leaves it out (a style that differs from the default only by padding writes no `<alignment>`). GridCraft does not draw padding yet.