Class CheckFunctionsSupported
- java.lang.Object
-
- org.apache.poi.examples.ss.formula.CheckFunctionsSupported
-
public class CheckFunctionsSupported extends Object
Attempts to re-evaluate all the formulas in the workbook, and reports what (if any) formula functions used are not (currently) supported by Apache POI.This provides examples of how to evaluate formulas in excel files using Apache POI, along with how to handle errors whilst doing so.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckFunctionsSupported.FormulaEvaluationProblems
-
Constructor Summary
Constructors Constructor Description CheckFunctionsSupported(Workbook workbook)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckFunctionsSupported.FormulaEvaluationProblemsgetEvaluationProblems(int sheetIndex)CheckFunctionsSupported.FormulaEvaluationProblemsgetEvaluationProblems(String sheetName)CheckFunctionsSupported.FormulaEvaluationProblemsgetEvaluationProblems(Sheet sheet)Set<String>getUnsupportedFunctions(int sheetIndex)Set<String>getUnsupportedFunctions(String sheetName)Set<String>getUnsupportedFunctions(Sheet sheet)static voidmain(String[] args)
-
-
-
Constructor Detail
-
CheckFunctionsSupported
public CheckFunctionsSupported(Workbook workbook)
-
-
Method Detail
-
getEvaluationProblems
public CheckFunctionsSupported.FormulaEvaluationProblems getEvaluationProblems(String sheetName)
-
getEvaluationProblems
public CheckFunctionsSupported.FormulaEvaluationProblems getEvaluationProblems(int sheetIndex)
-
getEvaluationProblems
public CheckFunctionsSupported.FormulaEvaluationProblems getEvaluationProblems(Sheet sheet)
-
-