What problem does it solve?
Provides a robust, reproducible workflow to create, inspect, and modify Microsoft Word .docx files at the XML level so users can generate polished documents, reliably apply tracked-change edits and comments, and avoid common rendering issues across platforms.
Core Features & Use Cases
- Unpack and repack .docx archives for safe XML editing and validation.
- Create new documents with precise page sizing, styles, tables, images, headers/footers, and Table of Contents control.
- Edit existing documents while preserving tracked changes, comments, and formatting; merge runs and simplify redlines to make edits deterministic.
- Validate OOXML structure and relationships against XSDs and auto-repair common issues (durableId, xml:space, broken relationships).
- Use case: Convert a legacy DOCX with heavy tracked changes into a cleaned, validated Word report with accepted changes, images embedded correctly, and full-width tables that render across Word, Google Docs, and PDF exports.
Quick Start
Create a new Word document titled "Quarterly Report" with US Letter page size, a Table of Contents, two headings, one image, and a formatted two-column table using the docx workflow.