org.pentaho.reporting.engine.classic.core.layout.richtext
Class RtfRichTextConverter

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.richtext.RtfRichTextConverter
All Implemented Interfaces:
RichTextConverter

public class RtfRichTextConverter
extends Object
implements RichTextConverter

This converter converts the content into a generic rich-text document. It can also be used to convert generic swing-documents, as long as they adhere to the Swing StyledDocument system.

Author:
Thomas Morgner.

Constructor Summary
RtfRichTextConverter()
           
 
Method Summary
 Object convert(Element source, Object value)
           
 boolean isRecognizedType(String mimeType)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtfRichTextConverter

public RtfRichTextConverter()
Method Detail

isRecognizedType

public boolean isRecognizedType(String mimeType)
Specified by:
isRecognizedType in interface RichTextConverter

convert

public Object convert(Element source,
                      Object value)
Specified by:
convert in interface RichTextConverter