]> source.dussan.org Git - poi.git/log
poi.git
13 years agoNP check
Sergey Vladimirov [Sun, 10 Jul 2011 12:59:28 +0000 (12:59 +0000)]
NP check

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144853 13f79535-47bb-0310-9956-ffa450edef68

13 years agomore WARNs in log
Sergey Vladimirov [Sun, 10 Jul 2011 12:56:36 +0000 (12:56 +0000)]
more WARNs in log

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144852 13f79535-47bb-0310-9956-ffa450edef68

13 years agoshortcut for test case to allow loading bad structure of CHP
Sergey Vladimirov [Sat, 9 Jul 2011 16:10:57 +0000 (16:10 +0000)]
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

13 years agoSame workaround for CHPX / SEPX, as for PAPX. Disable SPRM processing for Word95...
Sergey Vladimirov [Sat, 9 Jul 2011 16:04:46 +0000 (16:04 +0000)]
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

13 years agoupdate status and .doc for issue 49933
Sergey Vladimirov [Sat, 9 Jul 2011 15:37:04 +0000 (15:37 +0000)]
update status and .doc for issue 49933

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144685 13f79535-47bb-0310-9956-ffa450edef68

13 years agomake sure at least English text is extracted
Sergey Vladimirov [Sat, 9 Jul 2011 15:36:05 +0000 (15:36 +0000)]
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

13 years agotemporary(?) workaround for Bug 49933 - Word 6/95 documents with sections cause Array...
Sergey Vladimirov [Sat, 9 Jul 2011 15:33:41 +0000 (15:33 +0000)]
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

13 years agoadd the same boundaries check to CHPX / PAPX / SEPX for Word95 as for Word97
Sergey Vladimirov [Sat, 9 Jul 2011 14:47:19 +0000 (14:47 +0000)]
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

13 years agosort CHPX / PAPX / SEPX tables for Word95 files as well
Sergey Vladimirov [Sat, 9 Jul 2011 14:42:37 +0000 (14:42 +0000)]
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

13 years agosort PAPX and SEPX after loading
Sergey Vladimirov [Sat, 9 Jul 2011 14:38:42 +0000 (14:38 +0000)]
sort PAPX and SEPX after loading

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144679 13f79535-47bb-0310-9956-ffa450edef68

13 years agobetter way to check if CPHX references any part of text
Sergey Vladimirov [Sat, 9 Jul 2011 14:25:25 +0000 (14:25 +0000)]
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

13 years agoadd toString() and isEmpty() to ShadingDescriptor
Sergey Vladimirov [Sat, 9 Jul 2011 12:10:09 +0000 (12:10 +0000)]
add toString() and isEmpty() to ShadingDescriptor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144661 13f79535-47bb-0310-9956-ffa450edef68

13 years agooutput text of CHPX
Sergey Vladimirov [Sat, 9 Jul 2011 12:09:51 +0000 (12:09 +0000)]
output text of CHPX

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68

13 years agomake sure all complex properties are correctly initialized and cloned
Sergey Vladimirov [Sat, 9 Jul 2011 11:39:02 +0000 (11:39 +0000)]
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

13 years agoadd public clone()
Sergey Vladimirov [Sat, 9 Jul 2011 11:36:42 +0000 (11:36 +0000)]
add public clone()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144652 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd public clone()
Sergey Vladimirov [Sat, 9 Jul 2011 11:36:11 +0000 (11:36 +0000)]
add public clone()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144651 13f79535-47bb-0310-9956-ffa450edef68

13 years agoimprove DropCapSpecifier, add field getters/setters, toString(), isEmpty(), hashCode...
Sergey Vladimirov [Sat, 9 Jul 2011 11:34:16 +0000 (11:34 +0000)]
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

13 years agoadd isEmpty() and toString() to DateAndTime
Sergey Vladimirov [Sat, 9 Jul 2011 11:26:00 +0000 (11:26 +0000)]
add isEmpty() and toString() to DateAndTime

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144645 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd isEmpty() and toString() to LineSpacingDescriptor
Sergey Vladimirov [Sat, 9 Jul 2011 11:24:02 +0000 (11:24 +0000)]
add isEmpty() and toString() to LineSpacingDescriptor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144644 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix the same problem with SPX and move deprecation to BytePropertyNode
Sergey Vladimirov [Sat, 9 Jul 2011 11:14:53 +0000 (11:14 +0000)]
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

13 years agofix the same problem as with PAPX -- CHPX shall be stored based on text positions...
Sergey Vladimirov [Sat, 9 Jul 2011 11:08:45 +0000 (11:08 +0000)]
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

13 years agofix compilation problem on JDK 6
Sergey Vladimirov [Sat, 9 Jul 2011 10:31:20 +0000 (10:31 +0000)]
fix compilation problem on JDK 6

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144631 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix comparator
Sergey Vladimirov [Fri, 8 Jul 2011 15:51:46 +0000 (15:51 +0000)]
fix comparator

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144366 13f79535-47bb-0310-9956-ffa450edef68

13 years agoorganize imports
Sergey Vladimirov [Fri, 8 Jul 2011 15:50:06 +0000 (15:50 +0000)]
organize imports

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144363 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadditional check and workaround for wrong order (fix TestWordExtractorBugs.testBug50688)
Sergey Vladimirov [Fri, 8 Jul 2011 15:41:40 +0000 (15:41 +0000)]
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

13 years agoone of problems linked to 47286 seems to be found -- some CHPX were not saved
Sergey Vladimirov [Fri, 8 Jul 2011 15:08:02 +0000 (15:08 +0000)]
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

13 years agoFix bug #51469 - XSSF support for row styles, to match existing HSSF functionality
Nick Burch [Fri, 8 Jul 2011 14:58:08 +0000 (14:58 +0000)]
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

13 years agoadd test case to check if email from Bug47286.doc is present in HTML
Sergey Vladimirov [Fri, 8 Jul 2011 14:37:42 +0000 (14:37 +0000)]
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

13 years agosimplify work with fields
Sergey Vladimirov [Fri, 8 Jul 2011 14:33:01 +0000 (14:33 +0000)]
simplify work with fields

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144337 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd user-friendly way to access field properties if char is a beginning of field
Sergey Vladimirov [Fri, 8 Jul 2011 14:32:20 +0000 (14:32 +0000)]
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

13 years agosort CHPX on load (sometimes out of order)
Sergey Vladimirov [Fri, 8 Jul 2011 14:31:25 +0000 (14:31 +0000)]
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

13 years agoApply patch from bug #51476 - Correct XSSF cell formatting in HTML export
Nick Burch [Fri, 8 Jul 2011 14:27:21 +0000 (14:27 +0000)]
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

13 years agoPatch from bug #51486 from Mike McEuen (with a few whitespace tweaks) - XWPF support...
Nick Burch [Fri, 8 Jul 2011 13:25:00 +0000 (13:25 +0000)]
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

13 years agoXWPF Numbering tests from bug #51134
Nick Burch [Fri, 8 Jul 2011 13:12:53 +0000 (13:12 +0000)]
XWPF Numbering tests from bug #51134

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144303 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd toString method to GenericPropertyNode
Sergey Vladimirov [Fri, 8 Jul 2011 12:18:48 +0000 (12:18 +0000)]
add toString method to GenericPropertyNode

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144283 13f79535-47bb-0310-9956-ffa450edef68

13 years agosimplify PlexOfField by using GenericPropertyNode
Sergey Vladimirov [Fri, 8 Jul 2011 12:18:36 +0000 (12:18 +0000)]
simplify PlexOfField by using GenericPropertyNode

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144282 13f79535-47bb-0310-9956-ffa450edef68

13 years agosave document fields, but Bug47286 looks better, but still not the save
Sergey Vladimirov [Fri, 8 Jul 2011 11:54:51 +0000 (11:54 +0000)]
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

13 years agoupdate TestFieldsTables
Sergey Vladimirov [Fri, 8 Jul 2011 10:54:19 +0000 (10:54 +0000)]
update TestFieldsTables

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144251 13f79535-47bb-0310-9956-ffa450edef68

13 years agomore correct definition of FLD, preserving reserved bits
Sergey Vladimirov [Fri, 8 Jul 2011 10:53:58 +0000 (10:53 +0000)]
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

13 years agofix test for 47286
Sergey Vladimirov [Fri, 8 Jul 2011 10:04:03 +0000 (10:04 +0000)]
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

13 years agoadd documentation
Sergey Vladimirov [Fri, 8 Jul 2011 10:01:16 +0000 (10:01 +0000)]
add documentation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144233 13f79535-47bb-0310-9956-ffa450edef68

