i've recently switched from fop to itext on a project i'm working on because i needed to get text to wrap around an image. i've managed to get the text wrapping without a problem, but I've run into a bit of a problem with image alignment.
this is bascially the code i am using now: image1.setAlignment(Image.RIGHT | Image.TEXTWRAP); image2.setAlignment(Image.RIGHT | Image.TEXTWRAP); document.add(image1); document.add(image2); document.add(a whole bunch of text as a Paragraph); now what i get looks like: texttexttext+---++---+ texttexttext| || | texttexttext| 2 || | texttexttext| || 1 | texttexttext+---+| | texttexttext | | texttexttext +---+ texttexttexttexttextte texttexttexttexttextte in case my ascii art gets jumbled, image 1 is on the left hand edge of the page, image 2 is to the left of image1, and the text wraps around a rectangle which is this big: image1.width+image2.width X max(image1.height,image2.height) what i want, and what i thought was the intuitive meaning of the the image alignment, would be this: texttexttexttext+---+ texttexttexttext| | texttexttexttext| | texttexttexttext| 1 | texttexttexttext| | texttexttexttext| | texttexttexttext+---+ texttexttexttext+---+ texttexttexttext| | texttexttexttext| 2 | texttexttexttext| | texttexttexttext+---+ where each image is aligned with the left edge of the page. Suggestions as to an easy way to accomplish this(i.e. without resorting to absolute positioning)? john duda john [EMAIL PROTECTED] manifestor.org -- this is where my public key can be found: gpg --keyserver www.keyserver.net --recv-keys 03817826 Key fingerprint = 6C11 8D70 2ADE EFA9 498D 72CB 77EA 391A 0381 7826 ------------------------------------------------------- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions