The first issue was fixed in the latest version for Java. I am not sure how
the porting from Java to Csharp works. It has probably not been ported yet.
The fix is simply

list.setListSymbol("\u2022 ");

Until that gets fixed you might want to do postprocessing on the output
elements on HTMLWorker.parse and do the one above for instances of
com.itextpdf.text.List

The second issue is unfortunately not supported. HTMLWorker currently only
supports property "border" that indicates the width of border. I think when
it is set to 0 (border="0") borders would not be visible, worth a shot. On
the other hand, "bordercolor" is not currently supported. You might try to
patch it.

Good luck
Nurettin

On Wed, Jan 12, 2011 at 5:05 PM, vaibhav gupta <vaibhav2...@gmail.com>wrote:

> Hi Guys,
>
> I am having some issues while converting HTML to PDF using ItextSharp.
>
> 1. In the unordered lists (UL) after conversion the bullets are having no
> spacing in front of the text
> 2. I have a table which has only outer borders but after conversion the PDF
> table has all the borders enabled.
>
> Below is my HTML:
>
> *<table style="WIDTH: 100%" border="1" rules="none" cellspacing="0"
> bordercolor="#00cccc" cellpadding="2" bgcolor="#99ffff" frame="box"
> align="left" valign="middle"><tbody><tr><td>Table Item 1</td><td>Table
> Item 2</td></tr><tr><td>Table Item 3</td><td>Table Item 4
> </td></tr></tbody></table><p><strong><u><br></u></strong></p><p>
> <u><br></u></p><p style="PADDING-LEFT: 100px"></p><ul><li>Bullet Item
> 1</li><li>Bullet Item 2</li></ul><p><br></p>*
>
> Thanks in Advance,
> Vaibhav
>
>
> *Please don't print this Email unless you really need to - this will
> preserve trees on planet earth.*
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>



-- 
Nurettin DAG
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to