writer2latex.latex

Class SectionConverter

public class SectionConverter extends ConverterHelper

This class creates LaTeX code from OOo sections.

Sections are converted to multicols environments using multicol.sty

Constructor Summary
SectionConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)

Constructs a new SectionStyleConverter.

Method Summary
voidappendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
voidhandleSection(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)

handleSection

public void handleSection(Element node, LaTeXDocumentPortion ldp, Context oc)

Process a section (text:section tag)

Parameters: node The element containing the section ldp the LaTeXDocumentPortion to which LaTeX code should be added oc the current context