parseContent

fnOdfContent parseContent(const(ubyte)[] xmlBytes)

Parses raw content.xml bytes into an OdfContent struct.

Parameters

xmlBytesRaw XML bytes of the content.xml stream.

Returns

A parsed OdfContent with body, automatic styles, font faces,

and scripts extracted.

Throws

OdfXmlException when the XML is malformed or the root element

is not office:document-content.