org.apache.fop.render.rtf.rtflib.rtfdoc

Class RtfListStyleText


public class RtfListStyleText
extends RtfListStyle

Class to handle text list style.

Constructor Summary

RtfListStyleText(String s)
Constructs a RtfListStyleText object.

Method Summary

void
writeLevelGroup(RtfElement element)
Gets called when the list table has to be written.
void
writeListPrefix(RtfListItem item)
Gets called before a RtfListItem has to be written.
void
writeParagraphPrefix(RtfElement element)
Gets called before a paragraph, which is contained by a RtfListItem has to be written.

Methods inherited from class org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyle

getRtfList, getRtfListItem, setRtfListItem, writeLevelGroup, writeListPrefix, writeParagraphPrefix

Constructor Details

RtfListStyleText

public RtfListStyleText(String s)
Constructs a RtfListStyleText object.
Parameters:
s - Text to be displayed

Method Details

writeLevelGroup

public void writeLevelGroup(RtfElement element)
            throws IOException
Gets called when the list table has to be written.
Overrides:
writeLevelGroup in interface RtfListStyle
Parameters:
element - RtfElement in whose context is to be written

writeListPrefix

public void writeListPrefix(RtfListItem item)
            throws IOException
Gets called before a RtfListItem has to be written.
Overrides:
writeListPrefix in interface RtfListStyle
Parameters:
item - RtfListItem whose prefix has to be written

writeParagraphPrefix

public void writeParagraphPrefix(RtfElement element)
            throws IOException
Gets called before a paragraph, which is contained by a RtfListItem has to be written.
Overrides:
writeParagraphPrefix in interface RtfListStyle
Parameters:
element - RtfElement in whose context is to be written

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.