openOdfDocument

fnOdfDocument openOdfDocument(string path)

Opens an ODF document from a file on disk.

The document type is detected from the package MIME data. All ODF document families are supported.

Parameters

pathPath to the ODF file.

Returns

A new OdfDocument instance.

Throws

OdfPackageException on I/O errors, invalid packages, or unsupported

document types.