output styles information in more compact (and precise) format
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1173865 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e2377a8942
commit
7ceb576145
@ -689,7 +689,6 @@ public final class HWPFLister
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
HWPFDocument hwpfDocument = (HWPFDocument) _doc;
|
HWPFDocument hwpfDocument = (HWPFDocument) _doc;
|
||||||
ListTables listTables = hwpfDocument.getListTables();
|
|
||||||
|
|
||||||
for ( int s = 0; s < hwpfDocument.getStyleSheet().numStyles(); s++ )
|
for ( int s = 0; s < hwpfDocument.getStyleSheet().numStyles(); s++ )
|
||||||
{
|
{
|
||||||
@ -702,13 +701,13 @@ public final class HWPFLister
|
|||||||
+ styleDescription.getName() + "' ===" );
|
+ styleDescription.getName() + "' ===" );
|
||||||
System.out.println( styleDescription );
|
System.out.println( styleDescription );
|
||||||
|
|
||||||
ParagraphProperties paragraph = styleDescription.getPAP();
|
if ( styleDescription.getPAPX() != null )
|
||||||
System.out.println( "PAP: " + paragraph );
|
dumpSprms( new SprmIterator( styleDescription.getPAPX(), 2 ),
|
||||||
if ( paragraph != null )
|
"Style's PAP SPRM: " );
|
||||||
{
|
|
||||||
dumpParagraphLevels( listTables, paragraph );
|
if ( styleDescription.getCHPX() != null )
|
||||||
}
|
dumpSprms( new SprmIterator( styleDescription.getCHPX(), 0 ),
|
||||||
System.out.println( "CHP: " + styleDescription.getCHP() );
|
"Style's CHP SPRM: " );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user