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
6a8223f0de
update status
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143774 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 11:46:41 +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
Nick Burch
ad4cef7557
More elapsed time unit tests
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143737 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 09:53:36 +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
5aaeaeb6b3
update status
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143716 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 08:51:10 +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
0b6a1c5980
ignore standard Eclipse IDE files (.sessings, .project, .classpath)
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143691 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 07:35:28 +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
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
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
Nick Burch
a9dbb3be09
Fix bug #51474 - SXSSF handling for null strings
...
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143059 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 13:42:08 +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