IRtfTextrunContainer
public class RtfListItem.RtfListItemLabel extends RtfTextrun implements IRtfTextrunContainer
attrib, parent, writer
BREAK_COLUMN, BREAK_EVEN_PAGE, BREAK_NONE, BREAK_ODD_PAGE, BREAK_PAGE, log
Constructor | Description |
---|---|
RtfListItemLabel(RtfListItem item) |
Constructs the RtfListItemLabel
|
Modifier and Type | Method | Description |
---|---|---|
void |
addString(java.lang.String s) |
Sets the content of the list item label.
|
RtfTextrun |
getTextrun() |
Returns the current RtfTextrun object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
addBookmark, addFootnote, addHyperlink, addLeader, addPageNumber, addPageNumberCitation, addParagraphBreak, getRtfListItem, getTextrun, newImage, popBlockAttributes, popInlineAttributes, pushBlockAttributes, pushInlineAttributes, setRtfListItem, setSuppressLastPar, writeRtfContent
public 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-2016 The Apache Software Foundation. All Rights Reserved.