Re: [iText-questions] Multiple images in same line

2008-02-07 Thread 1T3XT info
bisoa schreef: > I think this will never works unless you re-write the package per se! I'm sorry, I missed the question because of lack of time. I think 96% of what is possible in PDF is also possible with iText because you are able to create PDF at its lowest level (all you need is a sound unders

Re: [iText-questions] Multiple images in same line

2008-02-07 Thread bisoa
Mathieu Mallet wrote: > > What I'm trying to do is emulate a web page's rendering, but in PDF. I > want > to have multiple images placed on a single line, with images that cannot > fit > automatically wrap to the next line. Using PdfTables would require knowing > in advance how many images shoul

Re: [iText-questions] Multiple images in same line

2008-02-06 Thread Mathieu Mallet
What I'm trying to do is emulate a web page's rendering, but in PDF. I want to have multiple images placed on a single line, with images that cannot fit automatically wrap to the next line. Using PdfTables would require knowing in advance how many images should be placed, how wide they will end up

Re: [iText-questions] Multiple images in same line

2008-02-06 Thread bisoa
Hi, I am not sure what this example is used for. However I have to say that this approach will always accomany great hassles in making things work correctly. I would rather suggest to use grid layouts using Table/Cell (or PdfTable/PdfPCell). Then you will be able to control things very easily. R

Re: [iText-questions] Multiple images in same line

2008-02-05 Thread Mathieu Mallet
Heya, me again. The technique you suggested works great for single paragraphs with multiple images. However, it seems to break down when multiple paragraphs are in play. See the attached example PDF: When using paragraphs with 3 images per line, itext does not place the new paragraphs where they 's

Re: [iText-questions] Multiple images in same line

2008-01-30 Thread Bruno Lowagie
Mathieu Mallet wrote: Heya, I'm trying to display multiple images on a single line in iText in order to replicate the behavior of a web renderer. I tried to do this by wrapping the images in Chunk object, which are themselves placed in the same Paragraph object. However, when there are a lot

Re: [iText-questions] Multiple images in same line

2008-01-28 Thread Bruno Lowagie
Mathieu Mallet wrote: > Here is the proper (incorrectly rendered) file. I vaguely remember writing some code that adjusted the leading of the Paragraph that has Image Chunks so that images are not cut of (so that's the direction towards the solution), but I have to go to work in a few minutes, so.

Re: [iText-questions] Multiple images in same line

2008-01-28 Thread Mathieu Mallet
Apologies -- I appear to have attached the wrong PDF file. Here is the proper (incorrectly rendered) file. Mathieu Mallet *Apollo Systems Research Corporation* On Jan 28, 2008 3:21 PM, Mathieu Mallet <[EMAIL PROTECTED]> wrote: > Heya, > > I'm trying to display multiple images on a single line

[iText-questions] Multiple images in same line

2008-01-28 Thread Mathieu Mallet
Heya, I'm trying to display multiple images on a single line in iText in order to replicate the behavior of a web renderer. I tried to do this by wrapping the images in Chunk object, which are themselves placed in the same Paragraph object. However, when there are a lot of images to be displayed,