mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-10 04:09:53 -06:00
Drop caps (`style:drop-cap`, ODF 1.3 §17.9) are read into WordCraft's drop cap (lines and distance; one line is none) and written back as the paragraph style's `style:drop-cap`. WordCraft drops one letter, so a drop cap of several letters or a word opens as its first letter. Fixed: the paragraph style key kept its child elements after a separator, and the background, borders, contextual spacing and right-to-left direction were added after the tab stops, so a paragraph with its own tab stops wrote them into the tab stops' place instead of onto the paragraph properties, and lost them. Attributes and child elements are now gathered apart (`tab_stops_and_other_paragraph_properties_together`). A LibreOffice document with a drop cap round-trips pixel for pixel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC