on 07-22-2010 11:59 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moved to .NET SDK forum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.