You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/07/24 11:02:56 UTC

DO NOT REPLY [Bug 47496] Strange MS Word file reading behavior

https://issues.apache.org/bugzilla/show_bug.cgi?id=47496





--- Comment #1 from weizi <we...@hotmail.com>  2009-07-24 02:02:54 PST ---
Created an attachment (id=24031)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24031)
number of paragraph is 16

Number of paragraph is 16 in this doc .
HWPFDocument daDoc = new HWPFDocument(new FileInputStream("test.doc"));
            Range wordRange = daDoc.getRange();
            wordRange.numParagraphs()is 14
A property claimed to start before zero, at -256! Resetting it to zero, and
hoping for the best
papformatteddiskpag_70=-256 -> 54 = true
A property claimed to start before zero, at -256! Resetting it to zero, and
hoping for the best
papformatteddiskpag_70=54 -> 66 = true
papformatteddiskpag_70=66 -> 67 = true
papformatteddiskpag_70=67 -> 77 = true
papformatteddiskpag_70=77 -> 81 = true
papformatteddiskpag_70=81 -> 95 = true
papformatteddiskpag_70=95 -> 113 = true
papformatteddiskpag_70=113 -> 145 = true
papformatteddiskpag_70=145 -> 173 = true
papformatteddiskpag_70=173 -> 198 = true
papformatteddiskpag_70=198 -> 217 = true
papformatteddiskpag_70=217 -> 230 = true
papformatteddiskpag_70=230 -> 243 = true
papformatteddiskpag_70=243 -> 1052 = true   --here
papformatteddiskpag_70=1052 -> 1078 = true
papformatteddiskpag_70=1078 -> 1117 = true
in the range method of findRange has List rpl parameter, size of rpl is
16.rpl[13]._cpStart=243;rpl[13]._cpEnd=1052;range._end=336.rpl[13]._cpEnd=1052>range._end=336;return
14.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org