|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwriter2latex.latex.ConverterHelper
writer2latex.latex.CaptionConverter
public class CaptionConverter
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,
Config config,
ConverterPalette palette)
|
Method Summary | |
---|---|
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) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CaptionConverter(OfficeReader ofr, Config config, ConverterPalette palette)
Method Detail |
---|
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
appendDeclarations
in class ConverterHelper
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |