public class ParConverter extends StyleConverter
declarations, styleMap, styleNamesconfig, ofr, palette| Constructor and Description |
|---|
ParConverter(OfficeReader ofr,
LaTeXConfig config,
ConverterPalette palette)
Constructs a new
ParConverter. |
| Modifier and Type | Method and Description |
|---|---|
void |
appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl) |
void |
applyAlignment(StyleWithProperties style,
boolean bIsSimple,
boolean bInherit,
BeforeAfter ba) |
void |
handleParagraph(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc,
boolean bLastInBlock)
Process a text:p tag
|
public ParConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a new ParConverter.
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
appendDeclarations in class StyleConverterpublic void handleParagraph(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc,
boolean bLastInBlock)
Process a text:p tag
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}).public void applyAlignment(StyleWithProperties style, boolean bIsSimple, boolean bInherit, BeforeAfter ba)