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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
createRTF(MasterReport report, OutputStream outputStream)
static void
createRTF(MasterReport report, String filename)
Saves a report to rich-text format (RTF).
-
-
-
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
-
-