public class RtfParagraphKeepTogether extends RtfContainer
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_CLOSE_PARAGRAPH
constant for close paragraph
|
static int |
STATUS_NULL
constant for unset status
|
static int |
STATUS_OPEN_PARAGRAPH
constant for open paragraph
|
attrib, parent, writer
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty() |
void |
setStatus(int status)
set the status
|
protected void |
writeRtfContent()
Write the content
|
addChild, findChildren, getChildCount, getChildren, okToWriteRtf, setChildren, setOptions, toString
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
public static final int STATUS_NULL
public static final int STATUS_OPEN_PARAGRAPH
public static final int STATUS_CLOSE_PARAGRAPH
protected void writeRtfContent() throws java.io.IOException
writeRtfContent
in class RtfContainer
java.io.IOException
- for I/O problemspublic void setStatus(int status)
status
- the status to be setpublic boolean isEmpty()
isEmpty
in class RtfContainer
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.