public final class XSSFFormulaEvaluator extends BaseXSSFFormulaEvaluator
BaseFormulaEvaluator.clearAllCachedResultValues() if any workbook cells are changed between
calls to evaluate~ methods on this class._bookEvaluator| Modifier | Constructor and Description |
|---|---|
|
XSSFFormulaEvaluator(XSSFWorkbook workbook) |
protected |
XSSFFormulaEvaluator(XSSFWorkbook workbook,
WorkbookEvaluator bookEvaluator) |
| Modifier and Type | Method and Description |
|---|---|
static XSSFFormulaEvaluator |
create(XSSFWorkbook workbook,
IStabilityClassifier stabilityClassifier,
UDFFinder udfFinder) |
void |
evaluateAll()
Loops over all cells in all sheets of the supplied
workbook.
|
static void |
evaluateAllFormulaCells(XSSFWorkbook wb)
Loops over all cells in all sheets of the supplied
workbook.
|
XSSFCell |
evaluateInCell(Cell cell) |
protected EvaluationCell |
toEvaluationCell(Cell cell)
Turns a XSSFCell into a XSSFEvaluationCell
|
createRichTextString, evaluateFormulaCellValue, notifyDeleteCell, notifySetFormula, notifyUpdateCell_getWorkbookEvaluator, clearAllCachedResultValues, evaluate, evaluateAllFormulaCells, evaluateAllFormulaCells, evaluateFormulaCell, evaluateFormulaCellEnum, setCellType, setCellValue, setDebugEvaluationOutputForNextEval, setIgnoreMissingWorkbooks, setupEnvironment, setupReferencedWorkbookspublic XSSFFormulaEvaluator(XSSFWorkbook workbook)
protected XSSFFormulaEvaluator(XSSFWorkbook workbook, WorkbookEvaluator bookEvaluator)
public static XSSFFormulaEvaluator create(XSSFWorkbook workbook, IStabilityClassifier stabilityClassifier, UDFFinder udfFinder)
stabilityClassifier - used to optimise caching performance. Pass null
for the (conservative) assumption that any cell may have its definition changed after
evaluation begins.udfFinder - pass null for default (AnalysisToolPak only)public static void evaluateAllFormulaCells(XSSFWorkbook wb)
public XSSFCell evaluateInCell(Cell cell)
evaluateInCell in interface FormulaEvaluatorevaluateInCell in class BaseFormulaEvaluatorpublic void evaluateAll()
protected EvaluationCell toEvaluationCell(Cell cell)
toEvaluationCell in class BaseXSSFFormulaEvaluator