Package writer2latex.latex
Class TableConverter
java.lang.Object
writer2latex.latex.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:
- use_longtable = true|false
- use_supertabular = true|false
- use_tabulary = true|false
- use_colortbl = true|false
- float_tables = true|false
- float_options = <string>
- table_content = accept|ignore|warning|error
-
Constructor Summary
ConstructorsConstructorDescriptionTableConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) Constructs a newTableConverter. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidhandleCaption(Element node, LaTeXDocumentPortion ldp, Context oc) voidhandleTable(Element node, Element caption, boolean bCaptionAbove, LaTeXDocumentPortion ldp, Context oc) Process a table (table:table or table:sub-table tag)
-
Constructor Details
-
TableConverter
Constructs a new
TableConverter.
-
-
Method Details
-
appendDeclarations
-
handleCaption
-
handleTable
public void handleTable(Element node, Element caption, boolean bCaptionAbove, LaTeXDocumentPortion ldp, Context oc) Process a table (table:table or table:sub-table tag)
- Parameters:
node- The element containing the tableldp- theLaTeXDocumentPortionto which LaTeX code should be addedoc- the current context
-