Constructor Summary |
---|
LoadOptions()
Creates an options of loading the file. |
LoadOptions(loadFormat)
Creates an options of loading the file. |
Property Getters/Setters Summary | ||
---|---|---|
function | getAutoFilter() | |
function | setAutoFilter(value) | |
Indicates whether auto filtering the data when loading the files. | ||
function | getAutoFitterOptions() | |
function | setAutoFitterOptions(value) | |
Gets and sets the auto fitter options | ||
function | getCheckDataValid() | |
function | setCheckDataValid(value) | |
Check whether data is valid in the template file. | ||
function | getCheckExcelRestriction() | |
function | 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. | ||
function | getDefaultStyleSettings() | |
Gets the default style settings for initializing styles of the workbook
|
||
function | getFontConfigs() | |
function | setFontConfigs(value) | |
Gets and sets individual font configs.
Only works for the |
||
function | getIgnoreNotPrinted() | |
function | setIgnoreNotPrinted(value) | |
Ignore the data which are not printed if directly printing the file | ||
function | getInterruptMonitor() | |
function | setInterruptMonitor(value) | |
Gets and sets the interrupt monitor. | ||
function | getKeepUnparsedData() | |
function | setKeepUnparsedData(value) | |
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true. | ||
function | getLanguageCode() | |
function | 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. | ||
function | getLightCellsDataHandler() | |
function | setLightCellsDataHandler(value) | |
The data handler for processing cells data when reading template file. | ||
function | getLoadFilter() | |
function | setLoadFilter(value) | |
The filter to denote how to load data. | ||
function | getLoadFormat() | |
Gets the load format.
The value of the property is LoadFormat integer constant. |
||
function | getLocale() | |
function | setLocale(value) | |
Gets and sets the Locale used for workbook at the time the file was loaded. | ||
function | getMemorySetting() | |
function | setMemorySetting(value) | |
Gets or sets the memory usage options. The value of the property is MemorySetting integer constant. | ||
function | getParsingFormulaOnOpen() | |
function | setParsingFormulaOnOpen(value) | |
Indicates whether parsing the formula when reading the file. | ||
function | getParsingPivotCachedRecords() | |
function | setParsingPivotCachedRecords(value) | |
Indicates whether parsing pivot cached records when loading the file. The default value is false. | ||
function | getPassword() | |
function | setPassword(value) | |
Gets and set the password of the workbook. | ||
function | getRegion() | |
function | 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. | ||
function | getStandardFont() | |
function | setStandardFont(value) | |
Sets the default standard font name | ||
function | getStandardFontSize() | |
function | setStandardFontSize(value) | |
Sets the default standard font size. |
Method Summary | ||
---|---|---|
function | setPaperSize(type) | |
Sets the default print paper size from default printer's setting.
|
function LoadOptions()
function LoadOptions(loadFormat)
loadFormat: Number
- A function getLoadFormat()
function getPassword() / function setPassword(value)
function getParsingFormulaOnOpen() / function setParsingFormulaOnOpen(value)
function getParsingPivotCachedRecords() / function setParsingPivotCachedRecords(value)
function getLanguageCode() / function setLanguageCode(value)
function getRegion() / function setRegion(value)
function getLocale() / function setLocale(value)
function getDefaultStyleSettings()
function getStandardFont() / function setStandardFont(value)
function getStandardFontSize() / function setStandardFontSize(value)
function getInterruptMonitor() / function setInterruptMonitor(value)
function getIgnoreNotPrinted() / function setIgnoreNotPrinted(value)
function getCheckDataValid() / function setCheckDataValid(value)
function getCheckExcelRestriction() / function setCheckExcelRestriction(value)
function getKeepUnparsedData() / function setKeepUnparsedData(value)
function getLoadFilter() / function setLoadFilter(value)
function getLightCellsDataHandler() / function setLightCellsDataHandler(value)
function getMemorySetting() / function setMemorySetting(value)
function getAutoFitterOptions() / function setAutoFitterOptions(value)
function getAutoFilter() / function setAutoFilter(value)
function getFontConfigs() / function setFontConfigs(value)
function setPaperSize(type)
type: Number
- A