public class HeadingMap
extends java.lang.Object
Constructor | Description |
---|---|
HeadingMap(int nMaxLevel) |
Constructor: Create a new HeadingMap
|
Modifier and Type | Method | Description |
---|---|---|
int |
getLevel(int nWriterLevel) |
Return the LaTeX level for this Writer level (for \@startsection)
|
int |
getMaxLevel() |
Returns the maximal Writer level associated with this HeadingMap
|
java.lang.String |
getName(int nWriterLevel) |
Return the name (for counter and \@startsection) for this level
|
void |
reset(int nMaxLevel) |
Clear all data associated with this HeadingMap (in order to reuse it)
|
void |
setLevelData(int nWriterLevel,
java.lang.String sName,
int nLevel) |
Set data associated with a specific heading level
|
public HeadingMap(int nMaxLevel)
nMaxLevel
- the maximal level of headings that are mappedpublic void reset(int nMaxLevel)
public void setLevelData(int nWriterLevel, java.lang.String sName, int nLevel)
public int getMaxLevel()
public java.lang.String getName(int nWriterLevel)
public int getLevel(int nWriterLevel)