I haven't seen any response to this. If I need to post more information, I can. I feel that the situation I describe is adequately stripped down and reproducable, and while not necessarily common, certainly within the bounds of what I would expect to be able to do with HTML. I may be wrong, of course. If this is a known issue I would appreciate knowing that, too, so that I can stop hammering my head against it, and just work around it. The support on this list has been great, very active, and I see lots of other HTMLWorker questions go by and get responses. I want to make sure that it isn't my posting that is causing a delay.
-----Original Message----- From: Hamilton, Ken Sent: Friday, January 23, 2009 9:39 AM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] HTMLWorker problem with ColumnText I have an HTML snippet that looks like this: <ol><li>TEST 1 <table><tr><td>TEST 2</td></tr></table></li><li>TEST 3</li></ol> I process it through HTMLWorker like this: StringReader HTMLreader = new StringReader(concatDesc); try{ ArrayList<Element> x = iTextHTMLWorker.parseToList(HTMLreader,null); Iterator<Element> itr = x.iterator(); while (itr.hasNext()) { Element e =itr.next(); ct.addElement(e); ct.go(); } The table inside the first list element is ignored. If I replace ct.addElement(e); ct.go(); with document.add(e); the table shows up. Is this expected behavior? Does the ColumnText object handle the objects differently? -- View this message in context: http://www.nabble.com/HTMLWorker-problem-with-ColumnText-tp21625535p2162 5535.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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