Skip to Content

SAP Crystal Reports, version for Eclipse Sample Applications

Purpose

This Document lists sample applications using the Crystal Reports, version for Eclipse Solution Developer Kit (SDK).

Overview

The document contain links to Windows, as well as Web applications in using Crystal Reports, version for Eclipse.

Introduction

Crystal Reports for Eclipse enable the Java developer to add rich, professional, formatted and interactive reporting to both thick and thin client Java applications. To download Crystal Reports, version for Eclipse, go to the downloads page.

Links to Sample Applications

Java CRJ12 Web Export Excel

Crystal Reports Java SDK (Crystal Reports for Eclipse 2.0) sample Java Server Pages (JSP) showing how to export a report to Excel.16 Apr 2009

Java JRC Desktop Display Connection Info

This desktop sample demonstrates how to obtain the connection information stored in two report files and compare them side by side. The sample writes all of the connection info properties to a static HTML file that can be viewed in a web browser.16 Apr 2009


Java JRC Desktop Export Report to Disk PDF

This desktop sample demonstrates how to export a report to a stream (server-side exporting) and then how to use the Java I/O libraries to write the exported output to the local file system.16 Apr 2009


Java JRC Desktop Modify Database Connection

This Desktop JRC sample demonstrates how to change the reporting database at run time.16 Apr 2009


Java JRC Desktop Set POJO Datasource

This desktop JRC sample demonstrates how to push a run-time Plain Old Java Object (POJO) to a report as a Java Resultset. NOTE: The POJO API provided is a sample for converting plain old Java objects into Java Resultsets. The sample POJO API is provided "as is" and is not supported by Business Objects technical support.16 Apr 2009


Java JRC Desktop View Report and Set Database Logon

This desktop JRC sample demonstrates how to set a report's database logon credentials before viewing the report.16 Apr 2009


Java JRC Export And Combine PDF

This sample demonstrates how to export multiple reports to PDF and combine the PDF's. It uses the iText library to combine the PDF's. iText can be found here: http://www.lowagie.com/iText/download.html Please note that iText is not a part of the Business Objects SDK.16 Apr 2009


Java JRC Export Report to Browser or Disk PDF

This sample demonstrates how to export a report to a stream (server-side exporting). The sample then demonstrates how to use the Java I/O libraries to write the exported result to the local file system or the browser.16 Apr 2009


Java JRC Export and Set DB Logon and Parameters PDF

This sample application demonstrates how to pass parameters to a report and log on to a secure database using the Java Reporting Component (JRC) before exporting the report to PDF.16 Apr 2009


Java JRC Export and Set DB Logon

This sample application demonstrates how to export a report using the ReportExportControl and logon to a reporting database using the JRC. The sample report jrc_export_with_logon.rpt uses a JDBC connection to the Pubs SQL Server database.16 Apr 2009


Java JRC Export and Set Parameters

This sample application demonstrates how to pass parameters to a report and log on to a secure database using the Java Reporting Component (JRC) before exporting the report to PDF.16 Apr 2009

Java JRC Intercept Viewer Drilldown Event

This sample demonstrates how to intercept the drilldown event on the viewer in the JRC DHTML viewer16 Apr 2009


Java JRC Modify Command Table with Parameter

This sample demonstrates how to change the connection properties of a command table that has parameters16 Apr 2009


Java JRC Modify Database Location For Stored Proc

This sample demonstrates how to change database location for a report based off of a stored procedure.16 Apr 2009


Java JRC Modify Datasource on Oracle JNDI

This sample demonstrates how to change the database location for a report based off of an oracle JNDI connection16 Apr 2009


Java JRC Pass Date Range Param

This Java Web sample demonstrates how to pass a ranged date parameter to a report.16 Apr 2009


Java JRC Print Report

This sample demonstrates how to print a report directly to a printer (server-side printing).16 Apr 2009


Java JRC Set Discrete Parameter Value

This sample application shows how to pass a discrete string parameter to a report using the Java Reporting Component (JRC).16 Apr 2009


Java JRC Set Multi Value Parameter

This sample application demonstrates how to pass multiple values to a parameterized report using the Java Reporting Component (JRC)16 Apr 2009


Java JRC Set Parameters and Database Logon

This sample application demonstrates how to pass values to a parameterized report and database credentials to a secure database using the Java Reporting

Component (JRC)16 Apr 2009


Java JRC Set Resultset Datasource

