I tried out the text wrapping examples in the tutorial, but none of the shapes actually show up in the document that's created when I run it. (or any of the .rtf documents that are on that page for that matter). I've tried it with Word 2003, OpenOffice Writer 2.4 and WordPad, but all of them are just showing text for me. Am I doing something wrong?
On Wed, Aug 27, 2008 at 8:57 AM, Howard Shank <[EMAIL PROTECTED]> wrote: > Here is the original tutorial. Wrap your image with a shape. > > http://itextdocs.lowagie.com/tutorial/rtf/features/shape/index.php > > Howard Shank > > > > ----- Original Message ---- > From: John Schroeder <[EMAIL PROTECTED]> > To: Post all your questions about iText here > <[email protected]> > Sent: Wednesday, August 27, 2008 11:46:04 AM > Subject: Re: [iText-questions] RTF: Wrapping text around an image? > > Actually, I hadn't noticed before but yes it does look like there are > a couple of extra linebreaks after most (but not all) of the pictures > I insert. That's not as much of a problem for me as the text wrapping > though.. anyone have a solution for this? > > On Wed, Aug 27, 2008 at 12:54 AM, Le Doyen, Loic > <[EMAIL PROTECTED]> wrote: >> hi, >> Don't you have also the problem of having 2 line breakers added just after >> your picture ? Or have you solved this problem ? >> Back to the alignment, I haven't pass to set another alignment than the >> default one(left), the method setAlignment of the Image class is not working >> on my computer. >> >> -----Original Message----- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Schroeder >> Sent: mercredi 27 août 2008 0:57 >> To: [email protected] >> Subject: [iText-questions] RTF: Wrapping text around an image? >> >> I'm trying to wrap the text of a paragraph around an image and I'm having >> some problems. When I use the Image.TEXTWRAP property for the alignment, >> the image shows up right next to the last line of the paragraph and there's >> an image-sized blank space between the second to last and last lines. The >> code I'm using looks something like this: >> >> Image img = Image.getInstance(imageUrl); img.setAlignment (Image.TEXTWRAP | >> Image.ALIGN_RIGHT); Paragraph para = new Paragraph(); para.add(<a bunch of >> text>); para.add(img); doc.add(para); >> >> What I want to do is have the image on the right side and the text wrapping >> around it. Is this possible? If so, can someone show me how it's done? >> Thanks. >> >> ------------------------------------------------------------------------- >> 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 >> >> ------------------------------------------------------------------------- >> 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 >> > > ------------------------------------------------------------------------- > 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 > > > > > > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------- 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
