Save ODS file in ODF 1.1, 1.2 and 1.3 Specifications
Contents
[
Hide
]
Aspose.Cells supports saving (OpenDocument Spreadsheet) ODS file in (OpenDocument Format) ODF 1.1, 1.2 and ODF 1.3 specifications. Aspose.Cells has added OdsSaveOptions.setOdfStrictVersion() property to use the ODF version for saving ODS files. The default value of this property is OpenDocumentFormatVersionType.ODF_12, so ODS file saved without this special settings will use the 1.2 specification.
The sample code below creates the workbook object, adds some value in cell A1 of the first worksheet and then saves the ODS file in ODF 1.1 and 1.2 specifications. By default, ODS file is saved in ODF 1.2 specification.