From 64c97846ae87ccdc674fd47543bdbd8635db11bc Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Sat, 9 Jul 2011 12:09:51 +0000 Subject: [PATCH] output text of CHPX git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1144659 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/dev/HWPFLister.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java b/src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java index 2ceeb4713e..7d66914bdb 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java @@ -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() ) -- 2.39.5