Commit Graph

9246 Commits

Author SHA1 Message Date
PJ Fanning
16d25b62af [bug-62254] update offset function to support optional offset values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828288 13f79535-47bb-0310-9956-ffa450edef68
2018-04-03 21:51:30 +00:00
Dominik Stadler
2ce07693c5 Add unit tests to include more required classes in poi-ooxml-schemas, add test for bug 62174 so additional schema-classes are included
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828180 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 17:16:16 +00:00
Dominik Stadler
9af2dd7824 OOXMLLite: IDE warnings and add an additional listener to print out progress during running tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828179 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 17:16:07 +00:00
Dominik Stadler
f440933277 Close resources in tests and in case of Exceptions and use try-with-resources. Close the socket-connection during encrpyting/decrypting as soon as it is not needed any more.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828178 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 17:16:01 +00:00
Dominik Stadler
48c8b9af81 Update excludes in OOXMLLite
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828177 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 17:15:49 +00:00
Dominik Stadler
2be766f267 Bug 61267: detect Word v2 files and report that they are not supported in Apache POI
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828176 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 17:15:42 +00:00
PJ Fanning
35fd4f85aa [bug-62216] add test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828174 13f79535-47bb-0310-9956-ffa450edef68
2018-04-02 15:59:21 +00:00
PJ Fanning
0ec274d46e [bug-62216] Fix issue with SXSSF error cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828144 13f79535-47bb-0310-9956-ffa450edef68
2018-04-01 16:16:37 +00:00
PJ Fanning
54e533889a [bug-62121] Fixed Power function of negative numbers. Thanks to Bob van den Berge. This closes #104
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828143 13f79535-47bb-0310-9956-ffa450edef68
2018-04-01 15:52:13 +00:00
PJ Fanning
3f19729834 [github-103] take latest changes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828142 13f79535-47bb-0310-9956-ffa450edef68
2018-04-01 15:37:14 +00:00
PJ Fanning
6ca71f0bb9 add missing license
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1827177 13f79535-47bb-0310-9956-ffa450edef68
2018-03-19 09:22:46 +00:00
PJ Fanning
aea347d94a [github-103] hsmf: support writing properties. Thanks to Dominik Hölzl. This closes #103
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1827173 13f79535-47bb-0310-9956-ffa450edef68
2018-03-19 09:10:38 +00:00
PJ Fanning
47fb3691f7 [bug-62176] synchronize temp dir creation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1826655 13f79535-47bb-0310-9956-ffa450edef68
2018-03-13 15:12:00 +00:00
Dominik Stadler
fd39985247 Add test for setters/getters of XWPFRun to include morre generated classes in poi-ooxml-schemas.
See also https://github.com/centic9/poi-on-android/issues/31

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1826464 13f79535-47bb-0310-9956-ffa450edef68
2018-03-11 21:11:11 +00:00
Andreas Beeker
58a0a100f5 #62159 - Support XML signature over windows certificate store
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825948 13f79535-47bb-0310-9956-ffa450edef68
2018-03-06 00:07:20 +00:00
Dominik Stadler
ff96f4c64d Reduce testcase some more, add missing license header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825851 13f79535-47bb-0310-9956-ffa450edef68
2018-03-05 05:14:56 +00:00
Dominik Stadler
feace0e745 Add unit test which verifies that ThresholdInputStream can be used. This currently fails with Java 10 because the reflection relies on internals of class ZipFile that were changed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825818 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 13:33:38 +00:00
Dominik Stadler
fb2f23678f Some IntelliJ and Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825817 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 13:33:31 +00:00
Dominik Stadler
f3addac5e0 Fix compiling with current JDK 10 RC build, OOXML-Tests are still failing due to ThresholdInputStream, though.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825816 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 13:33:20 +00:00
Dominik Stadler
582c21ce86 Add job to build with latest available JDK 10 early access build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825815 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 13:33:12 +00:00
PJ Fanning
aee50698a4 use xmlunit for xml diffs in unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825810 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 12:24:44 +00:00
PJ Fanning
3716f4a556 remove some deprecated methods
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825807 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 11:47:21 +00:00
Dominik Stadler
d720ad82b6 Add JDK 10 and new slaves to job POI-DSL-Test-Environment
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825782 13f79535-47bb-0310-9956-ffa450edef68
2018-03-03 19:05:58 +00:00
PJ Fanning
8d4f3fde68 remove some casts to short
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825749 13f79535-47bb-0310-9956-ffa450edef68
2018-03-03 01:48:46 +00:00
PJ Fanning
2688ce9d82 fix license check failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825547 13f79535-47bb-0310-9956-ffa450edef68
2018-02-28 10:30:05 +00:00
PJ Fanning
b7aafa03fb fix problematic javadoc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825542 13f79535-47bb-0310-9956-ffa450edef68
2018-02-28 10:01:52 +00:00
PJ Fanning
dcbe14abd0 remove XDDFChart workaround that saved workbook to temp file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825541 13f79535-47bb-0310-9956-ffa450edef68
2018-02-28 09:54:58 +00:00
PJ Fanning
590f27e86d [github-98] write data in respective Column in case of XDDFChart. Thanks to Sandeep Tiwari. This closes #98
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825521 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 23:12:53 +00:00
PJ Fanning
daeea27e14 use Integer.toString to convert ints to strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825457 13f79535-47bb-0310-9956-ffa450edef68
2018-02-27 14:24:50 +00:00
PJ Fanning
fef8c69085 tidy up API for font index
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825409 13f79535-47bb-0310-9956-ffa450edef68
2018-02-26 20:26:48 +00:00
PJ Fanning
4221ccebda [bug-62055] Fix XSSFImportFromXML table resize. Thanks to Leonard Kappe. This closes #99
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825315 13f79535-47bb-0310-9956-ffa450edef68
2018-02-25 17:06:19 +00:00
Greg Woolsey
d144f09d2f Fix for bug #62130. Turns out there were cases when a workbook with multiple edit/save cycles on the same instance would save stale cell data, resulting in incorrect copies.
Includes new unit test.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825277 13f79535-47bb-0310-9956-ffa450edef68
2018-02-24 21:30:47 +00:00
Greg Woolsey
9dff7e2f09 The table auto-filter range should not include table footer rows, while the table range does. POI was using the same for both regardless of footers.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825182 13f79535-47bb-0310-9956-ffa450edef68
2018-02-23 23:37:04 +00:00
PJ Fanning
753f6f9dc6 further uptake of int methods for font lookups
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825103 13f79535-47bb-0310-9956-ffa450edef68
2018-02-22 22:32:25 +00:00
PJ Fanning
104d4dac06 [bug-62018] use ints to index fonts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824826 13f79535-47bb-0310-9956-ffa450edef68
2018-02-20 00:25:43 +00:00
PJ Fanning
1f0cf7d6e2 apply changes from com.github.pjfanning:xmlbeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824564 13f79535-47bb-0310-9956-ffa450edef68
2018-02-16 22:55:05 +00:00
PJ Fanning
5543eb9de8 add xmlbeans code (latest from xmlbeans svn)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824563 13f79535-47bb-0310-9956-ffa450edef68
2018-02-16 22:41:27 +00:00
PJ Fanning
47c1695a08 add apache license to new examples due to rat check failures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824489 13f79535-47bb-0310-9956-ffa450edef68
2018-02-16 14:08:28 +00:00
Nick Burch
24120f228b Unit test to try to reproduce bug #62108 (currenly works though...)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824451 13f79535-47bb-0310-9956-ffa450edef68
2018-02-16 11:47:24 +00:00
Nick Burch
269ea2617f Add some write/change code as well for Groovy
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824378 13f79535-47bb-0310-9956-ffa450edef68
2018-02-15 22:16:07 +00:00
Nick Burch
8417d99ee6 Commit examples from the JVM Languages page
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824371 13f79535-47bb-0310-9956-ffa450edef68
2018-02-15 21:45:47 +00:00
PJ Fanning
51f99aa616 [github-94] Add Range Copier. Thanks to Dragan Jovanović. This closes #94
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1824266 13f79535-47bb-0310-9956-ffa450edef68
2018-02-14 20:30:01 +00:00
Dominik Stadler
afc3085684 Fix some IntelliJ warnings in XDGF area
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823988 13f79535-47bb-0310-9956-ffa450edef68
2018-02-12 15:34:11 +00:00
Alain Béarez
2603eccc96 [bug-57369] support for major and minor unit on XDDFChart axes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823963 13f79535-47bb-0310-9956-ffa450edef68
2018-02-12 12:59:38 +00:00
Mark Murphy
0f4c54023e #55953 Added methods to position a table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823920 13f79535-47bb-0310-9956-ffa450edef68
2018-02-12 04:12:06 +00:00
Andreas Beeker
b6fc14300b Update JAXB classes with fixed javadocs for java 8 doclint
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823910 13f79535-47bb-0310-9956-ffa450edef68
2018-02-11 22:09:58 +00:00
Mark Murphy
ac7311994a Added missing table border types to XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823904 13f79535-47bb-0310-9956-ffa450edef68
2018-02-11 21:31:32 +00:00
Andreas Beeker
11522974cf #61947 - Remove deprecated classes (POI 4.0.0)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823894 13f79535-47bb-0310-9956-ffa450edef68
2018-02-11 20:45:38 +00:00
Andreas Beeker
22659beef2 #62096 - Add support for tabstops
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823893 13f79535-47bb-0310-9956-ffa450edef68
2018-02-11 20:39:18 +00:00
Andreas Beeker
ae65b5cb4a FindBugs fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1823892 13f79535-47bb-0310-9956-ffa450edef68
2018-02-11 20:35:11 +00:00