Interface FormulaExpression

All Known Implementing Classes:
FormulaEngineImpl.ErrorFormulaExpressionImpl, FormulaEngineImpl.FormulaExpressionImpl

public interface FormulaExpression
The parsed result of a formula.
Since:
3.5.0
Author:
dennis
  • Method Details

    • hasError

      boolean hasError()
      indicated the expression has parsing error
      Returns:
    • getErrorMessage

      String getErrorMessage()
      Get the expression parsing error message if any
      Returns:
    • getFormulaString

      String getFormulaString()
    • isAreaRefs

      boolean isAreaRefs()
    • getAreaRefs

      Ref[] getAreaRefs()
    • getPtgs

      org.apache.poi.ss.formula.ptg.Ptg[] getPtgs()
      Returns the cached parsing things.
      Since:
      3.6.0
    • isMultipleAreaFormula

      boolean isMultipleAreaFormula()
      Returns whether this is a multiple-area formula used in char data; e.g. (A1, B1, Sheet2!A1:B2).
      Since:
      3.6.0