Skip to main content

Module docx

Module docx 

Source
Expand description

.docx import.

Layers, bottom up: package (zip, relationships, size limits), xml (attribute helpers), styles (style chains, numbering), story (streaming parse into paragraphs with resolved formatting), media (images), inline (segments → model inlines), structure (chapters, front matter, scene breaks, metadata).

Functions§

import
Import a .docx manuscript. Fails only if the bytes are not a Word document or contain no text; everything odd inside is a warning.