com.aspose.cells
Class CalculationOptions

java.lang.Object
    extended by com.aspose.cells.CalculationOptions

public class CalculationOptions 
extends java.lang.Object

Represents options for calculation.


Constructor Summary
CalculationOptions()
          
 
Property Getters/Setters Summary
intgetCalcStackSize()
voidsetCalcStackSize(int value)
           Specifies the stack size for calculating cells recursively. -1 for this property means the calculation will use WorkbookSettings.CalcStackSize of corresponding workbook.
AbstractCalculationMonitorgetCalculationMonitor()
voidsetCalculationMonitor(AbstractCalculationMonitor value)
           The monitor for user to track the progress of formula calculation.
AbstractCalculationEnginegetCustomEngine()
voidsetCustomEngine(AbstractCalculationEngine value)
           The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.
ICustomFunctiongetCustomFunction()
voidsetCustomFunction(ICustomFunction value)
           The custom formula calculation functions to extend the calculation engine.
booleangetIgnoreError()
voidsetIgnoreError(boolean value)
           Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.
intgetPrecisionStrategy()
voidsetPrecisionStrategy(int value)
           Specifies the strategy for processing precision of calcuation. The value of the property is CalculationPrecisionStrategy integer constant.
booleangetRecursive()
voidsetRecursive(boolean value)
           Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.
 

Constructor Detail

CalculationOptions

public CalculationOptions()

Property Getters/Setters Detail

getIgnoreError/setIgnoreError

public boolean getIgnoreError() / public void setIgnoreError(boolean value)
Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.

setIgnoreError

public void setIgnoreError(boolean value)
Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.

getCustomFunction/setCustomFunction

public ICustomFunction getCustomFunction() / public void setCustomFunction(ICustomFunction value)
The custom formula calculation functions to extend the calculation engine.

setCustomFunction

public void setCustomFunction(ICustomFunction value)
The custom formula calculation functions to extend the calculation engine.

getCustomEngine/setCustomEngine

public AbstractCalculationEngine getCustomEngine() / public void setCustomEngine(AbstractCalculationEngine value)
The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.

setCustomEngine

public void setCustomEngine(AbstractCalculationEngine value)
The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.

getCalculationMonitor/setCalculationMonitor

public AbstractCalculationMonitor getCalculationMonitor() / public void setCalculationMonitor(AbstractCalculationMonitor value)
The monitor for user to track the progress of formula calculation.

setCalculationMonitor

public void setCalculationMonitor(AbstractCalculationMonitor value)
The monitor for user to track the progress of formula calculation.

getCalcStackSize/setCalcStackSize

public int getCalcStackSize() / public void setCalcStackSize(int value)
Specifies the stack size for calculating cells recursively. -1 for this property means the calculation will use WorkbookSettings.CalcStackSize of corresponding workbook. WorkbookSettings.CalcStackSize

setCalcStackSize

public void setCalcStackSize(int value)
Specifies the stack size for calculating cells recursively. -1 for this property means the calculation will use WorkbookSettings.CalcStackSize of corresponding workbook. WorkbookSettings.CalcStackSize

getPrecisionStrategy/setPrecisionStrategy

public int getPrecisionStrategy() / public void setPrecisionStrategy(int value)
Specifies the strategy for processing precision of calcuation. The value of the property is CalculationPrecisionStrategy integer constant.

setPrecisionStrategy

public void setPrecisionStrategy(int value)
Specifies the strategy for processing precision of calcuation. The value of the property is CalculationPrecisionStrategy integer constant.

getRecursive/setRecursive

public boolean getRecursive() / public void setRecursive(boolean value)
Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.

setRecursive

public void setRecursive(boolean value)
Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.

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