mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-07 11:12:37 +00:00
A common paragraph style other than Standard, the paragraph kinds' and the note texts' (LibreOffice's Text body, a user's own style) opens as a document style with its display name, the style it is based on (a custom parent, a kind's style or Normal) and its own formatting: spacing, indents, line spacing, alignment, keep with next, borders, background, tab stops and text formatting. Its paragraphs stay in it; only what the automatic styles over it add is direct formatting. Before, the style was lost and its formatting copied onto every paragraph. Headers, footers, notes and comments are covered too. Export writes each custom style the paragraphs use, and the custom styles they are based on, as common styles named by an XML-safe form of the style id and shown by the style's name; LibreOffice keeps them when it saves the file. A custom style may not take a name the writer uses for its own styles (Standard, Footnote, Endnote, the kinds'), so no style is written twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC