poi/test-data
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
..
ddf removed unnecessary svn:executable flag from files in SVN trunk, see bugzilla 47734 2009-09-13 16:05:28 +00:00
diagram Failing, disabled unit test for bug #60973 2017-04-12 09:40:54 +00:00
document [Bug-61268] avoid NegativeArraySizeException parsing doc file 2017-07-09 22:32:27 +00:00
hmef Bug 52400: fix handling some types of TNEF files, make HMEFMessage.HEADER_SIGNATURE int as it is handled as int everywhere, move .dat files to HMEF sample dir, cover some border cases in HMEFMessage, add another .dat sample file 2013-11-03 12:43:42 +00:00
hpsf #52372 - OutOfMemoryError parsing a word file 2017-05-02 23:32:13 +00:00
hsmf 60325: Add commented out test that reproduces the performance issue 2017-04-30 09:12:36 +00:00
openxml4j #60626 - ArrayIndexOutOfBoundsException in EvilUnclosedBRFixingInputStream 2017-02-08 01:01:51 +00:00
poifs Bug 60320 - issue opening password protected xlsx 2016-11-01 01:30:48 +00:00
publisher bug 60685: ignore problems with HPBF Publisher Quill Contents PLC hyperlink records so that text extraction can continue 2017-07-10 01:34:30 +00:00
slideshow 61338 -- avoid infinite loop triggered by fuzzed wmf file 2017-07-25 20:26:57 +00:00
spreadsheet Fix data validation value list evaluation 2017-07-26 22:19:58 +00:00
xmldsign #58630 - Signing failed after deletion of first sheet 2015-11-20 22:38:27 +00:00