Package org.apache.poi.ss.formula
Class WorkbookEvaluatorUtil
- java.lang.Object
-
- org.apache.poi.ss.formula.WorkbookEvaluatorUtil
-
public class WorkbookEvaluatorUtil extends Object
Helper to evaluate POI values that are package scoped, like formula Ptg[] arrays.
-
-
Constructor Summary
Constructors Constructor Description WorkbookEvaluatorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.poi.ss.formula.eval.ValueEvalevaluate(Spreadsheet spreadsheet, org.apache.poi.ss.formula.ptg.Ptg[] ptgs, org.apache.poi.ss.usermodel.Cell cell)Evaluate formula Ptg[] tokensstatic org.apache.poi.xssf.usermodel.BaseXSSFEvaluationWorkbookgetEvaluationWorkbook(Spreadsheet spreadsheet)
-
-
-
Method Detail
-
evaluate
public static org.apache.poi.ss.formula.eval.ValueEval evaluate(Spreadsheet spreadsheet, org.apache.poi.ss.formula.ptg.Ptg[] ptgs, org.apache.poi.ss.usermodel.Cell cell)
Evaluate formula Ptg[] tokens
-
getEvaluationWorkbook
public static org.apache.poi.xssf.usermodel.BaseXSSFEvaluationWorkbook getEvaluationWorkbook(Spreadsheet spreadsheet)
-
-