diff options
Diffstat (limited to 'src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java')
-rw-r--r-- | src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java b/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java index 6986ef94b5..0eabcfa706 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFCreationHelper.java @@ -44,4 +44,14 @@ public class HSSFCreationHelper implements CreationHelper { public HSSFHyperlink createHyperlink(int type) { return new HSSFHyperlink(type); } + + /** + * Creates a HSSFFormulaEvaluator, the object that evaluates formula cells. + * + * @return a HSSFFormulaEvaluator instance + */ + public HSSFFormulaEvaluator createFormulaEvaluator(){ + return new HSSFFormulaEvaluator(workbook); + } + } |