serializeFlatOdf

fnstring serializeFlatOdf(ref OdfFlatDocument flatDoc)

Serializes a flat XML ODF document to an XML string.

The output uses office:document as the root element and includes font-face declarations, styles, automatic styles, metadata, settings, and the document body.

Parameters

flatDocThe flat document model.

Returns

A well-formed XML string for the flat ODF document.