com.lowagie.text.rtf.table
Class RtfRow

java.lang.Object
  extended by com.lowagie.text.rtf.RtfElement
      extended by com.lowagie.text.rtf.table.RtfRow
All Implemented Interfaces:
RtfBasicElement

public class RtfRow
extends RtfElement

The RtfRow wraps one Row for a RtfTable. INTERNAL USE ONLY

Version:
$Version:$
Author:
Mark Hall (mhall@edu.uni-klu.ac.at), Steffen Stundzig, Lorenz Maierhofer

Field Summary
 
Fields inherited from class com.lowagie.text.rtf.RtfElement
document, inHeader, inTable
 
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
 
Constructor Summary
protected RtfRow(RtfDocument doc, RtfTable rtfTable, Row row, int rowNumber)
          Constructs a RtfRow for a Row.
 
Method Summary
protected  ArrayList getCells()
          Gets the cells of this RtfRow
protected  RtfTable getParentTable()
          Gets the parent RtfTable of this RtfRow
protected  void handleCellSpanning()
          Performs a second pass over all cells to handle cell row/column spanning.
 byte[] write()
          Writes the content of this RtfRow
 
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtfRow

protected RtfRow(RtfDocument doc,
                 RtfTable rtfTable,
                 Row row,
                 int rowNumber)
Constructs a RtfRow for a Row.

Parameters:
doc - The RtfDocument this RtfRow belongs to
rtfTable - The RtfTable this RtfRow belongs to
row - The Row this RtfRow is based on
rowNumber - The number of this row
Method Detail

handleCellSpanning

protected void handleCellSpanning()
Performs a second pass over all cells to handle cell row/column spanning.


write

public byte[] write()
Writes the content of this RtfRow

Specified by:
write in interface RtfBasicElement
Overrides:
write in class RtfElement
Returns:
A byte array with the content of this RtfRow

getParentTable

protected RtfTable getParentTable()
Gets the parent RtfTable of this RtfRow

Returns:
The parent RtfTable of this RtfRow

getCells

protected ArrayList getCells()
Gets the cells of this RtfRow

Returns:
The cells of this RtfRow


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.