fop 0.95 | |
Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
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.RtfListItem
public class RtfListItem
extends RtfContainer
implements IRtfTextrunContainer, IRtfListContainer, IRtfParagraphContainer
Nested 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 IOException
Overridden to setup the list: start a group with appropriate attributes
- Overrides:
- writeRtfPrefix in interface RtfElement
protected void writeRtfSuffix() throws IOException
End the list group
- Overrides:
- writeRtfSuffix in interface RtfElement
fop 0.95 |