writer2latex.latex
Class ParConverter
java.lang.Object
writer2latex.latex.ConverterHelper
writer2latex.latex.StyleConverter
writer2latex.latex.ParConverter
public class ParConverter
- extends StyleConverter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParConverter
public ParConverter(OfficeReader ofr,
LaTeXConfig config,
ConverterPalette palette)
Constructs a new ParConverter
.
appendDeclarations
public void appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl)
- Overrides:
appendDeclarations
in class StyleConverter
handleParagraph
public void handleParagraph(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc,
boolean bLastInBlock)
Process a text:p tag
- Parameters:
node
- The text:h element node containing the headingldp
- The LaTeXDocumentPortion
to add LaTeX code tooc
- The current contextbLastInBlock
- 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}).
applyAlignment
public void applyAlignment(StyleWithProperties style,
boolean bIsSimple,
boolean bInherit,
BeforeAfter ba)