For a document this complex, you may want to consider using XSL FO. This
type of structure is trivial as it is what XSL FO was designed to do.

It is a page-sequence with different repeatable alternatives (layouts) for
first, last and rest (middle) that contains a table with a table-header and
table-footer.

Kevin Brown

poncke wrote:

> Hello,
> 
> I have a problem generating a document with page headers/footer. The 
> document is one big table.
> I dont need the default style page headers/footers (I looked at page 
> events already) that are always placed at the top/bottom of a page but 
> table based that are added at the top/bottom of the report table (only 
> on page if table spans multiple pages).
> 
> Example document structure as visible in pdf viewer:
> 
>       Document Header (Only on first page)
>       Document Page Header (Every page except the first)
>               Report Page Header (Every page)
>               Report Data
>               Report Page Footer (Every page)
>       Document Page Footer (Every page except the last)
>       Document Footer (Only on last page)
> 
> All parts need to fit tightly together so no spacing between the parts 
> (so the page footer for the last page can be in the middle of the page 
> depending on the size of  the report) I tried 3 ways to accomplish 
> this but each one failed.
> What I basically need is the result of test2 but seamless.



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

Buy the iText book: http://www.1t3xt.com/docs/book.php
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