aspose.cells

Class XlsbSaveOptions

Represents the options for saving xlsb file.

Constructor Summary
XlsbSaveOptions()
Creates xlsb file save options.
XlsbSaveOptions(saveFormat)
Creates xlsb file save options.
 
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.
functiongetCompressionType()
function
           Gets and sets the compression type for ooxml file. The value of the property is OoxmlCompressionType integer constant.
functiongetCreateDirectory()
function
           If true and the directory does not exist, the directory will be automatically created before saving the file.
functiongetExportAllColumnIndexes()
function
           Indicates whether exporting all column indexes for cells.
functiongetLightCellsDataProvider()
function
           The data provider for saving workbook in light mode.
functiongetMergeAreas()
function
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
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

      • XlsbSaveOptions

        function XlsbSaveOptions()
        Creates xlsb file save options.
      • XlsbSaveOptions

        function XlsbSaveOptions(saveFormat)
        Creates xlsb file save options. NOTE: This constructor is now obsolete. Instead, please use XlsbSaveOptions() constructor. This property will be removed 12 months later since January 2021. Aspose apologizes for any inconvenience you may have experienced.
        Parameters:
        saveFormat: Number - A SaveFormat value. The save format . It must be xlsb.
    • Property Getters/Setters Detail

      • getCompressionType/setCompressionType : Number 

        function getCompressionType() / function setCompressionType(value)
        
        Gets and sets the compression type for ooxml file. The value of the property is OoxmlCompressionType integer constant.The default value is OoxmlCompressionType.Level6.
      • getExportAllColumnIndexes/setExportAllColumnIndexes : boolean 

        function getExportAllColumnIndexes() / function setExportAllColumnIndexes(value)
        
        Indicates whether exporting all column indexes for cells. The default value is true.
      • getLightCellsDataProvider/setLightCellsDataProvider : LightCellsDataProvider 

        function getLightCellsDataProvider() / function setLightCellsDataProvider(value)
        
        The data provider for saving workbook in light mode.
      • 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.