Hi Paulo,
Does that mean it is a bug in iText? or this feature is not yet ported?
Regards,
Vaibhav Gupta
*Please don't print this Email unless you really need to - this will
preserve trees on planet earth.*
On Thu, Jan 13, 2011 at 1:18 PM, Paulo Soares <psoa...@glintt.com> wrote:
> iTextSharp is in sync with iText.
>
> Paulo
>
> ------------------------------
> *From:* Nurettin DAG [mailto:nurettin...@gmail.com]
> *Sent:* Wednesday, January 12, 2011 11:06 PM
> *To:* Post all your questions about iText here
> *Subject:* Re: [iText-questions] Issues in HTML to PDF conversion
>
> 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
>
> ------------------------------
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
> informação confidencial ou legalmente protegida. A incorrecta transmissão
> desta mensagem não significa a perca de confidencialidade. Se esta mensagem
> for recebida por engano, por favor envie-a de volta para o remetente e
> apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o
> destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may
> contain confidential or legally protected information. The incorrect
> transmission of this message does not mean the loss of its confidentiality.
> If this message is received by mistake, please send it back to the sender
> and delete it from your system immediately. It is forbidden to any person
> who is not the intended receiver to use, distribute or copy any part of this
> message.
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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