Class RtfListStyle
java.lang.Object
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyle
- Direct Known Subclasses:
RtfListStyleBullet
,RtfListStyleNumber
,RtfListStyleText
Class to handle list styles.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the RtfList this style belongs to.Gets the RtfListItem this style belongs to.void
setRtfListItem
(RtfListItem item) Sets the RtfListItem this style belongs to.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 has to be written, which is contained by a RtfListItem.
-
Constructor Details
-
RtfListStyle
public RtfListStyle()
-
-
Method Details
-
setRtfListItem
Sets the RtfListItem this style belongs to.- Parameters:
item
- RtfListItem this style belongs to
-
getRtfListItem
Gets the RtfListItem this style belongs to.- Returns:
- RtfListItem this style belongs to
-
getRtfList
Gets the RtfList this style belongs to.- Returns:
- RtfList this style belongs to
-
writeListPrefix
Gets called before a RtfListItem has to be written.- Parameters:
item
- RtfListItem this style belongs to- Throws:
IOException
- Thrown when an IO-problem occurs.
-
writeParagraphPrefix
Gets called before a paragraph has to be written, which is contained by a RtfListItem.- Parameters:
element
- RtfElement in whose context is to be written- Throws:
IOException
- Thrown when an IO-problem occurs.
-
writeLevelGroup
Gets called when the list table has to be written.- Parameters:
element
- RtfElement in whose context is to be written- Throws:
IOException
- Thrown when an IO-problem occurs.
-