Class RtfLineBreak
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfLineBreak
Model of an RTF line break.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch).
-
Field Summary
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Constructor Summary
ConstructorsConstructorDescriptionRtfLineBreak
(IRtfTextContainer parent, Writer w) Create an RTF paragraph as a child of given container with default attributes -
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
protected void
Overridden to write our attributes before our contentMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, dump, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Constructor Details
-
RtfLineBreak
RtfLineBreak(IRtfTextContainer parent, Writer w) throws IOException Create an RTF paragraph as a child of given container with default attributes- Throws:
IOException
-
-
Method Details
-
writeRtfContent
Overridden to write our attributes before our content- Specified by:
writeRtfContent
in classRtfElement
- Throws:
IOException
- for I/O problems
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classRtfElement
- Returns:
- true if this element would generate no "useful" RTF content
-