|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.table.RtfTable
public class RtfTable
The RtfTable wraps a Table. INTERNAL USE ONLY
| 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 | |
|---|---|
RtfTable(RtfDocument doc,
PdfPTable table)
Constructs a RtfTable based on a PdfTable for a RtfDocument. |
|
RtfTable(RtfDocument doc,
Table table)
Constructs a RtfTable based on a Table 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 |
writeContent(OutputStream result)
Writes the content of this RtfTable |
| 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 |
|---|
public RtfTable(RtfDocument doc,
Table table)
doc - The RtfDocument this RtfTable belongs totable - The Table that this RtfTable wraps
public RtfTable(RtfDocument doc,
PdfPTable table)
doc - The RtfDocument this RtfTable belongs totable - The PdfPTable that this RtfTable wraps| Method Detail |
|---|
public void writeContent(OutputStream result)
throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementresult - The OutputStream to write the content to
IOExceptionprotected int getAlignment()
protected RtfBorderGroup getBorders()
protected float getCellPadding()
protected float getCellSpacing()
protected float[] getProportionalWidths()
protected float getTableWidthPercent()
protected ArrayList getRows()
protected boolean getCellsFitToPage()
protected boolean getTableFitToPage()
protected int getHeaderRows()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||