Hi Bruno, Thanks for the info. I found the 'offending' code and have now patched my 1.3.1 version. I made the change so that iText will only use the code if it finds the tags. This way everyone is happy. :)
I will download the 1.4 source and send you my changes. Ricardo -----Original Message----- From: bruno [mailto:[EMAIL PROTECTED] Sent: Monday, April 03, 2006 16:41 To: Ricardo Coutinho Cc: [email protected] Subject: Re: [iText-questions] Re: HTML -> PDF conversion code change from itext 1.2 to 1.3 and 1.4 Ricardo Coutinho wrote: >Hi Bruno, > >Thanks for the information. Is subclassing the SAXmyHtmlHandler the only >solution? I was not planning on extending iText as it offered all the >functionality I needed as is. > >It seems that this functionality changed since version 1.2 although I >have not yet found where the change is. Can you give me a pointer where >the code changed? > >For information; I liked the way the code behaved in version 1.2 because >it allowed be to have 1 html template and then decide what the output >format I want it generated. It is a pity that this has gon. > > I have very little time and now I see the problem was not in SAXmyHtmlHandler, but in SAXiTextHandler. Search for the name Samuel Gabriel; his code contribution was a good idea, but it obviously has unwanted side-effects. I also liked the way the code behaved in version 1.2 because now some attributes that aren't even HTML are needed (which is not a good thing). So I would be very much obliged that, if you really need a solution, you send me the fix so that I can put it in CVS and release it in the next iText version. If you don't have the time to do this, you will have to wait... br, Bruno ____________________________________________________________ This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to which they are addressed. Any unauthorized copying, disclosure, or distribution of the material within this email is strictly forbidden. Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of Odyssey Asset Management Systems SA unless otherwise specifically stated. An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. If you have received this email in error, please notify the sender immediately and delete the original. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
