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 |
---|
RtfListItemLabel(RtfListItem item)
Constructs the RtfListItemLabel
|
Modifier and Type | Method and Description |
---|---|
void |
addString(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 RtfListItemLabel(RtfListItem item) throws IOException
item
- The RtfListItem the label belongs toIOException
- Thrown when an IO-problem occurspublic RtfTextrun getTextrun() throws IOException
getTextrun
in interface IRtfTextrunContainer
IOException
- Thrown when an IO-problem occurspublic void addString(String s) throws IOException
addString
in class RtfTextrun
s
- Content of the list item label.IOException
- Thrown when an IO-problem occursCopyright © 2025 Apache Software Foundation. All rights reserved.