Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jfor.jfor.rtflib.rtfdoc
Class RtfTable  view RtfTable download RtfTable.java

java.lang.Object
  extended byorg.jfor.jfor.rtflib.rtfdoc.RtfElement
      extended byorg.jfor.jfor.rtflib.rtfdoc.RtfContainer
          extended byorg.jfor.jfor.rtflib.rtfdoc.RtfTable

public class RtfTable
extends RtfContainer

Container for RtfRow elements


Field Summary
private  int highestRow
           
private  RtfAttributes m_header_attribs
           
private  RtfTableRow m_row
           
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
 
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer
 
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement
m_attrib, m_parent, m_writer
 
Constructor Summary
(package private) RtfTable(IRtfTableContainer parent, java.io.Writer w, org.jfor.jfor.interfaces.ITableColumnsInfo tc)
          Create an RTF element as a child of given container
(package private) RtfTable(IRtfTableContainer parent, java.io.Writer w, RtfAttributes attrs, org.jfor.jfor.interfaces.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
 
Method Summary
 org.jfor.jfor.interfaces.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
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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

Method Detail

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