public class GridLoadOptions
extends java.lang.Object
| Constructor and Description |
|---|
GridLoadOptions()
Creates an options of loading the file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoFilter()
Indicates whether auto filtering the data when loading the files.
|
boolean |
getCheckDataValid()
Check whether data is valid in the template file.
|
boolean |
getCheckExcelRestriction()
Whether check restriction of excel file when user modify cells related objects.
|
boolean |
getIgnoreNotPrinted()
Ignore the data which are not printed if directly printing the file
|
boolean |
getKeepUnparsedData()
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file.
|
boolean |
getOnlyAuto()
Indicates whether only fit the rows which height are not customed.
|
boolean |
getParsingFormulaOnOpen()
Indicates whether parsing the formula when reading the file.
|
boolean |
getParsingPivotCachedRecords()
Indicates whether parsing pivot cached records when loading the file.
|
java.lang.String |
getPassword()
Gets the password of the workbook.
|
boolean |
getPreservePaddingSpacesInFormula()
Indicates whether preserve those spaces and line breaks that are padded between formula tokens
while getting and setting formulas.
|
void |
setAutoFilter(boolean value)
Indicates whether auto filtering the data when loading the files.
|
void |
setCheckDataValid(boolean value)
Check whether data is valid in the template file.
|
void |
setCheckExcelRestriction(boolean value)
Whether check restriction of excel file when user modify cells related objects.
|
void |
setIgnoreNotPrinted(boolean value)
Ignore the data which are not printed if directly printing the file
|
void |
setKeepUnparsedData(boolean value)
Whether keep the unparsed data in memory for the Workbook when it is loaded from template file.
|
void |
setOnlyAuto(boolean value)
Indicates whether only fit the rows which height are not customed.
|
void |
setParsingFormulaOnOpen(boolean value)
Indicates whether parsing the formula when reading the file.
|
void |
setParsingPivotCachedRecords(boolean value)
Indicates whether parsing pivot cached records when loading the file.
|
void |
setPassword(java.lang.String value)
Sets the password of the workbook.
|
void |
setPreservePaddingSpacesInFormula(boolean value)
Indicates whether preserve those spaces and line breaks that are padded between formula tokens
while getting and setting formulas.
|
public java.lang.String getPassword()
public void setPassword(java.lang.String value)
public boolean getOnlyAuto()
public void setOnlyAuto(boolean value)
public boolean getPreservePaddingSpacesInFormula()
Remarks
After loading workbook from template file with this option,GridWorkbookSettings.getPreservePaddingSpaces()
will be set to the same value with this property.public void setPreservePaddingSpacesInFormula(boolean value)
Remarks
After loading workbook from template file with this option,GridWorkbookSettings.getPreservePaddingSpaces()
will be set to the same value with this property.public boolean getParsingFormulaOnOpen()
Remarks
Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file because the formulas in the files are stored with a string formula.public void setParsingFormulaOnOpen(boolean value)
Remarks
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()
Remarks
Only applies for Excel Xlsx, Xltx, Xltm , Xlsm and xlsb filepublic void setParsingPivotCachedRecords(boolean value)
Remarks
Only applies for Excel Xlsx, Xltx, Xltm , Xlsm and xlsb filepublic boolean getIgnoreNotPrinted()
Remarks
Only for xlsx file.public void setIgnoreNotPrinted(boolean value)
Remarks
Only for xlsx file.public boolean getCheckDataValid()
public void setCheckDataValid(boolean value)
public boolean getCheckExcelRestriction()
public void setCheckExcelRestriction(boolean value)
public boolean getKeepUnparsedData()
Remarks
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 void setKeepUnparsedData(boolean value)
Remarks
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()
Remarks
Sometimes although autofilter is set, the corresponding rows is not hidden in the file. Now only works for SpreadSheetML file.public void setAutoFilter(boolean value)
Remarks
Sometimes although autofilter is set, the corresponding rows is not hidden in the file. Now only works for SpreadSheetML file.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.