com.aspose.cells
Class LoadOptions

java.lang.Object
    extended by com.aspose.cells.LoadOptions
Direct Known Subclasses:
HTMLLoadOptions, TxtLoadOptions

public class LoadOptions 
extends java.lang.Object

Represents the options of loading the file.

Constructor Summary
LoadOptions()
           Creates an options of loading the file.
LoadOptions(int loadFormat)
           Creates an options of loading the file.
 
Property Getters/Setters Summary
booleangetConvertNumericData()
voidsetConvertNumericData(boolean value)
           Gets or sets a value that indicates whether the string in text file is converted to numeric data.
booleangetIgnoreNotPrinted()
voidsetIgnoreNotPrinted(boolean value)
           Ignore the data which are not printed if directly printing the file
InterruptMonitorgetInterruptMonitor()
voidsetInterruptMonitor(InterruptMonitor value)
           Gets and sets the interrupt monitor.
intgetLanguageCode()
voidsetLanguageCode(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.
booleangetLoadDataOnly()
voidsetLoadDataOnly(boolean value)
           If true, only loads data and formulas from the file,other contents and settings are all discarded.
LoadDataOptiongetLoadDataOptions()
voidsetLoadDataOptions(LoadDataOption value)
           Only effects when OnlyLoadData is true.
intgetLoadFormat()
           Gets and set the load format. The value of the property is LoadFormat integer constant.
java.util.LocalegetLocale()
voidsetLocale(java.util.Locale value)
           Gets and sets the Locale used for workbook.
booleangetOnlyLoadDocumentProperties()
voidsetOnlyLoadDocumentProperties(boolean value)
           If true, only loads document properties
booleangetParsingFormulaOnOpen()
voidsetParsingFormulaOnOpen(boolean value)
           Indicates whether parsing the formula when reading the file.
java.lang.StringgetPassword()
voidsetPassword(java.lang.String value)
           Gets and set the password of the workbook.
intgetRegion()
voidsetRegion(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.StringgetStandardFont()
voidsetStandardFont(java.lang.String value)
           Sets the default standard font name
doublegetStandardFontSize()
voidsetStandardFontSize(double value)
           Sets the default standard font size.
 

Constructor Detail

LoadOptions

public LoadOptions()
Creates an options of loading the file.

LoadOptions

public LoadOptions(int loadFormat)
Creates an options of loading the file.
Parameters:
loadFormat - A LoadFormat value. The loading format.

Property Getters/Setters Detail

getLoadFormat

public int getLoadFormat()
Gets and set the load format. The value of the property is LoadFormat integer constant.

getPassword/setPassword

public java.lang.String getPassword() / public void setPassword(java.lang.String value)
Gets and set the password of the workbook.

getParsingFormulaOnOpen/setParsingFormulaOnOpen

public boolean getParsingFormulaOnOpen() / public void setParsingFormulaOnOpen(boolean value)
Indicates whether parsing the formula when reading the file. Only applies for Excel Xlsx,Xltx, Xltm,Xlsm file because the formulas in the files are stored with a string formula.

getLoadDataOnly/setLoadDataOnly

public boolean getLoadDataOnly() / public void setLoadDataOnly(boolean value)
If true, only loads data and formulas from the file,other contents and settings are all discarded.

getOnlyLoadDocumentProperties/setOnlyLoadDocumentProperties

public boolean getOnlyLoadDocumentProperties() / public void setOnlyLoadDocumentProperties(boolean value)
If true, only loads document properties Only for excel 97- 2003 xls file. If the file is encrypted, we still can get the document properties without password

getLoadDataOptions/setLoadDataOptions

public LoadDataOption getLoadDataOptions() / public void setLoadDataOptions(LoadDataOption value)
Only effects when OnlyLoadData is true.

getLanguageCode/setLanguageCode

public int getLanguageCode() / public 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.

getRegion/setRegion

public int getRegion() / public 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.If you do not want to use the region saved in the file, please reset it after reading the file.

getLocale/setLocale

public java.util.Locale getLocale() / public void setLocale(java.util.Locale value)
Gets and sets the Locale used for workbook.

getConvertNumericData/setConvertNumericData

public boolean getConvertNumericData() / public void setConvertNumericData(boolean value)
Gets or sets a value that indicates whether the string in text file is converted to numeric data.

getStandardFont/setStandardFont

public java.lang.String getStandardFont() / public void setStandardFont(java.lang.String value)
Sets the default standard font name

getStandardFontSize/setStandardFontSize

public double getStandardFontSize() / public void setStandardFontSize(double value)
Sets the default standard font size.

getInterruptMonitor/setInterruptMonitor

public InterruptMonitor getInterruptMonitor() / public void setInterruptMonitor(InterruptMonitor value)
Gets and sets the interrupt monitor.

getIgnoreNotPrinted/setIgnoreNotPrinted

public boolean getIgnoreNotPrinted() / public void setIgnoreNotPrinted(boolean value)
Ignore the data which are not printed if directly printing the file Only for xlsx file.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.