public class RtfList extends RtfContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
RtfList.NumberingStyle |
m_attrib, m_parent, m_writer| Constructor and Description |
|---|
RtfList(RtfContainer parent,
java.io.Writer w,
RtfAttributes attr)
Create an RTF list as a child of given container with given attributes
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBulletedList()
true if this is a bulleted list (as opposed to numbered list)
|
RtfListItem |
newListItem()
close current list item and start a new one
|
void |
setNumberingStyle(RtfList.NumberingStyle ns)
change numbering style
|
protected void |
writeRtfPrefix()
overridden to setup the list: start a group with appropriate attributes
|
protected void |
writeRtfSuffix()
end the list group
|
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContentclose, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNSRtfList(RtfContainer parent, java.io.Writer w, RtfAttributes attr) throws java.io.IOException
java.io.IOExceptionpublic void setNumberingStyle(RtfList.NumberingStyle ns)
protected void writeRtfPrefix()
throws java.io.IOException
writeRtfPrefix in class RtfElementjava.io.IOExceptionprotected void writeRtfSuffix()
throws java.io.IOException
writeRtfSuffix in class RtfElementjava.io.IOExceptionpublic RtfListItem newListItem() throws java.io.IOException
java.io.IOExceptionpublic boolean isBulletedList()