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-2008 by Henrik Just All Rights Reserved. Version 1.0 (2008-12-15)
Field Summary
protected VectorsheetNames
Constructor Summary
TableConverter(OfficeReader ofr, XhtmlConfig config, Converter converter)
Method Summary
StringborderWidth(String sBorder)
voidconvertTableContent(Element onode)
Converts an office node as a complete table (spreadsheet) document
voidhandleTable(Node onode, Node hnode)
Process a table:table tag

Field Detail

sheetNames

protected Vector sheetNames

Constructor Detail

TableConverter

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

Method Detail

borderWidth

public String borderWidth(String sBorder)

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