1 2 17 18 package org.apache.poi.hwpf.usermodel; 19 20 import org.apache.poi.hwpf.model.ListFormatOverride; 21 import org.apache.poi.hwpf.model.ListFormatOverrideLevel; 22 import org.apache.poi.hwpf.model.ListLevel; 23 import org.apache.poi.hwpf.model.ListTables; 24 import org.apache.poi.hwpf.model.PAPX; 25 26 import org.apache.poi.hwpf.sprm.SprmBuffer; 27 28 public class ListEntry 29 extends Paragraph 30 { 31 ListLevel _level; 32 ListFormatOverrideLevel _overrideLevel; 33 34 ListEntry(PAPX papx, Range parent, ListTables tables) 35 { 36 super(papx, parent); 37 ListFormatOverride override = tables.getOverride(_props.getIlfo()); 38 _overrideLevel = override.getOverrideLevel(_props.getIlvl()); 39 _level = tables.getLevel(override.getLsid(), _props.getIlvl()); 40 } 41 42 public int type() 43 { 44 return TYPE_LISTENTRY; 45 } 46 } 47 | Popular Tags |