public class GridWorkbookSettings
extends java.lang.Object
implements java.io.Serializable
Example
GridWeb gridweb = new GridWeb();
GridWorkbookSettings gsettings = new GridWorkbookSettings();
gridweb.setSettings(gsettings);
//do your business
| Constructor and Description |
|---|
GridWorkbookSettings()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAuthor()
Gets the author of the file.
|
boolean |
getCheckCustomNumberFormat()
Gets whether checking custom number format when setting Style.Custom.
|
boolean |
getCreateCalcChain()
Gets whether create calculated formulas chain.
|
boolean |
getDate1904()
Gets the value which represents if the workbook uses the 1904 date system.
|
boolean |
getEnableMacros()
Gets whether enable macros; Now it only works when copying a worksheet to other worksheet in a workbook.
|
boolean |
getForceFullCalculate()
Gets whether fully calculates every time when a calculation is triggered.
|
boolean |
getIteration()
Gets whether use iteration to resolve circular references.
|
int |
getMaxIteration()
Gets the maximum number of iterations to resolve a circular reference,the default value is 100.
|
boolean |
getPrecisionAsDisplayed()
True if calculations in this workbook will be done using only the precision of the numbers as they're displayed
|
boolean |
getPreservePaddingSpaces()
Indicates whether preserve those spaces and line breaks that are padded between formula tokens
while getting and setting formulas.
|
boolean |
getReCalculateOnOpen()
Gets whether re-calculate all formulas on opening file.
|
void |
setAuthor(java.lang.String value)
Sets the author of the file.
|
void |
setCheckCustomNumberFormat(boolean value)
Sets whether checking custom number format when setting Style.Custom.
|
void |
setCreateCalcChain(boolean value)
Sets whether create calculated formulas chain.
|
void |
setDate1904(boolean value)
Sets the value which represents if the workbook uses the 1904 date system.
|
void |
setEnableMacros(boolean value)
Sets whether enable macros; Now it only works when copying a worksheet to other worksheet in a workbook.
|
void |
setForceFullCalculate(boolean value)
Sets whether fully calculates every time when a calculation is triggered.
|
void |
setIteration(boolean value)
Sets whether use iteration to resolve circular references.
|
void |
setMaxIteration(int value)
Sets the maximum number of iterations to resolve a circular reference,the default value is 100.
|
void |
setPrecisionAsDisplayed(boolean value)
True if calculations in this workbook will be done using only the precision of the numbers as they're displayed
|
void |
setPreservePaddingSpaces(boolean value)
Indicates whether preserve those spaces and line breaks that are padded between formula tokens
while getting and setting formulas.
|
void |
setReCalculateOnOpen(boolean value)
Sets whether re-calculate all formulas on opening file.
|
public int getMaxIteration()
public void setMaxIteration(int value)
public boolean getIteration()
public void setIteration(boolean value)
public boolean getForceFullCalculate()
public void setForceFullCalculate(boolean value)
public boolean getPreservePaddingSpaces()
Remarks
Generally those spaces and line breaks are jsut for visual purpose, Preserving them or not does not affect the calculated result. For performance consideration, if there is no special requirement, it is better not to preserve them while processing formulas.public void setPreservePaddingSpaces(boolean value)
Remarks
Generally those spaces and line breaks are jsut for visual purpose, Preserving them or not does not affect the calculated result. For performance consideration, if there is no special requirement, it is better not to preserve them while processing formulas.public boolean getCreateCalcChain()
public void setCreateCalcChain(boolean value)
public boolean getReCalculateOnOpen()
public void setReCalculateOnOpen(boolean value)
public boolean getPrecisionAsDisplayed()
public void setPrecisionAsDisplayed(boolean value)
public boolean getDate1904()
public void setDate1904(boolean value)
public boolean getEnableMacros()
public void setEnableMacros(boolean value)
public boolean getCheckCustomNumberFormat()
public void setCheckCustomNumberFormat(boolean value)
public java.lang.String getAuthor()
public void setAuthor(java.lang.String value)
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.