| java.lang.Object org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExtraRowSet
RtfExtraRowSet | public class RtfExtraRowSet extends RtfContainer (Code) | | Used to add extra table rows after a row that contains a nested table:
created by RtfTableRow before generating RTF code
an RtfTableCell that contains a nested table can ask this to put
some of its children in extra rows that after the current row
once RtfTableRow is done rendering its children, it renders this,
causing extra rows to be generated, with content that can come
from several RtfTableCells
See org.apache.fop.rtf.rtflib.testdocs.NestedTable for an example of
usage.
author: Bertrand Delacretaz bdelacretaz@codeconsult.ch |
DEFAULT_IDNUM | final static int DEFAULT_IDNUM(Code) | | |
RtfExtraRowSet | RtfExtraRowSet(Writer w) throws IOException(Code) | | an RtfExtraRowSet has no parent, it is only used temporary during
generation of RTF for an RtfTableRow
|
addTable | int addTable(RtfTable tbl, int rowIndex, int xOffset)(Code) | | Add all cells of given Table to this set for later rendering in extra rows
index of extra row to use for elements that follow this table in the same cell Parameters: rowIndex - index of first extra row to create to hold cells of tbl Parameters: xOffset - horizontal position of left edge of first column of tbl |
createExtraCell | RtfTableCell createExtraCell(int rowIndex, int xOffset, int cellWidth, RtfAttributes parentCellAttributes) throws IOException(Code) | | create an extra cell to hold content that comes after a nested table in a cell
Modified by Boris Poudérous in order to permit the extra cell to have
the attributes of its parent cell
|
getParentITableColumnsInfo | public ITableColumnsInfo getParentITableColumnsInfo()(Code) | | The table context of the parent tableAdded by Boris Poudérous on july 2002 in order to process nested tables |
isEmpty | public boolean isEmpty()(Code) | | As this contains cells from several rows, we say that it's empty
only if we have no cells.
writeRow makes the decision about rendering specific rows
false (always) |
setParentITableColumnsInfo | public void setParentITableColumnsInfo(ITableColumnsInfo parentITableColumnsInfo)(Code) | | Parameters: parentITableColumnsInfo - table context to set |
writeRtfContent | protected void writeRtfContent() throws IOException(Code) | | render extra RtfTableRows containing all the extra RtfTableCells that we
contain
throws: IOException - for I/O problems |
|
|