com.lowagie.text.rtf.table
public class RtfTable extends RtfElement
Version: $Id: RtfTable.java 3533 2008-07-07 21:27:13Z Howard_s $
| Field Summary | |
|---|---|
| int | alignment
The alignment of this RtfTable |
| RtfBorderGroup | borders
The border style of this RtfTable |
| float | cellPadding
The cell padding |
| boolean | cellsFitToPage
Whether the cells in this RtfTable must fit in a page |
| float | cellSpacing
The cell spacing |
| int | headerRows
The number of header rows in this RtfTable |
| int | offset
The offset from the previous text |
| float[] | proportionalWidths
An array with the proportional widths of the cells in each row |
| ArrayList | rows
The rows of this RtfTable |
| boolean | tableFitToPage
Whether the whole RtfTable must fit in a page |
| float | tableWidthPercent
The percentage of the page width that this RtfTable covers |
| Constructor Summary | |
|---|---|
| RtfTable(RtfDocument doc, Table table)
Constructs a RtfTable based on a Table for a RtfDocument.
| |
| RtfTable(RtfDocument doc, PdfPTable table)
Constructs a RtfTable based on a PdfTable for a RtfDocument.
| |
| Method Summary | |
|---|---|
| protected int | getAlignment()
Gets the alignment of this RtfTable
|
| protected RtfBorderGroup | getBorders()
Gets the borders of this RtfTable
|
| protected float | getCellPadding()
Gets the cell padding of this RtfTable
|
| protected boolean | getCellsFitToPage()
Gets the cellsFitToPage setting of this RtfTable.
|
| protected float | getCellSpacing()
Gets the cell spacing of this RtfTable
|
| protected int | getHeaderRows()
Gets the number of header rows of this RtfTable
|
| protected float[] | getProportionalWidths()
Gets the proportional cell widths of this RtfTable
|
| protected ArrayList | getRows()
Gets the rows of this RtfTable
|
| protected boolean | getTableFitToPage()
Gets the tableFitToPage setting of this RtfTable.
|
| protected float | getTableWidthPercent()
Gets the percentage of the page width this RtfTable covers
|
| void | importTable(Table table)
Imports the rows and settings from the Table into this
RtfTable.
|
| void | importTable(PdfPTable table)
Imports the rows and settings from the Table into this
RtfTable.
|
| void | writeContent(OutputStream result)
Writes the content of this RtfTable |
Parameters: doc The RtfDocument this RtfTable belongs to table The Table that this RtfTable wraps
Parameters: doc The RtfDocument this RtfTable belongs to table The PdfPTable that this RtfTable wraps
Since: 2.1.3
Returns: The alignment of this RtfTable.
Returns: The borders of this RtfTable.
Returns: The cell padding of this RtfTable.
Returns: The cellsFitToPage setting of this RtfTable.
Returns: The cell spacing of this RtfTable.
Returns: The number of header rows
Returns: The proportional widths of this RtfTable.
Returns: The rows of this RtfTable
Returns: The tableFitToPage setting of this RtfTable.
Returns: The percentage of the page width.
Parameters: table The source Table
Parameters: table The source PdfPTable
Since: 2.1.3