java.lang.Object
org.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfTable
- public class RtfTable
- extends RtfContainer
Container for RtfRow elements
| Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
|
| Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
| Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
close, getParentOfClass, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS |
m_row
private RtfTableRow m_row
highestRow
private int highestRow
m_table_context
private org.jfor.jfor.interfaces.ITableColumnsInfo m_table_context
- Added by Boris Poudérous on 07/22/2002 in order to process number-columns-spanned attribute
m_header_attribs
private RtfAttributes m_header_attribs
RtfTable
RtfTable(IRtfTableContainer parent,
java.io.Writer w,
org.jfor.jfor.interfaces.ITableColumnsInfo tc)
throws java.io.IOException
- Create an RTF element as a child of given container
RtfTable
RtfTable(IRtfTableContainer parent,
java.io.Writer w,
RtfAttributes attrs,
org.jfor.jfor.interfaces.ITableColumnsInfo tc)
throws java.io.IOException
- Create an RTF element as a child of given container
Modified by Boris Poudérous in order to process 'number-columns-spanned' attribute
newTableRow
public RtfTableRow newTableRow()
throws java.io.IOException
- close current row if any and start a new one
newTableRow
public RtfTableRow newTableRow(RtfAttributes attrs)
throws java.io.IOException
- close current row if any and start a new one
writeRtfPrefix
protected void writeRtfPrefix()
throws java.io.IOException
- overridden to write RTF prefix code, what comes before our children
- Overrides:
writeRtfPrefix in class RtfElement
writeRtfSuffix
protected void writeRtfSuffix()
throws java.io.IOException
- overridden to write RTF suffix code, what comes after our children
- Overrides:
writeRtfSuffix in class RtfElement
isHighestRow
public boolean isHighestRow(int id)
getITableColumnsInfo
public org.jfor.jfor.interfaces.ITableColumnsInfo getITableColumnsInfo()
- Added by Boris Poudérous on 07/22/2002
setHeaderAttribs
public void setHeaderAttribs(RtfAttributes attrs)
getRtfAttributes
public RtfAttributes getRtfAttributes()
- Overrides:
getRtfAttributes in class RtfElement