Class RtfList
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfList
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).
-
Field Summary
Fields inherited from class RtfElement
attrib, parent, writer -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true, if the list has a parent table.Returns the Id of the list.Returns the Id of the list template.Get list styleClose current list item and start a new onevoidChange list styleMethods inherited from class RtfContainer
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContentMethods inherited from class RtfElement
close, getParentOfClass, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS
-
Method Details
-
newListItem
Close current list item and start a new one- Returns:
- new RtfListItem
- Throws:
IOException- for I/O problems
-
getListId
-
getListTemplateId
Returns the Id of the list template.- Returns:
- Id of the list template
-
setRtfListStyle
-
getRtfListStyle
-
getHasTableParent
public boolean getHasTableParent()Returns true, if the list has a parent table.- Returns:
- true, if the list has a parent table
-