|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwriter2latex.latex.ConverterHelper
writer2latex.latex.TableConverter
public class TableConverter
This class converts OpenDocument tables to LaTeX.
The following LaTeX packages are used; some of them are optional
array.sty, longtable.sty, supertabular.sty, tabulary.sty, hhline.sty, colortbl.sty.
Options:
Field Summary |
---|
Fields inherited from class writer2latex.latex.ConverterHelper |
---|
config, ofr, palette |
Constructor Summary | |
---|---|
TableConverter(OfficeReader ofr,
LaTeXConfig config,
ConverterPalette palette)
Constructs a new TableConverter . |
Method Summary | |
---|---|
void |
appendDeclarations(LaTeXDocumentPortion pack,
LaTeXDocumentPortion decl)
|
void |
handleCaption(org.w3c.dom.Element node,
LaTeXDocumentPortion ldp,
Context oc)
|
void |
handleTable(org.w3c.dom.Element node,
org.w3c.dom.Element caption,
boolean bCaptionAbove,
LaTeXDocumentPortion ldp,
Context oc)
Process a table (table:table or table:sub-table tag) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette)
Constructs a new TableConverter
.
Method Detail |
---|
public void appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
appendDeclarations
in class ConverterHelper
public void handleCaption(org.w3c.dom.Element node, LaTeXDocumentPortion ldp, Context oc)
public void handleTable(org.w3c.dom.Element node, org.w3c.dom.Element caption, boolean bCaptionAbove, LaTeXDocumentPortion ldp, Context oc)
Process a table (table:table or table:sub-table tag)
node
- The element containing the tableldp
- the LaTeXDocumentPortion
to which
LaTeX code should be addedoc
- the current context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |