writer2latex.latex
public class FieldConverter extends ConverterHelper
Constructor Summary | |
---|---|
FieldConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) |
Method Summary | |
---|---|
void | addTarget(Element node, String sSuffix, LaTeXDocumentPortion ldp) Add a |
void | addTarget(String sName, String sSuffix, LaTeXDocumentPortion ldp) Add a |
void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) Append declarations needed by the |
void | flushReferenceMarks(LaTeXDocumentPortion ldp, Context oc) Process pending reference marks and bookmarks (which may have been postponed within sections, captions or verbatim text. |
void | handleAnchor(Element node, LaTeXDocumentPortion ldp, Context oc) Process a hyperlink (text:a tag) |
void | handleBookmark(Element node, LaTeXDocumentPortion ldp, Context oc) Process a bookmark (text:bookmark tag) A bookmark may be the target for either a hyperlink or a reference,
so this will generate a |
void | handleBookmarkRef(Element node, LaTeXDocumentPortion ldp, Context oc) Process a bookmark reference (text:bookmark-ref tag). |
void | handlePageCount(Element node, LaTeXDocumentPortion ldp, Context oc) Process a page count field (text:page-count tag) |
void | handlePageNumber(Element node, LaTeXDocumentPortion ldp, Context oc) Process a page number field (text:page-number tag) |
void | handleReferenceMark(Element node, LaTeXDocumentPortion ldp, Context oc) Process a reference mark (text:reference-mark tag) |
void | handleReferenceRef(Element node, LaTeXDocumentPortion ldp, Context oc) Process a reference (text:reference-ref tag) |
void | handleSequence(Element node, LaTeXDocumentPortion ldp, Context oc) Process a sequence field (text:sequence tag) |
void | handleSequenceDecls(Element node) Process sequence declarations |
void | handleSequenceLabel(Element node, LaTeXDocumentPortion ldp) Create label for a sequence field (text:sequence tag) |
void | handleSequenceRef(Element node, LaTeXDocumentPortion ldp, Context oc) Process a sequence reference (text:sequence-ref tag) |
Add a \\hypertarget
Parameters: node The element containing the name of the target sSuffix A suffix to be added to the target,
e.g. "|table" for a reference to a table. ldp the LaTeXDocumentPortion
to which
LaTeX code should be added
Add a \\hypertarget
Parameters: sName The name of the target sSuffix A suffix to be added to the target,
e.g. "|table" for a reference to a table. ldp the LaTeXDocumentPortion
to which
LaTeX code should be added
Append declarations needed by the FieldConverter
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.
Process pending reference marks and bookmarks (which may have been postponed within sections, captions or verbatim text.
Parameters: ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a hyperlink (text:a tag)
Parameters: node The element containing the hyperlink ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a bookmark (text:bookmark tag)
A bookmark may be the target for either a hyperlink or a reference,
so this will generate a \\hyperref
and/or a \\label
Parameters: node The element containing the bookmark ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a bookmark reference (text:bookmark-ref tag).
Parameters: node The element containing the bookmark reference ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a page count field (text:page-count tag)
Parameters: node The element containing the page count field ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a page number field (text:page-number tag)
Parameters: node The element containing the page number field ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a reference mark (text:reference-mark tag)
Parameters: node The element containing the reference mark ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a reference (text:reference-ref tag)
Parameters: node The element containing the reference ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process a sequence field (text:sequence tag)
Parameters: node The element containing the sequence field ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context
Process sequence declarations
Parameters: node the text:sequence-decls node
Create label for a sequence field (text:sequence tag)
Parameters: node The element containing the sequence field ldp the LaTeXDocumentPortion
to which
LaTeX code should be added
Process a sequence reference (text:sequence-ref tag)
Parameters: node The element containing the sequence reference ldp the LaTeXDocumentPortion
to which
LaTeX code should be added oc the current context