LoadOptions Class

LoadOptions class

Represents the options of loading the file.


type LoadOptions struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription
NewLoadOptionsCreates an options of loading the file.
NewLoadOptions_LoadFormatCreates an options of loading the file.

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetLoadFormatGets the load format.
GetPasswordGets and set the password of the workbook.
SetPasswordGets and set the password of the workbook.
GetParsingFormulaOnOpenIndicates whether parsing the formula when reading the file.
SetParsingFormulaOnOpenIndicates whether parsing the formula when reading the file.
GetParsingPivotCachedRecordsIndicates whether parsing pivot cached records when loading the file.The default value is false.
SetParsingPivotCachedRecordsIndicates whether parsing pivot cached records when loading the file.The default value is false.
SetPaperSizeSets the default print paper size from default printer’s setting.
GetLanguageCodeGets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
SetLanguageCodeGets or sets the user interface language of the Workbook version based on CountryCode that has saved the file.
GetRegionGets or sets the system regional settings based on CountryCode at the time the file was loaded.
SetRegionGets or sets the system regional settings based on CountryCode at the time the file was loaded.
GetDefaultStyleSettingsGets the default style settings for initializing styles of the workbook
GetInterruptMonitorGets and sets the interrupt monitor.
SetInterruptMonitorGets and sets the interrupt monitor.
GetIgnoreNotPrintedIgnore the data which are not printed if directly printing the file
SetIgnoreNotPrintedIgnore the data which are not printed if directly printing the file
GetCheckDataValidCheck whether data is valid in the template file.
SetCheckDataValidCheck whether data is valid in the template file.
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 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 lateryou 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.
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 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 lateryou 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.
GetKeepUnparsedDataWhether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true.
SetKeepUnparsedDataWhether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true.
GetLoadFilterThe filter to denote how to load data.
SetLoadFilterThe filter to denote how to load data.
GetMemorySettingGets or sets the memory usage options.
SetMemorySettingGets or sets the memory usage options.
GetAutoFitterOptionsGets and sets the auto fitter options
SetAutoFitterOptionsGets and sets the auto fitter options
GetAutoFilterIndicates whether auto filtering the data when loading the files.
SetAutoFilterIndicates whether auto filtering the data when loading the files.
GetFontConfigsGets and sets individual font configs.Only works for the which uses this to load.
SetFontConfigsGets and sets individual font configs.Only works for the which uses this to load.
GetIgnoreUselessShapesIndicates whether ignoring useless shapes.
SetIgnoreUselessShapesIndicates whether ignoring useless shapes.
GetPreservePaddingSpacesInFormulaIndicates whether preserve those spaces and line breaks that are padded between formula tokenswhile getting and setting formulas.Default value is false.
SetPreservePaddingSpacesInFormulaIndicates whether preserve those spaces and line breaks that are padded between formula tokenswhile getting and setting formulas.Default value is false.