Commit Graph

8837 Commits

Author SHA1 Message Date
Dominik Stadler
b3b5add581 Remove incorrect copy-include in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807822 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 20:42:24 +00:00
Andreas Beeker
a2a4007a17 Add Removal annotation to xmlbeans generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807817 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 20:27:49 +00:00
Dominik Stadler
d4e621caba Add Removal.java to fix Maven compilation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807797 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 18:30:39 +00:00
Andreas Beeker
794716b0c0 Add Removal annotation to xmlbeans generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807653 13f79535-47bb-0310-9956-ffa450edef68
2017-09-07 22:01:41 +00:00
Nick Burch
526dc01a50 Copy over and tweak PicturesSource from Apache Tika
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807651 13f79535-47bb-0310-9956-ffa450edef68
2017-09-07 21:36:15 +00:00
Andreas Beeker
8d17a69005 prepare for 3.18-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807430 13f79535-47bb-0310-9956-ffa450edef68
2017-09-05 22:49:57 +00:00
Andreas Beeker
ce7446c76a release prepare for 3.17 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807428 13f79535-47bb-0310-9956-ffa450edef68
2017-09-05 22:49:04 +00:00
Andreas Beeker
d17deb6185 #61478 - POI OOXML-Schema lookup uses wrong classloader
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807418 13f79535-47bb-0310-9956-ffa450edef68
2017-09-05 21:30:29 +00:00
Tim Allison
60176900fc While working on 61475, need to add a new line after picture text...not worth separate ticket.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806843 13f79535-47bb-0310-9956-ffa450edef68
2017-08-31 20:20:24 +00:00
Tim Allison
235d102f26 61475 -- append text from pictures only once...bug from my work on 61470.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806839 13f79535-47bb-0310-9956-ffa450edef68
2017-08-31 19:14:43 +00:00
Tim Allison
3b32a00aa7 61470 -- add extraction of content within ruby elements; allow users to concatenate or not concatenate phonetic strings. Default is to concatenate.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806712 13f79535-47bb-0310-9956-ffa450edef68
2017-08-30 16:29:52 +00:00
Greg Woolsey
914ae602b1 Fixes bug #61468, caused by a confusing OOXML spec design as noted in JavaDocs added in r1795648.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806623 13f79535-47bb-0310-9956-ffa450edef68
2017-08-29 17:14:52 +00:00
Andreas Beeker
de89d4cdc4 prepare for 3.18-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806509 13f79535-47bb-0310-9956-ffa450edef68
2017-08-28 20:53:19 +00:00
Andreas Beeker
c9eff2a2bb release prepare for 3.17 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806507 13f79535-47bb-0310-9956-ffa450edef68
2017-08-28 20:52:23 +00:00
Andreas Beeker
eedd4cf7f9 sha512 checksums aren't yet supported by Nexus
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806505 13f79535-47bb-0310-9956-ffa450edef68
2017-08-28 20:41:16 +00:00
Dominik Stadler
20fa8328f4 Verify that bug 61294 is fixed now, add some more coverage for IOUtils in general
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806162 13f79535-47bb-0310-9956-ffa450edef68
2017-08-25 11:51:18 +00:00
Dominik Stadler
34f35b2d0e Revert performance tuning done via Bug 61350 as it lead to problems when running multi-threaded large regression tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1806077 13f79535-47bb-0310-9956-ffa450edef68
2017-08-24 19:46:39 +00:00
Andreas Beeker
f7b7c8e89d prepare for 3.18-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805582 13f79535-47bb-0310-9956-ffa450edef68
2017-08-20 19:18:48 +00:00
Andreas Beeker
bc839b285b release prepare for 3.17 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805580 13f79535-47bb-0310-9956-ffa450edef68
2017-08-20 19:17:37 +00:00
Dominik Stadler
2108f82449 Fix 60384 and 60709: When shifting with merged regions we should correctly 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
2017-08-19 16:31:45 +00:00
Dominik Stadler
68a829067a Add more --add-opens for JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805517 13f79535-47bb-0310-9956-ffa450edef68
2017-08-19 16:31:33 +00:00
Dominik Stadler
b233345510 Add more non-test classes in OOXMLLite and add another font-metric that appears
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805516 13f79535-47bb-0310-9956-ffa450edef68
2017-08-19 16:31:28 +00:00
Greg Woolsey
5e5adc70e5 Bug 61431 - Conditional formatting evaluation ignores undefined cells
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
2017-08-16 23:52:27 +00:00
Nick Burch
9bb61bfaef As per ".sha Release Distribution Policy" email, also generate .sha512 hashes for dist
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805198 13f79535-47bb-0310-9956-ffa450edef68
2017-08-16 13:44:58 +00:00
Andreas Beeker
91e74a7498 exclude H21 from slave list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804897 13f79535-47bb-0310-9956-ffa450edef68
2017-08-13 11:42:35 +00:00
Andreas Beeker
6f341568b6 #61381 - PushbackInputStreams passed to ZipHelper may not hold 8 bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804854 13f79535-47bb-0310-9956-ffa450edef68
2017-08-11 20:47:48 +00:00
Nick Burch
9ae6952845 Add an example of trying multiple passwords against an OOXML file. More a demo than anything, GPU enabled tools are much faster!
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804667 13f79535-47bb-0310-9956-ffa450edef68
2017-08-10 12:43:16 +00:00
PJ Fanning
9fa3e36e9a [Bug-61048] SXSSF module writes wrong escape sequence for carriage returns
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804596 13f79535-47bb-0310-9956-ffa450edef68
2017-08-09 18:37:14 +00:00
Andreas Beeker
ea97e64e0e notify dev@ when windows-1.7 fails
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1804211 13f79535-47bb-0310-9956-ffa450edef68
2017-08-05 19:47:32 +00:00
Andreas Beeker
848a77318e add findbugs3 prefetch to Windows / JDK1.7 build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803694 13f79535-47bb-0310-9956-ffa450edef68
2017-08-01 19:44:17 +00:00
Dominik Stadler
b3ad734de1 Assert on the contents of the byte-array to see if the problem happens during writing the data or reading it back in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803614 13f79535-47bb-0310-9956-ffa450edef68
2017-08-01 06:26:44 +00:00
Dominik Stadler
8604525435 Jenkins DSL: Use latest available early access build of JDK 9 b179
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803613 13f79535-47bb-0310-9956-ffa450edef68
2017-08-01 06:26:39 +00:00
Dominik Stadler
c7e1fabf1c Reformat code slightly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803612 13f79535-47bb-0310-9956-ffa450edef68
2017-08-01 06:26:27 +00:00
Andreas Beeker
ad9fa0cd2d Job DSL refactorings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803594 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 22:56:08 +00:00
Andreas Beeker
d24e0da38a Job DSL fix windows call / retrieve findbugs via powershell
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803559 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 18:21:48 +00:00
Andreas Beeker
18053658cc Add Windows jobs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803543 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 15:29:28 +00:00
Andreas Beeker
97f90ca839 Fix further Windows JVM 6 font rendering errors - OOM and EXCEPTION_ACCESS_VIOLATION
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803528 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 12:25:23 +00:00
Andreas Beeker
27fd9e4cbb remove invalid javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803493 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 08:42:48 +00:00
Nick Burch
e34e286850 Javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803488 13f79535-47bb-0310-9956-ffa450edef68
2017-07-31 06:36:10 +00:00
Andreas Beeker
ff2bcdf62d #61363 - Unify escher shape id allocation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803483 13f79535-47bb-0310-9956-ffa450edef68
2017-07-30 23:11:36 +00:00
Andreas Beeker
b3c111a283 Add handling of alternate content elements
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803397 13f79535-47bb-0310-9956-ffa450edef68
2017-07-29 23:08:15 +00:00
Dominik Stadler
24138ef615 Jenkins-DSL: Print out the exact version of java in the pre-steps
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803357 13f79535-47bb-0310-9956-ffa450edef68
2017-07-29 06:57:40 +00:00
Greg Woolsey
f9b9c0d18b Deleting a sheet did not delete table parts and relations. Deleting a table needs to also delete any queryTable relations and parts.
Previous behavior didn't result in documents Excel complained about, but left dead entries in the ZIP structure, which made it bigger and bugged me.

