Skip to Content
author's profile photo Former Member
Former Member

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

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

SAPjustify.gif (90.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jun 17, 2013 at 01:40 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 03, 2013 at 04:28 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.