XmlSaveOptions Class
Contents
[
Hide
]XmlSaveOptions class
Represents the options of saving the workbook as an xml file.
type XmlSaveOptions struct {
ptr unsafe.Pointer
}
Constructors
| Method | Description |
|---|---|
| NewXmlSaveOptions | Creates options for saving xml file. |
| NewXmlSaveOptions_SaveOptions | Constructs from a parent object. |
Methods
| Method | Description |
|---|---|
| IsNull | Checks whether the implementation object is nullptr. |
| GetSheetIndexes | Represents the indexes of exported sheets. |
| SetSheetIndexes | Represents the indexes of exported sheets. |
| GetExportArea | Gets or sets the exporting range. |
| SetExportArea | Gets or sets the exporting range. |
| GetHasHeaderRow | Indicates whether the range contains header row. |
| SetHasHeaderRow | Indicates whether the range contains header row. |
| GetXmlMapName | Indicates whether exporting xml map in the file. |
| SetXmlMapName | Indicates whether exporting xml map in the file. |
| GetSheetNameAsElementName | Indicates whether exporting sheet’s name as the name of the element. |
| SetSheetNameAsElementName | Indicates whether exporting sheet’s name as the name of the element. |
| GetDataAsAttribute | Indicates whether exporting data as attributes of element. |
| SetDataAsAttribute | Indicates whether exporting data as attributes of element. |
| GetSaveFormat | Gets the save file format. |
| GetClearData | Make the workbook empty after saving the file. |
| SetClearData | Make the workbook empty after saving the file. |
| GetCachedFileFolder | The folder for temporary files that may be used as data cache. |
| SetCachedFileFolder | The folder for temporary files that may be used as data cache. |
| GetValidateMergedAreas | Indicates whether validate merged cells before saving the file. |
| SetValidateMergedAreas | Indicates whether validate merged cells before saving the file. |
| GetMergeAreas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| SetMergeAreas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| GetCreateDirectory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| SetCreateDirectory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| GetSortNames | Indicates whether sorting defined names before saving file. |
| SetSortNames | Indicates whether sorting defined names before saving file. |
| GetSortExternalNames | Indicates whether sorting external defined names before saving file. |
| SetSortExternalNames | Indicates whether sorting external defined names before saving file. |
| GetRefreshChartCache | Indicates whether refreshing chart cache data |
| SetRefreshChartCache | Indicates whether refreshing chart cache data |
| GetCheckExcelRestriction | Whether 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. |
| SetCheckExcelRestriction | Whether 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. |
| GetUpdateSmartArt | Indicates whether updating smart art setting.The default value is false. |
| SetUpdateSmartArt | Indicates whether updating smart art setting.The default value is false. |
| GetEncryptDocumentProperties | Indicates whether encrypt document properties when saving as .xls file.The default value is true. |
| SetEncryptDocumentProperties | Indicates whether encrypt document properties when saving as .xls file.The default value is true. |