Hi,
    I've been using iText for some pdf generation at my workplace, and its a really good piece of software. I usually unit-test all of my code, and have developed (actually still developing) a simple testing-framework for doing junit testing of pdf creation logic.
 
    I have been able to do this primarily because iText has a html-generation mode. I am the lead programmer on the htmlparser project (http://htmlparser.sourceforge.net) - a fast and simple parser that has been developed for dirty html. Using htmlparser, I am able to pick up relevant details of a pdf page from its corresponding html representation. There are some things that I am not able to pick up but for the most part - it seems to be working fine.
 
    I was wondering if you are interested in unit-testing capability for iText - I'd be glad to check it in.
 
    Also, htmlparser is a lot faster and far more robust than the other parsers around - I saw an effort in trying to convert html pages to pdf. I might be able to help if the author/community is interested.
 
Regards,
Somik
********************************************
  Somik Raha                    
  Extreme Programmer and Coach  
  Industrial Logic, Inc.         
  [EMAIL PROTECTED]     
  http://industriallogic.com
  Voice : 510-540-8336     
  Toll-free : 866-540-8336          
  Fax   : 510-540-8936           
********************************************
.. the major danger in vertical thinking is not that of being trapped
by the obvious but of failing to realize that one may be trapped by
the obvious. It is not a matter of avoiding vertical  thinking  but  of
using  it  and   at  the  same  time  being  aware  that  it  might  be
necessary to escape from a particular way of looking at a situation.
 
--- Edward De Bono in Lateral Thinking, Chapter 16, Analogies

Reply via email to