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

Quick Search    Search Deep

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

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

public class RtfPageArea
extends RtfContainer


Field Summary
private  RtfAttributes childAttributes
           
private  RtfPage m_currentPage
           
private  RtfNull nullChild
           
 
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) RtfPageArea(RtfFile f, java.io.Writer w)
          Create an RTF element as a child of given container
 
Method Summary
 RtfPage newPage(RtfAttributes attr)
          close current Rtfpage if any and create a new one
protected  boolean okToWriteRtf()
          don't write any RTF if empty of if our options block it
 
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, 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_currentPage

private RtfPage m_currentPage

nullChild

private RtfNull nullChild

childAttributes

private RtfAttributes childAttributes
Constructor Detail

RtfPageArea

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

Method Detail

newPage

public RtfPage newPage(RtfAttributes attr)
                throws java.io.IOException
close current Rtfpage if any and create a new one


okToWriteRtf

protected boolean okToWriteRtf()
Description copied from class: RtfContainer
don't write any RTF if empty of if our options block it

Overrides:
okToWriteRtf in class RtfContainer