com.crystaldecisions.reports.sdk
Class PrintOutputController

java.lang.Object
  |
  +--com.crystaldecisions.reports.sdk.PrintOutputController

public class PrintOutputController
extends java.lang.Object

This object is used to export reports to a specific format, such as CSV, RTF, or PDF, and to modify various formatting options. It is also used to print a report with JRC SDK server-side printing.


Method Summary
 java.io.InputStream export(IExportOptions exportOptions)
           Exports this document to the specified format with options.
 java.io.InputStream export(ReportExportFormat format)
           Exports this document to the specified format.
 void printReport(PrintReportOptions printReportOptions)
           Prints a report to a specified printer that is controlled by JRC SDK server-side printing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

printReport

public void printReport(PrintReportOptions printReportOptions)
                 throws ReportSDKPrinterException

Prints a report to a specified printer that is controlled by JRC SDK server-side printing.

Parameters:
printReportOptions - the PrintReportOptions of the report to be printed by JRC SDK server-side printing
Throws:
ReportSDKPrinterException

export

public java.io.InputStream export(ReportExportFormat format)
                           throws ReportSDKException

Exports this document to the specified format.

Note: The JRC supports exporting to RTF, editable RTF, PDF and CSV formats.

Parameters:
format - A ReportExportFormat object that specifies the export format of the report.
Returns:
An InputStream object containing the report document exported to the specified format.
Throws:
ReportSDKException

export

public java.io.InputStream export(IExportOptions exportOptions)
                           throws ReportSDKException

Exports this document to the specified format with options.

Parameters:
exportOptions - The export options that can be specified in the IExportOptions object.
Returns:
An InputStream object containing the report document exported to the specified format.
Throws:
ReportSDKException
See Also:
IExportOptions