aspose.cells

Class CalculationOptions

Represents options for calculation.

Constructor Summary
 
Property Getters/Setters Summary
functiongetCalcStackSize()
function
           Specifies the stack size for calculating cells recursively.
functiongetCalculationMonitor()
function
           The monitor for user to track the progress of formula calculation.
functiongetIgnoreError()
function
           Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.
functiongetPrecisionStrategy()
function
           Specifies the strategy for processing precision of calculation. The value of the property is CalculationPrecisionStrategy integer constant.
functiongetRecursive()
function
           Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells.
 

    • Constructor Detail

      • CalculationOptions

        function CalculationOptions()
    • Property Getters/Setters Detail

      • getIgnoreError/setIgnoreError : boolean 

        function getIgnoreError() / function setIgnoreError(value)
        
        Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc.
      • getCalculationMonitor/setCalculationMonitor : AbstractCalculationMonitor 

        function getCalculationMonitor() / function setCalculationMonitor(value)
        
        The monitor for user to track the progress of formula calculation.
      • getCalcStackSize/setCalcStackSize : Number 

        function getCalcStackSize() / function setCalcStackSize(value)
        
        Specifies the stack size for calculating cells recursively. When there are large amount of cells need to be calculated recursively in the dependency tree, StackOverflowException may be caused in the calculation process. If so, user should specify smaller value for this property. For such situation, user should determine the proper value for this property according to the actual formulas and data. Too small value may cause performance degradation for the formula calculation.
      • getPrecisionStrategy/setPrecisionStrategy : Number 

        function getPrecisionStrategy() / function setPrecisionStrategy(value)
        
        Specifies the strategy for processing precision of calculation. The value of the property is CalculationPrecisionStrategy integer constant.
      • getRecursive/setRecursive : boolean 

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