Bulltets and formatting lost


03-02-2010, 10:24 AM
Hi,

I am trying to set the HTML of a rich text box . The text has bullted items and one of which wraps around. I am trying to get the text to not wrap under the bullet. I have tried UL and setting list-style-position which did not work. I have also put a table and a tablerow with two table cells and put a bullet in one cell and the text in the other , when the PDF gets generated the text still wraps around . Please let me know how to fix this

Re: Bulltets and formatting lost


03-02-2010, 11:19 PM
Hello,

Could you please provide me the HTML you are loading in the RichTextBox? I have test this issue using the Ul tag but was not able to get the wrap text under the bullets. Please find attached image of the output.

Regards,
Ankit Nigam


Re: Bulltets and formatting lost


03-03-2010, 11:17 AM
Here is the HTML I have right now


<table>
<tr><td><b>Before you visit a provider:</b></td></tr>
<tr>
<td>
<table><tr>
<td>•&nbsp;&nbsp;&nbsp;</td>
<td>Please review your policy and understand exactly what your health plan covers.</td>
</tr></table>
</td>
</tr>

<tr>
<td>
<table><tr>
<td>•&nbsp;&nbsp;&nbsp;</td>
<td>Check your policy’s referral and authorization requirements. </td>
</tr></table>
</td>
</tr>
<tr>
<td>
<table><tr>
<td>•&nbsp;&nbsp;&nbsp;</td>
<td>Call and ask if the provider is accepting new patients and still participating in the network.</td>
</tr></table>
</td>
</tr>
<tr><td><b>Before you receive care:</b></td></tr>
<tr>
<td>
<table cellpadding=10 cellspacing=10><tr>
<td>•&nbsp;&nbsp;&nbsp;</td>
<td>Please confirm your health coverage covers the service you want from the provider. Just because a provider is in our network doesn't mean we will cover all services from that provider.</td>
</tr></table>
</td>
</tr>
</table>


Here is what shows up in the attachment




Re: Bulltets and formatting lost


03-04-2010, 5:20 AM
Hello,

I used build 5.3.1436.2 of Active Reports for .NET 3.0 and get a correct output, similar to InternetExplorer with the given HTML. (Please see the attached PDF).
In your screen shot the text wraps because the PrintWidth of the report is not enough to accommodate the complete string in one line. You would need to increase the PrintWidth and the width of the richtextbox.

If you have more questions, please feel free to ask.

Regards,
Aashish

Re: Bulltets and formatting lost


03-04-2010, 6:32 AM
We do not mind the text wrapping , but the wrapping should start under the text in the first line not under the bullet.

Sarada

Re: Bulltets and formatting lost


03-04-2010, 2:29 PM

Hello,

You may use a combination of <br> and nbsp tags to meet your requirements. Please take a look at the attached sample.

Regards,
Prantik