public class RtfTableRow extends RtfContainer implements ITableAttributes
m_attrib, m_parent, m_writer
ATTR_CELL_PADDING_BOTTOM, ATTR_CELL_PADDING_LEFT, ATTR_CELL_PADDING_RIGHT, ATTR_CELL_PADDING_TOP, ATTR_CELL_U_PADDING_BOTTOM, ATTR_CELL_U_PADDING_LEFT, ATTR_CELL_U_PADDING_RIGHT, ATTR_CELL_U_PADDING_TOP, ATTR_ROW_PADDING_BOTTOM, ATTR_ROW_PADDING_LEFT, ATTR_ROW_PADDING_RIGHT, ATTR_ROW_PADDING_TOP, ATTR_ROW_U_PADDING_BOTTOM, ATTR_ROW_U_PADDING_LEFT, ATTR_ROW_U_PADDING_RIGHT, ATTR_ROW_U_PADDING_TOP, ATTR_RTF_15_TRGAPH, ATTRIB_CELL_PADDING, ATTRIB_ROW_PADDING, CELL_BORDER, CELL_BORDER_BOTTOM, CELL_BORDER_LEFT, CELL_BORDER_RIGHT, CELL_BORDER_TOP, CELL_COLOR, CELL_COLOR_BACKGROUND, CELL_COLOR_FOREGROUND, CELL_SHADE, COLUMN_SPAN, ROW_BORDER, ROW_BORDER_BOTTOM, ROW_BORDER_HORIZONTAL, ROW_BORDER_LEFT, ROW_BORDER_RIGHT, ROW_BORDER_TOP, ROW_BORDER_VERTICAL, ROW_HEIGHT, ROW_KEEP_TOGETHER, ROW_KEEP_WITH_NEXT, ROW_KEEP_WITH_PREVIOUS, ROW_SPAN
Constructor and Description |
---|
RtfTableRow(RtfTable parent,
java.io.Writer w,
int idNum)
Create an RTF element as a child of given container
|
RtfTableRow(RtfTable parent,
java.io.Writer w,
RtfAttributes attrs,
int idNum)
Create an RTF element as a child of given container
|
Modifier and Type | Method and Description |
---|---|
(package private) RtfExtraRowSet |
getExtraRowSet() |
boolean |
isFirstRow() |
boolean |
isHighestCell(int id) |
RtfTableCell |
newTableCell(int cellWidth)
close current cell if any and start a new one
|
RtfTableCell |
newTableCell(int cellWidth,
RtfAttributes attrs)
close current cell if any and start a new one
|
RtfTableCell |
newTableCellMergedHorizontally(int cellWidth,
RtfAttributes attrs)
Added by Boris POUDEROUS on 07/02/2002
in order to add an empty cell that is merged with the previous cell.
|
RtfTableCell |
newTableCellMergedVertically(int cellWidth,
RtfAttributes attrs)
Added by Boris POUDEROUS on 07/02/2002
in order to add an empty cell that is merged with the cell above.
|
protected void |
writeRtfContent()
overridden to write trowd and cell definitions before writing our cells
|
protected void |
writeRtfPrefix()
called before writeRtfContent()
|
protected void |
writeRtfSuffix()
overridden to write RTF suffix code, what comes after our children
|
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS
RtfTableRow(RtfTable parent, java.io.Writer w, int idNum) throws java.io.IOException
java.io.IOException
RtfTableRow(RtfTable parent, java.io.Writer w, RtfAttributes attrs, int idNum) throws java.io.IOException
java.io.IOException
public RtfTableCell newTableCell(int cellWidth) throws java.io.IOException
java.io.IOException
public RtfTableCell newTableCell(int cellWidth, RtfAttributes attrs) throws java.io.IOException
java.io.IOException
public RtfTableCell newTableCellMergedVertically(int cellWidth, RtfAttributes attrs) throws java.io.IOException
java.io.IOException
public RtfTableCell newTableCellMergedHorizontally(int cellWidth, RtfAttributes attrs) throws java.io.IOException
java.io.IOException
protected void writeRtfPrefix() throws java.io.IOException
RtfElement
writeRtfPrefix
in class RtfElement
java.io.IOException
protected void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfContainer
java.io.IOException
protected void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
RtfExtraRowSet getExtraRowSet()
public boolean isFirstRow()
public boolean isHighestCell(int id)