|
Hi,
I am new to iText. I search in the mailing
archive, but not found the solution.
I have to make a document with more than one page.
This page must have an Header(whit image and some text), an footer(whit a table
with some text) filled only in the last page, and in the meedle a table with the
result from a query datase. I can't before know then context of the database
fields.
I use a document with margins
Document document = new Document(PageSize.A4, 36, 36, 250,
100);
for the context of document and with the
"onStartPage(writer, document)" i set header, but it runs only in
the first page and after call "document.NewPage()" method. So, if
the context of database fields make table rows of 2,3,4 rows paging is
wrong.
What can i do?
Thank you in advice.
Matteo
Tognolo
|
