mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
More of what WordCraft doesn't change is written back as it was read: tables; the document properties it doesn't model (template, statistics, editing time, printing); the declarations opening the text and the document's scripts; page layouts and master pages while the page setup is unchanged, each section starting with the master page it started with; named sections around unedited paragraphs. Package files and folders kept markup names (a style's fill picture, a header's embedded object) are written with it, with their manifest entries. Files are saved as ODF 1.3; markup kept from an older file is brought to 1.3's meaning (a gradient's or hatch's unitless angle was tenths of a degree). WordCraft's own drawings state style:flow-with-text, which the standard leaves open. odt::tests_more::lossless saves seven samples of our own without edits and fails on anything lost (nothing is allowed), and checks that edits keep the saved parts well-formed. Over the 133-file corpus the round-trip difference falls from 191k to 51k pixels; 95 files come back pixel-identical (62 before). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC