Save ODS file in ODF 1.1 and 1.2 Specifications
Contents[ Hide ]
Aspose.Cells supports saving (OpenDocument Spreadsheet) ODS file in (OpenDocument Format) ODF 1.1 and ODF 1.2 specifications. Aspose.Cells has added OdsSaveOptions.setStrictSchema11() property to use ODF 1.1 specification for saving ODS files. The default value of this property is false, 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.