Skip to Content
author's profile photo Former Member
Former Member

RTF interpretation issue

Post Author: James Deyerle

CA Forum: General

The issue deals with interpreting RTF. There seems to be an internal bug that arbitrarily cuts off text at the end of a long rtf string.

For example, you can create a very basic crystal report with just one field in the body of the report that has text interpretation set to RTF. The field also has the property "Can grow" set to true and "Keep together" set to false. The only section in the body in which this field is located also has the "Keep together" property set to false. When you run this report, the interpreted text will display correctly. If, however, you change the top and bottom margins to be larger, the text is still interpreted but it does not display everything (the last few lines will be missing).

This is just one example of how this issue appears. There are a number of scenarios that causes the same thing to happen. If I had to guess (and it's definitely a guess since I don't know what crystal is doing internally), I would say it has something to do with the length of the interpreted text and the amount of space the field is allowed to take up on a single page.

Has anyone else experienced this issue? Is there anything that can be done?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2008 at 06:32 PM

    Post Author: James Deyerle

    CA Forum: General

    Here is an update for this issue:

    The problem here seems to be with the specific version of the crystal report viewer I am using. I am embedding a ReportViewerBean in a JFrame. The version displayed when I open this viewer bean is 11.8.3.997. I'm not sure if there is a newer version of this viewer or not and any help in pointing me in the right direction would be greatly appreciated.

    When I create a simple report that only has the one field with text interpretation set to RTF, I have issues with it displaying correctly in the viewer. If, however, I export directly from the viewer to ANY format (MSWord, RTF, RPT, PDF, etc.) it displays correctly. If I print from the viewer it will not display correctly. I believe I am using the latest version of the Crystal Reports plug-in for eclipse.

    Furthermore, I have downloaded the stand-alone Crystal Reports XI application that lets you view .rpt files. When I export the RPT file from the java viewer and open it in this Crystal Reports XI viewer, it displays correctly.

    If anyone knows about a newer version and/or where to find it, I would greatly appreciate it.

    Thanks in advance,

    James Deyerle

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.