Class RtfNewPage
java.lang.Object
com.lowagie.text.rtf.RtfElement
com.lowagie.text.rtf.text.RtfNewPage
- All Implemented Interfaces:
RtfBasicElement
The RtfNewPage creates a new page. INTERNAL CLASS
- Version:
- $Id: RtfNewPage.java 3580 2008-08-06 15:52:00Z howard_s $
-
Field Summary
FieldsFields inherited from class RtfElement
document, inHeader, inTableFields inherited from interface RtfBasicElement
CLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class RtfElement
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocument
-
Field Details
-
NEW_PAGE
public static final byte[] NEW_PAGEConstant for a new page
-
-
Constructor Details
-
RtfNewPage
Constructs a RtfNewPage- Parameters:
doc- The RtfDocument this RtfNewPage belongs to
-
-
Method Details
-
writeContent
Writes a new page- Specified by:
writeContentin interfaceRtfBasicElement- Specified by:
writeContentin classRtfElement- Parameters:
result- TheOutputStreamto write the content to- Throws:
IOException
-