com.lowagie.text.rtf.text
Class RtfNewPage
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfNewPage
- All Implemented Interfaces:
- RtfBasicElement, RtfElementInterface
public class RtfNewPage
- extends RtfElement
The RtfNewPage creates a new page. INTERNAL CLASS
- Version:
- $Id: RtfNewPage.java 3580 2008-08-06 15:52:00Z howard_s $
- Author:
- Mark Hall (Mark.Hall@mail.room3b.eu), Thomas Bickel (tmb99@inode.at)
Field Summary |
static byte[] |
NEW_PAGE
Constant for a new page |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEW_PAGE
public static final byte[] NEW_PAGE
- Constant for a new page
RtfNewPage
public RtfNewPage(RtfDocument doc)
- Constructs a RtfNewPage
- Parameters:
doc
- The RtfDocument this RtfNewPage belongs to
writeContent
public void writeContent(OutputStream result)
throws IOException
- Writes a new page
- Specified by:
writeContent
in interface RtfBasicElement
- Specified by:
writeContent
in class RtfElement
- Parameters:
result
- The OutputStream
to write the content to
- Throws:
IOException