LoadOptions class
LoadOptions class
Represents the options of loading the file.
The LoadOptions type exposes the following members:
Constructors
Constructor | Description |
---|---|
init | Creates an options of loading the file. |
init | Creates an options of loading the file. |
Properties
Property | Description |
---|---|
load_format | Gets the load format. |
password | Gets and set the password of the workbook. |
parsing_formula_on_open | Indicates whether parsing the formula when reading the file. |
parsing_pivot_cached_records | Indicates whether parsing pivot cached records when loading the file. The default value is false. |
language_code | Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. |
region | Gets or sets the system regional settings based on CountryCode at the time the file was loaded. |
default_style_settings | Gets the default style settings for initializing styles of the workbook |
standard_font | Sets the default standard font name |
standard_font_size | Sets the default standard font size. |
interrupt_monitor | Gets and sets the interrupt monitor. |
ignore_not_printed | Ignore the data which are not printed if directly printing the file |
check_data_valid | Check whether data is valid in the template file. |
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 such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell’s value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. |
keep_unparsed_data | Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. |
load_filter | The filter to denote how to load data. |
light_cells_data_handler | The data handler for processing cells data when reading template file. |
memory_setting | Gets or sets the memory usage options. |
warning_callback | Gets or sets warning callback. |
auto_fitter_options | Gets and sets the auto fitter options |
auto_filter | Indicates whether auto filtering the data when loading the files. |
font_configs | Gets and sets individual font configs. Only works for the Workbook which uses this LoadOptions to load. |
ignore_useless_shapes | Indicates whether ignoring useless shapes. |
preserve_padding_spaces_in_formula | Indicates whether preserve those spaces and line breaks that are padded between formula tokens while getting and setting formulas. Default value is false. |
Methods
Method | Description |
---|---|
set_paper_size | Sets the default print paper size from default printer’s setting. |
See Also
- module
aspose.cells
- class
LoadOptions
- class
Workbook