pub fn parse_document_bytes(bytes: &[u8]) -> Result<OoxmlPackage, String>Expand description
Parses either a DOCX (OOXML zip) or a legacy Word 97-2003 binary .doc
file, detected by magic bytes, into the same in-memory package shape.
pub fn parse_document_bytes(bytes: &[u8]) -> Result<OoxmlPackage, String>Parses either a DOCX (OOXML zip) or a legacy Word 97-2003 binary .doc
file, detected by magic bytes, into the same in-memory package shape.