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
ConstructorsModifierConstructorDescriptionprotectedBaseXSSFFormulaEvaluator(WorkbookEvaluator bookEvaluator) -
Method Summary
Modifier and TypeMethodDescriptionprotected RichTextStringprotected CellValueevaluateFormulaCellValue(Cell cell) Returns a CellValue wrapper around the supplied ValueEval instance.protected voidsetCellType(Cell cell, CellType cellType) Override if a different variation is needed, e.g.protected abstract EvaluationCelltoEvaluationCell(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, setupReferencedWorkbooksMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.poi.ss.usermodel.FormulaEvaluator
evaluateAll, notifyDeleteCell, notifySetFormula, notifyUpdateCell
-
Constructor Details
-
BaseXSSFFormulaEvaluator
-
-
Method Details
-
createRichTextString
- Specified by:
createRichTextStringin classBaseFormulaEvaluator
-
toEvaluationCell
Turns a XSSFCell / SXSSFCell into a XSSFEvaluationCell -
evaluateFormulaCellValue
Returns a CellValue wrapper around the supplied ValueEval instance.- Specified by:
evaluateFormulaCellValuein classBaseFormulaEvaluator
-
setCellType
Description copied from class:BaseFormulaEvaluatorOverride if a different variation is needed, e.g. passing the evaluator to the cell method- Overrides:
setCellTypein classBaseFormulaEvaluator
-