createOdfDocument

fnOdfDocument createOdfDocument(OdfDocumentType docType) @safe pure

Creates a new empty ODF document of the given type.

Parameters

docTypeThe type of document to create.

Returns

A new OdfDocument instance with default content.