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

Quick Search    Search Deep

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

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

public class RtfDocumentArea
extends RtfContainer

The RTF document area, container for RtfSection objects.


Field Summary
private  RtfSection m_currentSection
           
 
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) RtfDocumentArea(RtfFile f, java.io.Writer w)
          Create an RTF element as a child of given container
 
Method Summary
 RtfSection newSection()
          close current RtfSection if any and create a new one
 
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, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_currentSection

private RtfSection m_currentSection
Constructor Detail

RtfDocumentArea

RtfDocumentArea(RtfFile f,
                java.io.Writer w)
          throws java.io.IOException
Create an RTF element as a child of given container

Method Detail

newSection

public RtfSection newSection()
                      throws java.io.IOException
close current RtfSection if any and create a new one