That works just fine. Are you sure they can't? Seems to work to a point.
-----Original Message----- From: Tony Stevens [mailto:tony.stev...@turnkey.com.au] Sent: Friday, January 23, 2009 3:53 PM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Why doesn't this work? Lopes, James wrote: > > I'm not seeing a huge space between the inner Paragraphs. > > ... > > ps0.add(ps1); > ps0.add(ps2); > > document.add(ps0); > > Paragraphs can't contain other paragraphs. When you add() a paragraph to another you're just copying the content (I think - haven't checked the code). Try getting rid of ps0 and adding ps1 and ps2 directly to document. Tony S. -- View this message in context: http://www.nabble.com/Why-doesn%27t-this-work--tp21630910p21632461.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php