Package writer2latex.latex
Class ParConverter
java.lang.Object
writer2latex.latex.StyleConverter
writer2latex.latex.ParConverter
-
Field Summary
Fields inherited from class writer2latex.latex.StyleConverter
declarations, styleMap, styleNames -
Constructor Summary
ConstructorsConstructorDescriptionParConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) Constructs a newParConverter. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidapplyAlignment(StyleWithProperties style, boolean bIsSimple, boolean bInherit, BeforeAfter ba) voidhandleParagraph(Element node, LaTeXDocumentPortion ldp, Context oc, boolean bLastInBlock) Process a text:p tag
-
Constructor Details
-
ParConverter
Constructs a new
ParConverter.
-
-
Method Details
-
appendDeclarations
- Overrides:
appendDeclarationsin classStyleConverter
-
handleParagraph
public void handleParagraph(Element node, LaTeXDocumentPortion ldp, Context oc, boolean bLastInBlock) Process a text:p tag
- Parameters:
node- The text:p element node containing the paragraphldp- TheLaTeXDocumentPortionto 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)
-