cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Crystal Reports Viewer 2012 cannot display justified text ¿For why?

Former Member
0 Kudos

Hello all, I'm new here

Actually, me and my group of developers has a problem with SAP CR 2012 (with visual studio 2012) and the justify text on web reports. We have a various text elements on the report. This, contais a text stored in a DataBase.

We put the simple properties, on field, right click, text justify and too, Paragrhap, text as HTML format, previously placing the text string, <div style="text-align:center"> TEXT </ div>, but that does not work.

When I look at the HTML output to the Web, I see the text in the fields, is being mounted as a <span> and this, not supported in any way justified text.

What would be the correct way to justify text in this version of SAP CR?

thanks

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hello,

What patch are you using?

If you format the field in the report to right justify does that work?

What browser are you using? IE 10 is only supported in Compatibility mode currently. Does that work?

Don

Former Member
0 Kudos

Hello, thanks for your reply.

I'm try all this in FireFox and Chrome. Neither works.

If I put the text align to de Right, this works fine (center and left too) but justify
not get it to work in any way.

I'm surpriced because, the HTML result of the text field, it's mounted into a span tag,
therefore, it is impossible to apply style to a span justified, since the rules do not accept HTML + CSS text alignment style under the SPAN tags, elements that are generated by the CR dll's own and are impossible to try before or after their generation.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Adrian!

did you find a solution? i have the same problem. in runtime mode the text is justify but when i see in browser (FF or Chrome) the text is in left.

thank you.

former_member183750
Active Contributor
0 Kudos

What version of CR and what SP are you using? According to the KBA 1679575 - Justified text (Ctrl+J) is not justified in the SAP Crystal Reports web viewer, this issue is resolved in SP 4 of 'SAP Crystal Reports, developer version for Microsoft Visual Studio'.

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

0 Kudos

FYI - supported platforms:

Supported Browsers

 Internet Explorer 8

 Internet Explorer 9

 Internet Explorer 10

 Firefox ESR 17

 Google Chrome

 Safari 3.1

Notes:

1. Internet Explorer 8 and 9 is supported for Standard (Strict) and Compatibility modes.

2. Internet Explorer 9 in Standard mode, is known to have an issue with displaying reports which contain hidden sections.

3. Internet Explorer 10 is supported in Compatibility Mode when <doctype> is set to “html”

4. Support for Firefox and Safari versions is provided on both Windows and Mac.

5. Firefox ESR 17.0.x is supported based on testing with earlier versions of Firefox during development. If new compatibility issues are found with Firefox ESR 17, SAP will work to resolve them, but please be aware that there may be such issues, especially in the early days of Firefox ESR 17. For more information about Firefox Extended Support Releases: http://www.mozilla.org/en-US/firefox/organizations/faq

6. The current version of Google Chrome is supported based on testing with earlier versions of Chrome during development. Although SAP will work to maintain compatibility with Google Chrome, please be aware that compatibility issues may be introduced if and when Google makes significant changes to Chrome between rapid-releases

Former Member
0 Kudos

actually installed Support Pack 6 (v. 13.0.6.x) + VS2010 + MSSQL2005

even this configuration, in design time text is justified but when i see in browser not... butttt when i export directly to PDF it's justified!

thank you very much for assistance!

former_member183750
Active Contributor
0 Kudos

OK. Let's continue on the other thread:

http://scn.sap.com/thread/2119440

- Ludek

Former Member
0 Kudos

Hi Ludek,

Can you help me to fix the issues for opendocument in infoview? I can't access the report, everytime i run the report it gives me Prompt screen.

Please let me know we can discuss that?

Thanks,

Amit

former_member183750
Active Contributor
0 Kudos

For infoview, please post your query to the BI Platform SCN Space.

- Ludek