summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* #61162 - En-/decryption support for HWPFAndreas Beeker2017-06-069-221/+399
| | | | | | Decryption for Binary RC4 and CryptoAPI (... XOR is missing) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797837 13f79535-47bb-0310-9956-ffa450edef68
* bug 58325, github-57: Set svn props. This closes #57 on github.Javen O'Neal2017-06-040-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797602 13f79535-47bb-0310-9956-ffa450edef68
* bug 58325: enable TestXSSFShape unit tests. Thanks to Dominik Stadler for ↵Javen O'Neal2017-06-042-38/+69
| | | | | | the initial unit test. Thanks to PJ Fanning for discovering that the bug was fixed at some point in the past and enabling the unit tests. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797600 13f79535-47bb-0310-9956-ffa450edef68
* fix eclipse resource leak warningsAndreas Beeker2017-05-3128-557/+614
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797043 13f79535-47bb-0310-9956-ffa450edef68
* javadocsJaven O'Neal2017-05-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796966 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixes - close resourcesAndreas Beeker2017-05-3121-662/+689
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796962 13f79535-47bb-0310-9956-ffa450edef68
* #61085 support table stylesGreg Woolsey2017-05-313-45/+288
| | | | | | Needed a bit more, to support table/range only border properties for "internal" vertical and horizontal borders. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796961 13f79535-47bb-0310-9956-ffa450edef68
* increase heap size for ooxml compilation again, because of failing (gradle?) ↵Andreas Beeker2017-05-301-1/+1
| | | | | | builds git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796868 13f79535-47bb-0310-9956-ffa450edef68
* Add logging for gradle->ant->javac OOMAndreas Beeker2017-05-301-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796862 13f79535-47bb-0310-9956-ffa450edef68
* ignore <project root>/tmp directory Andreas Beeker2017-05-300-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796825 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61119 - Fix preset shape rendering and shadingAndreas Beeker2017-05-3043-21355/+20476
| | | | | | | | | - Fixed conversion of ooxml to awt angle - replace subclasses and reflection calls with enums - implemented tinting/shading of preset shapes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796823 13f79535-47bb-0310-9956-ffa450edef68
* bug 61059: fix NamePtg to read unsigned shorts instead of signed shorts, ↵Javen O'Neal2017-05-281-1/+1
| | | | | | avoiding a AIOOBE when a workbook contains more than 32k Names. Thanks to Travis Burtrum for the patch. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796466 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a ↵Greg Woolsey2017-05-261-1/+1
| | | | | | | | | | workbook has a custom indexed color Missed this test. As part of the work I noticed the Enum was missing some values defined in the OOXML spec, so I added them. I've updated the test to reflect that those values are no longer invalid. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796360 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60898 - XSSFColor's getARGB() method returns a wrong color value when a ↵Greg Woolsey2017-05-2629-130/+426
| | | | | | | | | | | | | | workbook has a custom indexed color teach XSSFColor and most things that create instances about indexed colors. Null is a valid value for IndexedColorMap instances - the existing built-in default colors are used. Whenever a workbook style is accessible in the call hierarchy its color mappings are passed down now. Thanks for the unit test in the issue, it now passes. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796359 13f79535-47bb-0310-9956-ffa450edef68
* Add jmh to Sonar-Maven build as well, add comment why we need to stick to ↵Dominik Stadler2017-05-243-0/+16
| | | | | | 1.15 for now git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796035 13f79535-47bb-0310-9956-ffa450edef68
* Bug 61063: Add a RefListEval to handle UnionPtg and implement it for Rank(), ↵Dominik Stadler2017-05-238-88/+140
| | | | | | may be missing for other functions where ArrayEval is currently handled git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795963 13f79535-47bb-0310-9956-ffa450edef68
* Reformat code somewhatDominik Stadler2017-05-231-223/+217
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795962 13f79535-47bb-0310-9956-ffa450edef68
* github-55: document that CellReference#isRowWithinRange(String rowNum, ↵Javen O'Neal2017-05-202-1/+36
| | | | | | SpreadsheetVersion ss) expects rowNum to be parseable as an integer git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795681 13f79535-47bb-0310-9956-ffa450edef68
* bug 61110: remove deprecated, misspelled CellReference#isRowWithnRange and ↵Javen O'Neal2017-05-201-16/+0
| | | | | | #isColumnWithnRange methods git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795680 13f79535-47bb-0310-9956-ffa450edef68
* Increase memory for xmlbean generation, because of failing gump builds.Andreas Beeker2017-05-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795661 13f79535-47bb-0310-9956-ffa450edef68
* #61085 support table stylesGreg Woolsey2017-05-2012-36/+541
| | | | | | | | Added more features - this allows a client app to fully display table styling without resorting to CT* classes, and has some helper logic for the additional processing needed for things like regional/area borders. As far as I can tell I only added stuff, didn't change any existing behavior. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795648 13f79535-47bb-0310-9956-ffa450edef68
* add the new test dependency so tests can run from Eclipse (required for ↵Greg Woolsey2017-05-201-0/+2
| | | | | | running local builds in Eclipse) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795647 13f79535-47bb-0310-9956-ffa450edef68
* github-55: NumberFormatException if XSSFName.setNameName is set with a long ↵Javen O'Neal2017-05-192-6/+37
| | | | | | | | | name that looks similar to a cell address. Thanks to Thomas S @Millie4Ever This closes #55 on github. https://github.com/apache/poi/pull/55 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795595 13f79535-47bb-0310-9956-ffa450edef68
* replace "String.indexOf(String) >= 1" with "String.contains(String)"Javen O'Neal2017-05-1614-59/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795296 13f79535-47bb-0310-9956-ffa450edef68
* github-25: add enable locking and tab color in SXSSFSheet. Thanks to Danilo ↵Javen O'Neal2017-05-161-0/+181
| | | | | | | | Rangel. This closes #25. https://github.com/apache/poi/pull/25 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795277 13f79535-47bb-0310-9956-ffa450edef68
* github-32: speed up Irr() Excel formula computation by replacing Math.pow() ↵Javen O'Neal2017-05-161-9/+10
| | | | | | | | with multiplication. Thanks to Daniel Kuan! This closes #32. https://github.com/apache/poi/pull/32 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795266 13f79535-47bb-0310-9956-ffa450edef68
* github-43: add disabled unit test showing a problem with ROUNDUP(3987*0.2, ↵Javen O'Neal2017-05-162-20/+67
| | | | | | | | 2). Thanks to @FishMeat. https://github.com/apache/poi/pull/43 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795265 13f79535-47bb-0310-9956-ffa450edef68
* Javadoc fixesNick Burch2017-05-162-6/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795261 13f79535-47bb-0310-9956-ffa450edef68
* github-52: add ExcelToHtmlConverter method that works on InputStreams. ↵Javen O'Neal2017-05-161-2/+39
| | | | | | | | Thanks to Tony Zeng! This closes #52. https://github.com/apache/poi/pull/52 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795256 13f79535-47bb-0310-9956-ffa450edef68
* github-53: fix NPE when iterating over paragraphs in certain *.docx files. ↵Javen O'Neal2017-05-161-7/+23
| | | | | | | | Thanks to Praful Kumar Vaishnav! This closes #53. https://github.com/apache/poi/pull/53 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795254 13f79535-47bb-0310-9956-ffa450edef68
* github-54: when adding a picture to an XSSFWorkbook, reduce memory ↵Javen O'Neal2017-05-1510-109/+264
| | | | | | | | consumption by 100x and increase speed by 10x based on OpenJDK JMH benchmarking. Thanks to Tim Helmstedt! This closes #54. https://github.com/apache/poi/pull/54 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795252 13f79535-47bb-0310-9956-ffa450edef68
* Add ASL header and exclude table preset from rat-checkAndreas Beeker2017-05-1510-0/+154
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795137 13f79535-47bb-0310-9956-ffa450edef68
* #52117 - Invalid "last printed" summary field value - added helper method to ↵Andreas Beeker2017-05-1417-622/+485
| | | | | | | | | | identify undefined dates HPSF: fixed uid listing in Section.toString() HPSF: moved timestamp based "utility" methods to Filetime class HPSF: preserve original datastream for unchanged property sets git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795123 13f79535-47bb-0310-9956-ffa450edef68
* removed invalid test fileAndreas Beeker2017-05-141-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795122 13f79535-47bb-0310-9956-ffa450edef68
* tweak to use platform line separator so tests can pass on Windows as well as ↵Greg Woolsey2017-05-121-1/+3
| | | | | | Linux. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795026 13f79535-47bb-0310-9956-ffa450edef68
* git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1795002 ↵Greg Woolsey2017-05-1217-5/+18914
| | | | 13f79535-47bb-0310-9956-ffa450edef68
* Simplify the ValueEval.toString() implementations and include more ↵Dominik Stadler2017-05-127-41/+28
| | | | | | information on unexpected types of ValueEval git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1794956 13f79535-47bb-0310-9956-ffa450edef68
* Bug 60352: Text extraction: Don't include the text "null" for empty cellsDominik Stadler2017-05-072-14/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1794260 13f79535-47bb-0310-9956-ffa450edef68
* 60184 - invalid OOXML produced when XSSFFont.getFamily() called with no ↵Greg Woolsey2017-05-051-1/+1
| | | | | | | | | | families defined Fix to stop creating an empty family when none exist, just use the existing logic to return NOT_APPLICABLE. Creating the empty element produces XML that doesn't comply with the XSD. Alternative would have been to set the family int value for the new family, but this way checking the value doesn't change the output, which is my preferred behavior. No quantum effects! git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1794111 13f79535-47bb-0310-9956-ffa450edef68
* forgot license (as always)Greg Woolsey2017-05-051-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1794093 13f79535-47bb-0310-9956-ffa450edef68
* 61060 - teach DataFormatter about conditional formatting rules with number ↵Greg Woolsey2017-05-059-20/+280
| | | | | | | | formats Currently only implemented for XSSF, as there is no API available for HSSF conditional formatting rule number formats (if it is even in the files). git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1794084 13f79535-47bb-0310-9956-ffa450edef68
* Update link to POI-view on the Jenkins CI serverDominik Stadler2017-05-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793760 13f79535-47bb-0310-9956-ffa450edef68
* Revert creating a view as part of the Jenkins DSL as it did not allow to ↵Dominik Stadler2017-05-041-5/+7
| | | | | | create the view as part of a folder/sub-view git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793754 13f79535-47bb-0310-9956-ffa450edef68
* Try to define the view as part of the Jenkins DSL, also try to move the view ↵Dominik Stadler2017-05-041-0/+42
| | | | | | into sub-folder, see also INFRA-14002 git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793752 13f79535-47bb-0310-9956-ffa450edef68
* test integration fixAndreas Beeker2017-05-041-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793733 13f79535-47bb-0310-9956-ffa450edef68
* SonarQube fixesAndreas Beeker2017-05-036-26/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793727 13f79535-47bb-0310-9956-ffa450edef68
* HPSF: Change CustomProperties to delegateAndreas Beeker2017-05-033-125/+155
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793699 13f79535-47bb-0310-9956-ffa450edef68
* Remove Unicode chars in commentsAndreas Beeker2017-05-032-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793647 13f79535-47bb-0310-9956-ffa450edef68
* fix javadocsAndreas Beeker2017-05-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793604 13f79535-47bb-0310-9956-ffa450edef68
* #52372 - OutOfMemoryError parsing a word fileAndreas Beeker2017-05-022-228/+245
| | | | git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793602 13f79535-47bb-0310-9956-ffa450edef68