Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`protected` | `BaseXSSFFormulaEvaluator(WorkbookEvaluator bookEvaluator)`

Method Summary
`protected RichTextString` | `createRichTextString(java.lang.String str)`
`protected CellValue` | `evaluateFormulaCellValue(Cell cell)` Returns a CellValue wrapper around the supplied ValueEval instance.
`void` | `notifyDeleteCell(Cell cell)` Should be called to tell the cell value cache that the specified cell has just become a formula cell, or the formula text has changed
`void` | `notifySetFormula(Cell cell)` Should be called to tell the cell value cache that the specified (value or formula) cell has changed.
`void` | `notifyUpdateCell(Cell cell)` Should be called to tell the cell value cache that the specified (value or formula) cell has changed.
`protected abstract EvaluationCell` | `toEvaluationCell(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, evaluateFormulaCellEnum, evaluateInCell, 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`

Constructor Detail

### BaseXSSFFormulaEvaluator

    protected BaseXSSFFormulaEvaluator(WorkbookEvaluator bookEvaluator)

Method Detail

### createRichTextString

    protected RichTextString createRichTextString(java.lang.String str)

  Specified by:
    `createRichTextString` in class `BaseFormulaEvaluator`

### notifySetFormula

    public void notifySetFormula(Cell cell)

  Description copied from interface: `FormulaEvaluator`
  Should be called to tell the cell value cache that the specified (value or formula) cell has changed. Failure to call this method after changing cell values will cause incorrect behaviour of the evaluate~ methods of this class

### notifyDeleteCell

    public void notifyDeleteCell(Cell cell)

  Description copied from interface: `FormulaEvaluator`
  Should be called to tell the cell value cache that the specified cell has just become a formula cell, or the formula text has changed

### notifyUpdateCell

    public void notifyUpdateCell(Cell cell)

  Description copied from interface: `FormulaEvaluator`
  Should be called to tell the cell value cache that the specified (value or formula) cell has changed. Failure to call this method after changing cell values will cause incorrect behaviour of the evaluate~ methods of this class

### 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:
    `evaluateFormulaCellValue` in class `BaseFormulaEvaluator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.