com.aspose.cells

Class CalculationOptions

  • java.lang.Object
    • com.aspose.cells.CalculationOptions
public class CalculationOptions 
extends java.lang.Object

Represents options for calculation.

Constructor Summary
 
Property Getters/Setters Summary
intgetCalcStackSize()
void
           Specifies the stack size for calculating cells recursively. -1 for this property means the calculation will use WorkbookSettings.CalcStackSize of corresponding workbook.
AbstractCalculationMonitorgetCalculationMonitor()
void
           The monitor for user to track the progress of formula calculation.
AbstractCalculationEnginegetCustomEngine()
void
           The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.
ICustomFunctiongetCustomFunction()
void
           The custom formula calculation functions to extend the calculation engine.
booleangetIgnoreError()
void
setIgnoreError(booleanvalue)
           Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.
intgetPrecisionStrategy()
void
           Specifies the strategy for processing precision of calcuation. The value of the property is CalculationPrecisionStrategy integer constant.
booleangetRecursive()
void
setRecursive(booleanvalue)
           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.
      • getCustomFunction/setCustomFunction

        public ICustomFunction getCustomFunction() / public void setCustomFunction(ICustomFunction value)
        
        The custom formula calculation functions to extend the calculation engine.
      • 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
      • 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.
      • 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.

    setIgnoreError

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

    setCustomFunction

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

    setCustomEngine

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

    setCalculationMonitor

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

    setCalcStackSize

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

    setPrecisionStrategy

    public voidsetPrecisionStrategy(intvalue)
    
    Specifies the strategy for processing precision of calcuation. The value of the property is CalculationPrecisionStrategy integer constant.

    setRecursive

    public voidsetRecursive(booleanvalue)
    
    Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.