serializeTextBody

fnstring serializeTextBody(const ref OdfTextBody body)

Serialises an OdfTextBody to an office:text XML element string.

Parameters

bodyThe text body to serialise.

Returns

A well-formed XML string for the <office:text> element.

Throws

OdfXmlException when serialisation fails.