Class RtfListItem.RtfListItemLabel
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.RtfTextrun
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListItem.RtfListItemLabel
- All Implemented Interfaces:
IRtfTextrunContainer
- Enclosing class:
- RtfListItem
special RtfTextrun that is used as list item label
-
Field Summary
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun
BREAK_COLUMN, BREAK_EVEN_PAGE, BREAK_NONE, BREAK_ODD_PAGE, BREAK_PAGE, log
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the content of the list item label.Returns the current RtfTextrun object.Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTextrun
addBookmark, addFootnote, addHyperlink, addLeader, addPageNumber, addPageNumberCitation, addParagraphBreak, getRtfListItem, getTextrun, newImage, popBlockAttributes, popInlineAttributes, pushBlockAttributes, pushInlineAttributes, setRtfListItem, setSuppressLastPar, writeRtfContent
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Constructor Details
-
RtfListItemLabel
Constructs the RtfListItemLabel- Parameters:
item
- The RtfListItem the label belongs to- Throws:
IOException
- Thrown when an IO-problem occurs
-
-
Method Details
-
getTextrun
Returns the current RtfTextrun object. Opens a new one if necessary.- Specified by:
getTextrun
in interfaceIRtfTextrunContainer
- Returns:
- The RtfTextrun object
- Throws:
IOException
- Thrown when an IO-problem occurs
-
addString
Sets the content of the list item label.- Overrides:
addString
in classRtfTextrun
- Parameters:
s
- Content of the list item label.- Throws:
IOException
- Thrown when an IO-problem occurs
-