Confused.  I thought this one had been answered already?
 
I can only suggest to measure the current page position to see if there's 
enough room left before putting it on the page (get vertical position), and if 
not, start a new page.  But I seem to remember you being after more than that?

-----Original Message-----
From: NCS Novazzano [mailto:[email protected]]
Sent: 27 May 2010 15:21
To: [email protected]
Subject: Re: [iText-questions] Keep things together


Hi all,

i make a last attempt regarding my question... nobody as a suggestion?

Thx and sorry for the spam...


2010/5/21 NCS Novazzano < [email protected]>


Hello,

my task is to keep some things together when printing a PDF, in a recursive way 
(each child has to be kept with its parent).

I have putted the text/images that should be kept together in a PdfPTable so 
that if there is not enough space in the current page the table is moved to a 
new one.

This works perfectly except for the fact that the last row of the table in the 
previous page is expandend to the end of the page.
I have tried with table.setExdendLastRow(false) but this has no effect.

Any help will be much appreciated. In particuar, how can I avoid the described 
effect? Is there other ways to achieve my task?

With best Regards,

Michele







This email was received from the INTERNET and scanned by the Government Secure 
Intranet anti-virus service supplied by Cable&Wireless Worldwide in partnership 
with MessageLabs. (CCTM Certificate Number 2009/09/0052.) In case of problems, 
please call your organisation's IT Helpdesk. 
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.



Land Registry's House Price Index is now live. www.landregistry.gov.uk

If you have received this e-mail and it was not intended for you, please let us 
know, and then delete it. Please treat our communications in confidence, as you 
would expect us to treat yours. Land Registry checks all mail and attachments 
for known viruses, however, you are advised that you open any attachments at 
your own risk.



The original of this email was scanned for viruses by the Government Secure 
Intranet virus scanning service supplied by Cable&Wireless Worldwide in 
partnership with MessageLabs. (CCTM Certificate Number 2009/09/0052.) On 
leaving the GSi this email was certified virus free.
Communications via the GSi may be automatically logged, monitored and/or 
recorded for legal purposes.
------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to