Package org.apache.poi.hwpf.model
Class ListData
- java.lang.Object
-
- org.apache.poi.hwpf.model.ListData
-
@Internal public final class ListData extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ListData(int listID, boolean numbered)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ListLevel
getLevel(int index)
Gets the level associated to a particular List at a particular index.ListLevel[]
getLevels()
int
getLevelStyle(int index)
int
getLsid()
int
hashCode()
int
numLevels()
void
setLevel(int index, ListLevel level)
void
setLevelStyle(int index, int styleIndex)
byte[]
toByteArray()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getLevel
public ListLevel getLevel(int index)
Gets the level associated to a particular List at a particular index.- Parameters:
index
- 1-based index- Returns:
- a list level
-
getLevels
public ListLevel[] getLevels()
-
getLevelStyle
public int getLevelStyle(int index)
-
getLsid
public int getLsid()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
numLevels
public int numLevels()
-
setLevel
public void setLevel(int index, ListLevel level)
-
setLevelStyle
public void setLevelStyle(int index, int styleIndex)
-
toByteArray
public byte[] toByteArray()
-
-