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