OdsSaveOptions
Source: aspose.
Represents the options of saving ods file.
Methods
new OdsSaveOptions()
Creates the options of saving ods file.
Methods
constructor_overload$1(saveFormat)
Creates the options of saving ods file.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
saveFormat |
Number |
|
SaveFormat |
getCachedFileFolder()
The cached file folder is used to store some large data.
getClearData()
Make the workbook empty after saving the file.
getCreateDirectory()
If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
getGeneratorType()
Gets and sets the generator of the ods file. The value of the property is OdsGeneratorType integer constant.
getMergeAreas()
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
getOdfStrictVersion()
Gets and sets the ODF version. The value of the property is OpenDocumentFormatVersionType integer constant.
getRefreshChartCache()
Indicates whether refreshing chart cache data
getSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.
getSortExternalNames()
Indicates whether sorting external defined names before saving file.
getSortNames()
Indicates whether sorting defined names before saving file.
getUpdateSmartArt()
Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
getValidateMergedAreas()
Indicates whether validate merged cells before saving the file. The default value is false.
isStrictSchema11()
Indicates whether the ods file should be saved as ODF format version 1.1. Default is false. NOTE: This member is now obsolete. Instead, please use OdsSaveOptions.OdfStrictVersion property. This method will be removed 12 months later since February 2024. Aspose apologizes for any inconvenience you may have experienced.
setCachedFileFolder()
The cached file folder is used to store some large data.
setClearData()
Make the workbook empty after saving the file.
setCreateDirectory()
If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
setGeneratorType()
Gets and sets the generator of the ods file. The value of the property is OdsGeneratorType integer constant.
setMergeAreas()
Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
setOdfStrictVersion()
Gets and sets the ODF version. The value of the property is OpenDocumentFormatVersionType integer constant.
setRefreshChartCache()
Indicates whether refreshing chart cache data
setSortExternalNames()
Indicates whether sorting external defined names before saving file.
setSortNames()
Indicates whether sorting defined names before saving file.
setStrictSchema11()
Indicates whether the ods file should be saved as ODF format version 1.1. Default is false. NOTE: This member is now obsolete. Instead, please use OdsSaveOptions.OdfStrictVersion property. This method will be removed 12 months later since February 2024. Aspose apologizes for any inconvenience you may have experienced.
setUpdateSmartArt()
Indicates whether updating smart art setting. The default value is false. Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
setValidateMergedAreas()
Indicates whether validate merged cells before saving the file. The default value is false.