mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
Three causes of the largest remaining LibreOffice round-trip differences: - In-line frames and shapes centred on or hanging from the baseline (`style:vertical-pos` `middle`, `bottom`, or `from-top` with `svg:y`, relative to the baseline) were read as standing on it. They are now read as their run's lowering, which the layout honours, and written back as `from-top`. - Leading: LibreOffice also leaves the leading after a paragraph's last line. It is now added to the paragraph's space after. - Text box frames didn't derive from LibreOffice's Frame style, without which LibreOffice ignores a frame's `fo:border` and outlines it in its default shape colour. They now do, and an empty Frame style is declared. LibreOffice round trips (pixel difference): shapes 13,864 → 1,273, spacing 2,973 → 706, text box 736 → 0. No other test document changed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC