writer2latex.office
Class TableView

java.lang.Object
  extended by 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.


Constructor Summary
TableView(TableReader reader, TableRange range)
           
 
Method Summary
 org.w3c.dom.Element getCell(int nRow, int nCol)
           
 java.lang.String getCellStyleName(int nRow, int nCol)
           
 java.lang.String getCellWidth(int nRow, int nCol)
           
 TableLine getCol(int nCol)
           
 int getColCount()
           
 int getColSpan(int nRow, int nCol)
           
 java.lang.String getColumnWidth(int nCol)
           
 java.lang.String getRelColumnWidth(int nCol)
           
 java.lang.String getRelTableWidth()
           
 TableLine getRow(int nRow)
           
 int getRowCount()
           
 int getRowSpan(int nRow, int nCol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableView

public TableView(TableReader reader,
                 TableRange range)
Method Detail

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)