Commit Graph

4572 Commits

Author SHA1 Message Date
Sergey Vladimirov
26c1fa750d push boundaries checks down, removing deprecation warnings, remove (unused) cpMin (Word XP) hack
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145075 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:57:42 +00:00
Sergey Vladimirov
55c6850928 specify font size metric (pt)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145062 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:18:43 +00:00
Sergey Vladimirov
1151cd8b9e fix CSS error in word-to-html
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145061 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 08:14:30 +00:00
Sergey Vladimirov
df9d0a036e fox compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144924 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:05:11 +00:00
Sergey Vladimirov
365134f1bd remove unused parameters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144923 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:04:17 +00:00
Sergey Vladimirov
b0407b8048 fix generic warnings
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144920 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 18:00:06 +00:00
Sergey Vladimirov
ba0be2ca2d fix Word6/95 test cases: in old format boundaries in SEPX refers to chars, not to bytes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144857 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:08:11 +00:00
Sergey Vladimirov
a5407bd08f add toString() to PlexOfCps
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144856 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 13:07:41 +00:00
Sergey Vladimirov
4a0c0f2898 NP check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144853 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 12:59:28 +00:00
Sergey Vladimirov
b3c475a8df more WARNs in log
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144852 13f79535-47bb-0310-9956-ffa450edef68
2011-07-10 12:56:36 +00:00
Sergey Vladimirov
6b96874866 shortcut for test case to allow loading bad structure of CHP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144691 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:10:57 +00:00
Sergey Vladimirov
bb9b395b69 Same workaround for CHPX / SEPX, as for PAPX. Disable SPRM processing for Word95 files.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144689 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 16:04:46 +00:00
Sergey Vladimirov
91f3ea74b9 update status and .doc for issue 49933
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144685 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:37:04 +00:00
Sergey Vladimirov
b95ff1310d make sure at least English text is extracted
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144684 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:36:05 +00:00
Sergey Vladimirov
f23c8a021a temporary(?) workaround for Bug 49933 - Word 6/95 documents with sections cause ArrayIndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144683 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 15:33:41 +00:00
Sergey Vladimirov
530a209d01 add the same boundaries check to CHPX / PAPX / SEPX for Word95 as for Word97
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144681 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 14:47:19 +00:00
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