Commit Graph

4406 Commits

Author SHA1 Message Date
Sergey Vladimirov
1272107604 sort CHPX / PAPX / SEPX tables for Word95 files as well
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144680 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:42:37 +00:00
Sergey Vladimirov
c2d4b6babe sort PAPX and SEPX after loading
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144679 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:38:42 +00:00
Sergey Vladimirov
2857dc155c better way to check if CPHX references any part of text
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144676 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:25:25 +00:00
Sergey Vladimirov
de7cdb2540 add toString() and isEmpty() to ShadingDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144661 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 12:10:09 +00:00
Sergey Vladimirov
83f87437c0 output text of CHPX
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 12:09:51 +00:00
Sergey Vladimirov
829a9d18f9 make sure all complex properties are correctly initialized and cloned
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144654 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:39:02 +00:00
Sergey Vladimirov
d4e15abb05 add public clone()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144652 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:36:42 +00:00
Sergey Vladimirov
ddff2fc8ee add public clone()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144651 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:36:11 +00:00
Sergey Vladimirov
de22f56bec improve DropCapSpecifier, add field getters/setters, toString(), isEmpty(), hashCode(), equals()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144649 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:34:16 +00:00
Sergey Vladimirov
a5e5b26013 add isEmpty() and toString() to DateAndTime
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144645 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:26:00 +00:00
Sergey Vladimirov
2a96d74ace add isEmpty() and toString() to LineSpacingDescriptor
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144644 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:24:02 +00:00
Sergey Vladimirov
1eba38d7cf fix the same problem with SPX and move deprecation to BytePropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144641 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:14:53 +00:00
Sergey Vladimirov
d07d8ec7f7 fix the same problem as with PAPX -- CHPX shall be stored based on text positions, not on bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144638 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 11:08:45 +00:00
Sergey Vladimirov
3e5fd147eb fix compilation problem on JDK 6
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144631 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 10:31:20 +00:00
Sergey Vladimirov
fce856c75c fix comparator
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:51:46 +00:00
Sergey Vladimirov
6845dab8b3 organize imports
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144363 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:50:06 +00:00
Sergey Vladimirov
338cf7bc4d additional check and workaround for wrong order (fix TestWordExtractorBugs.testBug50688)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144361 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:41:40 +00:00
Sergey Vladimirov
a496e6c0fa one of problems linked to 47286 seems to be found -- some CHPX were not saved
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144352 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 15:08:02 +00:00
Nick Burch
ee866292d9 Fix bug #51469 - XSSF support for row styles, to match existing HSSF functionality
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144348 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:58:08 +00:00
Sergey Vladimirov
026ef97694 add test case to check if email from Bug47286.doc is present in HTML
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144341 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:37:42 +00:00
Sergey Vladimirov
dcf5427b8a simplify work with fields
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144337 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:33:01 +00:00
Sergey Vladimirov
63c571ca1f add user-friendly way to access field properties if char is a beginning of field
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144336 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:32:20 +00:00
Sergey Vladimirov
34b6794422 sort CHPX on load (sometimes out of order)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144333 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:31:25 +00:00
Nick Burch
fa1e0a0b1d Apply patch from bug #51476 - Correct XSSF cell formatting in HTML export
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144331 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:27:21 +00:00
Nick Burch
7f5bd44d98 Patch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support for adding footnotes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144308 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:25:00 +00:00
Nick Burch
361fe3eb42 XWPF Numbering tests from bug #51134
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144303 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 13:12:53 +00:00
Sergey Vladimirov
189f4c0a09 add toString method to GenericPropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144283 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:18:48 +00:00
Sergey Vladimirov
5c8219c777 simplify PlexOfField by using GenericPropertyNode
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:18:36 +00:00
Sergey Vladimirov
65f24a120b save document fields, but Bug47286 looks better, but still not the save
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144275 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 11:54:51 +00:00
Sergey Vladimirov
2abc7aa436 update TestFieldsTables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144251 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:54:19 +00:00
Sergey Vladimirov
2d46ded6b7 more correct definition of FLD, preserving reserved bits
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144249 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:53:58 +00:00
Sergey Vladimirov
b5de84932e fix test for 47286
now it will fail if bug is fixed

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144235 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:04:03 +00:00
Sergey Vladimirov
1f37d4db1a add documentation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144233 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 10:01:16 +00:00
Sergey Vladimirov
33cb2db6dd make getSize() static
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144229 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:55:25 +00:00
Sergey Vladimirov
d1c0ea5578 refactor FieldDescriptor to be based on autogenerated code
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144224 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 09:49:47 +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
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
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