use of org.apache.poi.hwpf.model.LFOData in project poi by apache.
the class HWPFLister method dumpParagraphLevels.
protected void dumpParagraphLevels(ListTables listTables, ParagraphProperties paragraph) {
if (paragraph.getIlfo() != 0) {
final LFO lfo = listTables.getLfo(paragraph.getIlfo());
System.out.println("PAP's LFO: " + lfo);
final LFOData lfoData = listTables.getLfoData(paragraph.getIlfo());
System.out.println("PAP's LFOData: " + lfoData);
if (lfo != null) {
final ListLevel listLevel = listTables.getLevel(lfo.getLsid(), paragraph.getIlvl());
System.out.println("PAP's ListLevel: " + listLevel);
if (listLevel.getGrpprlPapx() != null) {
System.out.println("PAP's ListLevel PAPX:");
dumpSprms(new SprmIterator(listLevel.getGrpprlPapx(), 0), "* ");
}
if (listLevel.getGrpprlPapx() != null) {
System.out.println("PAP's ListLevel CHPX:");
dumpSprms(new SprmIterator(listLevel.getGrpprlChpx(), 0), "* ");
}
}
}
}
Aggregations