Losing header and foolder on endnotes page in pdf

You can ask general questions, share opinions or advices about doPDF.
Post Reply
snguyen
Posts: 2
Joined: Mon Aug 08, 2011 8:07 pm

Post by snguyen »

Hello everyone,
I am very new to this forum and would like to post this question and hope to get some help. We are using the following code pass in a product.doc to generate a product.pdf

PDDocument product = new PDDocument();

PDFMergerUtility merger = new PDFMergerUtility();

createPDF.appendPDF(merger,product,"_Product.doc");

product.save(os);

createPDF.close();

product.close();

Our product.doc has both header and fooder, when inserting endnotes, it shows up at the last page on the product.doc. When generating pdf, we are losing the header and footer on the last page of the pdf.
Any ideas? Any helpful information would be greatly appreciated!
Thanks in advance!
Suong


Post Reply