13 years agomake getSize() static
Sergey Vladimirov [Fri, 8 Jul 2011 09:55:25 +0000 (09:55 +0000)]
make getSize() static

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144229 13f79535-47bb-0310-9956-ffa450edef68

13 years agorefactor FieldDescriptor to be based on autogenerated code
Sergey Vladimirov [Fri, 8 Jul 2011 09:49:47 +0000 (09:49 +0000)]
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

13 years agoTest case shall not fail
Sergey Vladimirov [Fri, 8 Jul 2011 09:06:33 +0000 (09:06 +0000)]
Test case shall not fail

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144202 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix compiler warning ("unmappable character for encoding ASCII")
Sergey Vladimirov [Fri, 8 Jul 2011 08:54:13 +0000 (08:54 +0000)]
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

13 years agofix TestPAPBinTable
Sergey Vladimirov [Fri, 8 Jul 2011 06:53:14 +0000 (06:53 +0000)]
fix TestPAPBinTable

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144177 13f79535-47bb-0310-9956-ffa450edef68

13 years agodump text run properties
Sergey Vladimirov [Thu, 7 Jul 2011 15:59:20 +0000 (15:59 +0000)]
dump text run properties

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143895 13f79535-47bb-0310-9956-ffa450edef68

13 years agoCharacterSprmUncompressor extends SprmUncompressor
Sergey Vladimirov [Thu, 7 Jul 2011 15:58:17 +0000 (15:58 +0000)]
CharacterSprmUncompressor extends SprmUncompressor

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143894 13f79535-47bb-0310-9956-ffa450edef68

13 years agoupdate CHP type
Sergey Vladimirov [Thu, 7 Jul 2011 14:15:03 +0000 (14:15 +0000)]
update CHP type

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143838 13f79535-47bb-0310-9956-ffa450edef68

13 years agodump text runs
Sergey Vladimirov [Thu, 7 Jul 2011 14:14:37 +0000 (14:14 +0000)]
dump text runs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143837 13f79535-47bb-0310-9956-ffa450edef68

13 years agosupport Word95 files
Sergey Vladimirov [Thu, 7 Jul 2011 13:43:29 +0000 (13:43 +0000)]
support Word95 files

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143822 13f79535-47bb-0310-9956-ffa450edef68

13 years agoalready fixed 48065 - Problems with save output of HWPF (losing formatting)
Sergey Vladimirov [Thu, 7 Jul 2011 13:13:04 +0000 (13:13 +0000)]
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

13 years agofix 47563 - Exception when working with table
Sergey Vladimirov [Thu, 7 Jul 2011 12:52:57 +0000 (12:52 +0000)]
fix 47563 - Exception when working with table

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143802 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix 47287 - StringIndexOutOfBoundsException in CharacterRun.replaceText()
Sergey Vladimirov [Thu, 7 Jul 2011 12:11:53 +0000 (12:11 +0000)]
fix 47287 - StringIndexOutOfBoundsException in CharacterRun.replaceText()

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143786 13f79535-47bb-0310-9956-ffa450edef68

13 years agoupdate status
Sergey Vladimirov [Thu, 7 Jul 2011 11:46:41 +0000 (11:46 +0000)]
update status

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143774 13f79535-47bb-0310-9956-ffa450edef68

13 years agoBug 46817 - Regression: Text from some table cells missing is fixed
Sergey Vladimirov [Thu, 7 Jul 2011 11:41:53 +0000 (11:41 +0000)]
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

13 years agofail() shall throw Error, not AssertionError (which is ignored)
Sergey Vladimirov [Thu, 7 Jul 2011 11:39:30 +0000 (11:39 +0000)]
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

13 years agoadd content of main text box to document text
Sergey Vladimirov [Thu, 7 Jul 2011 11:38:59 +0000 (11:38 +0000)]
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

13 years agouncomment lines, that were temporary commented for debug purposes
Sergey Vladimirov [Thu, 7 Jul 2011 11:09:47 +0000 (11:09 +0000)]
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

