Skip to main content

parse_docx_document

Function parse_docx_document 

Source
pub fn parse_docx_document(text: &str) -> FormattingDocument
Expand description

Parses OOXML word/document.xml markup in the documented profile back into the language-free concept layer.

Returns an empty document when no recognizable <w:p> paragraphs are present, so out-of-profile XML degrades gracefully rather than producing a corrupt tree.