Op 21/02/2011 14:31, Saravana Kumar Ganesan schreef:
Hi Experts,
I need to have a page with table Header and Footer and also i need to have page x of y in page footer. I tried iText in Action example. It is not showing anything at all in footer page.Can we have page footer with a table in a page which is already having table in a body?.Any example with this kind of scenario also will be highly appreciated?
Your problem is described here: http://support.itextpdf.com/node/26
You have tried this example: http://1t3xt.be/?143
This example works. If you want the table to appear in the footer, replace

table.writeSelectedRows(0,-1,34,803, writer.getDirectContent());

with something like this:

table.writeSelectedRows(0,-1,34,56, writer.getDirectContent());

This changes the Y-offset of the table (from the top of the page to the bottom 
of the page). You'll also have to tune the margins otherwise your footer will 
overlap with the content of the page.

The fact that the page already has a table is irrelevant.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to