public class ListCounter
extends java.lang.Object
This class produces labels for OOo lists/outlines (for xhtml and text, which cannot produce them on their own).
Constructor | Description |
---|---|
ListCounter() |
|
ListCounter(ListStyle style) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getLabel() |
|
java.lang.String |
getLabelAndSuffix() |
|
java.lang.String |
getPrefix() |
|
int |
getValue(int nLevel) |
|
int[] |
getValues() |
|
ListCounter |
restart(int nLevel) |
|
ListCounter |
restart(int nLevel,
int nValue) |
|
ListCounter |
step(int nLevel) |
public ListCounter()
public ListCounter(ListStyle style)
public ListCounter step(int nLevel)
public ListCounter restart(int nLevel)
public ListCounter restart(int nLevel, int nValue)
public int getValue(int nLevel)
public int[] getValues()
public java.lang.String getLabel()
public java.lang.String getPrefix()
public java.lang.String getLabelAndSuffix()