ODT File Manager & Editor
by @juicyroots
Create, parse, and edit ODT (OpenDocument Text) files locally using Python and odfdo. Use when the user asks to create, edit, read, update, append to, inspec...
| Error | Fix |
|-------|-----|
| ModuleNotFoundError: odfdo | pip install odfdo |
| zipfile.BadZipFile | File corrupted or not a real ODT β re-download |
| Heading doesn't appear as H1 | Use Header(1, "text"), not Paragraph("text", style="Heading 1") |
| Font still shows as Liberation in Collabora | ODT has 6 font attributes per style rule. Old approach only set 3 (style:font-name-*). Collabora renders from fo:font-family β now all 6 are set. Re-run set-font. |
| Font name must match exactly | LibreOffice/Collabora font names are case-sensitive: "Noto Sans" not "noto sans" |
| set-outline changes not visible | Some documents override numbering via paragraph styles β use merge-styles with a clean template instead |
clawhub install odt-filemgr-oc