Bug 53476

Summary: [Patch] Support Complex Name formulas
Product: POI Reporter: Joachim Herrmann <j.herrmann>
Component: HSSFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: zip file containing patch, modified class, and test case

Description Joachim Herrmann 2012-06-27 12:58:23 UTC
Created attachment 29003 [details]
zip file containing patch, modified class, and test case

The method evaluateNameFormula(Ptg[], OperationEvaluationContext)
in class WorkbookEvaluator contains the following section:

  if (ptgs.length > 1) {
    throw new RuntimeException("Complex name formulas not supported yet");
  }

A minor change improves the capabilities of this method. See the suggested patch and test case.
Comment 1 Yegor Kozlov 2012-06-27 14:50:52 UTC
Applied in r1354550

Thanks,
Yegor