This sample demonstrates how to push a runtime Java Resultset to a report as a datasource.16 Apr 2009


Java JRC Set Sub Report Parameters String and Integer

This sample application demonstrates how to pass values to a parameterized report that contains a subreport using the Java Reporting Component (JRC)16 Apr 2009


Java JRC Set Subreport Parameters All Types

This sample application demonstrates how to pass all types of values to a parameterized report containing a subreport using the Java Reporting Component (JRC)16 Apr 2009


Java JRC Use Crystal Image Cleaner

This sample application demonstrates how to open up a report that contains saved data using the JRC 10 and use the Crystal Image Cleaner to ensure that temporary files used by the viewer are removed periodically 16 Apr 2009


Java JRC View Report Using Tag Library Advanced

This sample demonstrates how to display a report using the tag library as well as toggling some of the viewer options16 Apr 2009


Java JRC View Report Using Tag Tag Library Basic

This sample demonstrates how to display a report using the tag library16 Apr 2009


Java JRC View Report and Set Database Logon

This sample demonstrates how to set the report's database logon credentials before viewing a report.16 Apr 2009


Java JRC View Report and Set Report Parameters

This Java Web sample demonstrates how to pass parameters values to a report and then view the report (including subreports). The sample contains utility functions that demonstrate how to set parameter values for complex parameter types such as discrete range and multi-value range parameters.16 Apr 2009


Java JRC View Report

This sample demonstrates how to launch a report in the zero-client DHTML viewer (CrystalReportViewer).16 Apr 2009


CRJava Designer Dnd Pictures

This Eclipse plug-in sample illustrates how to implement a Wizard for Crystal Report creation including adding Text, Picture and Line Objects15 Apr 2009


CRJava Export Excel Data Only

This Java Server Pages (JSP) sample demonstrates how to export a Crystal Report to Excel Data Only using the Crystal Reports Java SDK.15 Apr 2009


CRJava Export PDF

This Java Server Pages (JSP) sample demonstrates how to export a Crystal Report to PDF using the Crystal Reports Java SDK.15 Apr 2009


CRJava POJO Data Source

This Java Server Pages (JSP) sample demonstrates how to inject a POJO collection into a Crystal Report15 Apr 2009


CRJava Print Server

This Java Server Pages (JSP) sample demonstrates how to print a Crystal Report on a server-side printer using the Crystal Reports Java SDK15 Apr 2009


CRJava Result Set Data Source

This Java Server Pages (JSP) sample demonstrates how to inject a java.sql.ResultSet into a Crystal Report.15 Apr 2009


CRJava Set Parameters

This Java Server Pages (JSP) sample demonstrates how to set Crystal Report parameter field values and export to PDF using the Crystal Reports Java SDK.15 Apr 2009

CRJava View Report

This Java Server Pages (JSP) sample demonstrates how to view a Crystal Report using the Crystal Reports Java SDK.15 Apr 2009

CRJava_Set_DB_Logon

This Java Server Pages (JSP) sample demonstrates how to set Crystal Report database credentials and export to PDF.15 Apr 2009


CRJava Add Record Sort

This sample shows how to add a sort to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Add Result Field

This sample shows how to add a result field to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Add Resultset Data Source

This sample shows how to add a datasource from a resultset to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Add Section

This sample shows how to add a section to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Add Special Field

This sample shows how to add a special field such as the print date or page n of m field to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Add Stored Proc

This sample shows how to add a stored procedure as the datasource to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Add Summary Field

This sample shows how to add a summary field to a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Change Font on DB Field

This sample shows how to change the font for a field on a report using the Report Creation API (RCAPI)14 Apr 2009


CRJava Create Report From Scratch

This sample shows how to create report from scratch using the Report Creation API (RCAPI)14 Apr 2009


CRJava Designer Branding Wizard

This Eclipse plug-in sample illustrates how to implement a Wizard for Crystal Report creation including adding Text, Picture and Line Objects14 Apr 2009


CRJava Modify DB Location

This sample shows how to change the database location for a report using the replaceConnection method14 Apr 2009


CRJava Modify Paper Size

This sample shows how to change the paper size for a report14 Apr 2009

Getting Started Tutorials in the Viewer Java SDK Guide (XI R2) Sample Code

This sample web application accompanies the Getting Started Tutorials in the Viewer Java SDK Guide (XI R2). It demonstrates the two principal uses of the Viewer Java SDK—displaying Crystal reports, and exporting them to a different format.28 Oct 2004