com.lowagie.text.rtf.text

Class RtfNewPage

public class RtfNewPage extends RtfElement

The RtfNewPage creates a new page. INTERNAL CLASS

Version: $Version:$

Author: Mark Hall (mhall@edu.uni-klu.ac.at)

Field Summary
static byte[]NEW_PAGE
Constant for a new page
Constructor Summary
RtfNewPage(RtfDocument doc)
Constructs a RtfNewPage
Method Summary
byte[]write()
Writes a new page

Field Detail

NEW_PAGE

private static final byte[] NEW_PAGE
Constant for a new page

Constructor Detail

RtfNewPage

public RtfNewPage(RtfDocument doc)
Constructs a RtfNewPage

Parameters: doc The RtfDocument this RtfNewPage belongs to

Method Detail

write

public byte[] write()
Writes a new page

Returns: A byte array with the new page set