Andreas Beeker
51f5eaf5e5
disable ImageIO cache - probably need to set it in every test class or disable it in the beginning of all tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830520 13f79535-47bb-0310-9956-ffa450edef68
2018-04-29 21:12:06 +00:00
Andreas Beeker
f94245e9d8
#59893 - Forbid calls to InputStream.available
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830400 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 21:38:19 +00:00
Dominik Stadler
48f03cd45a
Streamline assertion-usage in some tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830296 13f79535-47bb-0310-9956-ffa450edef68
2018-04-27 06:15:05 +00:00
Dominik Stadler
75da28e75f
Update to forbidden-apis 2.5
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830131 13f79535-47bb-0310-9956-ffa450edef68
2018-04-26 04:11:10 +00:00
Dominik Stadler
59b3f72a59
Fix setting active cell in .xls by populating field_6_refs whenever row/column changes, this fixes bug 61905
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830115 13f79535-47bb-0310-9956-ffa450edef68
2018-04-25 20:14:07 +00:00
Andreas Beeker
4e26e6a8d8
Bug 62187 - commit Commons Compress unrelated changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1830061 13f79535-47bb-0310-9956-ffa450edef68
2018-04-25 10:03:39 +00:00
Andreas Beeker
a276d5d3f6
#62319 - handle slide layouts in extractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829677 13f79535-47bb-0310-9956-ffa450edef68
2018-04-20 20:00:46 +00:00
Andreas Beeker
7ddef62cc4
#61459 - HSLFShape.getShapeName() returns name of shapeType and not the shape name
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829656 13f79535-47bb-0310-9956-ffa450edef68
2018-04-20 13:45:18 +00:00
Andreas Beeker
e816131759
#62319 - Decommission XSLF-/PowerPointExtractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829653 13f79535-47bb-0310-9956-ffa450edef68
2018-04-20 12:52:59 +00:00
Dominik Stadler
154493dda3
OOXMLLite: improve progress output: count test-classes, not single test-methods
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829641 13f79535-47bb-0310-9956-ffa450edef68
2018-04-20 09:46:47 +00:00
Dominik Stadler
e9d07e2023
Fix unit test broken with previous check-in
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829640 13f79535-47bb-0310-9956-ffa450edef68
2018-04-20 09:45:28 +00:00
Andreas Beeker
a125fb97b5
Nullpointer fix for slideshow extractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829538 13f79535-47bb-0310-9956-ffa450edef68
2018-04-19 13:34:52 +00:00
Dominik Stadler
518d8caceb
Add some unit-tests for setActiveCell(), although bug 61905 reports that Excel still does not read this correctly for HSSF workbooks
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829518 13f79535-47bb-0310-9956-ffa450edef68
2018-04-19 08:37:17 +00:00
Greg Woolsey
881015618a
add some javadoc to warn that stale cached formula cell values may result in incorrect evaluations, and what to do about it (evaluate formula cells before asking the rule if it applies).
...
Doing it for the user turns out to not be that easy, as the FormulaEvaluator instance in use is not known in this context.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829471 13f79535-47bb-0310-9956-ffa450edef68
2018-04-18 18:25:08 +00:00
Andreas Beeker
f395630abd
Bug 62092 - Text not extracted from grouped text shapes in HSLF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1829453 13f79535-47bb-0310-9956-ffa450edef68
2018-04-18 15:02:02 +00:00
Dominik Stadler
1079e66ea7
Close resources correctly when opening encrypted documents in the TextExtractor
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828378 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 19:41:16 +00:00
Dominik Stadler
166437912a
Bug 62165: Do not close stream when opening succeeds
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828377 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 19:41:10 +00:00
Dominik Stadler
a54aa3864e
Create some directories if not existing in testcoveragereport
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828376 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 19:41:03 +00:00
Dominik Stadler
4b7d19bcfe
Try to avoid one NPE that popped up in commoncrawl-corpus tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828375 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 19:40:54 +00:00
PJ Fanning
9d837397ba
fix error message
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1828364 13f79535-47bb-0310-9956-ffa450edef68
2018-04-04 16:55:46 +00:00
PJ Fanning
ba970264dc
[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
df76db9d3b
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
9d66493f20
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
2444a5396d
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
ff1120d7de
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
7d8da8ea59
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
56717351c1
[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
5fb333194d
[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
4c925dc298
[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
fa0b3d59b3
[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
637d53cae2
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
76c3f72e5d
[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
61bd8bf911
[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
307ae092be
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
228ed49706
#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
b20fc77049
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
c6df73b0f0
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
86a286013d
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
59d926ede8
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
dfa07ac1a3
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
57eae58ee5
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
38c698829f
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
778c5690ad
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
6791e33365
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
9afcf5ae43
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
7f3e785cef
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
681d4d1684
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
24fee0c0d5
[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
2dff049db9
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
314f7f53ea
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