This change does not attempt to delete query connection definitions, as those aren't referenced as relations, and don't have a usage counter to ensure we only delete them if there are no other references.  In my samples I had query tables on multiple sheets using the same connection definition, and wanted to delete only one sheet/table but leave others.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803317 13f79535-47bb-0310-9956-ffa450edef68
2017-07-28 18:01:36 +00:00
PJ Fanning
9f28e36438 [Bug-61354] fix issue with extracting text from Word docs. This closes #66
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803250 13f79535-47bb-0310-9956-ffa450edef68
2017-07-28 07:42:23 +00:00
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
Andreas Beeker
49a222ecbc #61350 - Use unsynchronized xmlbeans
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803120 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 22:15:27 +00:00
Greg Woolsey
9e896b17ea Another font size variation. I suspect it is my Windows 10 scaling factor, set to 100% instead of the Windows 10 default 125%.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803117 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 22:00:23 +00:00
Tim Allison
16f331054f 61337 -- try to convert assertions to exceptions. I left in the assertions for the binary search components.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803092 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 18:43:27 +00:00
Tim Allison
21cbf101bc 61346 add more sanity checks before allocating byte arrays in emf/wmf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803041 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 12:46:24 +00:00
Andreas Beeker
4ca2ad85b9 remove test leftover
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1803024 13f79535-47bb-0310-9956-ffa450edef68
2017-07-26 08:13:16 +00:00