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

Bullet point indentation in Crystal Reports (ol and ul tags)

I am pulling HTML directly from the database, and included with this are bullet points (ul tags with li tags for individual items). The bullet points display fine, but when word-wrapping occurs, the indentation is based on the beginning of the margin rather than the bullet point. I've read some past discussions on this, but they were with older versions of CR, and nothing very relevant to this. We are on CR 2013 with the latest service pack.

  • This is an example of a bullet point this is word-wrapped. If it's very long you can see that the text wraps and is correctly displayed on the second line, due to the indentation. This is the correct and expected behavior. This is NOT the way Crystal Reports 2013 displays it. It, on the other hand, does no indentation and the second and succeeding lines begin at the beginning of the margin, along with the rest of the text.

So, is there any way to get this HTML to display properly in CR 2013? Thanks in advance!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Dec 06, 2014 at 03:07 PM

    Here is a picture showing a solution:

    2014-12-06_1003 - IdoMillet's library

    A UFL (User Function Library) converts the HTML to RTF.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2014 at 06:49 PM

    Hi Warren,

    Not sure what the html looks like but possibly you could handle the text wrapping yourself but using these functions and insert you tags accordingly:

    Length ()Left (, )Right (, )

    You you have a sample report I can test with?


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your response Don. I'm not sure that the report matters, you can just create a new report with a field whose text interpretation (in format editor) is set to HTML Text. If you put in the tags:


      <li>This is a bullet point</li>

      <li>another bullet point that is really long so it wraps</li>


      Then you will see the incorrect behavior.

      I'm sorry Don, but I'm relatively new to Crystal Reports, so I'm not sure exactly what you mean to do with wrapping my text in Length(), Right(), Left()?

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.