Class OdsWriter
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
Writes a workbook as an OpenDocument Spreadsheet (.ods, ODF 1.3; Phase 216), as LibreOffice writes Excel's
workbooks: each worksheet's cells with their values, formulas (in OpenFormula), number formats (as data styles),
fonts, fills, borders, alignment and protection, column widths, row heights, hidden rows and columns, and merged
cells. What ODF cannot carry here is reported, never dropped in silence: a formula with no OpenFormula form is
written as its value (ExportStructureCollapsed), and each feature a sheet has that is
not written (charts, pictures, conditional formats, validations and the rest) is named once
(UnsupportedFeature).
public static class OdsWriter
- Inheritance
-
OdsWriter
- Inherited Members
Remarks
The output is byte-identical across runs on one runtime: no timestamps, no generated identifiers, styles numbered in the order they are met.
Methods
- Write(XlsxDocument, Stream, OdsWriteOptions?)
Writes the workbook as an
.odsfile.