fix escher info dump

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1151862 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-28 14:21:40 +00:00
parent 19025f6f74
commit 4120b5eb9e

View File

@ -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()
@ -393,7 +393,8 @@ public final class HWPFLister
HWPFDocument document = (HWPFDocument) _doc;
System.out.println( "=== Document part: MAIN ===" );
for ( OfficeDrawing officeDrawing : document.getOfficeDrawingsMain().getOfficeDrawings() )
for ( OfficeDrawing officeDrawing : document.getOfficeDrawingsMain()
.getOfficeDrawings() )
{
System.out.println( officeDrawing );
}