| fop 0.94 | |
| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfElementorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainerorg.apache.fop.render.rtf.rtflib.rtfdoc.RtfListItempublic class RtfListItemextends RtfContainerimplements IRtfTextrunContainer, IRtfListContainer, IRtfParagraphContainerNested Class Summary | |
class |
|
Field Summary |
Fields inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement | |
attrib, parent, writer | |
Method Summary | |
int |
|
RtfList |
|
RtfListStyle |
|
RtfTextrun |
|
RtfList |
|
RtfParagraph |
|
RtfParagraph |
|
void |
|
protected void |
|
protected void |
|
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, isEmpty, newLine, okToWriteRtf, toString, writeAttributes, writeControlWord, writeControlWordNS, writeExceptionInRtf, writeGroupMark, writeOneAttribute, writeOneAttributeNS, writeRtf, writeRtfContent, writeRtfPrefix, writeRtfSuffix, writeStarControlWord, writeStarControlWordNS | |
public int getNumber()
Returns the list number
- Returns:
- list number
public RtfTextrun getTextrun() throws IOException
Get the current textrun.
- Specified by:
- getTextrun in interface IRtfTextrunContainer
- Returns:
- current RtfTextrun object
public RtfList newList(RtfAttributes attrs) throws IOException
Start a new list after closing current paragraph, list and table
- Specified by:
- newList in interface IRtfListContainer
- Parameters:
attrs- attributes of new RftList object
- Returns:
- new RtfList
public RtfParagraph newParagraph() throws IOException
Close current paragraph if any and start a new one with default attributes
- Specified by:
- newParagraph in interface IRtfParagraphContainer
- Returns:
- new RtfParagraph
public RtfParagraph newParagraph(RtfAttributes attrs) throws IOException
Close current paragraph if any and start a new one
- Specified by:
- newParagraph in interface IRtfParagraphContainer
- Parameters:
attrs- attributes of new paragraph
- Returns:
- new RtfParagraph
public void setRtfListStyle(RtfListStyle ls)
Change list style
- Parameters:
ls- ListStyle to set
protected void writeRtfPrefix()
throws IOExceptionOverridden to setup the list: start a group with appropriate attributes
- Overrides:
- writeRtfPrefix in interface RtfElement
protected void writeRtfSuffix()
throws IOExceptionEnd the list group
- Overrides:
- writeRtfSuffix in interface RtfElement
| fop 0.94 |