public class PatchRtfTable
extends com.lowagie.text.rtf.RtfElement
Constructor and Description |
---|
PatchRtfTable(com.lowagie.text.rtf.document.RtfDocument doc,
com.lowagie.text.pdf.PdfPTable table)
Constructs a PatchRtfTable based on a PdfTable for a RtfDocument.
|
PatchRtfTable(com.lowagie.text.rtf.document.RtfDocument doc,
com.lowagie.text.Table table)
Constructs a PatchRtfTable based on a Table for a RtfDocument.
|
Modifier and Type | Method and Description |
---|---|
protected int |
getAlignment()
Gets the alignment of this PatchRtfTable
|
protected PatchRtfBorderGroup |
getBorders()
Gets the borders of this PatchRtfTable
|
protected float |
getCellPadding()
Gets the cell padding of this PatchRtfTable
|
protected boolean |
getCellsFitToPage()
Gets the cellsFitToPage setting of this PatchRtfTable.
|
protected float |
getCellSpacing()
Gets the cell spacing of this PatchRtfTable
|
protected int |
getHeaderRows()
Gets the number of header rows of this PatchRtfTable
|
protected float[] |
getProportionalWidths()
Gets the proportional cell widths of this PatchRtfTable
|
protected ArrayList |
getRows()
Gets the rows of this PatchRtfTable
|
protected boolean |
getTableFitToPage()
Gets the tableFitToPage setting of this PatchRtfTable.
|
protected float |
getTableWidthPercent()
Gets the percentage of the page width this PatchRtfTable covers
|
void |
writeContent(OutputStream result)
Writes the content of this PatchRtfTable
|
public PatchRtfTable(com.lowagie.text.rtf.document.RtfDocument doc, com.lowagie.text.Table table)
doc
- The RtfDocument this PatchRtfTable belongs totable
- The Table that this PatchRtfTable wrapspublic PatchRtfTable(com.lowagie.text.rtf.document.RtfDocument doc, com.lowagie.text.pdf.PdfPTable table)
doc
- The RtfDocument this PatchRtfTable belongs totable
- The PdfPTable that this PatchRtfTable wrapspublic void writeContent(OutputStream result) throws IOException
writeContent
in interface com.lowagie.text.rtf.RtfBasicElement
writeContent
in class com.lowagie.text.rtf.RtfElement
IOException
protected int getAlignment()
protected PatchRtfBorderGroup 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()
Copyright © 2017 Hitachi Vantara. All rights reserved.