Commit Graph

9906 Commits

Author SHA1 Message Date
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
Andreas Beeker e18eef07b1 Refactor alpha handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863601 13f79535-47bb-0310-9956-ffa450edef68
2019-07-22 21:30:12 +00:00
Andreas Beeker 58eb1a8070 Bug 63580 - Fix texture paint handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863600 13f79535-47bb-0310-9956-ffa450edef68
2019-07-22 21:29:55 +00:00
PJ Fanning 21ed5240e7 try to fix NPE in tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863516 13f79535-47bb-0310-9956-ffa450edef68
2019-07-21 08:39:56 +00:00
PJ Fanning cf1eb05304 missing @since annotations
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863476 13f79535-47bb-0310-9956-ffa450edef68
2019-07-20 12:11:07 +00:00
PJ Fanning 4fbad5c3f7 [github-150] XWPFPicture: easy access to width and depth. Thanks to Thibaut Cuvelier. This closes #150
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863434 13f79535-47bb-0310-9956-ffa450edef68
2019-07-19 21:05:15 +00:00
PJ Fanning ea58359b7c [github-153] XWPFParagraph: easier way to create a link. Thanks to Thibaut Cuvelier. This closes #153
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863433 13f79535-47bb-0310-9956-ffa450edef68
2019-07-19 20:49:48 +00:00
PJ Fanning 10b5a462dc [github-157] add setters for ExtendedProperties. Thanks to Thibaut Cuvelier. This closes #157
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863432 13f79535-47bb-0310-9956-ffa450edef68
2019-07-19 19:48:14 +00:00
PJ Fanning 65c4aafe3e [github-156] add setKeepNext to XWPFParagraph. Thanks to Thibaut Cuvelier.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863182 13f79535-47bb-0310-9956-ffa450edef68
2019-07-16 21:00:49 +00:00
Tim Allison c7bcd70d54 Bug 63542 -- bump min record limit for TNEFAttribute
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1862895 13f79535-47bb-0310-9956-ffa450edef68
2019-07-10 20:02:59 +00:00
PJ Fanning 0d323ec9b0 [bug-63533] fix javadoc that refers to horisontalPdi
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1862382 13f79535-47bb-0310-9956-ffa450edef68
2019-07-01 14:07:16 +00:00
Andreas Beeker dd6d090969 fix rendering of xslf shapes with no/external blip part
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861958 13f79535-47bb-0310-9956-ffa450edef68
2019-06-23 23:13:15 +00:00
Andreas Beeker 0df618c109 omit png output on test
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861953 13f79535-47bb-0310-9956-ffa450edef68
2019-06-23 22:26:24 +00:00
Andreas Beeker 861988bac3 Bug 60656 - EMF image support in slideshows
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861952 13f79535-47bb-0310-9956-ffa450edef68
2019-06-23 22:21:15 +00:00
Dominik Stadler 9cde034ab9 Bug 62906 and 63401: Ensure tables have an initial name which does not conflict with
existing names

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861819 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 06:12:19 +00:00
Dominik Stadler 16779b96e5 Fix IDE warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861818 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 06:12:12 +00:00
Dominik Stadler 50874d9d0d Bug 63509: Allow to format a CellReference without sheet-name for ignoredErrors.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1861817 13f79535-47bb-0310-9956-ffa450edef68
2019-06-22 06:12:05 +00:00