Bug 53476 - [Patch] Support Complex Name formulas
Summary: [Patch] Support Complex Name formulas
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: HSSF (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-27 12:58 UTC by Joachim Herrmann
Modified: 2012-06-27 14:50 UTC (History)
0 users



Attachments
zip file containing patch, modified class, and test case (11.29 KB, application/octet-stream)
2012-06-27 12:58 UTC, Joachim Herrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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