This documentation covers the Viewer Java SDK.

See:
          Description

Packages
com.crystaldecisions.report.htmlrender This package contains classes for the rendering events in the DHTML report page viewer and the report parts viewer.
com.crystaldecisions.report.web This package contains the class ServerControl, which is an abstract class.
com.crystaldecisions.report.web.viewer This package contains the key functionality for the display and behavior of the viewers, including report source information, event listeners, and event arguments.

 

This documentation covers the Viewer Java SDK. The Viewer Java SDK contains lightweight components intended to provide web developers with versatile tools for displaying reports inside JSP pages using DHTML. These components offer properties that you can use to control actions such as displaying buttons or displaying a group tree, page, or toolbar. They also support exporting, printing, displaying multiple viewers in the same page, and both automatic and developer-specified prompting for database or parameter information.

These lightweight components include the Java viewer which inherits functionality from the ReportServerControl Object. The viewer does not require frames and can co-exist with other HTML that you wish to display on the same page as the report.

Viewer Corresponding Object Description
DHTML report page viewer CrystalReportViewer Provides basic web reporting viewer capabilities.
report parts viewer CrystalReportPartsViewer Provides the ability to view individual report parts (charts, text, or fields). Can also produce output in mobile and PDA format.
Used internally by the viewer. ReportServerControl Provides the ability to log on to the database or Crystal Enterprise, pass parameters, and define the report source.
report export control ReportExportControl Provides exporting functionality including the ability to preview an exported report or save an exported report to disk.

To create or modify a report programmatically you need the Report Application Server (RAS) and the RAS SDK. For details, see the Crystal Reports for Rational Application Developer Developer's Guide.

Note: It is recommended that you use the CrystalImageCleaner class to remove temporary image files used by the viewer.