new OoxmlSaveOptions()

Creates the options for saving office open xml file.

Methods

constructor_overload$1(saveFormat)

Creates the options for saving office open xml 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.

getCompressionType()

Gets and sets the compression type for ooxml file. The value of the property is OoxmlCompressionType integer constant.The default value is OoxmlCompressionType.Level2.

getCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

getEmbedOoxmlAsOleObject()

Indicates whether embedding Ooxml files of OleObject as ole object. Only for OleObject.

getEnableZip64()

Always use ZIP64 extensions when writing zip archives, even when unnecessary.

getExportCellName()

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()

The data provider for saving workbook in light mode.

getMergeAreas()

Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.

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.

getUpdateZoom()

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.

getValidateMergedAreas()

Indicates whether validate merged cells before saving the file. The default value is false.

setCachedFileFolder()

The cached file folder is used to store some large data.

setClearData()

Make the workbook empty after saving the file.

setCompressionType()

Gets and sets the compression type for ooxml file. The value of the property is OoxmlCompressionType integer constant.The default value is OoxmlCompressionType.Level2.

setCreateDirectory()

If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false.

setEmbedOoxmlAsOleObject()

Indicates whether embedding Ooxml files of OleObject as ole object. Only for OleObject.

setEnableZip64()

Always use ZIP64 extensions when writing zip archives, even when unnecessary.

setExportCellName()

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.

setLightCellsDataProvider()

The data provider for saving workbook in light mode.

setMergeAreas()

Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false.

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.

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.

setUpdateZoom()

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.

setValidateMergedAreas()

Indicates whether validate merged cells before saving the file. The default value is false.