Commit Graph

8990 Commits

Author SHA1 Message Date
PJ Fanning e6d9be197c [bug-61515] fix xlsf issue with relationships [from Alain Bearez] This closes #70
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808294 13f79535-47bb-0310-9956-ffa450edef68
2017-09-13 23:10:44 +00:00
Andreas Beeker b29668bb9e prepare for 3.18-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807827 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 21:04:13 +00:00
Andreas Beeker e26244c4e1 release prepare for 3.17 - updating build.xml and status.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807825 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 21:03:20 +00:00
Dominik Stadler 31167bfaeb 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 57d4fab79d 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 4749645d32 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 17667b7d57 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 bdb0e8199b 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 6e39ba2d2a 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 0674856ada 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 86d91cceef #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 bf28229cd7 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 e29c22ec42 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 d5b3bd57af 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 d68912db25 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 8850fae086 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 806c9610d4 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 4327c38fc0 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 df06e47470 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 225285edc6 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 264adcb025 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 47792a6012 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 8f8f41a7c2 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 c364f2ce24 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 515f93ecd8 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 c73a4570f8 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 a865530f8c 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 5f6a93d146 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 a98350e40b #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 299f33b8d8 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 58e98bace6 [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 161e6fe60a 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 86ca4bc99c 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 a208ead70b 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 37866e55b2 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 abd7c696ae 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 64725bd8b5 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 1b7630a2e2 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 6c64f70189 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 48b01fc621 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 e7179159fd 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 9616e10cbd 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 0d8350b03a #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 1c1c384c16 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 73d041eb7c 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 9a0d34dc43 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 36d940ce39 [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 3cea90e7c4 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 2dda87a8ce #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 515cd684e5 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