org.apache.poi.ss.formula
public final class WorkbookEvaluator extends java.lang.Object
clearAllCachedResultValues()
if any workbook cells are changed between
calls to evaluate~ methods on this class.Constructor and Description |
---|
WorkbookEvaluator(EvaluationWorkbook workbook,
IStabilityClassifier stabilityClassifier,
UDFFinder udfFinder) |
Modifier and Type | Method and Description |
---|---|
void |
clearAllCachedResultValues()
Should be called whenever there are changes to input cells in the evaluated workbook.
|
ValueEval |
evaluate(EvaluationCell srcCell) |
FreeRefFunction |
findUserDefinedFunction(java.lang.String functionName) |
void |
notifyDeleteCell(EvaluationCell cell)
Should be called to tell the cell value cache that the specified cell has just been
deleted.
|
void |
notifyUpdateCell(EvaluationCell cell)
Should be called to tell the cell value cache that the specified (value or formula) cell
has changed.
|
public WorkbookEvaluator(EvaluationWorkbook workbook, IStabilityClassifier stabilityClassifier, UDFFinder udfFinder)
udfFinder
- pass null
for default (AnalysisToolPak only)public void clearAllCachedResultValues()
public void notifyUpdateCell(EvaluationCell cell)
public void notifyDeleteCell(EvaluationCell cell)
public ValueEval evaluate(EvaluationCell srcCell)
public FreeRefFunction findUserDefinedFunction(java.lang.String functionName)
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.