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.
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.
functiongetEnableHTTPCompression()
function
           Indicates if http compression is to be used in user's IIS.
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 to provide cells data for saving workbook in light mode.
functiongetMergeAreas()
function
           Indicates whether merge the areas of conditional formatting and validation before saving the file.
functiongetPdfExportImagesFolder()
function
           The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
functiongetRefreshChartCache()
function
           Indicates whether refreshing chart cache data
functiongetSaveFormat()
Gets the save file format. The value of the property is SaveFormat integer constant.
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.
 

    • Constructor Detail

      • OoxmlSaveOptions

        function OoxmlSaveOptions()
        Creates the options for saving office open xml file.
      • OoxmlSaveOptions

        function OoxmlSaveOptions(saveFormat)
        Creates the options for saving office open xml file.
        Parameters:
        saveFormat: Number - A SaveFormat value. The file format. It must be xlsx,xltx,xlsm,xltm.
    • 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 to provide cells data 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 permance.
      • getEnableZip64/setEnableZip64 : boolean 

        function getEnableZip64() / function setEnableZip64(value)
        
        Always use ZIP64 extensions when writing zip archives, even when unnecessary.
      • 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.
      • getEmbedOoxmlAsOleObject/setEmbedOoxmlAsOleObject : boolean 

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

        function getRefreshChartCache() / function setRefreshChartCache(value)
        
        Indicates whether refreshing chart cache data
      • getPdfExportImagesFolder/setPdfExportImagesFolder : String 

        function getPdfExportImagesFolder() / function setPdfExportImagesFolder(value)
        
        The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string.
      • getEnableHTTPCompression/setEnableHTTPCompression : boolean 

        function getEnableHTTPCompression() / function setEnableHTTPCompression(value)
        
        Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used.