output text of CHPX

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-09 12:09:51 +00:00
parent 829a9d18f9
commit 83f87437c0

View File

@ -255,8 +255,21 @@ public final class HWPFLister
System.out.println( "\t" + sprm.toString() ); 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 ) public void dumpTextPieces( boolean withText )
{ {
for ( TextPiece textPiece : _doc.getTextTable().getTextPieces() ) for ( TextPiece textPiece : _doc.getTextTable().getTextPieces() )