public class RtfList extends RtfContainer
Model of an RTF list, which can contain RTF list items.
This work was authored by Bertrand Delacretaz (bdelacretaz@codeconsult.ch), Christopher Scott (scottc@westinghouse.com), and Peter Herweg (pherweg@web.de).
attrib, parent, writer
Modifier and Type | Method | Description |
---|---|---|
boolean |
getHasTableParent() |
Returns true, if the list has a parent table.
|
java.lang.Integer |
getListId() |
Returns the Id of the list.
|
java.lang.Integer |
getListTemplateId() |
Returns the Id of the list template.
|
RtfListStyle |
getRtfListStyle() |
Get list style
|
RtfListItem |
newListItem() |
Close current list item and start a new one
|
void |
setRtfListStyle(RtfListStyle ls) |
Change list style
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
public RtfListItem newListItem() throws java.io.IOException
java.io.IOException
- for I/O problemspublic java.lang.Integer getListId()
public java.lang.Integer getListTemplateId()
public void setRtfListStyle(RtfListStyle ls)
ls
- ListStyle to setpublic RtfListStyle getRtfListStyle()
public boolean getHasTableParent()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.