mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-06 18:51:26 +00:00
`office:annotation` (ODF 1.3 §14.1) opens as a document comment with its author, date, initials and text; `office:name` and `office:annotation-end` (§14.2) give its range, across paragraphs too. LibreOffice's resolved state (`loext:resolved`) and reply threads (`loext:parent-name`) are kept: a reply is a comment of its parent with no range of its own. An end with no comment is dropped, and a comment whose end never comes covers nothing. LibreOffice's all-zero date is no date. Before, comments were dropped on open. Export writes each comment named, with its end where its range ends, and its replies after it naming it; LibreOffice keeps the threads when it saves the file again. Truncated XML no longer loses the paragraph a note or comment sits in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GBVQLyDnrG8Tn1yDQcUabC