Why don't you do it row by row using PdfPTable.writeSelectedRows()?

Best Regards,
Paulo Soares

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Friday, July 16, 2004 10:58 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Is there a way to have table 
> header on each page (without using setHeaderRows) ?
> 
> I'm using PdfPTable for inserting big tables in a Pdf Document. Using
> setHeaderRows the header is automatically placed at the 
> beginning of each
> new page if the table cannot be contained in a single page. It seems a
> magic behaviour because in the API I cannot find anything to 
> implement such
> a behaviour manually ! What I have to do is to place something like  a
> Table header on each page a given table spans but for some 
> reasons  I will
> explain later I cannot use setHeaderRows and I'm looking for some
> alternative way.
> In fact I have to write so large a table I need to split it 
> into pieces to
> avoid memory problems. The splitted tables will be printed using
> document.add()
> but the end of one of them and the beginning of the next can 
> be anywhere in
> the page so I don't want to use headers.
> The only idea I have is to create a single row table with the header,
> enlarge the top margin of the document and print it in the 
> top margin of
> each page.
> Any other idea ?
> 
> Thanks
> Filippo
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idG21&alloc_id040&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to