public class RtfParagraphKeepTogether extends RtfContainer
Modifier and Type | Field | 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 | Description |
---|---|---|
boolean |
isEmpty() |
|
void |
setStatus(int status) |
set the status
|
protected void |
writeRtfContent() |
Write the content
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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-2016 The Apache Software Foundation. All Rights Reserved.