Package org.apache.poi.xssf.usermodel
Class BaseXSSFFormulaEvaluator
java.lang.Object
org.apache.poi.ss.formula.BaseFormulaEvaluator
org.apache.poi.xssf.usermodel.BaseXSSFFormulaEvaluator
- All Implemented Interfaces:
WorkbookEvaluatorProvider
,FormulaEvaluator
- Direct Known Subclasses:
SXSSFFormulaEvaluator
,XSSFFormulaEvaluator
Internal POI use only - parent of XSSF and SXSSF formula evaluators
-
Field Summary
Fields inherited from class org.apache.poi.ss.formula.BaseFormulaEvaluator
_bookEvaluator
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseXSSFFormulaEvaluator
(WorkbookEvaluator bookEvaluator) -
Method Summary
Modifier and TypeMethodDescriptionprotected RichTextString
protected CellValue
evaluateFormulaCellValue
(Cell cell) Returns a CellValue wrapper around the supplied ValueEval instance.protected void
setCellType
(Cell cell, CellType cellType) Override if a different variation is needed, e.g.protected abstract EvaluationCell
toEvaluationCell
(Cell cell) Turns a XSSFCell / SXSSFCell into a XSSFEvaluationCellMethods inherited from class org.apache.poi.ss.formula.BaseFormulaEvaluator
_getWorkbookEvaluator, clearAllCachedResultValues, evaluate, evaluateAllFormulaCells, evaluateAllFormulaCells, evaluateFormulaCell, evaluateFormulaCellEnum, evaluateInCell, getEvaluationWorkbook, setCellType, setCellValue, setDebugEvaluationOutputForNextEval, setIgnoreMissingWorkbooks, setupEnvironment, setupReferencedWorkbooks
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.poi.ss.usermodel.FormulaEvaluator
evaluateAll, notifyDeleteCell, notifySetFormula, notifyUpdateCell
-
Constructor Details
-
BaseXSSFFormulaEvaluator
-
-
Method Details
-
createRichTextString
- Specified by:
createRichTextString
in classBaseFormulaEvaluator
-
toEvaluationCell
Turns a XSSFCell / SXSSFCell into a XSSFEvaluationCell -
evaluateFormulaCellValue
Returns a CellValue wrapper around the supplied ValueEval instance.- Specified by:
evaluateFormulaCellValue
in classBaseFormulaEvaluator
-
setCellType
Description copied from class:BaseFormulaEvaluator
Override if a different variation is needed, e.g. passing the evaluator to the cell method- Overrides:
setCellType
in classBaseFormulaEvaluator
-