public class SectionConverter extends ConverterHelper
This class creates LaTeX code from OOo sections.
Sections are converted to multicols environments using multicol.sty
config, ofr, palette
Constructor and Description |
---|
SectionConverter(OfficeReader ofr,
LaTeXConfig config,
ConverterPalette palette)
Constructs a new
SectionStyleConverter . |
Modifier and Type | Method and Description |
---|---|
void |
appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl) |
void |
handleSection(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
Process a section (text:section tag)
|
public SectionConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a new SectionStyleConverter
.
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
appendDeclarations
in class ConverterHelper
public void handleSection(org.w3c.dom.Element node, LaTeXDocumentPortion ldp, Context oc)
Process a section (text:section tag)
node
- The element containing the sectionldp
- the LaTeXDocumentPortion
to which
LaTeX code should be addedoc
- the current context