SAP Knowledge Base Article - Public

1545536 - Alignment set to Justify causes broken underline

Symptom

Alignment set to 'Justify', in Crystal report, causes broken underline in multiple statements in a text object when viewed from a .NET application.

From Crystal designer:

designer.JPG

From .NET Application:

win app.JPG

Environment

  • Visual Studio 2008
  • Crystal Reports 2008 SP3
  • Crystal Reports for Visual Studio 2010
  • Windows application
  • WPF application

Reproducing the Issue

This issue is reproduced in 2 products

  • Visual Studio 2008 and CR2008 SP3, FP3.3.
    1. Create a simple report and place a text object in the report.
    2. Enter text with multiple lines.
    3. Select the Underline option for the text.
    4. Go to ‘Format Editor’ of the text object, select the ‘Paragraph’ Tab. Select the ‘Alignment’ as ‘Justified’.
      Format Editor setting for Cr2008.JPG
    5. Save the report and view it from the Windows application.
  • Visual Studio 2010 and CR4VS2010.
    1. Create a simple report and place a text object in the report.
    2. Enter text with multiple lines.
    3. Select the Underline option for the text.
    4. Go to ‘Format Editor’ of the text object, select the ‘Paragraph’ Tab. Select the ‘Alignment’ as ‘Justified’.
    5. Set the ‘Reading Order’ as ‘Right to Left’.
      Format editor - CR4VS2010.JPG
    6. Save the report and view it from the Windows application or WPF viewer.

Cause

The issue has been identified and logged under Problem Report ID ADAPT01511662.

Resolution

  • The issue is resolved in Service Pack 4 for Crystal Reports 2008 (ADAPT01435759)
  • The issue is resolved in Service Pack 2 for Crystal Reports for Visual Studio 2010 (ADAPT01513887)

See Also

http://forums.sdn.sap.com/thread.jspa?threadID=1861408&tstart=0

Keywords

dor net, wpf, viewer, underline, multi, multy CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Bug Filed

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports, developer version for Microsoft Visual Studio