You can always use absolute positioning and it will go to the next line if you use ColumnText. It would help to see a picture of the result you are seeking.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Marco > Sent: Friday, April 01, 2005 11:59 AM > To: [email protected] > Subject: [iText-questions] Re: Re: Get the actual x,y in page > > I can't use Paragraph, because my equations have high and low > part; when I > go to a new line, I must leave a space=previous low+actual > high: I can go to > a new line only after the next is defined. But this is not a > great problem, > because I can add Pharagraph to Document after define the next. > > My big problem is that I don't know how insert text and images in a > Pharagraph and how define the space between two Pharagraphs, > but I know as > do it with Phrases. > > Use absolute position it is not possible, because it is > possible that a > Phrase is too long, and go to a new line itself. I know > length of equation, > but not of Strings, because this depends by Font used. > > I most know only HOW MANY PIXEL ARE AVAILABLE BEFORE THE END > OF PAGE: if > they are too little, I go to a new page. Only this. > > I Have sometinghs as the following: > > 1) define Phrase1 as text1+image1+text2+image2...; calculate > low and high > space > 2) define Phrase2 as text3+image3+text4+image4...; calculate > low and high > space > 3) define space between Phrase1 and Phrase2 as how space of > 1+high one of 2 > 4) add Phrase to document, with space calculated in pass3 > > etc.. > > Images are fractions and others. > > It is possible with Pharagraph? And how? > > "Paulo Soares" <[EMAIL PROTECTED]> ha scritto nel messaggio > news:[EMAIL PROTECTED] > Always use a Paragraph with Document.add(). If it doesn't > work use absolute > positioning as I said in the first answer. > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Demarc: > A global provider of Threat Management Solutions. > Download our HomeAdmin security software for free today! > http://www.demarc.com/Info/Sentarus/hamr30 > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
