mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
A common text style other than LibreOffice's link, note-mark and list-label styles (Emphasis, a user's own) opens as a document character style with its display name, the custom character style it is based on and its own formatting; the text in it names it, and only what the spans' automatic styles add is direct formatting. Before, the style was lost and its formatting copied onto the text. An id a paragraph style already has gets "Char" added. Export writes each custom character style the text uses, and those it is based on, as common text styles; a span's automatic style is based on its style and holds only the run's direct formatting. LibreOffice keeps the style when it saves the file. Automatic styles of styles.xml are never taken for custom styles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC