java.lang.Objectcom.aspose.cells.LoadOptions
public class LoadOptions
Constructor Summary |
---|
LoadOptions()
Creates an options of loading the file. |
LoadOptions(int loadFormat)
Creates an options of loading the file. |
Property Getters/Setters Summary | ||
---|---|---|
boolean | getCheckExcelRestriction() | |
void | setCheckExcelRestriction(boolean 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. | ||
boolean | getConvertNumericData() | |
void | setConvertNumericData(boolean value) | |
Gets or sets a value that indicates whether the string in text file is converted to numeric data. | ||
boolean | getIgnoreNotPrinted() | |
void | setIgnoreNotPrinted(boolean value) | |
Ignore the data which are not printed if directly printing the file | ||
InterruptMonitor | getInterruptMonitor() | |
void | setInterruptMonitor(InterruptMonitor value) | |
Gets and sets the interrupt monitor. | ||
int | getLanguageCode() | |
void | setLanguageCode(int 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. | ||
boolean | getLoadDataAndFormatting() | |
void | setLoadDataAndFormatting(boolean value) | |
If true, only loads data , formulas and formatting from the file,other contents and settings are all discarded. For example : shapes ,validation,conditional formatting,pivotables are not loaded. | ||
boolean | getLoadDataOnly() | |
void | setLoadDataOnly(boolean value) | |
If true, only loads data and formulas from the file,other contents and settings are all discarded. | ||
LoadDataOption | getLoadDataOptions() | |
void | setLoadDataOptions(LoadDataOption value) | |
Only effects when OnlyLoadData is true. | ||
int | getLoadFormat() | |
Gets and set the load format. The value of the property is LoadFormat integer constant. | ||
java.util.Locale | getLocale() | |
void | setLocale(java.util.Locale value) | |
Gets and sets the Locale used for workbook. | ||
boolean | getOnlyLoadDocumentProperties() | |
void | setOnlyLoadDocumentProperties(boolean value) | |
If true, only loads document properties | ||
boolean | getParsingFormulaOnOpen() | |
void | setParsingFormulaOnOpen(boolean value) | |
Indicates whether parsing the formula when reading the file. | ||
java.lang.String | getPassword() | |
void | setPassword(java.lang.String value) | |
Gets and set the password of the workbook. | ||
int | getRegion() | |
void | setRegion(int value) | |
Gets or sets the system regional settings based on CountryCode at the time the file was saved. The value of the property is CountryCode integer constant. | ||
java.lang.String | getStandardFont() | |
void | setStandardFont(java.lang.String value) | |
Sets the default standard font name | ||
double | getStandardFontSize() | |
void | setStandardFontSize(double value) | |
Sets the default standard font size. |
Constructor Detail |
---|
public LoadOptions()
public LoadOptions(int loadFormat)
loadFormat
- A Property Getters/Setters Detail |
---|
getLoadFormat | |
public int getLoadFormat() |
getPassword/setPassword | |
public java.lang.String getPassword() / public void setPassword(java.lang.String value) |
getParsingFormulaOnOpen/setParsingFormulaOnOpen | |
public boolean getParsingFormulaOnOpen() / public void setParsingFormulaOnOpen(boolean value) |
getLoadDataAndFormatting/setLoadDataAndFormatting | |
public boolean getLoadDataAndFormatting() / public void setLoadDataAndFormatting(boolean value) |
getLoadDataOnly/setLoadDataOnly | |
public boolean getLoadDataOnly() / public void setLoadDataOnly(boolean value) |
getOnlyLoadDocumentProperties/setOnlyLoadDocumentProperties | |
public boolean getOnlyLoadDocumentProperties() / public void setOnlyLoadDocumentProperties(boolean value) |
getLoadDataOptions/setLoadDataOptions | |
public LoadDataOption getLoadDataOptions() / public void setLoadDataOptions(LoadDataOption value) |
getLanguageCode/setLanguageCode | |
public int getLanguageCode() / public void setLanguageCode(int value) |
getRegion/setRegion | |
public int getRegion() / public void setRegion(int value) |
getLocale/setLocale | |
public java.util.Locale getLocale() / public void setLocale(java.util.Locale value) |
getConvertNumericData/setConvertNumericData | |
public boolean getConvertNumericData() / public void setConvertNumericData(boolean value) |
getStandardFont/setStandardFont | |
public java.lang.String getStandardFont() / public void setStandardFont(java.lang.String value) |
getStandardFontSize/setStandardFontSize | |
public double getStandardFontSize() / public void setStandardFontSize(double value) |
getInterruptMonitor/setInterruptMonitor | |
public InterruptMonitor getInterruptMonitor() / public void setInterruptMonitor(InterruptMonitor value) |
getIgnoreNotPrinted/setIgnoreNotPrinted | |
public boolean getIgnoreNotPrinted() / public void setIgnoreNotPrinted(boolean value) |
getCheckExcelRestriction/setCheckExcelRestriction | |
public boolean getCheckExcelRestriction() / public void setCheckExcelRestriction(boolean value) |