Editing Office Docs

Use when programmatically inserting, modifying, or extracting content in Microsoft Word .doc/.docx documents via python-docx — especially adding chapters/sections/tables to an existing structured Word file, working with legacy binary .doc, or batch edits needing visible highlight markers. Targets the Windows + LibreOffice toolchain and the non-obvious python-docx gotchas (missing Table Grid style, mandatory table width arg, insertion-order scramble, silent content loss) that break naive approaches. Trigger on: 改Word/补充文档章节/往docx插表格/doc转docx/标黄修改处/审计意见补章节.

Luohao-Yan Updated

File contents

Luohao-Yan/luohao-skills commit 0ce2d61dc9

Frequently asked questions

npx get-skill add luohao-yan/editing-office-docs