public class RtfListStyleText extends RtfListStyle
Constructor | Description |
---|---|
RtfListStyleText(java.lang.String s) |
Constructs a RtfListStyleText object.
|
Modifier and Type | Method | Description |
---|---|---|
void |
writeLevelGroup(RtfElement element) |
Gets called when the list table has to be written.
|
void |
writeListPrefix(RtfListItem item) |
Gets called before a RtfListItem has to be written.
|
void |
writeParagraphPrefix(RtfElement element) |
Gets called before a paragraph, which is contained by a RtfListItem has to be written.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRtfList, getRtfListItem, setRtfListItem
public RtfListStyleText(java.lang.String s)
s
- Text to be displayedpublic void writeListPrefix(RtfListItem item) throws java.io.IOException
writeListPrefix
in class RtfListStyle
item
- RtfListItem whose prefix has to be written
RtfListItem this style belongs tojava.io.IOException
- Thrown when an IO-problem occurspublic void writeParagraphPrefix(RtfElement element) throws java.io.IOException
writeParagraphPrefix
in class RtfListStyle
element
- RtfElement in whose context is to be written
RtfElement in whose context is to be writtenjava.io.IOException
- Thrown when an IO-problem occurspublic void writeLevelGroup(RtfElement element) throws java.io.IOException
writeLevelGroup
in class RtfListStyle
element
- RtfElement in whose context is to be written
RtfElement in whose context is to be writtenjava.io.IOException
- Thrown when an IO-problem occursCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.