Package org.apache.poi.hwpf.model
Class ListTables
- java.lang.Object
-
- org.apache.poi.hwpf.model.ListTables
-
-
Constructor Summary
Constructors Constructor Description ListTables()ListTables(byte[] tableStream, int lstOffset, int fcPlfLfo, int lcbPlfLfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaddList(ListData lst, LFO lfo, LFOData lfoData)booleanequals(Object obj)ListLevelgetLevel(int lsid, int level)Get the ListLevel for a given lsid and levelLFOgetLfo(int ilfo)LFODatagetLfoData(int ilfo)ListDatagetListData(int lsid)intgetOverrideIndexFromListID(int lsid)inthashCode()voidwriteListDataTo(FileInformationBlock fib, ByteArrayOutputStream tableStream)voidwriteListOverridesTo(FileInformationBlock fib, ByteArrayOutputStream tableStream)
-
-
-
Method Detail
-
writeListDataTo
public void writeListDataTo(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException
- Throws:
IOException
-
writeListOverridesTo
public void writeListOverridesTo(FileInformationBlock fib, ByteArrayOutputStream tableStream) throws IOException
- Throws:
IOException
-
getLfo
public LFO getLfo(int ilfo) throws NoSuchElementException
- Throws:
NoSuchElementException
-
getLfoData
public LFOData getLfoData(int ilfo) throws NoSuchElementException
- Throws:
NoSuchElementException
-
getOverrideIndexFromListID
public int getOverrideIndexFromListID(int lsid) throws NoSuchElementException- Throws:
NoSuchElementException
-
getLevel
public ListLevel getLevel(int lsid, int level)
Get the ListLevel for a given lsid and level- Parameters:
lsid-level-- Returns:
- ListLevel if found, or
nullif ListData can't be found or if level is > that available
-
getListData
public ListData getListData(int lsid)
-
-