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

Quick Search    Search Deep

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

java.lang.Object
  extended byorg.jfor.jfor.rtflib.rtfdoc.RtfElement
      extended byorg.jfor.jfor.rtflib.rtfdoc.RtfPageBreak

public class RtfPageBreak
extends RtfElement

"Model" of an RTF page break


Field Summary
 
Fields inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement
m_attrib, m_parent, m_writer
 
Constructor Summary
(package private) RtfPageBreak(IRtfPageBreakContainer parent, java.io.Writer w)
          Create an RTF paragraph as a child of given container with default attributes
 
Method Summary
 boolean isEmpty()
          true if this element would generate no "useful" RTF content
protected  void writeRtfContent()
          overridden to write our attributes before our content
 
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement
close, dump, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, okToWriteRtf, toString, 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
 

Constructor Detail

RtfPageBreak

RtfPageBreak(IRtfPageBreakContainer parent,
             java.io.Writer w)
       throws java.io.IOException
Create an RTF paragraph as a child of given container with default attributes

Method Detail

writeRtfContent

protected void writeRtfContent()
                        throws java.io.IOException
overridden to write our attributes before our content

Specified by:
writeRtfContent in class RtfElement

isEmpty

public boolean isEmpty()
true if this element would generate no "useful" RTF content

Specified by:
isEmpty in class RtfElement