Commit Graph

1242 Commits

Author SHA1 Message Date
Nick Burch
ecad01a716 Patch from bug #51566 - HSLF fix for finishing parsing the picture stream on the first non-valid type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183654 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 14:43:00 +00:00
Nick Burch
d71f80e6a1 Apply patch from bug #51974 - Avoid HWPF issue when identifying the picture type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183645 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 14:14:53 +00:00
Nick Burch
32ffb44def Apply patch from bug #52035 - Fix signed issue with very large word 6 files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1183629 13f79535-47bb-0310-9956-ffa450edef68
2011-10-15 12:23:50 +00:00
Sergey Vladimirov
67655200c5 add picture height / width to PicturesManager arguments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1180744 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 23:22:46 +00:00
Sergey Vladimirov
871070a8e1 add picture height / width to PicturesManager arguments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1180740 13f79535-47bb-0310-9956-ffa450edef68
2011-10-09 23:00:39 +00:00
Nick Burch
f3bd9df526 Fix typo, leave the old version there deprecated for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179787 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 19:44:48 +00:00
Nick Burch
5d23ca2ba2 Follow on for bug #51873 - may have another _ on the end
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1179462 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 22:14:24 +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
c91b9c072d correctly save PlfLst
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178104 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 00:11:05 +00:00
Sergey Vladimirov
5041b7b215 handle bullets lists correctly (i hope)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178103 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 23:28:37 +00:00
Sergey Vladimirov
69e7860bcc update LVLF definition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178098 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 22:23:31 +00:00
Sergey Vladimirov
19e92a8e6a correctly handle LFOData structures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178083 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 20:01:23 +00:00
Sergey Vladimirov
3607c2fc74 correctly handle last part of FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178063 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 18:18:51 +00:00
Sergey Vladimirov
847b8fe81d move cbRgFcLcb from FIBFieldHandler to FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178045 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 16:56:05 +00:00
Sergey Vladimirov
23a44c7c6d replcae FIBLongHandler with FibRgLw97 and remove CPSplitCalculator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178038 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 16:16:17 +00:00
Sergey Vladimirov
2dc849577d replace FIBShortHandler with FibRgW97
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178030 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:46:26 +00:00
Sergey Vladimirov
a4ec172b7a extract FibBase from FIB
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1178019 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:32:32 +00:00
Sergey Vladimirov
7ecbfcfbaa picture loading completely rewritten, bugs 51902 and 51890 fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177709 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 15:49:19 +00:00
Sergey Vladimirov
f0a96deeb0 disable wraps in "extended" cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177644 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:19:09 +00:00
Sergey Vladimirov
ef2876e71f rewrite Sttb utils to handle complex cases
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1177643 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:16:50 +00:00
Maxim Valyanskiy
a186e69c78 bug#51901: StringChunk.parseAs7BitData - Encoding not found - US-ASCII; format=flowed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1176780 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 08:18:57 +00:00
Nick Burch
8de1ce7c6a Tweak the HSLF and XSLF tests for master slide text to cover more (some of which is disabled for now)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1175870 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 13:48:59 +00:00
Nick Burch
40d19a5fa3 Fix bug #51873 - update HSMF to ignore Outlook 2002 Olk10SideProp entries, which don't behave like normal chunks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174868 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 16:24:56 +00:00
Sergey Vladimirov
e5b4f1b58d remove incorrect method to lookup "upper" table cell. In fact, we don't need it at all.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1174386 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 20:57:10 +00:00
Sergey Vladimirov
b78ac79324 styles shall be applied after lists as well [as PAPX]
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173866 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 21:16:53 +00:00
Sergey Vladimirov
7ceb576145 output styles information in more compact (and precise) format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173865 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 21:16:35 +00:00
Sergey Vladimirov
e2377a8942 insert space instead of tab in lists
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173864 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 21:16:12 +00:00
Sergey Vladimirov
52e5eb21e1 be aware of PAP properties from lists, but don't forget that PAPX has priority over them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173841 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 20:42:04 +00:00
Nick Burch
766b2256cf Update the XSLF slide master text extraction to be optional, as HSLF already is, plus fix some indents
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173756 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:54:22 +00:00
Nick Burch
59204cbc38 Tidy up HSLF extractor tests, and add a bit more for bug #51803
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173753 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 16:46:43 +00:00
Sergey Vladimirov
c9140e56e5 use LVLF to hold internal lists data
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173731 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:47:12 +00:00
Sergey Vladimirov
56d27d0315 wanr more if some PAPX sprms were ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173717 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:33:02 +00:00
Sergey Vladimirov
6f68b64151 output warning if some CHPX SPRMs were ignored
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173716 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:32:43 +00:00
Sergey Vladimirov
12af4909f3 add toString() to UPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173715 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:32:21 +00:00
Sergey Vladimirov
d13ee3399d add StdfPost2000 to StyleDefinition
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173714 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:32:11 +00:00
Sergey Vladimirov
092ff1b867 add lvlf type definition and java code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173712 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 15:31:36 +00:00
Sergey Vladimirov
367e27a7e6 dump style number
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173662 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 14:16:45 +00:00
Sergey Vladimirov
2bc90c8151 split stylesheet into additional structures according to latest specification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 13:24:46 +00:00
Sergey Vladimirov
140593d8c6 use StdfBase structure in StyleDescription
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173550 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 10:00:43 +00:00
Sergey Vladimirov
bc7869a957 rename STD to StdfBase
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173548 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 09:48:16 +00:00
Sergey Vladimirov
7c78589bf7 add STD type description and java class
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173545 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 09:44:24 +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
Sergey Vladimirov
3a99be3269 add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173159 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:13:26 +00:00
Sergey Vladimirov
085745adde add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173158 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:13:08 +00:00
Sergey Vladimirov
a74095ebd3 add tabs handling and additional SPRMs; update ShadingDescription definition (in fact, replace)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173157 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 14:12:44 +00:00
Sergey Vladimirov
4d8970baca do not output empty borders (esp. with incorrect "-1" values of widths)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173045 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 09:19:09 +00:00
Sergey Vladimirov
99e8d7d7a0 sometimes "-1" happens. It seems to be empty cell border as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173039 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 09:03:58 +00:00
Sergey Vladimirov
9b9c733a57 update TCAbstractType
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 08:52:47 +00:00
Sergey Vladimirov
be424d3a09 second field in TC is width
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 08:52:30 +00:00
Sergey Vladimirov
6a74c4a55e add test case for sprmTDefTable (opcode 0xD608)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173033 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 08:52:03 +00:00
Maxim Valyanskiy
da5a8477e8 HSLF: support for uncompressed OLE embeddings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172583 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 12:06:58 +00:00
Maxim Valyanskiy
4786ed97c9 MAPIMessage: skip UTF-8 in guess7bitEncoding because UTF-8 are never used as one-byte encoding in Outlook
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1172537 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 09:34:52 +00:00
Maxim Valyanskiy
6d080eb3bf MAPIMessage: fix NPE in set7BitEncoding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1171628 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:38:50 +00:00
Sergey Vladimirov
b12828a65e HWPF Bookmarks tables are correctly updated on text updates. Add HWPF API to update range text and delete bookmarks.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170437 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 05:41:21 +00:00
Sergey Vladimirov
95d61faec0 change default page margins to 0.4 inches and allow to changes them
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170227 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 16:15:47 +00:00
Sergey Vladimirov
f3ce711196 better handle (i.e. skip) empty cells
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170223 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 16:10:27 +00:00
Sergey Vladimirov
57f40b0e3f generate CSS without tag names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1170116 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 11:10:23 +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
5b11460c66 add sprmPDxaLeft1 0x8460 PAPX SPRM support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166209 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 14:58:42 +00:00
Sergey Vladimirov
78a366bd0c use margin CSS properties to control indentation in HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166155 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 12:55:51 +00:00
Sergey Vladimirov
d1aeec0d78 fix Bug 51772 - IllegalArgumentException Parsing MS Word 97 - 2003;
Replace byte->char translation with byte range -> char range_S_ translation for PAPX / CHPX tables

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1166144 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 12:12:17 +00:00
Sergey Vladimirov
47c706b997 extract processSheet() method to use with single-sheet processing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1164470 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 10:53:30 +00:00
Sergey Vladimirov
08bb6a7627 replace getInstance() / getOptions() with getShapeType for EscherSpRecord
replace getOptions() with getInstance() for other cases

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163615 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 13:14:09 +00:00
Sergey Vladimirov
8b524d500b additional check for null arguments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163610 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 12:59:46 +00:00
Sergey Vladimirov
237b4d7448 fixed width for tables in FO
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163583 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 11:36:07 +00:00
Sergey Vladimirov
20a55c5c45 handle "Times Roman" font
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1163582 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 11:35:40 +00:00
Sergey Vladimirov
22374ff668 add text spanning support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1162814 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:00:48 +00:00
Sergey Vladimirov
f81a25a79c fix FO errors and add cells formatting
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1162776 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 12:55:21 +00:00
Sergey Vladimirov
d6e3c74c2f add initial implementation for Excel to XSL FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1162724 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 10:45:01 +00:00
Nick Burch
193c198f25 Add missing license header
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1161479 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 10:14:26 +00:00
Nick Burch
7ac5521d03 Add missing license header to a log4j file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1161478 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 10:13:47 +00:00
Sergey Vladimirov
77af81d3d7 move poi.util.POIUtils to poi.poifs.filesystem.EntryUtils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160788 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 16:44:06 +00:00
Sergey Vladimirov
995e5bdfa8 add copyrights and comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160749 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 15:44:03 +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
ca541c93a3 add getOfficeArtSpContainer() method to OfficeDrawing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160744 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 15:34:42 +00:00
Sergey Vladimirov
bf295239bb dump header graphics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160739 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 15:13:15 +00:00
Sergey Vladimirov
b32676ce71 dump FIB field values (starting from 154 offset)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160735 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 15:10:37 +00:00
Sergey Vladimirov
4f66b1ced4 do not test ex45698-22488.xls -- requires too much memory
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160703 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 14:16:07 +00:00
Sergey Vladimirov
d343cc6574 fix NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160596 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 09:26:37 +00:00
Sergey Vladimirov
4e49b3b13c update paragraph rebuilding for case when empty papx [n; n) happens at the end of file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160589 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 09:07:30 +00:00
Sergey Vladimirov
419d505619 update assertion condition for case where empty PAPX appears at the start of document, i.e. [0; 0)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160587 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 08:52:37 +00:00
Sergey Vladimirov
1190b117c5 update test case after colors conversion fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160585 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 08:48:51 +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
39d5fc7ceb add page breaks support; fix paragraphs-in-bookmarks handling
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160288 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:01:49 +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
f375297e20 handle colors with opacity
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160220 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:52:11 +00:00
Sergey Vladimirov
4a9c633058 better log message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160219 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:51:56 +00:00
Sergey Vladimirov
812f583412 do not interrupt if unable to process document title / meta(s)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160207 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:25:41 +00:00
Maxim Valyanskiy
583fb49254 HWPF: Range: fix incorrect assert that breaks Tika build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160202 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:08:54 +00:00
Sergey Vladimirov
ec3ab612c8 handling case with overlapping bookmarks and fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160201 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 11:07:06 +00:00
Sergey Vladimirov
50c5c7a98b slightly better log message
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160154 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 09:10:07 +00:00
Sergey Vladimirov
2ae382b2c9 refix 51686 - fix possible NPE, add writeTo() to ObjectPoolImpl.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160152 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 08:55:21 +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
0c3cb7008f fix 51678 -- Extracting text from Bug51524.zip is slow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1159245 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 14:30:15 +00:00
Sergey Vladimirov
2acd64779a fix 51678 -- Extracting text from Bug51524.zip is slow
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1159244 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 14:29:59 +00:00
Sergey Vladimirov
8ea6b350e8 fix 51671 - HWPFDocument.write based on NPOIFSFileSystem throws a NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1158754 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 14:53:28 +00:00
Sergey Vladimirov
7efd316c75 translate almost any number to english and roman letters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1158701 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 13:47:51 +00:00
Sergey Vladimirov
6f5beef801 do not throw exception if ExtractorFactory is available in classpath, but xbean.jar not
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1158626 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 11:06:42 +00:00
Sergey Vladimirov
8fdb655c4a simplify API to Word file's part processing, like includint page headers / footers into plain text and HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156823 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 20:50:42 +00:00
Sergey Vladimirov
79ecde0c88 reuse existing POIFS of hwpf document to preserve all OLE streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156727 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 18:49:35 +00:00
Sergey Vladimirov
3c5ee45591 dump OLE2 streams
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156682 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 17:16:07 +00:00
Sergey Vladimirov
7f72be652e fix issues related to document properties loading and saving
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156662 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 16:37:31 +00:00
Sergey Vladimirov
f7b888743f fix stylesheet saving
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156629 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 14:29:29 +00:00
Sergey Vladimirov
3cbe7923e5 fix document parts boundaries modifications on text changes (in FIB)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156616 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 13:55:35 +00:00
Yegor Kozlov
bde41cbbe6 fixed missing ASF licence headers
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1156541 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 08:47:58 +00:00
Sergey Vladimirov
339e6e29fa simplify HTML CSS creation code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155357 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:25:56 +00:00
Sergey Vladimirov
73bfd88166 update test case for 41898 issue
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155347 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:04:28 +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
6538ace5c6 new word-to-text converter can handle OLE2 included objects, so issue 47731 is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155337 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:42:34 +00:00
Sergey Vladimirov
1d9900c184 Add Word-to-Text converter and use it as replacement for WordExtractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155336 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 12:38:52 +00:00
Sergey Vladimirov
b47081db42 add Word-to-Text converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155281 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 09:25:59 +00:00
Sergey Vladimirov
13068a00b2 allow to disable document rebuilding and use it in HWPF Lister
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155262 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 08:37:21 +00:00
Sergey Vladimirov
9d434a3667 main() method seems never worked neither documented. removed.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155249 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 08:14:19 +00:00
Sergey Vladimirov
1c04bacc34 restore (merge, cleanup and move to dev. package) XSLT utilities classes for model classes autogeneration.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155242 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 07:48:13 +00:00
Sergey Vladimirov
efceea044f deprecate org.apache.poi.hdf package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155233 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 07:00:02 +00:00
Sergey Vladimirov
f121ef99a2 mak HWPFLister as (eternal) @Beta
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155218 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:54:48 +00:00
Sergey Vladimirov
9f975dbc25 mark classes from org.apache.poi.hwpf.model (and subpackages) as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155217 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:53:28 +00:00
Sergey Vladimirov
9c46b3115a mark org.apache.poi.hwpf.converter classes as @Beta
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155216 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:45:20 +00:00
Sergey Vladimirov
0041b4dbd2 mark org.apache.poi.hwpf.sprm package classes as @Internal
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155215 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:43:57 +00:00
Sergey Vladimirov
8b6d31c903 add non-deprecated method insertTableBefore to Range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155214 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:34:46 +00:00
Sergey Vladimirov
653bf768e8 add TestBugs to AllHWPFTests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155212 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:20:07 +00:00
Sergey Vladimirov
215b57dfcf backlink used doc's stringbuilder and singlenton TextPiece from TextPieceTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155210 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:17:35 +00:00
Sergey Vladimirov
7a333045e5 replace StringBuffer with StringBuilder in TextPiece
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155208 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 05:00:09 +00:00
Sergey Vladimirov
d7a0a6ee85 extract Bugzilla tests from TestProblems into TestBugs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1155205 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 04:46:36 +00:00
Sergey Vladimirov
ac9e2ed234 fix javadoc encoding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152162 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 10:59:00 +00:00
Sergey Vladimirov
d573d6f815 escherTertiaryOptRecord.lookup() added, thanks yegor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152127 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 07:02:20 +00:00
Yegor Kozlov
d7fa3d56ee fixed compilation errors
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1152103 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 04:54:34 +00:00
Sergey Vladimirov
473c51d4ea expose additional shape properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151917 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 16:39:47 +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
e3682b766f fix compilation error
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151879 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 14:43:18 +00:00
Sergey Vladimirov
4120b5eb9e fix escher info dump
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151862 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 14:21:40 +00:00
Sergey Vladimirov
33fa99951b add initial code for office drawings (and pictures saved as such drawings)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151845 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 13:46:57 +00:00
Sergey Vladimirov
45b4dc4a88 rename fileManager variable of type PicturesManager to picturesManager
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151770 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 09:06:56 +00:00
Sergey Vladimirov
aeeed4ee06 fix picture matching procedure
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151766 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 08:49:38 +00:00
Sergey Vladimirov
b958f6fb8c Bug 47286 were fixed, update test case
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151761 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 08:32:13 +00:00
Sergey Vladimirov
5895434e97 simplify image processing interface for WordConverters, add PictureManager interface
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 08:26:59 +00:00
Sergey Vladimirov
0f1c11c113 output language in (Word) XSL FO
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151511 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 15:57:45 +00:00
Sergey Vladimirov
c831bc24f8 fix 47286 - Word documents saves in wrong format if source contains form elements
correctly translate char=>byte on saving CHPX and PAPX tables

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 13:58:05 +00:00
Sergey Vladimirov
c10da4c31a replace ComplexFileTable with single-element-one right after load; replace text piece table as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150675 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 12:58:09 +00:00
Sergey Vladimirov
1cebb31e23 autoformat, sort members and cleanup code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150637 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:33:42 +00:00
Sergey Vladimirov
689ef50fbf move rebuild actions to new methods (in future - to new classes)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150635 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:31:16 +00:00
Sergey Vladimirov
efdd335f77 fix array index out of bound exception
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150631 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:19:50 +00:00
Sergey Vladimirov
e209244316 update assertion in PAPBinTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150628 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:02:03 +00:00
Sergey Vladimirov
b247763259 fix: sort bookmarks start indices
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150624 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:40:47 +00:00
Sergey Vladimirov
89012851da correctly hangle out-of-boundaries cases for bookmarks and fields in Word-to-* converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150622 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 10:40:02 +00:00
Sergey Vladimirov
201a782435 support text colors in Word-to-HTML and Word-to-FO converters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150612 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:57:53 +00:00
Sergey Vladimirov
676c39dad0 add Colorref structure and use it to store color information in CHP(X)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150606 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:39:07 +00:00
Sergey Vladimirov
4d8a410fbe correctly handle overlapping fields and bookmarks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1150601 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 09:08:00 +00:00