writer2latex.office
Class TableView
java.lang.Object
writer2latex.office.TableView
public class TableView
- extends java.lang.Object
This class represents a view of a TableRange
. A view provides
read access to the range using a simple grid model.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
private TableReader reader
range
private TableRange range
nRowCount
private int nRowCount
nColCount
private int nColCount
nRowMap
private int[] nRowMap
nColMap
private int[] nColMap
cells
private CellView[][] cells
TableView
public TableView(TableReader reader,
TableRange range)
getRelTableWidth
public java.lang.String getRelTableWidth()
getRowCount
public int getRowCount()
getColCount
public int getColCount()
getColumnWidth
public java.lang.String getColumnWidth(int nCol)
getRelColumnWidth
public java.lang.String getRelColumnWidth(int nCol)
getRow
public TableLine getRow(int nRow)
getCol
public TableLine getCol(int nCol)
getCell
public org.w3c.dom.Element getCell(int nRow,
int nCol)
getRowSpan
public int getRowSpan(int nRow,
int nCol)
getColSpan
public int getColSpan(int nRow,
int nCol)
getCellStyleName
public java.lang.String getCellStyleName(int nRow,
int nCol)
getCellWidth
public java.lang.String getCellWidth(int nRow,
int nCol)
isVisibleRow
private boolean isVisibleRow(int nRow)
isVisibleCol
private boolean isVisibleCol(int nCol)