Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem with Crystal Reports while interpreting HTML

Hi,

We have an Ajax HTML Editor which is used by admin of our application to input some formatted text. Normal users can print this data in pdf format and  Crystal reports (version: 13.0.2000.0) is used to generate this pdf report. We found out that in the generated report some of the html tags are not interpreted properly. Please find below some of these html tags which are not interpreted:

<span style="font-weight: bold">This should be Bold</span>

<span style="font-style: italic">This should be Italic</span>

<span style="text-decoration: underline">This should be underlined</span>

<br />

Some bullets are also not interpreted.

When we created a sample project, we also found out that once we remove the spacing between the attribute name and value in style tag, it is interpreted fine. Even the tags <b>, <i>, <u> are interpreted properly.

As we dont have any control on the html code generated by the editor, we cannot alter the above <span> and <br> tags to the ones that work fine & we cannot change even the editor at this point of time. So please let us know what needs to be done, for crystal reports to interpret the above listed tags properly. Is this bug fixed in latest versions ?

This is a very crucial functionality in the application and please help us in resolving it at the earliest possible.

HTML Editor.PNG (15821 B)
Former Member
replied

Well, you attached your self to a post that is in the SAP Crystal Reports, version for Visual Studio SCN Space, not Crystal Reports design Space...

It may be a good idea to post to that Space. One thing I'd like you to check out is the following KBAs re supported HTML tags:

1217084 - What are the supported HTML tags and attributes for the HTML Text Interpretation in Crystal Reports?

One thing to note in the above:

ul  ( bulleted list )  Important Note: The bullet will not show up as a regular size bullet, but as a small dot.



- Ludek


0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question