Package org.apache.poi.xssf.usermodel
Class XSSFEvaluationWorkbook
java.lang.Object
org.apache.poi.xssf.usermodel.BaseXSSFEvaluationWorkbook
org.apache.poi.xssf.usermodel.XSSFEvaluationWorkbook
- All Implemented Interfaces:
EvaluationWorkbook,FormulaParsingWorkbook,FormulaRenderingWorkbook
Internal POI use only
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.poi.ss.formula.EvaluationWorkbook
EvaluationWorkbook.ExternalName, EvaluationWorkbook.ExternalSheet, EvaluationWorkbook.ExternalSheetRange -
Field Summary
Fields inherited from class org.apache.poi.xssf.usermodel.BaseXSSFEvaluationWorkbook
_uBook -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic XSSFEvaluationWorkbookcreate(XSSFWorkbook book) Ptg[]getFormulaTokens(EvaluationCell evalCell) The parsed tokens are cached by theXSSFEvaluationSheetthe cell belongs to, so a formula is parsed once per evaluator rather than every time it is (re-)evaluated; the cache is kept in step byclearAllCachedResultValues()and the sheet'snotifyUpdateCell/notifyDeleteCell.getSheet(int sheetIndex) intgetSheetIndex(EvaluationSheet evalSheet) Methods inherited from class org.apache.poi.xssf.usermodel.BaseXSSFEvaluationWorkbook
convertFromExternSheetIndex, createName, get3DReferencePtg, get3DReferencePtg, getExternalName, getExternalName, getExternalSheet, getExternalSheet, getExternalSheetIndex, getExternalSheetIndex, getName, getName, getNameText, getNameXPtg, getSheetFirstNameByExternSheet, getSheetIndex, getSheetLastNameByExternSheet, getSheetName, getSpreadsheetVersion, getTable, getUDFFinder, resolveNameXText
-
Method Details
-
create
-
clearAllCachedResultValues
public void clearAllCachedResultValues()- Specified by:
clearAllCachedResultValuesin interfaceEvaluationWorkbook- Overrides:
clearAllCachedResultValuesin classBaseXSSFEvaluationWorkbook
-
getSheetIndex
-
getSheet
-
getFormulaTokens
The parsed tokens are cached by theXSSFEvaluationSheetthe cell belongs to, so a formula is parsed once per evaluator rather than every time it is (re-)evaluated; the cache is kept in step byclearAllCachedResultValues()and the sheet'snotifyUpdateCell/notifyDeleteCell.
-