| java.lang.Object com.lowagie.text.rtf.RtfTable
RtfTable | public class RtfTable (Code) | | A Helper Class for the RtfWriter .
Do not use it directly, except if you want to write a DocumentListener for Rtf
ONLY FOR USE WITH THE RtfWriter NOT with the RtfWriter2.
Parts of this Class were contributed by Steffen Stundzig. Many thanks for the
improvements.
Updates Benoit Wiart
|
Method Summary | |
protected Table | getOriginalTable() This method allows access to the original Table that led to this RtfTable. | public boolean | importTable(Table table, int pageWidth) Import a Table into the RtfTable . | public void | setMerge(int x, int y, int mergeType, RtfCell mergeCell) RtfCell s call this method to specify that a certain other cell is to be merged with it. | public boolean | writeTable(ByteArrayOutputStream os) Output the content of the RtfTable to an OutputStream. |
RtfTable | public RtfTable(RtfWriter writer)(Code) | | Create a new RtfTable .
Parameters: writer - The RtfWriter that created this Table |
getOriginalTable | protected Table getOriginalTable()(Code) | | This method allows access to the original Table that led to this RtfTable.
The Table object that is the basis of this RtfTable. |
importTable | public boolean importTable(Table table, int pageWidth)(Code) | | Import a Table into the RtfTable .
Parameters: table - A Table specifying the Table to be imported Parameters: pageWidth - An int specifying the page width true if importing the table succeeded |
setMerge | public void setMerge(int x, int y, int mergeType, RtfCell mergeCell)(Code) | | RtfCell s call this method to specify that a certain other cell is to be merged with it.
Parameters: x - The column position of the cell to be merged Parameters: y - The row position of the cell to be merged Parameters: mergeType - The merge type specifies the kind of merge to be applied (MERGE_HORIZ_PREV, MERGE_VERT_PREV, MERGE_BOTH_PREV) Parameters: mergeCell - The RtfCell that the cell at x and y is to be merged with |
|
|