Skip to main content

extract_document_xml

Function extract_document_xml 

Source
pub fn extract_document_xml(
    bytes: &[u8],
    limits: DocxLimits,
) -> Result<Vec<u8>, ProjectionError>
Expand description

Extracts the relationship-resolved main document part from a bounded DOCX package.

ยงErrors

Returns ProjectionError when the package is invalid, unsupported, or exceeds the supplied resource limits.