What problem does it solve?
Users often need to produce, modify, and analyze Word (.docx) files with precise formatting, tracked changes, and professional layout, which is tedious without specialized tools.
Core Features & Use Cases
- Reading & Conversion: Extract text with Pandoc or unpack raw XML for deep edits.
- Document Creation: Generate .docx files using the
docx npm library with explicit page size and style control.
- Advanced Editing: Unpack, edit XML (including tracked changes, comments, tables, images), and repack with validation.
- Formatting Rules: Enforce correct DXA units for tables, proper heading IDs for TOC, and mandatory
xml:space="preserve" for whitespace.
- Use Case: Quickly create a polished report with a table of contents, custom tables, and embedded images, or automate the cleanup of tracked changes in shared documents.
Quick Start
Use the docx skill to generate a professional report named "Quarterly Report.docx" with a table of contents.