com.lowagie.text.rtf.table
public class RtfRow extends RtfElement
Version: $Id: RtfRow.java 2776 2007-05-23 20:01:40Z hallm $
| Field Summary | |
|---|---|
| ArrayList | cells
The cells of this RtfRow |
| RtfTable | parentTable
The RtfTable this RtfRow belongs to |
| int | rowNumber
The row number |
| static byte[] | ROW_ALIGN_CENTER
Constant for center alignment of this RtfRow |
| static byte[] | ROW_ALIGN_JUSTIFIED
Constant for justified alignment of this RtfRow |
| static byte[] | ROW_ALIGN_LEFT
Constant for left alignment of this RtfRow |
| static byte[] | ROW_ALIGN_RIGHT
Constant for right alignment of this RtfRow |
| static byte[] | ROW_BEGIN
Constant for the RtfRow beginning |
| static byte[] | ROW_CELL_PADDING_LEFT
Constant for the cell left padding |
| static byte[] | ROW_CELL_PADDING_LEFT_STYLE
Constant for the cell left padding style |
| static byte[] | ROW_CELL_PADDING_RIGHT
Constant for the cell right padding |
| static byte[] | ROW_CELL_PADDING_RIGHT_STYLE
Constant for the cell right padding style |
| static byte[] | ROW_CELL_SPACING_BOTTOM
Constant for the cell bottom spacing |
| static byte[] | ROW_CELL_SPACING_BOTTOM_STYLE
Constant for the cell bottom spacing style |
| static byte[] | ROW_CELL_SPACING_LEFT
Constant for the cell left spacing |
| static byte[] | ROW_CELL_SPACING_LEFT_STYLE
Constant for the cell left spacing style |
| static byte[] | ROW_CELL_SPACING_RIGHT
Constant for the cell right spacing |
| static byte[] | ROW_CELL_SPACING_RIGHT_STYLE
Constant for the cell right spacing style |
| static byte[] | ROW_CELL_SPACING_TOP
Constant for the cell top spacing |
| static byte[] | ROW_CELL_SPACING_TOP_STYLE
Constant for the cell top spacing style |
| static byte[] | ROW_END
Constant for the end of a row |
| static byte[] | ROW_GRAPH
Constant for the graph style of this RtfRow |
| static byte[] | ROW_HEADER_ROW
Constant to specify that this is a header RtfRow |
| static byte[] | ROW_KEEP_TOGETHER
Constant to specify that this RtfRow are not to be broken across pages |
| static byte[] | ROW_WIDTH
Constant for the RtfRow width |
| static byte[] | ROW_WIDTH_STYLE
Constant for the RtfRow width style |
| int | width
The width of this row |
| Constructor Summary | |
|---|---|
| protected | RtfRow(RtfDocument doc, RtfTable rtfTable, Row row, int rowNumber)
Constructs a RtfRow for a Row.
|
| Method Summary | |
|---|---|
| protected void | cleanRow()
Cleans the deleted RtfCells from the total RtfCells. |
| 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. |
| void | importRow(Row row)
Imports a Row and copies all settings
|
| byte[] | write()
Writes the content of this RtfRow
|
| void | writeContent(OutputStream result)
Writes the content of this RtfRow |
| byte[] | writeRowDefinitions()
Writes the row definition/settings.
|
| void | writeRowDefinitions(OutputStream result)
Writes the row definition/settings. |
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
Returns: The cells of this RtfRow
Returns: The parent RtfTable of this RtfRow
Parameters: row The Row to import
Deprecated: replaced by writeContent
Writes the content of this RtfRowReturns: A byte array with the content of this RtfRow
Deprecated: replaced by writeRowDefinitions
Writes the row definition/settings.Returns: A byte array with the row definitions/settings.