org.pentaho.reporting.engine.classic.core.modules.output.table.rtf
Class RTFReportUtil

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.output.table.rtf.RTFReportUtil

public final class RTFReportUtil
extends Object

Utility class to provide an easy to use default implementation of RTF exports.

Author:
Thomas Morgner

Method Summary
static void createRTF(MasterReport report, OutputStream outputStream)
           
static void createRTF(MasterReport report, String filename)
          Saves a report to rich-text format (RTF).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createRTF

public static void createRTF(MasterReport report,
                             String filename)
                      throws IOException,
                             ReportProcessingException
Saves a report to rich-text format (RTF).

Parameters:
report - the report.
filename - target file name.
Throws:
ReportProcessingException - if the report processing failed.
IOException - if there was an IOerror while processing the report.

createRTF

public static void createRTF(MasterReport report,
                             OutputStream outputStream)
                      throws ReportProcessingException
Throws:
ReportProcessingException