com.crystaldecisions.reports.sdk
Class PrintOutputController

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

public class PrintOutputController
extends java.lang.Object

A controller for handling printing and exporting operations.


Method Summary
 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 RAS 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 RAS SDK server-side printing.

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

export

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

Exports this document to the specified format.

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