Document Creator 0.9.9: Landscape templates stay landscape in composed documents
Document Creator 0.9.9 fixes page orientation in documents composed from several templates: each appended template now keeps its own orientation and margins.
Before, a landscape template appended after a portrait one came out portrait, and a portrait template appended after a landscape one was flipped to landscape. The module now works out each section’s orientation against the document’s page size and sets it together with the template’s margins.
A template whose orientation setting is empty is also no longer treated as flipped.
Full release notes: Document Creator 0.9.9
0.9.9 · 23 September 2026
Fixed
- A composed document’s appended sections keep their template’s own page
orientation. A landscape template appended after a portrait one no longer
comes out portrait, and a portrait one after a landscape one no longer
inherits the flip.
append_template/3now sends oneupdateSectionStylewith the template’s margins and an explicitflipPageOrientation, worked out against the target document’s page size (newGoogleDocsClient.section_layout_requests/3). - A
nulldocument-levelflipPageOrientationon a template is treated as unset instead of as a flip.
Document Creator 0.9.9. Install or update: {:phoenix_kit_document_creator, "~> 0.9"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.