mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-07 03:01:32 +00:00
Found by comparing WordCraft's own documents in LibreOffice and bisecting settings.xml (observed only, black-box): - The settings set's name, ooo:configuration-settings, is a qualified name: without xmlns:ooo declared LibreOffice ignored every setting WordCraft wrote (its Word layout rules, tab measuring). - A set LibreOffice reads must be complete: a setting missing from it gets its old pre-OpenOffice value, which changes the layout. WordCraft now writes LibreOffice's current layout defaults (as a new LibreOffice document has them), overlaid with Word's layout rules for documents WordCraft lays out as Word does (not for ones opened from ODF), and its own choices. - How the space between paragraphs adds up follows a file's AddParaTableSpacing (false: the larger, as Word); unstated, the ODF profile's new sumParagraphSpacing (WordCraft: the larger, LibreOffice: the sum). WordCraft writes it as it lays the document out. WordCraft-origin documents in LibreOffice: 142k -> 80k differing pixels over 42 documents; the LibreOffice corpus: no regressions, 40k -> 39.6k. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC