print paragraph number

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143704 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-07 08:14:45 +00:00
parent e465a37e16
commit 8979236b05

View File

@ -121,7 +121,7 @@ public final class HWPFLister
for ( int p = 0; p < range.numParagraphs(); p++ ) for ( int p = 0; p < range.numParagraphs(); p++ )
{ {
Paragraph paragraph = range.getParagraph( p ); Paragraph paragraph = range.getParagraph( p );
System.out.println( paragraph.toString( withPapx ) ); System.out.println( p + ":\t" + paragraph.toString( withPapx ) );
if ( withSprms ) if ( withSprms )
{ {