OdfPackageReader.open

OdfPackageReader open(string path, OdfReadOptions options = OdfReadOptions.init)

Opens an ODF package from a file path.

Parameters

pathPath to the ODF file.
optionsRead options controlling strictness and preservation.

Returns

A new OdfPackageReader instance.

Throws

OdfPackageException on I/O errors, invalid packages, or

unsupported document types.