Skip to Content
0
Former Member
Apr 01, 2016 at 10:55 AM

HTML interpretation of textfield does not work fine

301 Views

Using CR 2011.

In a datafield I have XHTML formatted text (coming from C1Edit control for winForms of ComponentOne)

I choosed HTML text interpreatation for the field in the report.

1. the padding style is ignored by Crystal report, doesn't matter if I use padding: or padding-bottom. With or without padding the li-elements are close to each other with no distance between the paragraphs.

2. The color (#ff0000 RED) is shown for the part "zum Teil " but not for "auftretender Schmerz".

It seems to be by hazard whether formatting is done or not done.

<body>

<ol style="font-size:12;">

<li style="padding-bottom:12pt;">

<span style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">akut <span style="color: #ff0000">auftretender Schmerz </span>in der LWS/(L5/S1), <span style="color:#ff0000">zum Teil </span>in das rechte Bein ausstrahlend.</span>

<p><span style="FONT-SIZE: 12pt; FONT-FAMILY: Arial"></span></p>

</li>

<li style="padding-bottom:12pt;">

<span style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">Rezidivierende Darmreizungen zum teil akut</span>

</li>

</ol>

</body>

I'm a a very disappointed user

Wilfried Engstler