writer2latex.latex
public class ParConverter extends StyleConverter
Constructor Summary | |
---|---|
ParConverter(OfficeReader ofr, Config config, ConverterPalette palette) Constructs a new |
Method Summary | |
---|---|
void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) |
void | applyAlignment(StyleWithProperties style, boolean bIsSimple, boolean bInherit, BeforeAfter ba) |
void | handleParagraph(Element node, LaTeXDocumentPortion ldp, Context oc, boolean bLastInBlock) Process a text:p tag |
Constructs a new ParConverter
.
Process a text:p tag
Parameters: node
The text:h element node containing the heading ldp
The LaTeXDocumentPortion
to add LaTeX code to oc
The current context bLastInBlock
If this is true, the paragraph is the
last one in a block, and we need no trailing blank line (eg. right before
\end{enumerate}).