Package writer2latex.office
Class LoftReader
- java.lang.Object
-
- writer2latex.office.LoftReader
-
public class LoftReader extends java.lang.ObjectThe class reads a
text:illustration-indexortext:table-indexelement.
-
-
Constructor Summary
Constructors Constructor Description LoftReader(org.w3c.dom.Element onode)Initialize the LoftReader with a illustration/table index node
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCaptionSequenceName()Get the sequence name to use for the captionorg.w3c.dom.ElementgetIndexBody()Return the generated content of this loft, if availableorg.w3c.dom.ElementgetIndexTitleTemplate()Get the index title template for this loftorg.w3c.dom.ElementgetLoftEntryTemplate(int nLevel)Get the entry template for this loft at a specific leveljava.lang.StringgetName()Get the (section) name for this loftjava.lang.StringgetStyleName()Get the (section) style name for this loftbooleanisByChapter()Is this loft by chapter?booleanisTableIndex()Is this a table index or a figure index?booleanuseCaption()Is this loft generated by captions?
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the (section) name for this loft
- Returns:
- the name of the loft
-
getStyleName
public java.lang.String getStyleName()
Get the (section) style name for this loft
- Returns:
- name of the section style to use for this loft
-
isTableIndex
public boolean isTableIndex()
Is this a table index or a figure index?
- Returns:
- true if it's a table index
-
isByChapter
public boolean isByChapter()
Is this loft by chapter?
- Returns:
- true if the scope is a chapter only
-
useCaption
public boolean useCaption()
Is this loft generated by captions? (otherwise: by object names)
- Returns:
- true if we use captions
-
getCaptionSequenceName
public java.lang.String getCaptionSequenceName()
Get the sequence name to use for the caption
- Returns:
- the name of the caption
-
getIndexTitleTemplate
public org.w3c.dom.Element getIndexTitleTemplate()
Get the index title template for this loft
- Returns:
- the
text:index-title-templateelement, or null
-
getLoftEntryTemplate
public org.w3c.dom.Element getLoftEntryTemplate(int nLevel)
Get the entry template for this loft at a specific level
- Parameters:
nLevel- the outline level- Returns:
- the
text:table-of-content-entry-templateelement, or null
-
getIndexBody
public org.w3c.dom.Element getIndexBody()
Return the generated content of this loft, if available
- Returns:
- the
text:index-bodyelement
-
-