public class RtfExtraRowSet extends RtfContainer
org.jfor.jfor.rtflib.testdoc.NestedTable| Modifier and Type | Field and Description |
|---|---|
(package private) int |
DEFAULT_IDNUM |
m_attrib, m_parent, m_writer| Constructor and Description |
|---|
RtfExtraRowSet(java.io.Writer w)
an RtfExtraRowSet has no parent, it is only used temporary during
generation of RTF for an RtfTableRow
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
addTable(RtfTable tbl,
int rowIndex,
int xOffset)
Add all cells of given Table to this set for later rendering in extra rows
|
(package private) RtfTableCell |
createExtraCell(int rowIndex,
int xOffset,
int cellWidth,
RtfAttributes parentCellAttributes)
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
|
ITableColumnsInfo |
getParentITableColumnsInfo() |
boolean |
isEmpty()
As this contains cells from several rows, we say that it's empty
only if we have no cells.
|
void |
setParentITableColumnsInfo(ITableColumnsInfo parentITableColumnsInfo) |
protected void |
writeRtfContent()
render extra RtfTableRows containing all the extra RtfTableCells that we contain
|
addChild, containsText, dump, getChildCount, getChildren, getOptions, okToWriteRtf, setChildren, setOptions, toStringclose, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNSfinal int DEFAULT_IDNUM
RtfExtraRowSet(java.io.Writer w)
throws java.io.IOException
java.io.IOExceptionint addTable(RtfTable tbl, int rowIndex, int xOffset)
rowIndex - index of first extra row to create to hold cells of tblxOffset - horizontal position of left edge of first column of tblRtfTableCell createExtraCell(int rowIndex, int xOffset, int cellWidth, RtfAttributes parentCellAttributes) throws java.io.IOException
java.io.IOExceptionprotected void writeRtfContent()
throws java.io.IOException
writeRtfContent in class RtfContainerjava.io.IOExceptionpublic boolean isEmpty()
isEmpty in class RtfContainerpublic ITableColumnsInfo getParentITableColumnsInfo()
public void setParentITableColumnsInfo(ITableColumnsInfo parentITableColumnsInfo)