Thanks for the quick response. Let me try and be clearer.

I want to add a header and footer to the following document:

http://dl.dropbox.com/u/13080345/lorem.pdf

The header/footer content is obtained from another PDF:

http://dl.dropbox.com/u/13080345/-1733005_header.pdf

So I'm using so using this code example to achieve that:

http://www.itextpdf.com/examples/iia.php?id=119

However, the resultant PDF only contains the header, not the footer.

http://dl.dropbox.com/u/13080345/test.pdf

Now what I do know is:
- both PDFs are letter sized
- the main document is not opaque. I've proved it by using this as the 
stationary - http://dl.dropbox.com/u/13080345/no_margin.pdf
- this works perfectly for other header/footer PDFs I've tried. I don't 
know what's special about this one
- if I use the stationary as src and vice versa, it works but it doesn't 
help for documents of more than 1 page.
- if I use this header/footer http://dl.dropbox.com/u/13080345/tw.pdf, 
neither appear in the result

Hope that better illustrates the issues I'm seeing.

Any help is much appreciated.

Thanks
Andy Wu

On 01/09/2011 02:16, 1T3XT BVBA wrote:
> On 1/09/2011 3:23, Andy Wu wrote:
>> Can anyone offer an explanation as to what I'm seeing and better still,
>> how to resolve it?
> I don't understand the question. It's not clear what you want to prove
> with the PDF examples you give. Unless you're saying that you're using
> those PDFs as stationery.
>
> In that case, the problem should be clear: if you want to use a PDF A as
> stationery for a PDF B, it goes without saying that the page sizes of
> both PDFs should be equal. If they are not equal, it shouldn't surprise
> you that header or footer disappear. Also: if PDF B is opaque, adding
> stationery under the existing content, you shouldn't expect to see the
> header/footer.
>
> If none of these trivial issues apply, you'll have to rephrase your
> question.
>
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> 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


------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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