Commit Graph

882 Commits

Author SHA1 Message Date
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
11d065a01a fix compiler warning ("unmappable character for encoding ASCII")
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144197 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 08:54:13 +00:00
Sergey Vladimirov
eb1dd34245 fix TestPAPBinTable
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144177 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:53:14 +00:00
Sergey Vladimirov
296583c971 dump text run properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143895 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:59:20 +00:00
Sergey Vladimirov
8f6a4fd533 CharacterSprmUncompressor extends SprmUncompressor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143894 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 15:58:17 +00:00
Sergey Vladimirov
0bf2eb9d6c update CHP type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143838 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:15:03 +00:00
Sergey Vladimirov
a69d691581 dump text runs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143837 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 14:14:37 +00:00
Sergey Vladimirov
78a951143f support Word95 files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143822 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 13:43:29 +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
dd2005da09 fix 47563 - Exception when working with table
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143802 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:52:57 +00:00
Sergey Vladimirov
d6d163fd96 fix 47287 - StringIndexOutOfBoundsException in CharacterRun.replaceText()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143786 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 12:11:53 +00:00
Sergey Vladimirov
f19392c371 Bug 46817 - Regression: Text from some table cells missing is fixed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143772 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:41:53 +00:00
Sergey Vladimirov
9a5143cf4f fail() shall throw Error, not AssertionError (which is ignored)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143771 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:39:30 +00:00
Sergey Vladimirov
3c2f15b9ff add content of main text box to document text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143769 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:38:59 +00:00
Sergey Vladimirov
814aed073e uncomment lines, that were temporary commented for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143760 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:09:47 +00:00
Sergey Vladimirov
2dc223b9e9 allow bad properties parsing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143758 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:04:59 +00:00
Sergey Vladimirov
4abb3c6e51 add / update documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143756 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:56:46 +00:00
Sergey Vladimirov
e325f0d084 fix generics warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143754 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:41:42 +00:00
Sergey Vladimirov
bbbea8860d fix test case for 45473: calculate PAPX boundaries basing on char positions, not on previously read byte positions (they are outdated); fix boundaries checks (again)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143753 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 10:39:27 +00:00
Sergey Vladimirov
d1eb54b129 fix generics warning
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143740 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:59:51 +00:00
Sergey Vladimirov
92e9201b77 add ability to dump text pieces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143734 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:51:42 +00:00
Sergey Vladimirov
4c9a35ee4d add toString() methods to PieceDescriptor and TextPiece; add hashCode() to PieceDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143733 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:51:21 +00:00
Sergey Vladimirov
65787fc1b9 update test: according to file dump, last row char is 85, so end offset is 86, not 87.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143725 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:25:34 +00:00
Sergey Vladimirov
4c670a3efe fix: too many PAPX were dropped due to too strict boundary checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143720 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:16:26 +00:00
Sergey Vladimirov
d7596a864f always output overall range
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143710 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:37:03 +00:00
Sergey Vladimirov
0de832ba9d add getOverallRange() method definition to HWPFDocumentCore
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143709 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:35:51 +00:00
Sergey Vladimirov
25f3636438 correctly detect cells of inner tables, do not include last "fake" cell in row
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143707 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:24:55 +00:00
Sergey Vladimirov
b3def16e9a add javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143706 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:24:22 +00:00
Sergey Vladimirov
8979236b05 print paragraph number
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143704 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:14:45 +00:00
Sergey Vladimirov
e465a37e16 update PAPAbstractType, adding field descriptions
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143701 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:05:38 +00:00
Sergey Vladimirov
dde8c709a7 initialize more TAPAbstractType fields to prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143694 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:39:53 +00:00
Sergey Vladimirov
f0c8d0520c fix package: org.apache.poi.hssf.usermodel.converter -> org.apache.poi.hssf.converter
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143689 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:33:20 +00:00
Sergey Vladimirov
755cea3d76 add empty rdf:about to rdf:Description
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143331 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 10:36:30 +00:00
Sergey Vladimirov
67ff6e3513 output document properties to html and pdf
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143314 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 09:37:32 +00:00
Sergey Vladimirov
fc3c8fcf10 fix lost cell properties (and row shift)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143079 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:35:54 +00:00
Sergey Vladimirov
afa392e8c8 add test case for lost cell properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143077 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:35:36 +00:00
Sergey Vladimirov
8ac3172759 rewrite table bounds detection for Word 97, including inner table support
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143070 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:13:27 +00:00
Sergey Vladimirov
fa46737e44 ignore PAPX if they references non-existing text parts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143069 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:12:16 +00:00
Sergey Vladimirov
320a3ab737 fix range detection for documents with section across document parts.
Bug46817.doc is the example of document where section contains all document parts - including main part and additional from textbox. Previous implemenetation didn't correctly calculate last paragraph for Section (intersection of SEPX and main document range). Test case is added.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143014 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 12:02:02 +00:00
Sergey Vladimirov
d24bfcea93 handle empty strings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143012 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:58:50 +00:00
Sergey Vladimirov
34436d6ec7 add Section.toString() for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143011 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:58:24 +00:00
Sergey Vladimirov
e1e99605de add SEPX.toString() for debug purposes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142979 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 11:02:30 +00:00
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