13 years agoallow bad properties parsing
Sergey Vladimirov [Thu, 7 Jul 2011 11:04:59 +0000 (11:04 +0000)]
allow bad properties parsing

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143758 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd / update documentation
Sergey Vladimirov [Thu, 7 Jul 2011 10:56:46 +0000 (10:56 +0000)]
add / update documentation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143756 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix generics warnings
Sergey Vladimirov [Thu, 7 Jul 2011 10:41:42 +0000 (10:41 +0000)]
fix generics warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143754 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix test case for 45473: calculate PAPX boundaries basing on char positions, not...
Sergey Vladimirov [Thu, 7 Jul 2011 10:39:27 +0000 (10:39 +0000)]
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

13 years agofix generics warning
Sergey Vladimirov [Thu, 7 Jul 2011 09:59:51 +0000 (09:59 +0000)]
fix generics warning

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143740 13f79535-47bb-0310-9956-ffa450edef68

13 years agoMore elapsed time unit tests
Nick Burch [Thu, 7 Jul 2011 09:53:36 +0000 (09:53 +0000)]
More elapsed time unit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143737 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd ability to dump text pieces
Sergey Vladimirov [Thu, 7 Jul 2011 09:51:42 +0000 (09:51 +0000)]
add ability to dump text pieces

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143734 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd toString() methods to PieceDescriptor and TextPiece; add hashCode() to PieceDescr...
Sergey Vladimirov [Thu, 7 Jul 2011 09:51:21 +0000 (09:51 +0000)]
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

13 years agoupdate test: according to file dump, last row char is 85, so end offset is 86, not 87.
Sergey Vladimirov [Thu, 7 Jul 2011 09:25:34 +0000 (09:25 +0000)]
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

13 years agofix: too many PAPX were dropped due to too strict boundary checks
Sergey Vladimirov [Thu, 7 Jul 2011 09:16:26 +0000 (09:16 +0000)]
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

13 years agoupdate status
Sergey Vladimirov [Thu, 7 Jul 2011 08:51:10 +0000 (08:51 +0000)]
update status

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143716 13f79535-47bb-0310-9956-ffa450edef68

13 years agoalways output overall range
Sergey Vladimirov [Thu, 7 Jul 2011 08:37:03 +0000 (08:37 +0000)]
always output overall range

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143710 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd getOverallRange() method definition to HWPFDocumentCore
Sergey Vladimirov [Thu, 7 Jul 2011 08:35:51 +0000 (08:35 +0000)]
add getOverallRange() method definition to HWPFDocumentCore

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143709 13f79535-47bb-0310-9956-ffa450edef68

13 years agocorrectly detect cells of inner tables, do not include last "fake" cell in row
Sergey Vladimirov [Thu, 7 Jul 2011 08:24:55 +0000 (08:24 +0000)]
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

13 years agoadd javadocs
Sergey Vladimirov [Thu, 7 Jul 2011 08:24:22 +0000 (08:24 +0000)]
add javadocs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143706 13f79535-47bb-0310-9956-ffa450edef68

13 years agoprint paragraph number
Sergey Vladimirov [Thu, 7 Jul 2011 08:14:45 +0000 (08:14 +0000)]
print paragraph number

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143704 13f79535-47bb-0310-9956-ffa450edef68

13 years agoupdate PAPAbstractType, adding field descriptions
Sergey Vladimirov [Thu, 7 Jul 2011 08:05:38 +0000 (08:05 +0000)]
update PAPAbstractType, adding field descriptions

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143701 13f79535-47bb-0310-9956-ffa450edef68

13 years agoinitialize more TAPAbstractType fields to prevent NPE
Sergey Vladimirov [Thu, 7 Jul 2011 07:39:53 +0000 (07:39 +0000)]
initialize more TAPAbstractType fields to prevent NPE

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143694 13f79535-47bb-0310-9956-ffa450edef68

13 years agoignore standard Eclipse IDE files (.sessings, .project, .classpath)
Sergey Vladimirov [Thu, 7 Jul 2011 07:35:28 +0000 (07:35 +0000)]
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

13 years agofix package: org.apache.poi.hssf.usermodel.converter -> org.apache.poi.hssf.converter
Sergey Vladimirov [Thu, 7 Jul 2011 07:33:20 +0000 (07:33 +0000)]
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

13 years agoadd empty rdf:about to rdf:Description
Sergey Vladimirov [Wed, 6 Jul 2011 10:36:30 +0000 (10:36 +0000)]
add empty rdf:about to rdf:Description

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143331 13f79535-47bb-0310-9956-ffa450edef68

