I have scanned pdfs with footers I would like to replace. I have tried cropping the page and then resizing the page but this only results in restoring the previously cropped footer. How can I crop out a footer and then restore the page to full letter size so I can add a new footer? Since I have over 1,000 pages to do, I would like to automate the process.
Here's the general concept.
You loop through each page in the document. On each page you place a text field down with a white background and no border to cover up the existing footer.
If you want to use the built in footer tool, flatten the document at this stage.. doc.flattenPages(), then use the internal footer tool.
If you want more control, skip the flattening at this point. Now place another text box, this time with no border and a transpartent background with the text you want for the actual page number. You get to decide the location, font, size, etc. Grab the current page number for your value.
Flatten and you are good to go. If you need some code, holler.
Thanks.
Douglas Hanna is a member of the Production Print Technology team at Aon.
www.aonhewitt.com