Skip navigation
Currently Being Moderated

Hyperlinks to PDFs built from Word to open in separate window?

Jul 2, 2013 12:38 PM

(Note: I posted this earlier in the Create PDF forum and now someone there tells me that was the wrong forum. If this is also the wrong place could someone please tell where the right one is?)


I have a very large Microsoft Word 2007 document containing lots of hyperlinks that I create a PDF from, that I must re-create from time to time due to editing changes. To save the trouble of re-entering all its hyperlinks (to other PDFs) every time I re-build the main PDF (with my resulting tendency to overlook some of them), I would like to embed them into Word ahead of time. The problem is, when I do so, the links in the resulting PDF always open in the main document, wiping out what was there.


My main PDF contains instructions for how to install the Previous View button but the likelihood is many or most users will not notice them, with the result that when they go to one of the linked PDFs they have no way to return to the main document.


Previously, I have been building these hyperlinks after the PDF is created, and as you know, that gives me the option to tell Acrobat that I want the linked PDF to open in its own window. Is there any way I can instruct the automatic PDF-building process from Word to do that instead of its default behavior of always opening them within the main document?


I get the same result whether I build the PDF by loading the Word docx into Acrobat, or using the Create PDF button from within Word.


Thanks for your help.




P.S. One obvious solution would be to build links back to the main document from the smaller PDFs themselves, but that idea is completely out since it's too late for me to re-build all the smaller PDFs now. Aside from the deadline I'm working under, every one of them contains gobs of links to media files that must be re-added one by one, going through the whole set of Acrobat dialogs for choosing their parameters, which are always the same. So far all my requests to Adobe to add a default video media parameters capability have not led to this being done.

  • Currently Being Moderated
    Jul 2, 2013 7:35 PM   in reply to PeytonT

    You can't change how the links are created by PDFMaker, sorry.


    If you've only made a minor change (so the page numbers and positions of the links are generally the same as they were) you can use the Replace Pages option in Acrobat's page thumbnail panel - this will replace the content of each page with those from a new file, but will retain any links, comments or form fields from the original PDF. You may have to tidy up a few, but it'll be less work than replotting them all.

    Mark as:
  • Currently Being Moderated
    Jul 2, 2013 8:30 PM   in reply to PeytonT

    This was covered in an earlier thread in the JavaScript forum:




    You can add a script to the main PDF such as:


     app.openInPlace = true;   //Opens cross-document links in the same window.




     app.openInPlace = false;   //Opens cross-document links in separate windows.



    Mark as:
  • Currently Being Moderated
    Jul 5, 2013 8:21 AM   in reply to PeytonT

    1. An entirely different JavaScript, with its own documentation and learning curve, is built into some PDF viewers, including Adobe's. It can be disabled by the user.


    2. You will need the Acrobat SDK to develop with Acrobat, but your Acrobat Pro has full support for creating and editing JavaScript.

    Mark as:
  • Currently Being Moderated
    Jul 7, 2013 9:12 PM   in reply to PeytonT

    Hi PeytonT,


    You paste the javascript into the main PDF as a document level script.


    If you have Acrobat 9, go to Advanced > Document Processing > Document JavaScripts, name it then click "Add", paste the script into the window, and save the file.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points