]> source.dussan.org Git - poi.git/commit
fix range detection for documents with section across document parts.
authorSergey Vladimirov <sergey@apache.org>
Tue, 5 Jul 2011 12:02:02 +0000 (12:02 +0000)
committerSergey Vladimirov <sergey@apache.org>
Tue, 5 Jul 2011 12:02:02 +0000 (12:02 +0000)
commit5a5e58e870e0cb6e523ab4f38c21ffd4eaa26283
treeb53f2946d4a48192308de36fe6513f1c1553b5d6
parent78a2ba411e0c18002c07096a4dd6f6cd45c7ebf9
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
src/scratchpad/src/org/apache/poi/hwpf/usermodel/Range.java
src/scratchpad/testcases/org/apache/poi/hwpf/converter/TestWordToHtmlConverter.java
src/scratchpad/testcases/org/apache/poi/hwpf/usermodel/TestRange.java