Package 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
,com.lowagie.text.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 $
-
-
Field Summary
Fields Modifier and Type Field Description static byte[]
NEW_PAGE
Constant for a new page-
Fields inherited from class com.lowagie.text.rtf.RtfElement
document, inHeader, inTable
-
Fields inherited from interface com.lowagie.text.rtf.RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR
-
-
Constructor Summary
Constructors Constructor Description RtfNewPage(RtfDocument doc)
Constructs a RtfNewPage
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeContent(java.io.OutputStream result)
Writes a new page-
Methods inherited from class com.lowagie.text.rtf.RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
-
-
-
Constructor Detail
-
RtfNewPage
public RtfNewPage(RtfDocument doc)
Constructs a RtfNewPage- Parameters:
doc
- The RtfDocument this RtfNewPage belongs to
-
-
Method Detail
-
writeContent
public void writeContent(java.io.OutputStream result) throws java.io.IOException
Writes a new page- Specified by:
writeContent
in interfaceRtfBasicElement
- Specified by:
writeContent
in classRtfElement
- Parameters:
result
- TheOutputStream
to write the content to- Throws:
java.io.IOException
-
-