]> source.dussan.org Git - poi.git/commitdiff
output text of CHPX
authorSergey Vladimirov <sergey@apache.org>
Sat, 9 Jul 2011 12:09:51 +0000 (12:09 +0000)
committerSergey Vladimirov <sergey@apache.org>
Sat, 9 Jul 2011 12:09:51 +0000 (12:09 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68

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

index 2ceeb4713ea3460fc6283a3a58d0d424ab5ed179..7d66914bdb8b4e36ebf032123968a2996e492a4a 100644 (file)
@@ -255,8 +255,21 @@ public final class HWPFLister
                     System.out.println( "\t" + sprm.toString() );
                 }
             }
+
+            if ( true )
+            {
+                System.out.println( new Range( chpx.getStart(), chpx.getEnd(),
+                        _doc.getOverallRange() )
+                {
+                    public String toString()
+                    {
+                        return "CHPX range (" + super.toString() + ")";
+                    };
+                }.text() );
+            }
         }
     }
+
     public void dumpTextPieces( boolean withText )
     {
         for ( TextPiece textPiece : _doc.getTextTable().getTextPieces() )