mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-10-27 11:37:59 -06:00
A page coloured with Edit a PDF > Background exported to Word as a white page: export pages carried text and images only, and the Word section has no page colour. - pdfcraft-edit `page_background`: the colour of the first thing a page paints, when that is an opaque fill (no soft mask, Normal blend) in a plain gray, RGB or CMYK colour, of a path with a rectangle covering the visible page, not clipped smaller; `None` otherwise. - `export::Page::background` carries it; the Word writer sets it as the document background (`w:background`, plus the `w:displayBackgroundShape` setting Word needs to show it) when every page shares one non-white colour. Word has one background per document, so differing colours are left out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RUNQSPVXx3dDBabRZHAnjz