poi/test-data/spreadsheet
Greg Woolsey e1f37388fc Fix data validation value list evaluation
One of my users found that my initial implementation was lacking a core distinction - most evaluations expect a single result, and "unwrap" 2/3D ValueEval results to a single value based on the input row/column.

However, data validation list formulas explicitly are expected to return a 2D ValueEval.  This worked when the formula was simple and evaluated to a single Ptg, but only returned one value when the formula was more complex, or referenced a named range defined as a complex formula.

This change teaches WorkbookEvaluator about the distinction, by way of a new attribute for FormulaType.

There is room for discussion over how it is implemented, but this works for me.

Includes the failing workbook we had as a new unit test.

While I was in FormulaType I went ahead and removed the deprecated, unused, and redundant code marked for removal in 3.17.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803121 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 22:19:58 +00:00
..
2012-09-09 13:21:38 +00:00
2009-12-19 11:41:39 +00:00
2012-02-10 15:03:03 +00:00
2012-02-10 15:03:03 +00:00
2011-03-04 21:09:02 +00:00
2012-09-08 18:35:04 +00:00
2015-09-13 14:48:58 +00:00
2014-02-02 10:38:45 +00:00
2014-03-15 17:31:25 +00:00
2014-12-22 13:07:48 +00:00
2017-02-14 22:05:49 +00:00
2015-01-07 14:13:34 +00:00
2014-11-04 16:20:05 +00:00
2015-08-01 00:25:20 +00:00
2016-02-27 08:41:21 +00:00
2012-07-23 09:06:56 +00:00
2012-08-28 08:24:07 +00:00
2015-08-04 17:11:45 +00:00
2013-07-31 00:19:07 +00:00
2013-07-31 00:19:07 +00:00