Constructor Summary |
---|
LoadOptions()
Creates an options of loading the file. |
LoadOptions(loadFormat)
Creates an options of loading the file. |
Property Getters/Setters Summary | ||
---|---|---|
method | getAutoFilter() | |
method | setAutoFilter(value) | |
Indicates whether auto filtering the data when loading the files. | ||
method | getAutoFitterOptions() | |
method | setAutoFitterOptions(value) | |
Gets and sets the auto fitter options | ||
method | getCheckDataValid() | |
method | setCheckDataValid(value) | |
Check whether data is valid in the template file. | ||
method | getCheckExcelRestriction() | |
method | setCheckExcelRestriction(value) | |
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. | ||
method | getDefaultStyleSettings() | |
Gets the default style settings for initializing styles of the workbook
|
||
method | getFontConfigs() | |
method | setFontConfigs(value) | |
Gets and sets individual font configs.
Only works for the |
||
method | getIgnoreNotPrinted() | |
method | setIgnoreNotPrinted(value) | |
Ignore the data which are not printed if directly printing the file | ||
method | getIgnoreUselessShapes() | |
method | setIgnoreUselessShapes(value) | |
Indicates whether ignoring useless shapes. | ||
method | getInterruptMonitor() | |
method | setInterruptMonitor(value) | |
Gets and sets the interrupt monitor. | ||
method | getKeepUnparsedData() | |
method | setKeepUnparsedData(value) | |
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. | ||
method | getLanguageCode() | |
method | setLanguageCode(value) | |
Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. The value of the property is CountryCode integer constant. | ||
method | getLightCellsDataHandler() | |
method | setLightCellsDataHandler(value) | |
The data handler for processing cells data when reading template file. | ||
method | getLoadFilter() | |
method | setLoadFilter(value) | |
The filter to denote how to load data. | ||
method | getLoadFormat() | |
Gets the load format.
The value of the property is LoadFormat integer constant. |
||
method | getLocale() | |
method | setLocale(value) | |
Gets and sets the Locale used for workbook at the time the file was loaded. | ||
method | getMemorySetting() | |
method | setMemorySetting(value) | |
Gets or sets the memory usage options. The value of the property is MemorySetting integer constant. | ||
method | getParsingFormulaOnOpen() | |
method | setParsingFormulaOnOpen(value) | |
Indicates whether parsing the formula when reading the file. | ||
method | getParsingPivotCachedRecords() | |
method | setParsingPivotCachedRecords(value) | |
Indicates whether parsing pivot cached records when loading the file. The default value is false. | ||
method | getPassword() | |
method | setPassword(value) | |
Gets and set the password of the workbook. | ||
method | getPreservePaddingSpacesInFormula() | |
method | ||
Indicates whether preserve those spaces and line breaks that are padded between formula tokens while getting and setting formulas. Default value is false. | ||
method | getRegion() | |
method | setRegion(value) | |
Gets or sets the system regional settings based on CountryCode at the time the file was loaded. The value of the property is CountryCode integer constant. | ||
method | getStandardFont() | |
method | setStandardFont(value) | |
Sets the default standard font name | ||
method | getStandardFontSize() | |
method | setStandardFontSize(value) | |
Sets the default standard font size. |
Method Summary | ||
---|---|---|
method | setPaperSize(type) | |
Sets the default print paper size from default printer's setting.
|
LoadOptions()
LoadOptions(loadFormat)
loadFormat: int
- A int getLoadFormat()
String getPassword() / setPassword(value)
boolean getParsingFormulaOnOpen() / setParsingFormulaOnOpen(value)
boolean getParsingPivotCachedRecords() / setParsingPivotCachedRecords(value)
int getLanguageCode() / setLanguageCode(value)
int getRegion() / setRegion(value)
Locale getLocale() / setLocale(value)
DefaultStyleSettings getDefaultStyleSettings()
String getStandardFont() / setStandardFont(value)
float getStandardFontSize() / setStandardFontSize(value)
AbstractInterruptMonitor getInterruptMonitor() / setInterruptMonitor(value)
boolean getIgnoreNotPrinted() / setIgnoreNotPrinted(value)
boolean getCheckDataValid() / setCheckDataValid(value)
boolean getCheckExcelRestriction() / setCheckExcelRestriction(value)
boolean getKeepUnparsedData() / setKeepUnparsedData(value)
LoadFilter getLoadFilter() / setLoadFilter(value)
LightCellsDataHandler getLightCellsDataHandler() / setLightCellsDataHandler(value)
int getMemorySetting() / setMemorySetting(value)
AutoFitterOptions getAutoFitterOptions() / setAutoFitterOptions(value)
boolean getAutoFilter() / setAutoFilter(value)
IndividualFontConfigs getFontConfigs() / setFontConfigs(value)
boolean getIgnoreUselessShapes() / setIgnoreUselessShapes(value)
boolean getPreservePaddingSpacesInFormula() / setPreservePaddingSpacesInFormula(value)
setPaperSize(type)
type: int
- A