public class LoftReader
extends java.lang.Object
The class reads a text:illustration-index
or
text:table-index
element.
Constructor and Description |
---|
LoftReader(org.w3c.dom.Element onode)
Initialize the LoftReader with a illustration/table index node
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCaptionSequenceName()
Get the sequence name to use for the caption
|
org.w3c.dom.Element |
getIndexBody()
Return the generated content of this loft, if available
|
org.w3c.dom.Element |
getIndexTitleTemplate()
Get the index title template for this loft
|
org.w3c.dom.Element |
getLoftEntryTemplate(int nLevel)
Get the entry template for this loft at a specific level
|
java.lang.String |
getName()
Get the (section) name for this loft
|
java.lang.String |
getStyleName()
Get the (section) style name for this loft
|
boolean |
isByChapter()
Is this loft by chapter?
|
boolean |
isTableIndex()
Is this a table index or a figure index?
|
boolean |
useCaption()
Is this loft generated by captions?
|
public LoftReader(org.w3c.dom.Element onode)
Initialize the LoftReader with a illustration/table index node
onode
- a text:*-index
public java.lang.String getName()
Get the (section) name for this loft
public java.lang.String getStyleName()
Get the (section) style name for this loft
public boolean isTableIndex()
Is this a table index or a figure index?
public boolean isByChapter()
Is this loft by chapter?
public boolean useCaption()
Is this loft generated by captions? (otherwise: by object names)
public java.lang.String getCaptionSequenceName()
Get the sequence name to use for the caption
public org.w3c.dom.Element getIndexTitleTemplate()
Get the index title template for this loft
text:index-title-template
element, or nullpublic org.w3c.dom.Element getLoftEntryTemplate(int nLevel)
Get the entry template for this loft at a specific level
nLevel
- the outline leveltext:table-of-content-entry-template
element, or nullpublic org.w3c.dom.Element getIndexBody()
Return the generated content of this loft, if available
text:index-body
element