mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-27 11:46:51 -06:00
skylartaylor review of #1647/#1671: both PRs introduced native format 4 for different capabilities. Stacked on #1647, version 4 is one capability: required_version (the single place that picks a version) asks for it when a document has retained placed-graphic layer options or an explicit all-on PDF layer choice, so a version 4 reader understands both. That merge was made while rebasing "PDF: distinguish all-on layer choices from file defaults", which also replaced its Document::all_items scan (document spreads only) with Document::has_explicit_all_on_pdf_layers, covering parent spreads, groups, anchored objects and nested story content; an all-on PDF on a parent page previously saved as version 2. This save/reopen test holds both features in one document, checks each alone still needs 4, that documents with neither keep 3 (EPS) or 2, and that a parent-spread all-on choice needs 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>