writer2latex.latex
public class IndexConverter extends ConverterHelper
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 |
Method Summary | |
---|---|
void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) Append declarations needed by the |
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(Element node, LaTeXDocumentPortion ldp, Context oc) Process Alphabetical Index (text:alphabetical-index tag) |
void | handleAlphabeticalIndexMark(Element node, LaTeXDocumentPortion ldp, Context oc) Process an Alphabetical Index Mark (text:alphabetical-index-mark{-start} tag) |
void | handleBibliography(Element node, LaTeXDocumentPortion ldp, Context oc) Process Bibliography (text:bibliography tag) |
void | handleBibliographyMark(Element node, LaTeXDocumentPortion ldp, Context oc) Process a Bibliography Mark (text:bibliography-mark tag) |
void | handleLOF(Element node, LaTeXDocumentPortion ldp, Context oc) Process List of Illustrations (text:list-of-illustrations tag) |
void | handleLOT(Element node, LaTeXDocumentPortion ldp, Context oc) Process List of Tables (text:list-of-tables tag) |
void | handleObjectIndex(Element node, LaTeXDocumentPortion ldp, Context oc) Process Object Index (text:object index tag) |
void | handleTOC(Element node, LaTeXDocumentPortion ldp, Context oc) Process Table of Contents (text:table-of-content tag) |
void | handleUserIndex(Element node, LaTeXDocumentPortion ldp, Context oc) Process User Index (text:user-index tag) |
Construct a new IndexConverter
.
Parameters: config
the configuration to use palette
the ConverterPalette
to link to
if such a document is created by the IndexConverter
Append declarations needed by the IndexConverter
to
the preamble.
Parameters: pack
the LaTeXDocumentPortion
to which
declarations of packages should be added (\\usepackage
). decl
the LaTeXDocumentPortion
to which
other declarations should be added.
Returns: the BiBTeXDocument
, or null if it does not exist.
Parameters: node
The element containing the Alphabetical Index ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the Mark ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the Bibliography ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the Mark ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the List of Illustrations ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the List of Tables ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the Object Index ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the Table of Contents ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context
Parameters: node
The element containing the User Index ldp
the LaTeXDocumentPortion
to which
LaTeX code should be added oc
the current context