Package writer2latex.latex
Class SectionConverter
- java.lang.Object
-
- writer2latex.latex.ConverterHelper
-
- writer2latex.latex.SectionConverter
-
public class SectionConverter extends ConverterHelper
This class creates LaTeX code from OOo sections.
Sections are converted to multicols environments using
multicol.sty
-
-
Field Summary
-
Fields inherited from class writer2latex.latex.ConverterHelper
config, ofr, palette
-
-
Constructor Summary
Constructors Constructor Description SectionConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a newSectionStyleConverter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
void
handleSection(org.w3c.dom.Element node, LaTeXDocumentPortion ldp, Context oc)
Process a section (text:section tag)
-
-
-
Constructor Detail
-
SectionConverter
public SectionConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a new
SectionStyleConverter
.
-
-
Method Detail
-
appendDeclarations
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
- Overrides:
appendDeclarations
in classConverterHelper
-
handleSection
public void handleSection(org.w3c.dom.Element node, LaTeXDocumentPortion ldp, Context oc)
Process a section (text:section tag)
- Parameters:
node
- The element containing the sectionldp
- theLaTeXDocumentPortion
to which LaTeX code should be addedoc
- the current context
-
-