You must use page events and PdfPTable.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of FrenchUser
> Sent: Friday, May 04, 2007 9:33 AM
> To: [email protected]
> Subject: [iText-questions] Header/Footer set/get size/position
> 
> 
> Hi,
> 
> I Have a Table wich contain "y" rows and "x" columns, "x" and "y" are
> unknow, I want to set a Table wich fit only one page, with 
> same rows height,
> and same columns width. So I calculate the rows.height like that :
> 
>           TableHeight = document.size.height - document.margin.top -
> document.margin.bottom
>           RowHeight = TableHeight / y
> 
> this formula work well but when I set header and footer, it 
> doesn't because
> I need to take care about header and footer height. So How 
> can I get the
> header and footer REAL height ?
> 
> PS : document.header.height doesn't give the real header 
> height, maybe I
> miss some cotasion
> -- 
> View this message in context: 
> http://www.nabble.com/Header-Footer-set-get-size-position-tf36
> 90815.html#a10318825
> Sent from the iText - General mailing list archive at Nabble.com.
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
> 


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to