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();
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!