openOdfSpreadsheetDocument

fnOdfSpreadsheetDocument openOdfSpreadsheetDocument(string path, OdfReadOptions options, ref OdfDiagnosticCollector diagnostics)

Opens an ODS spreadsheet document with read options and version-aware compatibility reporting.

Parameters

pathPath to the .ods file.
optionsRead options controlling compatibility behavior.
diagnosticsDiagnostic collector for version and compatibility reports.

Returns

A typed OdfSpreadsheetDocument.
fnOdfSpreadsheetDocument openOdfSpreadsheetDocument(string path)

Opens an ODS spreadsheet document from a file path.

Also supports .ots spreadsheet template files.

Parameters

pathPath to the .ods or .ots file.

Returns

A typed OdfSpreadsheetDocument.

Throws

OdfPackageException on I/O errors or non-spreadsheet types.