org.jfor.jfor.rtflib.rtfdoc
Class RtfListItem
java.lang.Object
org.jfor.jfor.rtflib.rtfdoc.RtfElement
org.jfor.jfor.rtflib.rtfdoc.RtfContainer
org.jfor.jfor.rtflib.rtfdoc.RtfListItem
- All Implemented Interfaces:
- IRtfParagraphContainer
- public class RtfListItem
- extends RtfContainer
- implements IRtfParagraphContainer
Model of an RTF list item, which can contain RTF paragraphs
- Author:
- Bertrand Delacretaz bdelacretaz@codeconsult.ch
Constructor Summary |
(package private) |
RtfListItem(RtfList parent,
java.io.Writer w)
Create an RTF list item as a child of given container with default attributes |
(package private) |
RtfListItem(RtfList parent,
java.io.Writer w,
RtfAttributes attr)
Create an RTF list item as a child of given container with given attributes |
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfContainer |
addChild, containsText, dump, getChildCount, getChildren, getOptions, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
Methods inherited from class org.jfor.jfor.rtflib.rtfdoc.RtfElement |
close, getParentOfClass, getRtfAttributes, getRtfFile, isClosed, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RtfListItem
RtfListItem(RtfList parent,
java.io.Writer w)
throws java.io.IOException
- Create an RTF list item as a child of given container with default attributes
RtfListItem
RtfListItem(RtfList parent,
java.io.Writer w,
RtfAttributes attr)
throws java.io.IOException
- Create an RTF list item as a child of given container with given attributes
newParagraph
public RtfParagraph newParagraph(RtfAttributes attrs)
throws java.io.IOException
- close current paragraph if any and start a new one
- Specified by:
newParagraph
in interface IRtfParagraphContainer
- Throws:
java.io.IOException
newParagraph
public RtfParagraph newParagraph()
throws java.io.IOException
- close current paragraph if any and start a new one with default attributes
- Specified by:
newParagraph
in interface IRtfParagraphContainer
- Throws:
java.io.IOException