mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
Contextual spacing (`style:contextual-spacing`, ODF 1.3 §20.255: no space between paragraphs of one style) is read from paragraph, custom and kind styles and written back, and the List Paragraph style is written like any other, so bulleted items keep their spacing; they were written in Standard and spread apart. LibreOffice switches many layout behaviours by `settings.xml`, and a file without them is laid out its own way. A file's own `settings.xml` is now kept through a save; a document from elsewhere gets the switches LibreOffice uses for Word files, as WordCraft lays text out as Word does. Tab stops are written from the margin either way. A Word-made document saved as ODT drew 38,652 px apart from LibreOffice's own ODT of it; now 3,302, with the same line breaks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC