writer2latex.xhtml

Class TableConverter


public class TableConverter
extends ConverterHelper

TableConverter.java This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 2.1, as published by the Free Software Foundation. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Copyright: 2002-2007 by Henrik Just All Rights Reserved. Version 0.5 (2007-05-11)

Field Summary

protected Vector
sheetNames

Fields inherited from class writer2latex.xhtml.ConverterHelper

config, converter, ofr

Constructor Summary

TableConverter(OfficeReader ofr, Config config, Converter converter)

Method Summary

void
convertTableContent(Element onode)
Converts an office node as a complete table (spreadsheet) document
void
handleTable(Node onode, Node hnode)
Process a table:table tag

Methods inherited from class writer2latex.xhtml.ConverterHelper

applyStyle, getCellSc, getDrawCv, getFrameSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc

Field Details

sheetNames

protected Vector sheetNames

Constructor Details

TableConverter

public TableConverter(OfficeReader ofr,
                      Config config,
                      Converter converter)

Method Details

convertTableContent

public void convertTableContent(Element onode)
Converts an office node as a complete table (spreadsheet) document
Parameters:
onode - the Office node containing the content to convert

handleTable

public void handleTable(Node onode,
                        Node hnode)
Process a table:table tag
Parameters:
onode - the Office node containing the table element
hnode - the XHTML node to which the table should be attached