Commit Graph

83 Commits

Author SHA1 Message Date
Sergey Vladimirov
94ae826022 Fixed bug 53380 -- ArrayIndexOutOfBounds Excetion parsing word 97 document
We had incorrect implementation for sprmCShd80 (0x4866) 0x66 processing, Shd was used instead of Shd80

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1383584 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 19:49:44 +00:00
Yegor Kozlov
fb1719c85d Bugzilla 53446 - Fixed some problems extracting PNGs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1369263 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 05:30:19 +00:00
Nick Burch
0ac6f0fd5a Patch from Josh Holthaus from bug #53165 - HWPF support for fetching the description (alt text) of a picture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1332594 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 09:46:15 +00:00
Nick Burch
477ae958e3 Fix bug #52449 - Support writing XWPF documents with glossaries (plus fix some indenting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1230045 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 14:02:40 +00:00
Yegor Kozlov
c8f9bde8ee removed svn:executable bit from project files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1212745 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 08:02:08 +00:00
Nick Burch
693a7ddc09 Patch from Fabian from bug #52285 - support Smart Tags in XWPF paragraphs, with test (and fixing indents)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210774 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 04:31:04 +00:00
Nick Burch
9068469566 Test that shows that bug #52288 is already fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1210768 13f79535-47bb-0310-9956-ffa450edef68
2011-12-06 03:33:11 +00:00
Nick Burch
bfcf5190eb Restore HWPF support for inline Escher images (stored in Escher rather than direct in a PICFAndOfficeArtData in the main stream), plus add test for this kind of file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1207497 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 18:42:30 +00:00
Sergey Vladimirov
ec46537ca0 Fix 47958 - ArrayIndexOutOfBoundsException from PicturesTable.getAllPictures() during Escher tree walk
Fix 50936 - Exception parsing MS Word 8.0 file (as duplicate of 47958)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195080 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 00:33:44 +00:00
Sergey Vladimirov
9883b370e2 fix 51944 - PAPFormattedDiskPage.getPAPX - IndexOutOfBounds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195079 13f79535-47bb-0310-9956-ffa450edef68
2011-10-30 00:04:38 +00:00
Sergey Vladimirov
0cf37b664b fix additional issue found in bug 52032, add test files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195077 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 23:57:48 +00:00
Sergey Vladimirov
992fe34dc7 fix 52032 - HWPF - ArrayIndexOutofBoundsException with no stack trace (broken after revision 1178063)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1195060 13f79535-47bb-0310-9956-ffa450edef68
2011-10-29 22:34:09 +00:00
Sergey Vladimirov
99ee1edb17 always pad properties to 4 bytes
fix 51834 - Opening and Writing .doc file results in corrupt document

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178113 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 01:06:22 +00:00
Sergey Vladimirov
c1d65f3c7e picture loading completely rewritten, bugs 51902 and 51890 fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177710 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 15:49:45 +00:00
Sergey Vladimirov
f779c3f462 handle lists margins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173161 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:14:17 +00:00
Yegor Kozlov
effaab4dc7 avoid exceptions when using POI in Tika, see BUgs 51771 and 51770
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1169679 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 10:19:50 +00:00
Sergey Vladimirov
48bce381fc add watermark test case (as example)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160745 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 15:35:07 +00:00
Sergey Vladimirov
bebd5bea10 add page-break test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160289 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:03:51 +00:00
Sergey Vladimirov
ca2e6c13df add test case for "page break before" property of paragraph
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160263 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 13:27:15 +00:00
Sergey Vladimirov
92abc388c7 [[51686]] rename testWORD.doc to Bug51686.doc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160143 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 08:38:20 +00:00
Maxim Valyanskiy
7a008634fa bug#51686 - ConcurrentModificationException in Tika's OfficeParser
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160137 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 07:56:43 +00:00
Yegor Kozlov
750f848de7 removed test document referenced in Bug 51524 because it cannot be distributed with AL2 projects
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1159993 13f79535-47bb-0310-9956-ffa450edef68
2011-08-21 15:01:23 +00:00
Sergey Vladimirov
0e3a966465 rename emf_2003_image.doc to Bug41898.doc and move test to TestBugs class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155339 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:50:15 +00:00
Sergey Vladimirov
7d43fe9daf 51604 is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155211 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:18:37 +00:00
Sergey Vladimirov
493aa8c30d add simpliest "escher" pictures support in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151888 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 15:08:06 +00:00
Sergey Vladimirov
a661f497d0 new test case for 47731 issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150463 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 18:55:57 +00:00
Sergey Vladimirov
e956fa6fbf better processing of word tables in cases different rows have different cell widths
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1149528 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 09:42:32 +00:00
Sergey Vladimirov
583802a735 initial support for endnotes and footnotes in HWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148959 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 22:31:59 +00:00
Sergey Vladimirov
ef223e3574 add test case data for 51524
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1148041 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 20:28:17 +00:00
Sergey Vladimirov
6815f67967 introduce picture descriptor structure (internal), now Picture class extends it;
add test case with correctly cropped picture info

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1147450 13f79535-47bb-0310-9956-ffa450edef68
2011-07-16 16:19:49 +00:00
Sergey Vladimirov
4a0d32fa98 rename MBD001D0B89.doc to Bug48075.doc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145288 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 18:45:46 +00:00
Sergey Vladimirov
91f3ea74b9 update status and .doc for issue 49933
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144685 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:37:04 +00:00
Sergey Vladimirov
18b0247ee2 Test case shall not fail
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144202 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:06:33 +00:00
Sergey Vladimirov
beabf33a84 already fixed 48065 - Problems with save output of HWPF (losing formatting)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143809 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:13:04 +00:00
Sergey Vladimirov
bf41a6b682 output document properties to html and pdf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143315 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 09:38:18 +00:00
Sergey Vladimirov
9538734d31 Test correct processing of "sprmPItap" (0x6649) and "sprmPFInTable" (0x2416)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142867 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:19:31 +00:00
Yegor Kozlov
edd0d3847f Bug 50474 - Example demonstrating how to update workbook embedded in a WordprocessingML document
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139541 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 13:46:00 +00:00
Yegor Kozlov
bc467bb8c1 resolved old bugzilla issues, added unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139204 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 08:46:37 +00:00
Maxim Valyanskiy
1a2aa76ff6 Test for parsing document with drawings to prevent NoClassDefFoundError for CTAnchor in XWPFRun
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138440 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:46:42 +00:00
Yegor Kozlov
6e90e3bc06 bug 51351: more progress with WordToFoExtractor: support for hyperlinks, common fields and code cleanup
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137673 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 15:56:28 +00:00
Yegor Kozlov
07253cbc8b Bugzilla 51335: Parse picture goal and crop sizes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1134663 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 14:58:50 +00:00
Yegor Kozlov
7c8f56ce1c bug 51265: Enhanced Handling of Picture Parts in XWPF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1130120 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 12:07:16 +00:00
Nick Burch
0f9646d55d Add unit test from Stefan for bug #51172 - DOCX gif support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1128301 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 13:36:00 +00:00
Maxim Valyanskiy
8d72b9137a XWPF: support for pictures in headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1083764 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 12:43:58 +00:00
Yegor Kozlov
865efc9a8c support for getting HWPFDocument fields, see Bugzilla 50313
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1081291 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 09:10:12 +00:00
Maxim Valyanskiy
40dbadc49e hwpf: ignore null-reference to parent stylesheet (bug#50688)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1065535 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:27:44 +00:00
Nick Burch
f751e3cdd3 Inside ExtractorFactory, support finding embedded OOXML documents and providing extractors for them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049802 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 07:39:21 +00:00
Yegor Kozlov
1715a0deaf removed svn:executable from project files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022458 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:34:59 +00:00
Yegor Kozlov
76470fed4e avoid NPE in ListLevel.getNumberText() when numberText is null, see Bugzilla 50075
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1022456 13f79535-47bb-0310-9956-ffa450edef68
2010-10-14 10:30:29 +00:00
Yegor Kozlov
d6307ad1aa support for BorderCode in HWPF, see Bugzilla 49919
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 13:55:46 +00:00