isFirstRow
public boolean isFirstRow()
- true if the row is the first in the table
isHighestCell
public boolean isHighestCell(int cellId)
cellId
- cell id to check
- true if the cell is the highest cell
newTableCell
public RtfTableCell newTableCell(int cellWidth)
throws IOException
Close current cell if any and start a new one
cellWidth
- width of new cell
newTableCell
public RtfTableCell newTableCell(int cellWidth,
RtfAttributes attrs)
throws IOException
Close current cell if any and start a new one
cellWidth
- width of new cellattrs
- attributes of new cell
newTableCellMergedHorizontally
public RtfTableCell newTableCellMergedHorizontally(int cellWidth,
RtfAttributes attrs)
throws IOException
Added by Boris POUDEROUS on 07/02/2002
in order to add an empty cell that is merged with the previous cell.
cellWidth
- width of new cellattrs
- attributes of new cell
newTableCellMergedVertically
public RtfTableCell newTableCellMergedVertically(int cellWidth,
RtfAttributes attrs)
throws IOException
Added by Boris POUDEROUS on 07/02/2002
in order to add an empty cell that is merged with the cell above.
This cell is placed before or after the nested table.
cellWidth
- width of new cellattrs
- attributes of new cell
writeRowAndCellsDefintions
public void writeRowAndCellsDefintions()
throws IOException
writeRtfContent
protected void writeRtfContent()
throws IOException
Overridden to write trowd and cell definitions before writing our cells
- writeRtfContent in interface RtfContainer
writeRtfSuffix
protected void writeRtfSuffix()
throws IOException
Overridden to write RTF suffix code, what comes after our children
- writeRtfSuffix in interface RtfElement