org.pentaho.reporting.engine.classic.core.modules.output.table.rtf
Class RTFReportUtil
java.lang.Object
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
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