OdfSpreadsheetDocument.openOdfSpreadsheetDocument
fn
OdfSpreadsheetDocument openOdfSpreadsheetDocument(string path,
OdfReadOptions options, ref OdfDiagnosticCollector diagnostics)Opens an ODS spreadsheet document with read options and version-aware compatibility reporting.
Parameters
path | Path to the .ods file. |
options | Read options controlling compatibility behavior. |
diagnostics | Diagnostic collector for version and compatibility reports. |
Returns
A typed
fn
OdfSpreadsheetDocument openOdfSpreadsheetDocument(string path)Opens an ODS spreadsheet document from a file path.
Also supports .ots spreadsheet template files.
Parameters
path | Path to the .ods or .ots file. |
Returns
A typed
OdfSpreadsheetDocument.Throws
OdfPackageException on I/O errors or non-spreadsheet types.