public class BlockConverter
extends java.lang.Object
Constructor and Description |
---|
BlockConverter(OfficeReader ofr,
LaTeXConfig config,
ConverterPalette palette) |
Modifier and Type | Method and Description |
---|---|
void |
appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl) |
void |
traverseBlockText(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Traverse block text (eg. content of body, section, list item).
|
public BlockConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
public void traverseBlockText(org.w3c.dom.Element node, LaTeXDocumentPortion ldp, Context oc)
Traverse block text (eg. content of body, section, list item). This is traversed in logical order and dedicated handlers take care of each block element.
(Note: As a rule, all handling of block level elements should add a newline to the LaTeX document at the end of the block)
node
- The element containing the block textldp
- the LaTeXDocumentPortion
to which
LaTeX code should be addedoc
- the current context