Dominik Stadler
caf2d32393
Bug 65099: Fix incorrect handling of styles in XWPFStyle.getUsedStyleList
...
Closes github #216
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886063 13f79535-47bb-0310-9956-ffa450edef68
2021-01-30 18:42:14 +00:00
Dominik Stadler
b7e9cb48d0
Bug 64132: Fix regression introduced by changing factories
...
We need to return EscherBlipRecord for all types in the defined range of recordId,
not UnknownEscherRecord.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1885092 13f79535-47bb-0310-9956-ffa450edef68
2021-01-04 05:51:24 +00:00
PJ Fanning
353293f244
[bug-65023] add col bugfix. Thanks to Paula Muldoon, This closes #212
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884794 13f79535-47bb-0310-9956-ffa450edef68
2020-12-25 09:50:50 +00:00
PJ Fanning
f99533c56e
move docx added to wrong test dir
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1879229 13f79535-47bb-0310-9956-ffa450edef68
2020-06-26 10:41:15 +00:00
Dominik Stadler
da2afc19e2
Bug 55966: Include content control text in word extraction also if it is part of a paragraph
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1875802 13f79535-47bb-0310-9956-ffa450edef68
2020-03-28 09:24:38 +00:00
Dominik Stadler
00a2a87097
XWPF: Insert newlines between multiple paragraphs in comments.
...
Closes PR #161 on GitHub
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868978 13f79535-47bb-0310-9956-ffa450edef68
2019-10-26 05:26:36 +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
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
Greg Woolsey
edd1f4c75e
pre-release maintenance:
...
* add my key to the KEYS file
* update year in NOTICE (first release of 2019)
* remove svn:executable flag from random test data files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855799 13f79535-47bb-0310-9956-ffa450edef68
2019-03-19 00:35:09 +00:00
Andreas Beeker
6c5a2de640
#62886 - Regression extracting text from corrupted docx files
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849252 13f79535-47bb-0310-9956-ffa450edef68
2018-12-18 23:55:58 +00:00
Tim Allison
8e427c1806
bug 60316 -- skip the glossary document, not the template document.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1847263 13f79535-47bb-0310-9956-ffa450edef68
2018-11-23 13:32:22 +00:00
Tim Allison
341f456ef7
bug 60316 -- until we can implement it properly, gracefully skip the glossary document in XWPF.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1845517 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01 21:14:03 +00:00
Tim Allison
af9142e4b7
bug 62859 -- fix two potential NPEs when initializing XWPFSDTContent
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1844920 13f79535-47bb-0310-9956-ffa450edef68
2018-10-26 19:06:18 +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
Tim Allison
e2fe5c190a
related to Bug 61991 -- include docx in test suite to trigger inclusion of CTPictureBase
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822033 13f79535-47bb-0310-9956-ffa450edef68
2018-01-23 18:05:23 +00:00
Dominik Stadler
8197a53eca
Fix bug 61787, which was introduced by bug 58067: Change how deleted content is detected to not incorrectly see too much text as deleted.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819405 13f79535-47bb-0310-9956-ffa450edef68
2017-12-28 08:45:51 +00:00
Dominik Stadler
89e7fbe6cd
Bug 61911: Avoid IndexOutOfBounds access when reading pictures
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1819403 13f79535-47bb-0310-9956-ffa450edef68
2017-12-28 08:45:36 +00:00
Javen O'Neal
d96f9ce495
bug 61745: add support for charts in XWPF/docx. Thanks to Sandeep Tiwari for the patch
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815047 13f79535-47bb-0310-9956-ffa450edef68
2017-11-12 21:48:41 +00:00
Dominik Stadler
fbdf4dca68
Bug 61586: Add test which shows that it works as expected
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1811355 13f79535-47bb-0310-9956-ffa450edef68
2017-10-06 17:41:20 +00:00
Tim Allison
76d3f15560
60279 -- back off to brute-force search for macro content if offset information is not correct
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808301 13f79535-47bb-0310-9956-ffa450edef68
2017-09-14 02:22:55 +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
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
PJ Fanning
879a6d20c3
[Bug-61268] avoid NegativeArraySizeException parsing doc file
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801395 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 22:32:27 +00:00
Nick Burch
933f9c1201
#61266 Test for old unsupported MS Write WRI files, and give a more helpful exception if found, plus unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1801376 13f79535-47bb-0310-9956-ffa450edef68
2017-07-09 16:26:33 +00:00
Dominik Stadler
20ed0075e8
Bug 60374: Add test for ArrayIndexOutOfBounds on old Word Documents due to Non-Unicode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1798200 13f79535-47bb-0310-9956-ffa450edef68
2017-06-09 12:47:03 +00:00
Andreas Beeker
1bcde5f6d4
#61162 - En-/decryption support for HWPF
...
Decryption for Binary RC4 and CryptoAPI (... XOR is missing)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1797837 13f79535-47bb-0310-9956-ffa450edef68
2017-06-06 22:21:11 +00:00
Tim Allison
6fe3b75bfd
bug 50955 -- word 6.0 charset fix
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1790061 13f79535-47bb-0310-9956-ffa450edef68
2017-04-04 02:06:46 +00:00
Dominik Stadler
5e74d6bef1
Add docm-file which is actually a binary doc to check handling of wrong-format-exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1787555 13f79535-47bb-0310-9956-ffa450edef68
2017-03-18 13:56:04 +00:00
Dominik Stadler
c7cf41f988
Revert previous changes enough to restore the case in the commoncrawl-corpus which is failing now, add a unit-test for this case, enable one disabled unit-test
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1781822 13f79535-47bb-0310-9956-ffa450edef68
2017-02-05 22:34:40 +00:00
Dominik Stadler
02706f1303
Finally enable test for bug 44937, we got the requested missing test-documents a long time ago already.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780456 13f79535-47bb-0310-9956-ffa450edef68
2017-01-26 19:59:05 +00:00
Tim Allison
5750c85be9
Bug 60570 - Add rudimentary EMF read-only capability
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1779493 13f79535-47bb-0310-9956-ffa450edef68
2017-01-19 16:22:29 +00:00
Mark Murphy
36b7f44130
60329: Avoid NPE when styleid is null
...
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=60329
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1772138 13f79535-47bb-0310-9956-ffa450edef68
2016-12-01 02:21:56 +00:00
Tim Allison
c835239641
POI-60341, add test document (ugh, mea culpa), turn on test.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768505 13f79535-47bb-0310-9956-ffa450edef68
2016-11-07 12:10:46 +00:00
Mark Murphy
5335dd775f
60337: XWPFTableRow.isRepeatHeader throws NullPointerException, setRepeatHeader does not overwrite old value
...
Task-Url: https://bz.apache.org/bugzilla/show_bug.cgi?id=60337
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768153 13f79535-47bb-0310-9956-ffa450edef68
2016-11-05 06:12:24 +00:00
Nick Burch
2780bf3be3
More unit testing for XWPF list numbering complex cases, and some TODOs on improving it, inspired by users@ discussions
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1768005 13f79535-47bb-0310-9956-ffa450edef68
2016-11-04 10:55:31 +00:00
Tim Allison
6452b4c62f
60293 -- Handle illegal "Odd" header/footer in XWPF
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1767353 13f79535-47bb-0310-9956-ffa450edef68
2016-10-31 19:02:06 +00:00
Javen O'Neal
4405fb4ffe
bug 57843: add failing unit test: Word 6.0 (1993) fails with ArrayIndexOutOfBoundsException
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761873 13f79535-47bb-0310-9956-ffa450edef68
2016-09-22 09:24:48 +00:00
Javen O'Neal
3d953b0065
bug 60158: add failing test cases for AIOOBE on VBAMacroReader
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1761652 13f79535-47bb-0310-9956-ffa450edef68
2016-09-21 01:03:12 +00:00
Dominik Stadler
194057bd1b
Add commented reproducer for bug 57603
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1753120 13f79535-47bb-0310-9956-ffa450edef68
2016-07-17 21:17:45 +00:00
Dominik Stadler
e616b8cf12
Bug 59739: For now fix the regression in FileInformationBlock which was introduced after 3.15-beta1 so that the documents can be loaded again pending a full fix as discussed in the bug.
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750864 13f79535-47bb-0310-9956-ffa450edef68
2016-06-30 21:06:04 +00:00
Dominik Stadler
8811c99ac3
Avoid NPE in XWPFTableCell, taken from https://github.com/prasad-babu/poi/tree/WORKING_BRANCH
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746625 13f79535-47bb-0310-9956-ffa450edef68
2016-06-02 20:09:44 +00:00
Dominik Stadler
5ec8bc815e
Bug 59378: Try to reproduce, but could not
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746623 13f79535-47bb-0310-9956-ffa450edef68
2016-06-02 20:09:25 +00:00
Javen O'Neal
e3ad497b79
bug 52949: add Word, Powerpoint, and Visio (HDGF) files with macros to test macro extraction
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1738502 13f79535-47bb-0310-9956-ffa450edef68
2016-04-11 03:02:18 +00:00
Dominik Stadler
0cbe6c7d1d
Revert set of inadvertedly committed files/changes
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737029 13f79535-47bb-0310-9956-ffa450edef68
2016-03-29 18:11:44 +00:00
Dominik Stadler
349b14f837
Bug 58915: Add note about memory consumption and update changelog
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737025 13f79535-47bb-0310-9956-ffa450edef68
2016-03-29 17:30:55 +00:00
Andreas Beeker
08bfa54296
#59058 - OOM when parsing docx after OPCPackage.open with File but not with InputStream (TIKA-1866)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734184 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 01:25:02 +00:00
Tim Allison
12ac00eafd
POI 59030 fix NPE in XWPFTableCell's getVerticalAlignment via Prasad Babu
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1731257 13f79535-47bb-0310-9956-ffa450edef68
2016-02-19 15:46:26 +00:00
Dominik Stadler
16b90ce342
GitHub PR 27: Add method to check for any protection in XWPFDocument, closes #27
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1730471 13f79535-47bb-0310-9956-ffa450edef68
2016-02-15 09:26:51 +00:00
Dominik Stadler
805e8f1e91
add an ignored test for bug 58804
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1726681 13f79535-47bb-0310-9956-ffa450edef68
2016-01-25 20:21:30 +00:00
Dominik Stadler
cb441adcb4
Fix bug 58067: XWPF: don't return deleted text when document is in review-mode
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722715 13f79535-47bb-0310-9956-ffa450edef68
2016-01-03 13:28:01 +00:00