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.
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.
Indicates the strategy to apply style for parsed values when converting string value to number or datetime.
The value of the property is TxtLoadStyleStrategy integer constant.
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.
Sets the default print paper size from default printer's setting.
Property Getters/Setters Detail
getEncoding/setEncoding
public com.aspose.cells.Encoding getEncoding() / public void setEncoding(com.aspose.cells.Encoding value)
Gets and sets the default encoding. Only applies for csv file.
getLoadStyleStrategy/setLoadStyleStrategy
public int getLoadStyleStrategy() / public void setLoadStyleStrategy(int value)
Indicates the strategy to apply style for parsed values when converting string value to number or datetime.
The value of the property is TxtLoadStyleStrategy integer constant.
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.
getConvertDateTimeData/setConvertDateTimeData
public boolean getConvertDateTimeData() / public void setConvertDateTimeData(boolean value)
Gets or sets a value that indicates whether the string in text file is converted to date data.
getKeepPrecision/setKeepPrecision
public boolean getKeepPrecision() / public void setKeepPrecision(boolean value)
Indicates whether not parsing a string value if the length is 15.
public boolean getParsingFormulaOnOpen() / public void setParsingFormulaOnOpen(boolean value)
Indicates whether parsing the formula when reading the file.
Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file
because the formulas in the files are stored with a string formula.
public boolean getParsingPivotCachedRecords() / public void setParsingPivotCachedRecords(boolean value)
Indicates whether parsing pivot cached records when loading the file.
The default value is false.
Only applies for Excel Xlsx, Xltx, Xltm , Xlsm and xlsb file
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.
public int getRegion() / public void setRegion(int 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.If you do not want to use the region saved in the file,
please reset it after reading the file.
public java.lang.String getStandardFont() / public void setStandardFont(java.lang.String value)
Sets the default standard font name
NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings.
This property will be removed 12 months later since March 2022.
Aspose apologizes for any inconvenience you may have experienced.
public double getStandardFontSize() / public void setStandardFontSize(double value)
Sets the default standard font size.
NOTE: This member is now obsolete. Instead, please use DefaultStyleSettings.
This property will be removed 12 months later since March 2022.
Aspose apologizes for any inconvenience you may have experienced.
public boolean getCheckExcelRestriction() / public 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.
public boolean getKeepUnparsedData() / public void setKeepUnparsedData(boolean value)
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file. Default is true.
For scenarios that user only needs to read some contents from template file and does not need to save the workbook back,
set this property as false may improve performance, especially when using it together with some kind of LoadFilter,
public boolean getAutoFilter() / public void setAutoFilter(boolean value)
Indicates whether auto filtering the data when loading the files.
Sometimes although autofilter is set, the corresponding rows is not hidden in the file.
Now only works for SpreadSheetML file.