# word-ooxml
Reading and writing of the WordprocessingML format (`.docx`).
Builds on `xml-core` (low-level XML), `opc` (ZIP/OPC container), and `drawing`/`chart` (shared shape and chart content, for images and embedded charts). All modeling and generation code for WordprocessingML elements is original — no dependency on any third-party OOXML crate.
Currently modeled: document body (paragraphs and tables, freely interleaved), character formatting (bold/italic/underline/color/highlight/strike/small caps/spacing...), paragraph formatting (alignment, spacing, indentation, tab stops, borders/shading), inline images and embedded charts, page setup (size/orientation/margins/columns), headers and footers (including first-page/even-page variants), simple fields (page number, total pages), hyperlinks and bookmarks, named paragraph/character styles, numbered and bulleted lists, footnotes and endnotes, comments, structured document tags (content controls), a customizable color/font theme, tables (with cell merging, borders, shading), and document properties/protection.
Most users should depend on the [`office-toolkit`](https://github.com/Fab2bprog/office-toolkit/tree/main/crates/office-toolkit) facade crate instead of this one directly — see `office_toolkit::word` and the workspace's [`docs/API_Reference_docx.md`](https://github.com/Fab2bprog/office-toolkit/blob/main/docs/API_Reference_docx.md) for the full per-feature reference.
Part of the [office-toolkit](https://github.com/Fab2bprog/office-toolkit) workspace.
## License
Licensed under the [MIT license](https://github.com/Fab2bprog/office-toolkit/blob/main/LICENSE).