Commit Graph

840 Commits

Author SHA1 Message Date
Sergey Vladimirov
8bbbf6996f correct range calculation for non-complex file
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142977 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 10:58:04 +00:00
Sergey Vladimirov
0e6e9f649c manually test Bug33519.doc
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142882 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:04:18 +00:00
Sergey Vladimirov
2cbeb04781 sometimes there is a lag between text pieces; for example
[0; 2), [2; 4), [6,8)
previous implementation correctly calculates next(2)=>2, but incorrectly next(4)=>4 (need to be 6).

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142881 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:03:53 +00:00
Sergey Vladimirov
9b69954212 add additional sanity checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142880 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 03:02:12 +00:00
Sergey Vladimirov
efd149c834 fix inner tables handling by Range.getTable() method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142877 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 02:17:54 +00:00
Sergey Vladimirov
65881d12ea fix test suite name (for better IDEs compatibility)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142875 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:53:06 +00:00
Sergey Vladimirov
efb7a720aa add isEmpty() method to TALS and handle it by SPRM 0x740a compressor to preserve old behavior:
do not add 0x740a SPRM if TALS is empty

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142874 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:51:15 +00:00
Sergey Vladimirov
02672056d8 simplify table converting; fix bug that prevents table from AIOOB-Tap.doc to be converted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142872 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:44:29 +00:00
Sergey Vladimirov
d2e2970e07 allow user to check table level from Table class (not only from Paragraph), so table processing code is simplified
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142871 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:40:39 +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
Sergey Vladimirov
6abfa5742a rename PAP structure fields according to specification
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142864 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 01:11:42 +00:00
Sergey Vladimirov
f5c03d6194 add additional options and features to HWPFLister, enabling PAPX and paragraphs (including SPRMs) information dump
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142861 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:48:53 +00:00
Sergey Vladimirov
68aef63742 add or improve toString() methods of several classes for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142860 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:48:00 +00:00
Sergey Vladimirov
b8ff8ac945 add SprmOperation.toString() for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142859 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 00:46:42 +00:00
Sergey Vladimirov
e41354dcd5 fix warning about cast
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142836 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:36:52 +00:00
Sergey Vladimirov
fbbc482d44 fix warning about generics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142835 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:36:27 +00:00
Sergey Vladimirov
bc0abec2c4 add additional TableProperties; implement TableAutoformatLookSpecifier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142827 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 22:21:10 +00:00
Sergey Vladimirov
ffee3c2c50 add Excel-to-HTML converter (with test suite)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142780 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:49:13 +00:00
Sergey Vladimirov
679c2b403e remove unused method
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:20:20 +00:00
Sergey Vladimirov
70d42bbd9e rename extractor -> converter and move to converter package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142767 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:14:44 +00:00
Sergey Vladimirov
4fbd693851 add Word-to-HTML extractor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142765 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:08:06 +00:00
Sergey Vladimirov
2b97a034fe warn and skip wrong type SPRM
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142764 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:06:20 +00:00
Sergey Vladimirov
89a5e4c11c extract private getCharacterRun method with CHPX as parameter (used with reflection in workaround in AbstractWordUtils)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142763 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:05:40 +00:00
Sergey Vladimirov
1c0d6a5d09 workaround for NPE caused by old Word format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142762 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:04:26 +00:00
Sergey Vladimirov
ed7c3eeb07 add toString() to BorderCode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142761 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:04:08 +00:00
Sergey Vladimirov
a57c397517 workaround for NPE caused by old Word format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 19:03:45 +00:00
Maxim Valyanskiy
e1b483d6ac hwpf: ignore ArrayIndexOutOfBoundsException in TableSprmUncompressor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1141490 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 11:46:27 +00:00
Yegor Kozlov
e4cd5a5b00 cleanup sxxsf temp files after tests, remove non-ascii characters from source code, polished test output
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139518 13f79535-47bb-0310-9956-ffa450edef68
2011-06-25 10:56:46 +00:00
Nick Burch
23077dfb49 Add a unit test to show that bug #49648 no longer occurs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1139245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 11:18:49 +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
Yegor Kozlov
aac4cf50a9 Bug 51351 - more progress with WordToFoExtractor: fix ListEntryNoListTable and MBD001D0B89 tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138836 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 11:28:31 +00:00
Yegor Kozlov
d45f22ad8d Bug 51424 - Ignore exceptions in ParagraphSprmUncompressor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1138834 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 11:21:05 +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
2761d5a900 junit test for sprm, added missing line from r1137143
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137538 13f79535-47bb-0310-9956-ffa450edef68
2011-06-20 08:01:23 +00:00
Yegor Kozlov
545cde3374 Support for sprmPJc paragraph SPRM and handling of additional properties in ParagraphSprmCompressor, see Bugzilla 51389 and 51390
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1137143 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 08:57:10 +00:00
Yegor Kozlov
cbb3176c72 more progress with WordToFoExtractor, see Bugzilla 51351
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1136001 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:41:22 +00:00
Yegor Kozlov
3c34797e0a Bugzilla 51351: Word to XSL-FO converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135414 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:53:00 +00:00
Nick Burch
6f3f1a479e Fix deprecated warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1135118 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:46:21 +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
65cfe469b0 Bug 51305: Add sprmTCellPaddingDefault support; Update Table Cell Descriptor, make it non-from-file;
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132616 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 12:43:17 +00:00
Yegor Kozlov
866a7bf272 cleaned javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1132549 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 08:45:06 +00:00
Nick Burch
f3b6cc03d4 Patch from Sergey from bug #51292 - Additional HWPF Table Cell descriptor values
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1129690 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 14:21:32 +00:00
Maxim Valyanskiy
98860bdcec hwpf: ignore invalid style reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1095664 13f79535-47bb-0310-9956-ffa450edef68
2011-04-21 11:49:03 +00:00
Nick Burch
aad03b8cd3 Tweak 7 bit guessing code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087788 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 16:27:03 +00:00
Nick Burch
9f40e3df71 Improve HSMF MAPIMessage access to the HTML and RTF versions of the message body (where available)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087782 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 16:01:29 +00:00
Nick Burch
002d0a5995 Add new method to HSMF of MAPIMessage.has7BitEncodingStrings() to make it easier to decide when encoding guessing is needed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087746 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 15:20:07 +00:00
Nick Burch
a0b9fb350b Update OutlookTextExtractor to request 7 bit encoding guessing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087734 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 15:02:14 +00:00
Nick Burch
43d5e715d3 Improve HSMF encoding guessing for 7 bit fields, and allow HSMF access to the HTML body contents in MAPIMessage
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1087726 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 14:51:45 +00:00
Nick Burch
2a295bf8ea More NPOIFS constructors, and document recent fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085501 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:17:45 +00:00
Nick Burch
e43a1777ed Fix HPBF generics warnings, and add a NPOIFS check to the HPBF tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085495 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:03:18 +00:00
Nick Burch
64185cd51c More NPOIFS Constructor updates
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085447 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:21:09 +00:00
Nick Burch
535e69dea4 Fix generics warnings, and make the NPOIFS and deprecated constructor parts of Publisher clearer and consistent with other parts
Also fix a test filename


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1085443 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:06:11 +00:00
Nick Burch
a638f0a9ad Strip trailing padding from HMEF compressed rtf when decoding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1081414 13f79535-47bb-0310-9956-ffa450edef68
2011-03-14 15:11:03 +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
Nick Burch
20eea4a872 Refactor the HMEF contents checks to use a superclass, and stub out the Rtf Message body tests (disabled as there looks to be a padding issue still to solve)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078304 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:37:24 +00:00
Nick Burch
0df8c11c4b Two more differences between the LZW in HDGF and HMEF:
* Little Endian vs Big Endian storage of the code position
 * Initial dictionary position is the end of pre-fill, if there is one, rather than always being position 0


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1078300 13f79535-47bb-0310-9956-ffa450edef68
2011-03-05 15:25:39 +00:00
Nick Burch
f050cf6eeb Setting the locale doesn't seem to set the timezone, so do that explicitly to ensure the tests behave for everyone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077874 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:06:59 +00:00
Nick Burch
8e1411c194 Fix a couple of license headers, and tweak the rat settings so it runs clean
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1077865 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 11:00:13 +00:00
Nick Burch
bbfa85f807 Tweak the attribute getter names on Attachments, and add MAPI+TNEF Attribute unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076685 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 17:06:37 +00:00
Nick Burch
efe5a63429 Add a TNEF extractor class, which can be run from the command line to extract out the message body and attachments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076607 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 13:01:07 +00:00
Nick Burch
aa1963cd3b Improve HMEF handling of typed attributes (Strings and Dates), for both TNEF and MAPI attributes, and use this to allow easier access to common file parts. Then use this in the attachment unit tests.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076603 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 12:41:39 +00:00
Nick Burch
145de166a1 Switch HMEF attributes to a factory scheme for creation, then add subtypes for cleaner code. Also adds a few more tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076310 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 17:52:12 +00:00
Nick Burch
20f6e280a5 Refactor the TNEF Attributes to better match the MAPI ones, and move both into their own package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1076251 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 15:25:35 +00:00
Nick Burch
649df30b76 Start on unit tests for HMEF. Quite a bit is still stubbed out, and it shows that the LZW isn't quite right yet (so tests disabled)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1075955 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 18:12:44 +00:00
Nick Burch
3937b2f310 Switch Picture processing in HSLFSlideShow to be lazy-loading, to speed things up if you're only interested in text stuff
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1073883 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 19:01:24 +00:00
Maxim Valyanskiy
e325b96167 hwpf: ignore invalid style reference
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1065538 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 09:55:10 +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
Maxim Valyanskiy
9269c0850c hwpf: ignore incorrect ListFormatOverride reference that causes IndexOutOfBoundException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1064110 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 12:42:12 +00:00
Nick Burch
89df31493c Start on TNEF RTF attribute decompression, but not quite finished yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058555 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 13:53:02 +00:00
Nick Burch
9d2b9caa33 Add support for custom MAPI Properties (0x8000 and above, plus unknown lower ones)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058262 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 18:14:49 +00:00
Nick Burch
1d5f5c311a HMEF dumping and properties tweaks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058243 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 17:22:40 +00:00
Nick Burch
fd16797edd Start to decode the MAPI Properties in the TNEF stream for HMEF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058226 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 16:45:02 +00:00
Maxim Valyanskiy
5f669d2a4d hwpf: fix ArrayIndexOutOfBoundsException in Range.getCharacterRun() (TIKA-577)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058176 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 15:16:50 +00:00
Nick Burch
4358a18407 MAPIProperty is a better fit name for HSMF, so change the name before it gets too widely used
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058116 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 12:45:51 +00:00
Nick Burch
112b2b584e Copy the MAPI type information over completely to HSMF
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1058114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 12:43:25 +00:00
Nick Burch
babc3f173e More converting of HSMF code to use strongly type attributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057712 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 16:11:23 +00:00
Nick Burch
5fa971d0bf Add a HSMF dev tool for listing the chunks with their types and names
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057708 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 16:01:42 +00:00
Nick Burch
d9197ba3a4 Start converting HSMF code to use the new strongly type MAPIAttribute class for lookups, and add a dev class for listing the defined attributes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057698 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 15:35:29 +00:00
Nick Burch
7978095929 Create a new HSMF MAPI Attributes class to hold the attribute list in a strongly typed way, based on the MSDN published properties list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1057665 13f79535-47bb-0310-9956-ffa450edef68
2011-01-11 14:42:40 +00:00
Nick Burch
2d583f4e3f Tweak HSLF and HWPF to work well with NPOIFS, and add unit tests for this
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1054191 13f79535-47bb-0310-9956-ffa450edef68
2011-01-01 05:42:36 +00:00
Nick Burch
f2b541e026 Since a DirectoryNode has a reference to the underlying POIFSFileSystem, tidy up the POIDocument constructor to not need both passing in
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1053521 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 03:19:46 +00:00
Nick Burch
c3c4e4f2f7 Add initial low level code for HMEF, an implementation of TNEF (aka winmail.dat). Currently processes core attributes, but not embedded MAPI ones, and still needs to do more for extraction
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051756 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 05:04:19 +00:00
Nick Burch
d2583d83d5 Refactor the common LZW decompression code out into utils
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051377 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 05:18:34 +00:00
Nick Burch
59130c6193 Add a couple more chunk types
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1051006 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 07:18:31 +00:00
Nick Burch
cbf86ed0bc Improve the HDGF LZW code.
Some tweaks to the decompression, and more tests, but mostly work on the compression side. We can now compress small streams properly, and these round-trip fine. However, some longer streams don't compress correctly, and more work on that is still needed (see the disabled unit test)


