?
Solved

How do you use a button on a pdf to add a new page or section?

Posted on 2008-10-15
1
Medium Priority
?
257 Views
Last Modified: 2012-05-05
I have an old PDF that has a button that creates a duplicate of the last page when clicked on. The page is password protected so I can't reverse engineer it. That said, I'm using Adobe Live Cycle Designer to add all of the other functionality but this doesn't seem to show up on the how to files with the application or online. If it was available in version 7 I'd think it'd be available now. Any help is appreciated.
0
Comment
Question by:rgc6789
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 22723107
This feature was implemented with a page template. You "spawn" a new page based on a template. I know how to do that with regular AcroForms, but not with Designer (that does not mean it cannot be done with Designer, I just don't know because I don't use it).
In Acrobat 9 you will find the Page Template feature under "Advanced>Document Processing>Page Templates" (this is where you define templates).

To add a new page to the document, you have to use some JavaScript. The Doc.spawnPageFromTemplate() method allows you to create new pages based on page templates.

Here is a sample from the Acrobat JavaScript Reference manual:

Spawn each template page in the current document.




var n = this.numTemplates;
var cTempl;
for (i = 0; i < n; i++) 
{
    cTempl = this.getNthTemplate(i);
    this.spawnPageFromTemplate(cTempl);
}

Open in new window

0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe In a previous Experts Exchange article, How To Rename-Move a Batch of PDF Files Based on Contents of the Files (http://www.experts-exchan…
Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
Sometimes we receive PDF files that are in the wrong orientation. They may be sideways or even upside down. This most commonly happens with scanned or faxed documents. It is possible to rotate the view of these PDFs with the free Adobe Reader produc…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question