writer2latex.latex
public class CaptionConverter extends ConverterHelper
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 Summary | |
|---|---|
| CaptionConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) | |
| Method Summary | |
|---|---|
| void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) |
| void | handleCaptionBody(Element node, LaTeXDocumentPortion ldp, Context oc, boolean bIsCaptionOf) Process content of a text:p tag as a caption body (inluding label) |
Process content of a text:p tag as a caption body (inluding label)
Parameters: node The text:p element node containing the caption ldp The LaTeXDocumentPortion to add LaTeX code to oc The current context bIsCaptionOf true if this is caption uses captionof