cancel
Showing results for 
Search instead for 
Did you mean: 

HTML Bullet-Lists and Numbered Lists

Former Member
0 Kudos

I used the following html code to test the html-interpretation mode for text fields.

It seems that the interpretation of bulletlists and numbered lists is working,

but obviously the style of the bullets and indentation is not working as expected.

The issues are:

- The bullets are shown as almost invisible small dots

- There is no white space between the bullet / number and the first character of the text

- The indentation of the first line of a listitem is as expected but I use a text longer than one line, the second line is not intended and starts from the very left edge of the textbox.

I would appreciate any solution which solves these issues.

I use Crystal Reports 2008 SP3 and the reports are displayed from a custom .NET application

which uses CrystalDecisions.Windows.Forms.CrystalReportViewer

to display the report.


<html>
<head>
  <title></title>
</head>

<body style="font-style:normal;font-weight:normal;">
  <ul>
    <li>
      <p><span>Bullet 1</span></p>
    </li>

    <li>
      <p><span>Bullet 2</span></p>
    </li>

    <li>
      <p><span>Bullet 3 with very long text which should be indented
      and it seems to be, that the indentation does not work</span></p>
    </li>
  </ul>

  <ol>
    <li>
      <p><span>Number 1</span></p>
    </li>

    <li>
      <p><span>Number 2</span></p>
    </li>

    <li>
      <p><span>Number 3 with very long text which should be indented
      and it seems to be, that the indentation does not work</span></p>
    </li>
  </ol>
</body>
</html>

Edited by: mikepkp17 on Jul 22, 2010 12:59 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Mike

This has been an iisue for years, in that Crystal HTML interpretor is very poor.

The only way I solved this 4 years ago was to use a proprietry DLL to convert HTML to RTF, and then used Milletsoftware Visual cut to bring the RTF doc into Crystal and then use Crystal RTF interpretor which is a lot better.

Don't ask me how as its too long ago and I prefer not to remember

Very convoluted but worked as we were only producing a single banking letter for individual customers. Hate to think what would happen if you needed to process a lot of records.

Good luck!

Ian

Answers (2)

Answers (2)

0 Kudos

Moved to .NET SDK forum

Former Member
0 Kudos

Thanks for posting this Mike! This has been a real problem for me as well, hopefully if enough of us complain they'll work on a fix.

ido_millet
Active Contributor
0 Kudos

Just to clarify, the dll mentioned above as a tool to convert the HTML to RTF is not Visual CUT (which is a report scheduler), but CUT Light, which is a UFL (User Function Library).