|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectwriter2latex.latex.ConverterHelper
writer2latex.latex.IndexConverter
public class IndexConverter
This class handles indexes (table of contents, list of tables, list of illustrations, object index, user index, alphabetical index, bibliography) as well as their associated index marks.
| Constructor Summary | |
|---|---|
IndexConverter(OfficeReader ofr,
Config config,
ConverterPalette palette)
Construct a new IndexConverter. |
|
| Method Summary | |
|---|---|
void |
appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl)
Append declarations needed by the IndexConverter to
the preamble. |
void |
flushIndexMarks(LaTeXDocumentPortion ldp,
Context oc)
|
BibTeXDocument |
getBibTeXDocument()
Get the BibTeX document, if any (the document is only created if it's specified in the configuration *and* the document contains bibliographic data). |
void |
handleAlphabeticalIndex(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process Alphabetical Index (text:alphabetical-index tag) |
void |
handleAlphabeticalIndexMark(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process an Alphabetical Index Mark (text:alphabetical-index-mark{-start} tag) |
void |
handleBibliography(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process Bibliography (text:bibliography tag) |
void |
handleBibliographyMark(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process a Bibliography Mark (text:bibliography-mark tag) |
void |
handleLOF(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process List of Illustrations (text:list-of-illustrations tag) |
void |
handleLOT(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process List of Tables (text:list-of-tables tag) |
void |
handleObjectIndex(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process Object Index (text:object index tag) |
void |
handleTOC(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process Table of Contents (text:table-of-content tag) |
void |
handleUserIndex(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process User Index (text:user-index tag) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexConverter(OfficeReader ofr,
Config config,
ConverterPalette palette)
Construct a new IndexConverter.
config - the configuration to usepalette - the ConverterPalette to link to
if such a document is created by the IndexConverter| Method Detail |
|---|
public void appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl)
Append declarations needed by the IndexConverter to
the preamble.
appendDeclarations in class ConverterHelperpack - the LaTeXDocumentPortion to which
declarations of packages should be added (\\usepackage).decl - the LaTeXDocumentPortion to which
other declarations should be added.
public void handleTOC(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the Table of Contentsldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleLOF(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the List of Illustrationsldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleLOT(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the List of Tablesldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleObjectIndex(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the Object Indexldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleUserIndex(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the User Indexldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleBibliography(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the Bibliographyldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleBibliographyMark(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the Markldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current contextpublic BibTeXDocument getBibTeXDocument()
BiBTeXDocument, or null if it does not exist.
public void handleAlphabeticalIndex(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the Alphabetical Indexldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void handleAlphabeticalIndexMark(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
node - The element containing the Markldp - the LaTeXDocumentPortion to which
LaTeX code should be addedoc - the current context
public void flushIndexMarks(LaTeXDocumentPortion ldp,
Context oc)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||