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
public abstract class BaseXSSFFormulaEvaluator extends BaseFormulaEvaluator
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
Constructors Modifier Constructor Description protectedBaseXSSFFormulaEvaluator(WorkbookEvaluator bookEvaluator)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected RichTextStringcreateRichTextString(String str)protected CellValueevaluateFormulaCellValue(Cell cell)Returns a CellValue wrapper around the supplied ValueEval instance.protected voidsetCellType(Cell cell, CellType cellType)protected abstract EvaluationCelltoEvaluationCell(Cell cell)Turns a XSSFCell / SXSSFCell into a XSSFEvaluationCell-
Methods inherited from class org.apache.poi.ss.formula.BaseFormulaEvaluator
_getWorkbookEvaluator, clearAllCachedResultValues, evaluate, evaluateAllFormulaCells, evaluateAllFormulaCells, evaluateFormulaCell, 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 Detail
-
BaseXSSFFormulaEvaluator
protected BaseXSSFFormulaEvaluator(WorkbookEvaluator bookEvaluator)
-
-
Method Detail
-
createRichTextString
protected RichTextString createRichTextString(String str)
- Specified by:
createRichTextStringin classBaseFormulaEvaluator
-
toEvaluationCell
protected abstract EvaluationCell toEvaluationCell(Cell cell)
Turns a XSSFCell / SXSSFCell into a XSSFEvaluationCell
-
evaluateFormulaCellValue
protected CellValue evaluateFormulaCellValue(Cell cell)
Returns a CellValue wrapper around the supplied ValueEval instance.- Specified by:
evaluateFormulaCellValuein classBaseFormulaEvaluator
-
setCellType
protected void setCellType(Cell cell, CellType cellType)
- Overrides:
setCellTypein classBaseFormulaEvaluator
-
-