Commit Graph

10222 Commits

Author SHA1 Message Date
Andreas Beeker a5a89b0498 Fix sonar issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868410 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 19:38:03 +00:00
Andreas Beeker cf65519f61 SL Common - Fix gradient fills
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868407 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 13:30:21 +00:00
Andreas Beeker 8ef4c1bf33 Fix line.separator issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868386 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 09:29:36 +00:00
Andreas Beeker 63fb65eb1b Fix line.separator issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868384 13f79535-47bb-0310-9956-ffa450edef68
2019-10-13 09:08:24 +00:00
Andreas Beeker a17cdc8458 add another text height to TestFonts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868364 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 18:08:29 +00:00
Andreas Beeker ba25ff3684 #63818 - Allow multiple charsets for same font typeface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868358 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 17:55:50 +00:00
Andreas Beeker 69f493ee3a #63745 - Refactor EscherRecord.ToXml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868353 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 16:34:29 +00:00
Andreas Beeker 9982ec4e79 #63745 - Add traversing and debugging interface
Replace EscherProperty.getAttributeMap by GenericRecord interface

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868352 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 16:32:53 +00:00
PJ Fanning e81a348864 add null check for XSLFShape
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868318 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 07:30:56 +00:00
PJ Fanning 1f6a3c99ae add null check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868317 13f79535-47bb-0310-9956-ffa450edef68
2019-10-12 07:19:42 +00:00
Tim Allison a564c52311 bumping minimum record length based on user feedback on tika-dev list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868211 13f79535-47bb-0310-9956-ffa450edef68
2019-10-10 03:03:50 +00:00
Dominik Stadler b10f94cc75 63779 Add support for the new Java date/time API added in Java 8
Deprecate HSSFDateUtil
Closes #160 on Github

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868198 13f79535-47bb-0310-9956-ffa450edef68
2019-10-09 19:12:59 +00:00
PJ Fanning 97c21e31b1 [bug-63774] adding lots of custom properties can cause performance issues due to way Pid is calculated
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867597 13f79535-47bb-0310-9956-ffa450edef68
2019-09-26 17:51:45 +00:00
PJ Fanning 3d3c846558 add XPathHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867497 13f79535-47bb-0310-9956-ffa450edef68
2019-09-24 21:06:04 +00:00
PJ Fanning 780b078c85 add TransformerHelper
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867496 13f79535-47bb-0310-9956-ffa450edef68
2019-09-24 20:52:37 +00:00
PJ Fanning ba6a63aaeb xlsx is expected to fail in integration test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867493 13f79535-47bb-0310-9956-ffa450edef68
2019-09-24 20:12:06 +00:00
PJ Fanning 06f28db213 Bug 63768: Adjust handling of SchemaFactory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867484 13f79535-47bb-0310-9956-ffa450edef68
2019-09-24 18:33:37 +00:00
Andreas Beeker 8e3286a64c Catch missing scratchpad state for EMF / WMF rendering
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1867025 13f79535-47bb-0310-9956-ffa450edef68
2019-09-16 19:55:23 +00:00
PJ Fanning 5245be1733 revert change to try fix build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866962 13f79535-47bb-0310-9956-ffa450edef68
2019-09-15 10:05:42 +00:00
PJ Fanning 93b992712a revert hemf changes due to broken test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866948 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 14:40:47 +00:00
PJ Fanning c109245eca rename tests so they run in Ant build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866947 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 14:31:10 +00:00
PJ Fanning 9808fd5015 try to fix build failure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866941 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 11:42:42 +00:00
PJ Fanning b6220447d0 try to avoid casting to int
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866935 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 10:11:41 +00:00
PJ Fanning dc6a4a99e2 try to avoid casting to int
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866933 13f79535-47bb-0310-9956-ffa450edef68
2019-09-14 09:54:11 +00:00
Andreas Beeker 8a9af96f95 remove obsolete JDK6 workarounds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866863 13f79535-47bb-0310-9956-ffa450edef68
2019-09-12 20:05:24 +00:00
Andreas Beeker 8e95d5d9c1 remove obsolete JDK6 workarounds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866862 13f79535-47bb-0310-9956-ffa450edef68
2019-09-12 20:04:50 +00:00
PJ Fanning f59d60263e try to use gradle wrapper to fix build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866846 13f79535-47bb-0310-9956-ffa450edef68
2019-09-12 12:06:20 +00:00
Andreas Beeker 7e432a3211 #63541 - NullPointerException from XSLFSimpleShape.getAnchor for empty xfrm tags
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866810 13f79535-47bb-0310-9956-ffa450edef68
2019-09-11 22:02:14 +00:00
Andreas Beeker 8f051a0b88 Unify PNG extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866809 13f79535-47bb-0310-9956-ffa450edef68
2019-09-11 21:24:34 +00:00
Andreas Beeker 1d4b05ff60 #63745 - Add traversing and debugging interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866808 13f79535-47bb-0310-9956-ffa450edef68
2019-09-11 21:24:06 +00:00
PJ Fanning f31281f18f remove debug code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866406 13f79535-47bb-0310-9956-ffa450edef68
2019-09-04 17:01:15 +00:00
PJ Fanning d51ca537ed [bug-63725] commons-compress 1.19
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866402 13f79535-47bb-0310-9956-ffa450edef68
2019-09-04 16:55:00 +00:00
PJ Fanning d9144dd039 fix typo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866213 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 16:19:07 +00:00
PJ Fanning 59edd12377 upgrade to commons-collections4 4.4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866212 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 13:49:52 +00:00
PJ Fanning 9baf2e73d9 fix build issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866208 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 13:27:22 +00:00
Dominik Stadler 2f1da7bc43 Adjust reproducer test-case for bug 59322 to not print to stdout and close resources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866186 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 05:15:57 +00:00
Dominik Stadler 42005812c4 Fix bug 59322: NullPointerException when converting a certain Word document to HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866185 13f79535-47bb-0310-9956-ffa450edef68
2019-08-31 05:11:05 +00:00
PJ Fanning df64598b12 upgrade bouncycastle
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866108 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 23:22:47 +00:00
PJ Fanning d5707bb829 upgrade commons-codec and mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866107 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 23:08:46 +00:00
PJ Fanning 3efd3f7adf upgrade commons-codec and mockito
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866106 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 23:07:33 +00:00
Dominik Stadler be52865b38 Fix bug #61490, for some tables in documents, we should not remove the last cell
Check the expected number of cells to see if the last cell should be removed.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866055 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 05:16:05 +00:00
Dominik Stadler 734d6911d8 Do not use a WeakReference for the parent-link in HWPF-Ranges
Some unit-tests show sporadic failures and it seems functionality is actually
broken if the WeakReference is garbage-collected. Not sure why a
WeakReference was used here anyway.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866054 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 05:15:57 +00:00
Dominik Stadler d81b74ba67 Adjust JavaDoc and code formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1866053 13f79535-47bb-0310-9956-ffa450edef68
2019-08-29 05:15:50 +00:00
PJ Fanning 3623bea505 [bug-63664] do not use DocumentBuilderFactory directly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1865720 13f79535-47bb-0310-9956-ffa450edef68
2019-08-22 21:57:50 +00:00
Dominik Stadler a3298f9c16 Bug 63657: Optimize onDocumentWrite() to not do the full re-assignment
if not necessary at all, also use getCArray() instead of getCList() as
access-operations are much quicker this way

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1865209 13f79535-47bb-0310-9956-ffa450edef68
2019-08-15 07:55:06 +00:00
Dominik Stadler ba66108653 Close file-resources in unit-tests, fix IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1865208 13f79535-47bb-0310-9956-ffa450edef68
2019-08-15 07:54:58 +00:00
Dominik Stadler 0619e7ebfb Bug 63657: Rework the for bug #62130 to not use up twice as much memory when writing documents.
Unfortunately XMLBeans is very tricky to use here, mainly the fact that setCArray does not replace the internal objects, but copies the content into the currently held objects makes it rather hard to do this right.

Therefore we now try to keep the existing objects and only replace the content as required to
have a stable ordering of cells in the row-XML structure.

This also fixes removing cells from rows to avoid invalid situations and
correctly free CTCellImpl instances.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1864977 13f79535-47bb-0310-9956-ffa450edef68
2019-08-12 16:42:46 +00:00
PJ Fanning 958f72caae add some missing classes to poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863753 13f79535-47bb-0310-9956-ffa450edef68
2019-07-25 17:26:21 +00:00
PJ Fanning 9bd1a6348a add some missing classes to poi-ooxml-schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863752 13f79535-47bb-0310-9956-ffa450edef68
2019-07-25 17:04:23 +00:00
Andreas Beeker ec2951bece Bug 60656 - fix image dimensions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863602 13f79535-47bb-0310-9956-ffa450edef68
2019-07-22 21:31:58 +00:00