public class RtfNewPage extends RtfElement
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
NEW_PAGE
Constant for a new page
|
document, inHeader, inTableCLOSE_GROUP, COMMA_DELIMITER, DELIMITER, OPEN_GROUP, TWIPS_FACTOR| Constructor and Description |
|---|
RtfNewPage(RtfDocument doc)
Constructs a RtfNewPage
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeContent(OutputStream result)
Writes a new page
|
intToByteArray, isInTable, setInHeader, setInTable, setRtfDocumentpublic RtfNewPage(RtfDocument doc)
doc - The RtfDocument this RtfNewPage belongs topublic void writeContent(OutputStream result) throws IOException
writeContent in interface RtfBasicElementwriteContent in class RtfElementresult - The OutputStream to write the content toIOExceptionCopyright © 2017. All rights reserved.