public class CaptionConverter
extends java.lang.Object
This class converts captions (for figures and tables) to LaTeX.
Packages:
Options:
TODO: Implement formatting of captions using the features of caption.sty (only if formatting>=CONVERT_BASIC)
Constructor and Description |
---|
CaptionConverter(OfficeReader ofr,
LaTeXConfig config,
ConverterPalette palette) |
Modifier and Type | Method and Description |
---|---|
void |
appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl) |
void |
handleCaptionBody(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc,
boolean bIsCaptionOf)
Process content of a text:p tag as a caption body (inluding label)
|
public CaptionConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
public void handleCaptionBody(org.w3c.dom.Element node, LaTeXDocumentPortion ldp, Context oc, boolean bIsCaptionOf)
Process content of a text:p tag as a caption body (inluding label)
node
- The text:p element node containing the captionldp
- The LaTeXDocumentPortion
to add LaTeX code tooc
- The current contextbIsCaptionOf
- true if this is caption uses captionof