public interface DependencyTracker
Modifier and Type | Method and Description |
---|---|
void |
addDependency(OperationEvaluationContext ec,
Ptg[] ptgs)
Construct formula reference dependencies.
|
void |
clearIndirectRefPrecedent(OperationEvaluationContext ec)
Clear precedent for a
IndirectRef |
ValueEval |
postProcessValueEval(OperationEvaluationContext ec,
ValueEval opResult,
boolean eval)
Callback when evaluating a formula cell.
|
void |
setIndirectRefPrecedent(OperationEvaluationContext ec,
ValueEval precedent)
Sets precedent for a
IndirectRef |
ValueEval postProcessValueEval(OperationEvaluationContext ec, ValueEval opResult, boolean eval)
ec
- the evaluation context of the evaluated formula cell.opResult
- the precedent that might change the formula cell.eval
- whether this reference is an evaluated result(e.g. from INDIRECT() function(true), or directly specified in formula(false))void addDependency(OperationEvaluationContext ec, Ptg[] ptgs)
ec
- the evaluation context of the evaluated formula cell.ptgs
- the precedent that might change the formula cell.void clearIndirectRefPrecedent(OperationEvaluationContext ec)
IndirectRef
ec
- void setIndirectRefPrecedent(OperationEvaluationContext ec, ValueEval precedent)
IndirectRef
ec
- precedent
- Copyright © 2020. All rights reserved.