Constructor Summary |
---|
XmlLoadOptions()
Represents the options of loading xml file. |
XmlLoadOptions(type)
Represents the options of loading xml 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 | containsMultipleWorksheets() | |
function | ||
Indicates whether importing xml as multiple worksheets. | ||
function | getConvertNumericOrDate() | |
function | setConvertNumericOrDate(value) | |
Indicates whether converting the value in xml file to numeric or date. | ||
function | getDateFormat() | |
function | setDateFormat(value) | |
Gets and sets the format of date value. | ||
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 | getIgnoreRootAttributes() | |
function | setIgnoreRootAttributes(value) | |
Indicates whether ignore attributes of the root element. | ||
function | getIgnoreUselessShapes() | |
function | setIgnoreUselessShapes(value) | |
Indicates whether ignoring useless shapes. | ||
function | getInterruptMonitor() | |
function | setInterruptMonitor(value) | |
Gets and sets the interrupt monitor. | ||
function | isXmlMap() | |
function | setXmlMap(value) | |
Indicates whether mapping xml to Excel. The default value is false. | ||
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 | getNumberFormat() | |
function | setNumberFormat(value) | |
Gets and sets the format of numeric value. | ||
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 | getPreservePaddingSpacesInFormula() | |
function | ||
Indicates whether preserve those spaces and line breaks that are padded between formula tokens while getting and setting formulas. Default value is false. | ||
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. | ||
function | getStartCell() | |
function | setStartCell(value) | |
Gets and sets the start cell. | ||
function | getWarningCallback() | |
function | setWarningCallback(value) | |
Gets or sets warning callback. |
Method Summary | ||
---|---|---|
function | setPaperSize(type) | |
Sets the default print paper size from default printer's setting.
|
function XmlLoadOptions()
function XmlLoadOptions(type)
type: Number
- A function getStartCell() / function setStartCell(value)
function isXmlMap() / function setXmlMap(value)
function containsMultipleWorksheets() / function setContainsMultipleWorksheets(value)
function getConvertNumericOrDate() / function setConvertNumericOrDate(value)
function getNumberFormat() / function setNumberFormat(value)
function getDateFormat() / function setDateFormat(value)
function getIgnoreRootAttributes() / function setIgnoreRootAttributes(value)
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 getWarningCallback() / function setWarningCallback(value)
function getAutoFitterOptions() / function setAutoFitterOptions(value)
function getAutoFilter() / function setAutoFilter(value)
function getFontConfigs() / function setFontConfigs(value)
function getIgnoreUselessShapes() / function setIgnoreUselessShapes(value)
function getPreservePaddingSpacesInFormula() / function setPreservePaddingSpacesInFormula(value)
function setPaperSize(type)
type: Number
- A