public class RtfTable extends RtfContainer
m_attrib, m_parent, m_writer
Constructor and Description |
---|
RtfTable(IRtfTableContainer parent,
java.io.Writer w,
ITableColumnsInfo tc)
Create an RTF element as a child of given container
|
RtfTable(IRtfTableContainer parent,
java.io.Writer w,
RtfAttributes attrs,
ITableColumnsInfo tc)
Create an RTF element as a child of given container
Modified by Boris Poud?rous in order to process 'number-columns-spanned' attribute
|
Modifier and Type | Method and Description |
---|---|
ITableColumnsInfo |
getITableColumnsInfo()
Added by Boris Poud?rous on 07/22/2002
|
RtfAttributes |
getRtfAttributes() |
boolean |
isHighestRow(int id) |
RtfTableRow |
newTableRow()
close current row if any and start a new one
|
RtfTableRow |
newTableRow(RtfAttributes attrs)
close current row if any and start a new one
|
void |
setHeaderAttribs(RtfAttributes attrs) |
protected void |
writeRtfPrefix()
overridden to write RTF prefix code, what comes before our children
|
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, writeRtfContent
close, getParentOfClass, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS
RtfTable(IRtfTableContainer parent, java.io.Writer w, ITableColumnsInfo tc) throws java.io.IOException
java.io.IOException
RtfTable(IRtfTableContainer parent, java.io.Writer w, RtfAttributes attrs, ITableColumnsInfo tc) throws java.io.IOException
java.io.IOException
public RtfTableRow newTableRow() throws java.io.IOException
java.io.IOException
public RtfTableRow newTableRow(RtfAttributes attrs) throws java.io.IOException
java.io.IOException
protected void writeRtfPrefix() throws java.io.IOException
writeRtfPrefix
in class RtfElement
java.io.IOException
protected void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
public boolean isHighestRow(int id)
public ITableColumnsInfo getITableColumnsInfo()
public void setHeaderAttribs(RtfAttributes attrs)
public RtfAttributes getRtfAttributes()
getRtfAttributes
in class RtfElement