Gerry King wrote:
> How do I position the PDFTables so they don't overwrite the 'header' and 
> constrain them so they don't overwrite the footer?

I'm not sure if I follow your story.
This header and footer, are you adding them?
Or are they in the template.
If not, what's in the template?

> What is the best approach for adding a 'footer' that consists of several 
> graphics and some text (no need for page numbers tho')? It could be 
> scanned as a single image or should I put it in a PDFTemplate?

Create an page event (using a custom class that
extends the page event helper class).

In the constructor of the event, I'd create a
PdfImportedPage object (using the writer object
and a PdfReader object that reads the template).
I'd create the header and the footer. This could
be a PdfTemplate (wrapped in an Image or not),
it could also be a PdfPTable element,...
I don't know, it depends on your requirements.

In the onCloseDocument method, add the
imported page so that it is UNDER all the
rest of the content. Add the PdfTemplate
(or Image or ...) that has the header and
footer content.

Make sure you have defined the margins of your
Document object so that the content that is
added with document.add() doesn't overlap with
the header and footer that are added to the
document automatically every time a page is finished.

> I really would appreciate it if someone could help me understand how to 
> plumb this all together.

I'm not sure if I understand the requirements.
That makes it hard to help you.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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