JsonSaveOptions class
JsonSaveOptions class
Represents the options of saving the workbook as a json file.
Inheritance: JsonSaveOptions →
SaveOptions
The JsonSaveOptions type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self) | Creates options for saving json 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. |
| export_style_pool | Indicates whether to export styles collectively or individually to each cell. |
| export_hyperlink_type | Represents the type of exporting hyperlink to json. |
| skip_empty_rows | Indicates whether skipping emtpy rows. |
| sheet_indexes | Represents the indexes of exported sheets. |
| schemas | The original json schema of each worksheet. |
| export_area | Gets or sets the exporting range. |
| has_header_row | Indicates whether the range contains header row. |
| export_as_string | Exports the string value of the cells to json. |
| indent | Indicates the indent. |
| export_nested_structure | Exported as parent-child hierarchy Json structure. |
| export_empty_cells | Indicates whether exporting empty cells as null. |
| always_export_as_json_object | Indicates whether always exporting excel to json as object, even there is only a worksheet in the file. |
| to_excel_struct | Indicates whether converting to json struct of the Excel file. |
See Also
- module
aspose.cells - class
JsonSaveOptions - class
SaveOptions