git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1049805 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 07:41:41 +00:00
Yegor Kozlov
9d56b17ace moved ptg classes to org.apache.poi.ss.formula.ptg
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1038691 13f79535-47bb-0310-9956-ffa450edef68
2010-11-24 16:54:26 +00:00
Maxim Valyanskiy
1c64221e5a hwpf: Ignore null argument in PicturesTable.hasPicture
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1037670 13f79535-47bb-0310-9956-ffa450edef68
2010-11-22 11:10:01 +00:00
Maxim Valyanskiy
381b6641b6 hwpf: IndexOutOfBoundsException in Range.findRange when list contains only nulls
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1036850 13f79535-47bb-0310-9956-ffa450edef68
2010-11-19 14:09:13 +00:00
Nick Burch
e0ec632d69 Slightly expand tests, inspired by bug #50060, but ultimately show there is a deeper issue outstanding
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1026399 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 16:41:02 +00:00
Nick Burch
d2d0c131c0 Fix more HSLF generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024420 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:25:41 +00:00
Nick Burch
392a97fef4 Fix more HSLF generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024411 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 21:01:54 +00:00
Nick Burch
2ece9ad04b Fix more HSLF generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024390 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 20:12:19 +00:00
Nick Burch
a954289390 Fix some HSLF generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024368 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 19:22:24 +00:00
Nick Burch
40c968c111 Add a couple of methods to help make debugging problems in hwpf easier
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1024302 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 16:05:16 +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
19be0174ee fixed unmappable characters for ASCII
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1006161 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:47:53 +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
Yegor Kozlov
b53e0ba59c support for processing of symbols in HWPF, see Bugzilla 49908
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1005443 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 13:40:58 +00:00
Yegor Kozlov
adefc926c1 cleaned javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1004934 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 08:55:30 +00:00