pickm wrote:
> I feel like I am missing something simple here.  
> 
> When parsing HTML, I want this to replace an existing underline with a new
> one that I position.  But it doesn't override the first, it just adds a
> second underline.  I attempted to set the font style back to NORMAL, but
> that line of code is doing nothing.  The problem is in the loop where I
> iterate over the chunks in the element (there are FIXME comments).

The problem is historical.
setStyle is not a real setter.
I don't know what side effects there would be if I changed it into a 
real setter. Can you post a bug report in the Tracker on SF? That way, I 
won't forget to have a look at it before the next release.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

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

Reply via email to