From c5333ed1bc8161d9b75bea95cbfe99f9cb85cfb1 Mon Sep 17 00:00:00 2001 From: Sergey Vladimirov Date: Thu, 28 Jul 2011 14:21:40 +0000 Subject: [PATCH] fix escher info dump git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151862 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hwpf/dev/HWPFLister.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 5aacf2edff..10b8a2467d 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/dev/HWPFLister.java @@ -155,7 +155,7 @@ public final class HWPFLister if ( "--bookmarks".equals( arg ) ) outputBookmarks = true; - if ( "--eschaer".equals( arg ) ) + if ( "--escher".equals( arg ) ) outputEscher = true; if ( "--fields".equals( arg ) ) outputFields = true; @@ -351,8 +351,8 @@ public final class HWPFLister System.out.println( "Word 95 not supported so far" ); return; } - System.out.println( ( (HWPFDocument) _doc ).getEscherRecordHolder() ); + System.out.println( ( (HWPFDocument) _doc ).getEscherRecordHolder() ); } public void dumpFIB() @@ -392,11 +392,12 @@ public final class HWPFLister HWPFDocument document = (HWPFDocument) _doc; - System.out.println( "=== Document part: MAIN ===" ); - for ( OfficeDrawing officeDrawing : document.getOfficeDrawingsMain().getOfficeDrawings() ) - { - System.out.println( officeDrawing ); - } + System.out.println( "=== Document part: MAIN ===" ); + for ( OfficeDrawing officeDrawing : document.getOfficeDrawingsMain() + .getOfficeDrawings() ) + { + System.out.println( officeDrawing ); + } } public void dumpPapx( boolean withProperties ) throws Exception -- 2.39.5