XmlSaveOptions class
XmlSaveOptions class
Represents the options of saving the workbook as an xml file.
Inheritance: XmlSaveOptions →
SaveOptions
The XmlSaveOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Creates options for saving xml file. |
Properties
| Property | Description |
|---|---|
| save_format | Gets the save file format. |
| clear_data | Make the workbook empty after saving the file. |
| cached_file_folder | The folder for temporary files that may be used as data cache. |
| validate_merged_areas | Indicates whether validate merged cells before saving the file. |
| merge_areas | Indicates whether merge the areas of conditional formatting and validation before saving the file. |
| create_directory | If true and the directory does not exist, the directory will be automatically created before saving the file. |
| sort_names | Indicates whether sorting defined names before saving file. |
| sort_external_names | Indicates whether sorting external defined names before saving file. |
| refresh_chart_cache | Indicates whether refreshing chart cache data |
| warning_callback | Gets or sets warning callback. |
| check_excel_restriction | 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. |
| update_smart_art | Indicates whether updating smart art setting. The default value is false. |
| encrypt_document_properties | Indicates whether encrypt document properties when saving as .xls file. The default value is true. |
| sheet_indexes | Represents the indexes of exported sheets. |
| export_area | Gets or sets the exporting range. |
| has_header_row | Indicates whether the range contains header row. |
| xml_map_name | Indicates whether exporting xml map in the file. |
| sheet_name_as_element_name | Indicates whether exporting sheet’s name as the name of the element. |
| data_as_attribute | Indicates whether exporting data as attributes of element. |
See Also
- module
aspose.cells - class
SaveOptions - class
XmlSaveOptions