writer2latex.office
public class TableReader extends Object
This class reads a table from a table:table or table:sub-table element and presents it as an n by m grid. In addition it gives access to the absolute and relative widths of tables, columns and cells.
Constructor Summary | |
---|---|
TableReader(OfficeReader ofr, Element tableNode) The constructor reads a table from a table:table or table:sub-table node. |
Method Summary | |
---|---|
Element | getCell(int nRow, int nCol) |
String | getCellStyleName(int nRow, int nCol) |
String | getCellWidth(int nRow, int nCol) |
TableLine | getCol(int nCol) |
int | getColCount() |
String | getColumnWidth(int nCol) |
int | getFirstBodyRow() |
int | getMaxColCount() |
int | getMaxRowCount() |
TableRange | getPrintRange(int nIndex) |
int | getPrintRangeCount() |
String | getRelColumnWidth(int nCol) |
String | getRelTableWidth() |
TableLine | getRow(int nRow) |
int | getRowCount() |
String | getTableName() |
String | getTableStyleName() |
String | getTableWidth() |
boolean | isSubTable() |
The constructor reads a table from a table:table or table:sub-table node.
Parameters: ofr the OfficeReader object to get style information from tableNode the table node