|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListItem
public class RtfListItem
Model of an RTF list item, which can contain RTF paragraphs
Nested Class Summary | |
---|---|
class |
RtfListItem.RtfListItemLabel
special RtfTextrun that is used as list item label |
Field Summary |
---|
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
attrib, parent, writer |
Method Summary | |
---|---|
int |
getNumber()
Returns the list number |
RtfList |
getParentList()
Get the parent list. |
RtfListStyle |
getRtfListStyle()
Get list style |
RtfTextrun |
getTextrun()
Get the current textrun. |
RtfList |
newList(RtfAttributes attrs)
Start a new list after closing current paragraph, list and table |
RtfParagraph |
newParagraph()
Close current paragraph if any and start a new one with default attributes |
RtfParagraph |
newParagraph(RtfAttributes attrs)
Close current paragraph if any and start a new one |
void |
setRtfListStyle(RtfListStyle ls)
Change list style |
protected void |
writeRtfPrefix()
Overridden to setup the list: start a group with appropriate attributes |
protected void |
writeRtfSuffix()
End the list group |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer |
---|
addChild, getChildCount, getChildren, isEmpty, okToWriteRtf, setChildren, setOptions, toString, writeRtfContent |
Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement |
---|
close, getRtfAttributes, newLine, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeStarControlWord, writeStarControlWordNS |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public RtfParagraph newParagraph(RtfAttributes attrs) throws java.io.IOException
newParagraph
in interface IRtfParagraphContainer
attrs
- attributes of new paragraph
java.io.IOException
- Thrown when an IO-problem occurspublic RtfParagraph newParagraph() throws java.io.IOException
newParagraph
in interface IRtfParagraphContainer
java.io.IOException
- Thrown when an IO-problem occurspublic RtfTextrun getTextrun() throws java.io.IOException
getTextrun
in interface IRtfTextrunContainer
java.io.IOException
- Thrown when an IO-problem occurspublic RtfList newList(RtfAttributes attrs) throws java.io.IOException
newList
in interface IRtfListContainer
attrs
- attributes of new RftList object
java.io.IOException
- for I/O problemsprotected void writeRtfPrefix() throws java.io.IOException
writeRtfPrefix
in class RtfElement
java.io.IOException
- for I/O problemsprotected void writeRtfSuffix() throws java.io.IOException
writeRtfSuffix
in class RtfElement
java.io.IOException
- for I/O problemspublic void setRtfListStyle(RtfListStyle ls)
ls
- ListStyle to setpublic RtfListStyle getRtfListStyle()
public RtfList getParentList()
public int getNumber()
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |