mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-28 17:30:24 +01:00
Paper names and sizes now live in one table, `gridcraft_model::paper` (`canonical`, `size_pt`, `for_size`). The engine's `known_paper` and the XLSX writer's alias list read it instead of keeping their own copies. - Page Setup and `pageLayout.size` store a known paper under its table name (`11x17` -> `Tabloid`, `b5-jis` -> `B5`), so every file format finds it. - XLSX paper id 34 (ECMA-376 "B5 envelope, 176 x 250 mm", the ISO B5 size) reads as `B5 (ISO)`; `B5 (ISO)` now saves with paperSize 34 instead of none. `Envelope B5` is still accepted as an alias. - Statement, Envelope #10 and Envelope DL print on their own size. - `PrintSettings::paper` documents an empty name as "the file stated no paper": layout falls back to Letter and XLSX writes no paperSize. New sheets still default to Letter.