https://bz.apache.org/bugzilla/show_bug.cgi?id=60984

            Bug ID: 60984
           Summary: FormulaParser includes function names to the arguments
                    for unknown functions
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

When parsing 2-argument formula _xll.HEAT($B3,$C3), FormulaParser creates an
org.apache.poi.ss.formula.ptg.FuncVarPtg [#external# nArgs=3] token with
_numberOfArgs = 3 and 3 children, the first of which contains the function name
(a org.apache.poi.ss.formula.ptg.NameXPxg [sheet=null ! name=_xll.HEAT] token).

_xll.HEAT is an Excel add-in function, but he same applies to UDF functions, eg
for formula myUDF(23, F4).

Is this intentional? The parse tree structure does not seem correct, because it
is inconsistent with the case of build-in Excel functions, whose arguments in
the parse tree only include actual arguments and not the function name.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to