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 org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
attrib, parent, writer
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns 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 onevoid
Change list styleMethods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
addChild, findChildren, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.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
Returns the Id of the list.- Returns:
- Id of the list
-
getListTemplateId
Returns the Id of the list template.- Returns:
- Id of the list template
-
setRtfListStyle
Change list style- Parameters:
ls
- ListStyle to set
-
getRtfListStyle
Get list style- Returns:
- ListSytle of the List
-
getHasTableParent
public boolean getHasTableParent()Returns true, if the list has a parent table.- Returns:
- true, if the list has a parent table
-