I have created a PDF from multiple Word documents. I added a header/footer in the PDF by telling it I wanted an additional header/footer (there was one already existing in the Word document). Everything worked fine.
The problem: When I need to edit the PDF footer, no matter what choice I make, it wipes out the original header/footer from the Word document. I am using Acrobat 9.0.
Any ideas?
But there is a way around the issue, and that's to rename the Footer OCG. So first, run this code from the Acrobat JavaScript Console Window. It will expose the existing layers in the "Layers" navigation window.
this.setOCGOrder(this.getOCGs());
From the Layers window you can rename and merge the layers so that you can add new headers/footers without overwritting the old ones.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script