In PDF putting the images in chunks and adding those chunks to a phrase will
get you the images one after the other in the same line. I don't know if RTF
behaves the same.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2008 10:31 AM
> To: [email protected]
> Subject: [iText-questions] inserting images in a row.
>
>
> Hi all,
>
> Is there an easy way to insert a row of images in an RTF
> document without specifying the absolute position ? When
> using the add method, each image is placed in a new row. Is
> there a way to insert images one after the other, and have
> them automatically go to the next row in case there is not
> enough place on the row ?
>
> thanks,
>
> matt-
>
> the code I use looks like
>
> Document document = new Document();
> ...
> RtfWriter.getInstance(document, fileOutputStream);
> ...
> for (String SCImage : SCImages)
> {
> Image jpegSC = Image.getInstance(SCImage);
> jpegSC.scaleAbsolute(256.f,
> jpegSC.getHeight()*256.f/jpegSC.getWidth() );
> document.add(jpegSC);
> }
>
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.1t3xt.com/docs/book.php