writer2latex.latex
public class TableConverter extends ConverterHelper
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:
| Constructor Summary | |
|---|---|
| TableConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) Constructs a new | |
| Method Summary | |
|---|---|
| void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) |
| void | handleCaption(Element node, LaTeXDocumentPortion ldp, Context oc) |
| void | handleTable(Element node, Element caption, boolean bCaptionAbove, LaTeXDocumentPortion ldp, Context oc) Process a table (table:table or table:sub-table tag) |
Constructs a new TableConverter.
Process a table (table:table or table:sub-table tag)
Parameters: node The element containing the table ldp the LaTeXDocumentPortion to which
LaTeX code should be added oc the current context