mirror of https://github.com/apache/poi.git
dump header graphics
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160739 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
56fe9f8685
commit
1aa9ddb230
|
@ -484,11 +484,24 @@ public final class HWPFLister
|
|||
|
||||
HWPFDocument document = (HWPFDocument) _doc;
|
||||
|
||||
System.out.println( "=== Document part: MAIN ===" );
|
||||
for ( OfficeDrawing officeDrawing : document.getOfficeDrawingsMain()
|
||||
.getOfficeDrawings() )
|
||||
if ( document.getOfficeDrawingsHeaders() != null )
|
||||
{
|
||||
System.out.println( officeDrawing );
|
||||
System.out.println( "=== Document part: HEADER ===" );
|
||||
for ( OfficeDrawing officeDrawing : document
|
||||
.getOfficeDrawingsHeaders().getOfficeDrawings() )
|
||||
{
|
||||
System.out.println( officeDrawing );
|
||||
}
|
||||
}
|
||||
|
||||
if ( document.getOfficeDrawingsHeaders() != null )
|
||||
{
|
||||
System.out.println( "=== Document part: MAIN ===" );
|
||||
for ( OfficeDrawing officeDrawing : document
|
||||
.getOfficeDrawingsMain().getOfficeDrawings() )
|
||||
{
|
||||
System.out.println( officeDrawing );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue