mirror of
https://github.com/storytold/gridcraft.git
synced 2026-10-27 12:16:54 -06:00
XLSX headerFooter kept only oddHeader/oddFooter: a workbook whose header is on a different first page (differentFirst + firstHeader) or on even pages showed no header, and saving dropped it. The model now keeps the first/even headers and footers and the differentFirst / differentOddEven / scaleWithDoc / alignWithMargins flags; XLSX reads and writes them; the PDF and the Page Layout view use the right pair per page; in-place editing edits the page's own pair, and the Header & Footer tab has Different First Page and Different Odd & Even Pages. pageLayout.headerFooter takes the variants and a page: odd|even|first for one-section edits. Insert › Header & Footer now switches to Page Layout view and edits the first page's centre header, as in Excel, instead of opening the codes dialog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>