Class RtfLineBreak
- java.lang.Object
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
-
- org.apache.fop.render.rtf.rtflib.rtfdoc.RtfLineBreak
-
public class RtfLineBreak extends RtfElement
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
Constructors Constructor Description RtfLineBreak(IRtfTextContainer parent, java.io.Writer w)
Create an RTF paragraph as a child of given container with default attributes
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEmpty()
protected void
writeRtfContent()
Overridden to write our attributes before our content-
Methods 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 Detail
-
RtfLineBreak
RtfLineBreak(IRtfTextContainer parent, java.io.Writer w) throws java.io.IOException
Create an RTF paragraph as a child of given container with default attributes- Throws:
java.io.IOException
-
-
Method Detail
-
writeRtfContent
protected void writeRtfContent() throws java.io.IOException
Overridden to write our attributes before our content- Specified by:
writeRtfContent
in classRtfElement
- Throws:
java.io.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
-
-