mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-07 03:01:32 +00:00
Each level of a list style (ODF 1.3 §16.30-16.33) is read with its number format (1, i, I, a, A, none), prefix and suffix, levels shown, start value and bullet character, and written back. Each `text:list` is a list of its own unless it continues the one before it (`text:continue-numbering`) or the one it names (`text:continue-list`); an item's `text:start-value` restarts from there. A list inside a note or table cell leaves the list around it alone. Before, consecutive lists merged into one: three LibreOffice lists numbered 1., i. and A. opened as one decimal list 1-7. The flow model's ListInfo carries a list number and a compact label (prefix and suffix up to 12 bytes, so "Chapter %1" fits) only for flows that ask for them (FlowOpts::lists); the other formats are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC