You have PdfWriter.getVerticalPosition() but in general you should do your own layout with ColumnText and PdfContentByte if precision is needed.
----- Original Message ----- From: "Marco" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, March 29, 2005 9:32 PM Subject: [iText-questions] Get the actual x,y in page > I addedd to a Document some Phrases with text and images (equations), and > some with text only, but I have two problems: > 1) I can calculate how space I need between two Phrases if them contain > images, and I can insert new line with the correct space, but if a Phrase is > too large, before of its end a new line begin with default space from the > previous one, and a part of some images is covered by the new one. > 2) The last line of a page, if contains images too hight, are not correctly > visualized, and a part of them is out of margin. > > I must know, before adding a Phrase or a Chunk, the absolute value of (x,y) > of the point where will be inserted the new, for calculate if I need go to > the next line or to the next page. > > It is possible? > > N.B. I can calculate how space I need for Images, but not for text: then I > have some problem for calculate myself (x,y) of Phrases and Chunk. > > Thank you, and excuse for my English > > Marco > > > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
