public class RtfListItem.RtfListItemLabel extends RtfTextrun implements IRtfTextrunContainer
BREAK_COLUMN, BREAK_EVEN_PAGE, BREAK_NONE, BREAK_ODD_PAGE, BREAK_PAGE, log
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, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString
close, getParentOfClass, 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-2012 The Apache Software Foundation. All Rights Reserved.