OoxmlSaveOptions Class

OoxmlSaveOptions class

Represents the options of saving office open xml file.


type OoxmlSaveOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewOoxmlSaveOptionsCreates the options for saving office open xml file.
NewOoxmlSaveOptions_SaveFormatCreates the options for saving office open xml file.
NewOoxmlSaveOptions_SaveOptionsConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetExportCellNameIndicates 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.
SetExportCellNameIndicates 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.
GetUpdateZoomIndicates whether update scaling factor before saving the fileif the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
SetUpdateZoomIndicates whether update scaling factor before saving the fileif the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled.
GetEnableZip64Always use ZIP64 extensions when writing zip archives, even when unnecessary.
SetEnableZip64Always use ZIP64 extensions when writing zip archives, even when unnecessary.
GetEmbedOoxmlAsOleObjectIndicates whether embedding Ooxml files of OleObject as ole object.
SetEmbedOoxmlAsOleObjectIndicates whether embedding Ooxml files of OleObject as ole object.
GetCompressionTypeGets and sets the compression type for ooxml file.
SetCompressionTypeGets and sets the compression type for ooxml file.
GetSaveFormatGets the save file format.
GetClearDataMake the workbook empty after saving the file.
SetClearDataMake the workbook empty after saving the file.
GetCachedFileFolderThe cached file folder is used to store some large data.
SetCachedFileFolderThe cached file folder is used to store some large data.
GetValidateMergedAreasIndicates whether validate merged cells before saving the file.
SetValidateMergedAreasIndicates whether validate merged cells before saving the file.
GetMergeAreasIndicates whether merge the areas of conditional formatting and validation before saving the file.
SetMergeAreasIndicates whether merge the areas of conditional formatting and validation before saving the file.
GetCreateDirectoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
SetCreateDirectoryIf true and the directory does not exist, the directory will be automatically created before saving the file.
GetSortNamesIndicates whether sorting defined names before saving file.
SetSortNamesIndicates whether sorting defined names before saving file.
GetSortExternalNamesIndicates whether sorting external defined names before saving file.
SetSortExternalNamesIndicates whether sorting external defined names before saving file.
GetRefreshChartCacheIndicates whether refreshing chart cache data
SetRefreshChartCacheIndicates whether refreshing chart cache data
GetCheckExcelRestrictionWhether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated.
SetCheckExcelRestrictionWhether check restriction of excel file when user modify cells related objects.For example, excel does not allow inputting string value longer than 32K.When you input a value longer than 32K, it will be truncated.
GetUpdateSmartArtIndicates whether updating smart art setting.The default value is false.
SetUpdateSmartArtIndicates whether updating smart art setting.The default value is false.
GetEncryptDocumentPropertiesIndicates whether encrypt document properties when saving as .xls file.The default value is true.
SetEncryptDocumentPropertiesIndicates whether encrypt document properties when saving as .xls file.The default value is true.