Class RtfFootnote
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFootnote
- All Implemented Interfaces:
IRtfListContainer,IRtfTextrunContainer
Model of an RTF footnote.
This work was authored by Peter Herweg (pherweg@web.de) and Marc Wilhelm Kuester.
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) RtfContainer(package private) RtfList(package private) RtfTextrunFields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer -
Constructor Summary
ConstructorsConstructorDescriptionRtfFootnote(RtfContainer parent, Writer w) Create an RTF list item as a child of given container with default attributes. -
Method Summary
Modifier and TypeMethodDescriptionvoidendBody()end bodyReturns the current RtfTextrun object.newList(RtfAttributes attrs) Close the current list, if any, and starts a new onevoidstart bodyprotected voidwrite RTF code of all our childrenMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, containsText, dump, findChildren, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toStringMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Field Details
-
textrunInline
RtfTextrun textrunInline -
body
RtfContainer body -
list
RtfList list -
bBody
boolean bBody
-
-
Constructor Details
-
RtfFootnote
RtfFootnote(RtfContainer parent, Writer w) throws IOException Create an RTF list item as a child of given container with default attributes.- Parameters:
parent- a containerw- a writer- Throws:
IOException- if not caught
-
-
Method Details
-
getTextrun
Description copied from interface:IRtfTextrunContainerReturns the current RtfTextrun object. Opens a new one if necessary.- Specified by:
getTextrunin interfaceIRtfTextrunContainer- Returns:
- a text run
- Throws:
IOException- if not caught
-
writeRtfContent
write RTF code of all our children- Overrides:
writeRtfContentin classRtfContainer- Throws:
IOException- for I/O problems
-
newList
Description copied from interface:IRtfListContainerClose the current list, if any, and starts a new one- Specified by:
newListin interfaceIRtfListContainer- Parameters:
attrs- some attributes- Returns:
- an rtf list
- Throws:
IOException- if not caught
-
startBody
public void startBody()start body -
endBody
public void endBody()end body
-