aspose.cells

Class OoxmlSaveOptions

Represents the options of saving office open xml file.

Constructor Summary
OoxmlSaveOptions()
Creates the options for saving office open xml file.
OoxmlSaveOptions(saveFormat)
Creates the options for saving office open xml 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.
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.
functiongetEmbedOoxmlAsOleObject()
function
           Indicates whether embedding Ooxml files of OleObject as ole object.
functiongetEnableZip64()
function
           Always use ZIP64 extensions when writing zip archives, even when unnecessary.
functiongetExportCellName()
function
           Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true.
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.
functiongetUpdateZoom()
function
           Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
functiongetValidateMergedAreas()
function
           Indicates whether validate merged cells before saving the file.
 

    • Property Getters/Setters Detail

      • getExportCellName/setExportCellName : boolean 

        function getExportCellName() / function setExportCellName(value)
        
        Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is true.
      • getLightCellsDataProvider/setLightCellsDataProvider : LightCellsDataProvider 

        function getLightCellsDataProvider() / function setLightCellsDataProvider(value)
        
        The data provider for saving workbook in light mode.
      • getUpdateZoom/setUpdateZoom : boolean 

        function getUpdateZoom() / function setUpdateZoom(value)
        
        Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. The default value is false for performance.
      • getEnableZip64/setEnableZip64 : boolean 

        function getEnableZip64() / function setEnableZip64(value)
        
        Always use ZIP64 extensions when writing zip archives, even when unnecessary.
      • getEmbedOoxmlAsOleObject/setEmbedOoxmlAsOleObject : boolean 

        function getEmbedOoxmlAsOleObject() / function setEmbedOoxmlAsOleObject(value)
        
        Indicates whether embedding Ooxml files of OleObject as ole object. Only for OleObject.
      • 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.Level2.
      • 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.