parseFlatOdf

fnOdfFlatDocument parseFlatOdf(const(ubyte)[] xmlBytes)

Parses a flat XML ODF document from raw XML bytes.

Parameters

xmlBytesRaw XML bytes of the flat document.

Returns

An OdfFlatDocument with parsed body, styles, metadata, and settings.

Throws

OdfXmlException if the root element is not office:document.