SAP Knowledge Base Article - Public

1572728 - The background color of Cross Tab's Rows and column is not retained when Crystal Reports is exported to Pdf Format

Symptom

The background color of Cross Tab's rows and columns is not retained when Crystal Report is exported to Pdf format.

Environment

  • Crystal Reports 2008
  • Crystal Reports XIR2

Reproducing the Issue

  1. Right click on Cross Tab.
  2. Click on "Format Cross-Tab" > Under Format Editor Click on "Border" Tab.
  3. Under color section check the "Background" checkbox.
  4. Select any one color from the drop down list of Background color and Click on "OK".
  5. Right click on the cross tab.
  6. Click on "Cross-Tab Expert".
  7. Click on the "Customize Style" tab.
  8. Select any one field under rows.
  9. From the drop down list of Background color, select any one color (e.g. Blue).
  10. Click on "OK".
  11. You will see the color of the selected row appears blue.
  12. Export this report to Pdf format.
  13. You will see that in the Pdf Format, background color of the rows do not appear in the cross tab.

Note: The background color given to the rows and column do not appear in the Pdf format, however the background color given to the overall cross tab appears.

Resolution

This feature is by design.

Workarounds:

1. 

    1.1 Export this report from Crystal Reports Viewer.

    1.2 You will see the background color for rows and column also appears in the pdf format.

 

2.

    2.1 Don't give the background color for the overall cross tab (by these steps: "Cross Tab Expert" > "Format Cross-Tab" > "Border" tab > color selected from the drop down of background).

    2.2 Give the background color only for rows and column (By these steps: "Cross Tab Expert" > "Customize Style" tab > select any one fiend under rows > select a color from the drop down of background color).

    2.3 Export this report to pdf format from Crystal Designer.

    2.4 You will get the color of rows in the pdf format as selected.

 

 

Keywords

Rows, coloumn, background color, pdf format, Crystal Report , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Bug Filed

Product

SAP Crystal Reports all versions