Hi Damon,

To work around this create multiple dummy columns within your HTML table and
use the 'colspan' attribute to format the output of your table.

For example:

<table>
      <tr>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
             <td>&nbsp;</td>
      <tr>
      <tr>
             <td>Column 1 text</td>
             <td colspan=7>Column 2 text that will be formatted correctly
with HTMLWorker</td>
      <tr>
</table>


Enjoy!

Brendan




Damon Getsman wrote:
> 
> Andrea, I'm trying to work on a project where I need to generate a PDF
> Table
> from html table format, also, but I'm having a really hard time finding
> definitive guidelines on how to get the functionality that I need.  I
> haven't even been able to dig up any decent code using iText to give me an
> example of some of the functions that I need to use and how to utilize
> iText
> correctly.  Is there any way I could take a look at some of your source
> code
> if it's not proprietary and/or copyrighted or under a non-disclosure?  I
> would really appreciate it.
> 
> You can contact me via email at [email protected]
> 
> Thanks for your time.
> 
> -- 
> ----------
> Damon Getsman
> -=-=-=-
> ITRx http://www.itrx-nd.com/
> Programmer/IT Customer Relations/Sys Admin
> -=-=-=-
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> 

-- 
View this message in context: 
http://www.nabble.com/Re%3A-htmlworker-html-table-parsing-%28for-Andrea-Conti%29-tp21024192p21323207.html
Sent from the iText - General mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to