org.apache.poi.hssf.usermodel
Class HSSFFormulaEvaluator

java.lang.Object
  extended by org.apache.poi.ss.usermodel.FormulaEvaluator
      extended by org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator

public class HSSFFormulaEvaluator
extends FormulaEvaluator

Author:
Amol S. Deshmukh < amolweb at ya hoo dot com >

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.ss.usermodel.FormulaEvaluator
FormulaEvaluator.CellValue
 
Field Summary
 
Fields inherited from class org.apache.poi.ss.usermodel.FormulaEvaluator
row, sheet, workbook
 
Constructor Summary
HSSFFormulaEvaluator(HSSFSheet sheet, HSSFWorkbook workbook)
           
 
Method Summary
static FormulaParser getUnderlyingParser(HSSFWorkbook workbook, java.lang.String formula)
          Returns an underlying FormulaParser, for the specified Formula String and HSSFWorkbook.
 
Methods inherited from class org.apache.poi.ss.usermodel.FormulaEvaluator
evaluate, evaluateAllFormulaCells, evaluateArea3dPtg, evaluateAreaPtg, evaluateFormulaCell, evaluateInCell, getCellValueForEval, getEvalForCell, getEvalForPtg, setCurrentRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSSFFormulaEvaluator

public HSSFFormulaEvaluator(HSSFSheet sheet,
                            HSSFWorkbook workbook)
Method Detail

getUnderlyingParser

public static FormulaParser getUnderlyingParser(HSSFWorkbook workbook,
                                                java.lang.String formula)
Returns an underlying FormulaParser, for the specified Formula String and HSSFWorkbook. This will allow you to generate the Ptgs yourself, if your needs are more complex than just having the formula evaluated.



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