aspose.cells

Class OdsSaveOptions

Represents the options of saving ods file.

Constructor Summary
OdsSaveOptions()
Creates the options of saving ods file.
OdsSaveOptions(saveFormat)
Creates the options of saving ods file.
 
Property Getters/Setters Summary
functiongetCachedFileFolder()
function
           The cached file folder is used to store some large data.
functiongetClearData()
function
           Make the workbook empty after saving the file.
functiongetCreateDirectory()
function
           If true and the directory does not exist, the directory will be automatically created before saving the file.
functiongetGeneratorType()
function
           Gets and sets the generator of the ods file. The value of the property is OdsGeneratorType integer constant.
functionisStrictSchema11()
function
           Indicates whether the ods file should be saved as ODF format version 1.1. Default is false.
functiongetMergeAreas()
function
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
functiongetOdfStrictVersion()
function
           Gets and sets the ODF version. The value of the property is OpenDocumentFormatVersionType integer constant.
functiongetRefreshChartCache()
function
           Indicates whether refreshing chart cache data
functiongetSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.
functiongetSortExternalNames()
function
           Indicates whether sorting external defined names before saving file.
functiongetSortNames()
function
           Indicates whether sorting defined names before saving file.
functiongetUpdateSmartArt()
function
           Indicates whether updating smart art setting. The default value is false.
functiongetValidateMergedAreas()
function
           Indicates whether validate merged cells before saving the file.
 

    • Constructor Detail

      • OdsSaveOptions

        function OdsSaveOptions()
        Creates the options of saving ods file.
    • Property Getters/Setters Detail

      • getGeneratorType/setGeneratorType : Number 

        function getGeneratorType() / function setGeneratorType(value)
        
        Gets and sets the generator of the ods file. The value of the property is OdsGeneratorType integer constant.
      • isStrictSchema11/setStrictSchema11 : boolean 

        function isStrictSchema11() / function setStrictSchema11(value)
        
        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.
      • getOdfStrictVersion/setOdfStrictVersion : Number 

        function getOdfStrictVersion() / function setOdfStrictVersion(value)
        
        Gets and sets the ODF version. The value of the property is OpenDocumentFormatVersionType integer constant.
      • getSaveFormat : Number 

        function getSaveFormat()
        
        Gets the save file format. The value of the property is SaveFormat integer constant.
      • getClearData/setClearData : boolean 

        function getClearData() / function setClearData(value)
        
        Make the workbook empty after saving the file.
      • getCachedFileFolder/setCachedFileFolder : String 

        function getCachedFileFolder() / function setCachedFileFolder(value)
        
        The cached file folder is used to store some large data.
      • getValidateMergedAreas/setValidateMergedAreas : boolean 

        function getValidateMergedAreas() / function setValidateMergedAreas(value)
        
        Indicates whether validate merged cells before saving the file. The default value is false.
      • getMergeAreas/setMergeAreas : boolean 

        function getMergeAreas() / function setMergeAreas(value)
        
        Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.
      • getCreateDirectory/setCreateDirectory : boolean 

        function getCreateDirectory() / function setCreateDirectory(value)
        
        If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.
      • getSortNames/setSortNames : boolean 

        function getSortNames() / function setSortNames(value)
        
        Indicates whether sorting defined names before saving file.
      • getSortExternalNames/setSortExternalNames : boolean 

        function getSortExternalNames() / function setSortExternalNames(value)
        
        Indicates whether sorting external defined names before saving file.
      • getRefreshChartCache/setRefreshChartCache : boolean 

        function getRefreshChartCache() / function setRefreshChartCache(value)
        
        Indicates whether refreshing chart cache data
      • getUpdateSmartArt/setUpdateSmartArt : boolean 

        function getUpdateSmartArt() / function setUpdateSmartArt(value)
        
        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.