SAP Knowledge Base Article - Public

1731444 - RTF tags are not exported correctly in Crystal Report for Eclipse.

Symptom

  • RTF tag for indent is not being interpreted correctly in the PDF copy of the report exported using JAVA Enterprise SDK.

Environment

  •  Crystal Reports for Eclipse 2.0
  • Apache Tomcat 5.5

Reproducing the Issue

1. Install Crystal Reports for Eclipse direct download:

http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/cr4e-all-in-one-win_2.0.12.zip
download page:
http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp

2. Create a new Eclipse project and drag and drop the attached report into the project.

3. Refresh the report to prompt for a parameter. Copy/paste the RTF encoded text from the attached document (TE5050063953.rtf) into the parameter field prompt window and select OK. The result is not displayed correctly. the same happens when exporting to PDF using either the SDK or Java Report designer.

The attached RTF document (TE5050063953.rtf) has a sample encoded RTF String, expected output and actual output.

The same report opened and viewed in the Crystal Reports 2008 designer (CRW32.exe) displays the RTF text properly.

Cause

  • This is a known issue with  Crystal Reports for Eclipse 2.0 and has been tracked .  The Track ID is ADAPT01636142.

Resolution

  • Issue will be resolved in Crystal Reports for Eclipse 2.0 SP13 Runtimes. 
  • Keywords

    RTF, Export, Eclipse, ADAPT01636142, ADAPT, CR4E, CRJ, JRC , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Bug Filed

    Product

    Crystal Reports, version for Eclipse 2.0

    Attachments

    TE5050063953.zip