public class RtfListItem.RtfListItemLabel extends RtfTextrun implements IRtfTextrunContainer
attrib, parent, writer
Constructor and Description |
---|
RtfListItem.RtfListItemLabel(RtfListItem item)
Constructs the RtfListItemLabel
|
Modifier and Type | Method and Description |
---|---|
void |
addString(java.lang.String s)
Sets the content of the list item label.
|
RtfTextrun |
getTextrun()
Returns the current RtfTextrun object.
|
addBookmark, addFootnote, addHyperlink, addLeader, addPageNumber, addPageNumberCitation, addParagraphBreak, getRtfListItem, getTextrun, newImage, popBlockAttributes, popInlineAttributes, pushBlockAttributes, pushInlineAttributes, setRtfListItem, setSuppressLastPar, writeRtfContent
addChild, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString
close, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
public RtfListItem.RtfListItemLabel(RtfListItem item) throws java.io.IOException
item
- The RtfListItem the label belongs tojava.io.IOException
- Thrown when an IO-problem occurspublic RtfTextrun getTextrun() throws java.io.IOException
getTextrun
in interface IRtfTextrunContainer
java.io.IOException
- Thrown when an IO-problem occurspublic void addString(java.lang.String s) throws java.io.IOException
addString
in class RtfTextrun
s
- Content of the list item label.java.io.IOException
- Thrown when an IO-problem occursCopyright 1999-2010 The Apache Software Foundation. All Rights Reserved.