XmlSaveOptions Class

XmlSaveOptions class

Represents the options of saving the workbook as an xml file.


type XmlSaveOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewXmlSaveOptionsCreates options for saving xml file.
NewXmlSaveOptions_SaveOptionsConstructs from a parent object.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetExportAreaGets or sets the exporting range.
SetExportAreaGets or sets the exporting range.
GetHasHeaderRowIndicates whether the range contains header row.
SetHasHeaderRowIndicates whether the range contains header row.
GetXmlMapNameIndicates whether exporting xml map in the file.
SetXmlMapNameIndicates whether exporting xml map in the file.
GetSheetNameAsElementNameIndicates whether exporting sheet’s name as the name of the element.
SetSheetNameAsElementNameIndicates whether exporting sheet’s name as the name of the element.
GetDataAsAttributeIndicates whether exporting data as attributes of element.
SetDataAsAttributeIndicates whether exporting data as attributes of element.
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.