|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object writer2latex.office.TocReader
public class TocReader
The class reads a text:table-of-content
element.
Constructor Summary | |
---|---|
TocReader(org.w3c.dom.Element onode)
Initialize the TocReader with a table of content node. |
Method Summary | |
---|---|
org.w3c.dom.Element |
getIndexBody()
Return the generated content of this toc, if available |
int |
getIndexSourceStyleLevel(java.lang.String sStyleName)
Get the level associated with a specific index source style |
java.util.Set |
getIndexSourceStyles()
Get a set view of all index source styles |
org.w3c.dom.Element |
getIndexTitleTemplate()
Get the index title template for this toc |
java.lang.String |
getName()
Get the (section) name for this toc |
int |
getOutlineLevel()
Get max outline level for this toc |
java.lang.String |
getStyleName()
Get the (section) style name for this toc |
org.w3c.dom.Element |
getTocEntryTemplate(int nLevel)
Get the entry template for this toc at a specific level |
boolean |
isByChapter()
Is this toc by chapter? |
boolean |
useIndexMarks()
Do we use toc marks in this toc? |
boolean |
useIndexSourceStyles()
Do we use additional styles in this toc? |
boolean |
useOutlineLevel()
Do we use outline (headings) in this toc? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TocReader(org.w3c.dom.Element onode)
Initialize the TocReader with a table of content node.
onode
- a text:table-of-content
Method Detail |
---|
public java.lang.String getName()
Get the (section) name for this toc
public java.lang.String getStyleName()
Get the (section) style name for this toc
public int getOutlineLevel()
Get max outline level for this toc
public boolean useOutlineLevel()
Do we use outline (headings) in this toc?
public boolean useIndexSourceStyles()
Do we use additional styles in this toc?
public boolean useIndexMarks()
Do we use toc marks in this toc?
public boolean isByChapter()
Is this toc by chapter?
public org.w3c.dom.Element getIndexTitleTemplate()
Get the index title template for this toc
text:index-title-template
element, or nullpublic org.w3c.dom.Element getTocEntryTemplate(int nLevel)
Get the entry template for this toc at a specific level
nLevel
- the outline level
text:table-of-content-entry-template
element, or nullpublic java.util.Set getIndexSourceStyles()
Get a set view of all index source styles
public int getIndexSourceStyleLevel(java.lang.String sStyleName)
Get the level associated with a specific index source style
sStyleName
- the style name of the index source style
public org.w3c.dom.Element getIndexBody()
Return the generated content of this toc, if available
text:index-body
element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |