]> source.dussan.org Git - poi.git/commitdiff
print paragraph number
authorSergey Vladimirov <sergey@apache.org>
Thu, 7 Jul 2011 08:14:45 +0000 (08:14 +0000)
committerSergey Vladimirov <sergey@apache.org>
Thu, 7 Jul 2011 08:14:45 +0000 (08:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143704 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java

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