SAP Knowledge Base Article - Public

1547545 - Hyperlink is underlined when a Crystal Report is exported to PDF

Symptom

A Crystal report having an underlined hyperlink when exported to PDF, still shows the hyperlink as underlined

Reproducing the Issue

  1. Create a crystal report based on extreme sample database
  2. Select the customer table and place the website filed on the report
  3. Right click on the filed and go to Format Field -> Hyperlink
  4. Select Current email field from the Hyperlink type and click on OK
  5. The field is now turned into hyperlink
  6. Again right click on the field and go to "Format field"
  7. Go to the Fonts tab and select the color as blue and effects check the underline option.
  8. Now when we view the report, we can see that the website field is blue in color and is also underlined.
  9. Now export the report to PDF.
  10. You will notice that after the report is exported and opend in PDF, the hyperlink field is still underlined.

Cause

This behavior is a by design

Resolution

  1. PDF is the exact copy of the report as seen in Report designer
  2. If the filed is underlined in the report in the designer, the same will be reflected after exporting the report to PDF
  3. To remove the underline in the PDF format, we need to remove the underline on the filed in the report itself

Keywords

CRYSTAL REPORTS, PDF, HYPERLINK, UNDERLINE , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

Crystal Reports 2008 V1