13 years agooutput document properties to html and pdf
Sergey Vladimirov [Wed, 6 Jul 2011 09:38:18 +0000 (09:38 +0000)]
output document properties to html and pdf

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143315 13f79535-47bb-0310-9956-ffa450edef68

13 years agooutput document properties to html and pdf
Sergey Vladimirov [Wed, 6 Jul 2011 09:37:32 +0000 (09:37 +0000)]
output document properties to html and pdf

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143314 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix lost cell properties (and row shift)
Sergey Vladimirov [Tue, 5 Jul 2011 14:35:54 +0000 (14:35 +0000)]
fix lost cell properties (and row shift)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143079 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd test case for lost cell properties
Sergey Vladimirov [Tue, 5 Jul 2011 14:35:36 +0000 (14:35 +0000)]
add test case for lost cell properties

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143077 13f79535-47bb-0310-9956-ffa450edef68

13 years agorewrite table bounds detection for Word 97, including inner table support
Sergey Vladimirov [Tue, 5 Jul 2011 14:13:27 +0000 (14:13 +0000)]
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

13 years agoignore PAPX if they references non-existing text parts
Sergey Vladimirov [Tue, 5 Jul 2011 14:12:16 +0000 (14:12 +0000)]
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

13 years agoFix bug #51474 - SXSSF handling for null strings
Nick Burch [Tue, 5 Jul 2011 13:42:08 +0000 (13:42 +0000)]
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

13 years agofix range detection for documents with section across document parts.
Sergey Vladimirov [Tue, 5 Jul 2011 12:02:02 +0000 (12:02 +0000)]
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

13 years agohandle empty strings
Sergey Vladimirov [Tue, 5 Jul 2011 11:58:50 +0000 (11:58 +0000)]
handle empty strings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143012 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd Section.toString() for debug purposes
Sergey Vladimirov [Tue, 5 Jul 2011 11:58:24 +0000 (11:58 +0000)]
add Section.toString() for debug purposes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143011 13f79535-47bb-0310-9956-ffa450edef68

13 years agoadd SEPX.toString() for debug purposes
Sergey Vladimirov [Tue, 5 Jul 2011 11:02:30 +0000 (11:02 +0000)]
add SEPX.toString() for debug purposes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142979 13f79535-47bb-0310-9956-ffa450edef68

13 years agocorrect range calculation for non-complex file
Sergey Vladimirov [Tue, 5 Jul 2011 10:58:04 +0000 (10:58 +0000)]
correct range calculation for non-complex file

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142977 13f79535-47bb-0310-9956-ffa450edef68

13 years agomanually test Bug33519.doc
Sergey Vladimirov [Tue, 5 Jul 2011 03:04:18 +0000 (03:04 +0000)]
manually test Bug33519.doc

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142882 13f79535-47bb-0310-9956-ffa450edef68

13 years agosometimes there is a lag between text pieces; for example
Sergey Vladimirov [Tue, 5 Jul 2011 03:03:53 +0000 (03:03 +0000)]
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

13 years agoadd additional sanity checks
Sergey Vladimirov [Tue, 5 Jul 2011 03:02:12 +0000 (03:02 +0000)]
add additional sanity checks

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1142880 13f79535-47bb-0310-9956-ffa450edef68

13 years agofix inner tables handling by Range.getTable() method
Sergey Vladimirov [Tue, 5 Jul 2011 02:17:54 +0000 (02:17 +0000)]
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

13 years agofix test suite name (for better IDEs compatibility)
Sergey Vladimirov [Tue, 5 Jul 2011 01:53:06 +0000 (01:53 +0000)]
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

13 years agoadd isEmpty() method to TALS and handle it by SPRM 0x740a compressor to preserve...
Sergey Vladimirov [Tue, 5 Jul 2011 01:51:15 +0000 (01:51 +0000)]
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

13 years agosimplify table converting; fix bug that prevents table from AIOOB-Tap.doc to be converted
Sergey Vladimirov [Tue, 5 Jul 2011 01:44:29 +0000 (01:44 +0000)]
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

13 years agoallow user to check table level from Table class (not only from Paragraph), so table...
Sergey Vladimirov [Tue, 5 Jul 2011 01:40:39 +0000 (01:40 +0000)]
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