User-287389677 posted
Hi
I am using ajax html editor in my page. The bold and underline, italic like some html tags is not working in crystal reports.
Please find below the sample HTML block, which needs to be printed in Crystal report. I have specified Text Interpretation as HTML, for the text control that is about to display the HTML block. Even though i am not getting the actual output what i see in
the HTML editor.
Example 1
<p><span style="font-size: 11pt; font-weight: bold;">Realtime B-mode sonography</span><span style="font-size: 11pt;"> of gravid uterus shows a single Intrauterine gestation.</span></p> <p><span style="font-size:
12pt;">Presentation : Cephalic / Breech
LMP:</span></p> <p><span style="font-size: 12pt;">
Menstrual
Age :</span></p> <p><span style="font-size: 13pt; font-weight: bold; font-style: italic;">RoutineBiometry with GA</span></p> <p><span style="font-size: 12pt;">
<span style="font-weight: bold; text-decoration: underline;">mm</span> <span style="font-weight:
bold; text-decoration: underline;">Weeks</span></span></p> <p><span style="font-size: 12pt;">BPD -
</span></p> <p><span style="font-size: 12pt;">HC - </span></p> <p><span
style="font-size: 12pt;">AC - </span></p> <p><span style="font-size: 12pt;">FL
- </span></p> <p><span style="font-size: 12pt;">HL -</span></p>
<p><span style="font-size: 12pt;">CephalicIndex - </span></p> <p><span style="font-size: 12pt; font-weight: bold; font-style: italic;">TargetedScan</span><span
style="font-size: 12pt;"> </span></p> <p><span style="font-weight: bold; text-decoration: underline;">Head / Neck</span></p> <p><span style="font-size: 11pt;">Midlinefalx seen</span></p> <p><span
style="font-size: 11pt;">Bothlateral ventricles appears normal</span></p> <p><span style="font-size: 11pt;">Posteriorfossa appears normal</span></p> <p><span style="font-size: 11pt;">Neckappears normal</span></p><span
style="font-size: 11pt; font-family: verdana,arial,helvetica,sans-serif;">Fetal face appears normal</span><br /> <br />
Example 2
<span style="font-weight: bold; font-size: 12pt;">Whole Chest</span><br /> <br /> Seems to be normal in size.<br /> <br /> <span style="font-weight: bold; font-size: 12pt; text-decoration: underline underline;">Rib
Cage</span><br /> <br /> Seems to be <span style="font-weight: bold;">abnormal</span> due to lesion.<br /> <br /> <span style="font-weight: bold; font-size: 12pt; font-style: italic;">Final
Impression</span><br /> <br /> <span style="font-family: times new roman, times, serif; font-size: 18pt;">Immediate doctor's attention is needed.</span>
I am just getting plain output without any formatting applied in continous line. Any help on this is greatly appreciated.
Thanks