It's not that bad. Place your image and use a ColumnText with irregular columns, there are examples in the tutorial. HTHLWorker has nothing to do with this, of course.
----- Original Message ----- From: "Philip Newton" <[EMAIL PROTECTED]> To: "Sergey Vlasov" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Monday, August 15, 2005 3:06 PM Subject: Re: [iText-questions] Re: Alignment of images in table's cell with text in HTMLWorker (HTML-to-PDF) On 8/15/05, Sergey Vlasov <[EMAIL PROTECTED]> wrote: > Paulo Soares <psoares <at> consiste.pt> writes: > > > There's no text flowing around images in ColumnText and PdfPTable. If you > > want that, it won't work. > > In my case I want to display an image right to the text. Here is my html > fragment: > <td>Hello world!<img src="flag_red.PNG" border="0" align="right" width="10" > height="10" /></td> > > Could you please suggest a solution for my case? Use PdfContentByte and do the text formatting yourself (measure out how many pixels each word takes, determine where to break lines, place the lines on the page yourself, etc. etc.). Paulo already said that there is no automatic method in iText to have text flowing around images. -- Philip Newton <[EMAIL PROTECTED]> ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
