Word processing

This section covers WordprocessingML packages (.docx, .docm, .dotx) with ooxmlsdk.

Wordprocessing packages are made of a main document part, optional styles, comments, numbering, settings, headers, footers, footnotes, endnotes, media, custom properties, and relationships between those parts. In ooxmlsdk, the entry point is usually ooxmlsdk::parts::wordprocessing_document::WordprocessingDocument.

Use the parts feature, enabled by default, to open and save packages. Examples in this section are backed by tested Rust code in listings/word.

In this section

Writer-focused chapters are being ported only when the code has a fixture in listings/ and passes cargo test --workspace.