aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* Update third party libs to latest versionsDominik Stadler2017-09-152-13/+6
| | | | | | | Start updating build to Java 8 Set version to 4.0-beta1 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808472 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-152-22/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808455 13f79535-47bb-0310-9956-ffa450edef68
* Remove javadoc references to removed classesNick Burch2017-09-152-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808436 13f79535-47bb-0310-9956-ffa450edef68
* remove deprecated inner classes from HSFColorPJ Fanning2017-09-151-739/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808432 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-1412-217/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808403 13f79535-47bb-0310-9956-ffa450edef68
* remove some deprecated code slated for removal in 3.18PJ Fanning2017-09-145-206/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808402 13f79535-47bb-0310-9956-ffa450edef68
* 60279 -- back off to brute-force search for macro content if offset ↵Tim Allison2017-09-142-106/+362
| | | | | | information is not correct git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808301 13f79535-47bb-0310-9956-ffa450edef68
* Numeric Array Formula and Matrix Function [from Bob95132] This closes #69PJ Fanning2017-09-1312-5/+708
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808297 13f79535-47bb-0310-9956-ffa450edef68
* Fixes bug #61468, caused by a confusing OOXML spec design as noted in ↵Greg Woolsey2017-08-291-4/+4
| | | | | | JavaDocs added in r1795648. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806623 13f79535-47bb-0310-9956-ffa450edef68
* Verify that bug 61294 is fixed now, add some more coverage for IOUtils in ↵Dominik Stadler2017-08-251-5/+5
| | | | | | general git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806162 13f79535-47bb-0310-9956-ffa450edef68
* Fix 60384 and 60709: When shifting with merged regions we should correctly ↵Dominik Stadler2017-08-191-4/+21
| | | | | | check if the region is moved along or needs to be removed because it is not fully kept via the shifting. This was broken by the fix for bug 59740, now additional unit tests ensure that it works better. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805518 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61431 - Conditional formatting evaluation ignores undefined cellsGreg Woolsey2017-08-162-73/+66
| | | | | | | | now evaluating based on cell references instead, and watching out for undefined cells in rules that require a cell. Added unit test based on previously failing file. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805245 13f79535-47bb-0310-9956-ffa450edef68
* #61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytesAndreas Beeker2017-08-118-222/+265
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804854 13f79535-47bb-0310-9956-ffa450edef68
* Reformat code slightlyDominik Stadler2017-08-011-9/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68
* Fix further Windows JVM 6 font rendering errors - OOM and ↵Andreas Beeker2017-07-313-2/+9
| | | | | | EXCEPTION_ACCESS_VIOLATION git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803528 13f79535-47bb-0310-9956-ffa450edef68
* remove invalid javadocsAndreas Beeker2017-07-311-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803493 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixesNick Burch2017-07-312-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803488 13f79535-47bb-0310-9956-ffa450edef68
* #61363 - Unify escher shape id allocation Andreas Beeker2017-07-305-296/+167
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803483 13f79535-47bb-0310-9956-ffa450edef68
* Fix data validation value list evaluationGreg Woolsey2017-07-264-32/+100
| | | | | | | | | | | | | | | | 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
* 61337 -- try to convert assertions to exceptions. I left in the assertions ↵Tim Allison2017-07-262-0/+67
| | | | | | for the binary search components. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803092 13f79535-47bb-0310-9956-ffa450edef68
* 61346 add more sanity checks before allocating byte arrays in emf/wmfTim Allison2017-07-261-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803041 13f79535-47bb-0310-9956-ffa450edef68
* 61295 -- prevent potential oom in HPSF triggered by fuzzed fileTim Allison2017-07-251-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802879 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61331 - Font group handling / common font interfaceAndreas Beeker2017-07-2313-166/+948
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802741 13f79535-47bb-0310-9956-ffa450edef68
* My version of Java 6 chokes on Generics hereDominik Stadler2017-07-211-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802633 13f79535-47bb-0310-9956-ffa450edef68
* javadoc: replace invalid self enclosing elementsPJ Fanning2017-07-17173-561/+561
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802110 13f79535-47bb-0310-9956-ffa450edef68
* some javadoc fixesPJ Fanning2017-07-155-10/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802035 13f79535-47bb-0310-9956-ffa450edef68
* bug 61300 -- prevent really long (infinite?) loop on corrupt fileTim Allison2017-07-144-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801989 13f79535-47bb-0310-9956-ffa450edef68
* bug 61286/bug 61287 -- allow WriteProtectRecord to have 2 bytes, and allow ↵Tim Allison2017-07-142-0/+10
| | | | | | for HeaderFooter to be empty. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801966 13f79535-47bb-0310-9956-ffa450edef68
* bug 61294 -- cleaned up based on PJ Fanning's code review. Went with a ↵Tim Allison2017-07-141-46/+61
| | | | | | copy/paste from commons-io. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801952 13f79535-47bb-0310-9956-ffa450edef68
* bug 61294 -- prevent infinite loop in IOUtils' skipFully.Tim Allison2017-07-131-2/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801844 13f79535-47bb-0310-9956-ffa450edef68
* replace commented-out throw-away code that writes workbook to ↵Javen O'Neal2017-07-131-0/+11
| | | | | | C:\temp\xxxxx.xlsx for manual review with XSSFTestDataSamples.writeOut(wb, "bug xxxxx for manual review") git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801801 13f79535-47bb-0310-9956-ffa450edef68
* replace return variable assignments with return statementsJaven O'Neal2017-07-131-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801799 13f79535-47bb-0310-9956-ffa450edef68
* github #43: fix roundUp and roundDown.Javen O'Neal2017-07-131-21/+7
| | | | | | | Thanks to @FishMeat on github for the patch. This closes #43 on github. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801798 13f79535-47bb-0310-9956-ffa450edef68
* remove more deprecated methodsPJ Fanning2017-07-122-16/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801697 13f79535-47bb-0310-9956-ffa450edef68
* [Bug-61268] avoid NegativeArraySizeException parsing doc filePJ Fanning2017-07-091-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801395 13f79535-47bb-0310-9956-ffa450edef68
* fix spellingPJ Fanning2017-07-091-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801393 13f79535-47bb-0310-9956-ffa450edef68
* #61266 Test for old unsupported MS Write WRI files, and give a more helpful ↵Nick Burch2017-07-091-0/+13
| | | | | | exception if found, plus unit tests git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801376 13f79535-47bb-0310-9956-ffa450edef68
* Rollback of r1801368 because of a generics bug with self-referenced types in ↵Andreas Beeker2017-07-0923-24/+24
| | | | | | Java6 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801373 13f79535-47bb-0310-9956-ffa450edef68
* SL Common: narrow generics definition because of tighter java9 checksAndreas Beeker2017-07-0923-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801368 13f79535-47bb-0310-9956-ffa450edef68
* #61169 - Text with Japanese characters overflows textboxAndreas Beeker2017-07-082-1/+37
| | | | | | - add resize methods with Graphics argument git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801329 13f79535-47bb-0310-9956-ffa450edef68
* [github-25] support excel number trailing comma format - Thabks to Luca ↵PJ Fanning2017-07-061-4/+53
| | | | | | Martini for proving the patch git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800975 13f79535-47bb-0310-9956-ffa450edef68
* [Bug 58975] do not cast numberOfOperands to byte in AbstractFunctionPtgPJ Fanning2017-07-052-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800949 13f79535-47bb-0310-9956-ffa450edef68
* fix javadoc issuePJ Fanning2017-07-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800717 13f79535-47bb-0310-9956-ffa450edef68
* [Bug 60422] fix data formatter issue with specific format in German localePJ Fanning2017-07-038-75/+206
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800713 13f79535-47bb-0310-9956-ffa450edef68
* #61243 - Refactor and unify toString/toXml in DDFAndreas Beeker2017-06-3027-721/+595
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800452 13f79535-47bb-0310-9956-ffa450edef68
* Remove more deprecated code (MissingCellPolicy)PJ Fanning2017-06-301-41/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800400 13f79535-47bb-0310-9956-ffa450edef68
* Remove more deprecated code (BorderFormatting constants)PJ Fanning2017-06-303-137/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800385 13f79535-47bb-0310-9956-ffa450edef68
* Remove more deprecated code (especially from Spreadsheet Cell classes)PJ Fanning2017-06-309-1085/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800375 13f79535-47bb-0310-9956-ffa450edef68
* remove deprecated org.apache.poi.hssf.record.RecordFormatExceptionPJ Fanning2017-06-291-44/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800256 13f79535-47bb-0310-9956-ffa450edef68
* remove some unused importsPJ Fanning2017-06-293-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800255 13f79535-47bb-0310-9956-ffa450edef68