Save ODS File in ODF 1.1, 1.2 and 1.3 Specifications
Contents
[
Hide
]
Aspose.Cells supports saving an ODS file (OpenDocument Spreadsheet) in the ODF (OpenDocument Format) 1.1, 1.2 and 1.3 specifications. Aspose.Cells has OdsSaveOptions.OdfStrictVersion property that specifies the ODF version for saving ODS files. The default value of this property is OpenDocumentFormatVersionType.Odf12, so the ODS file saved without this setting uses the 1.2 specifications.
The sample code below creates a workbook object, adds some value to cell A1 on the first worksheet and then saves the ODS file in ODF 1.1, 1.2 and 1.3 specifications. By default, the ODS file is saved in ODF 1.2 specification.