Bulk update height of Hyperlinks in a PDF document

When we export our InDesign document to PDF, hyperlinks are automatically generated for each item in the Table of Contents (TOC). This is great, but the problem is the hyperlink area of each line overlaps with the hyperlink area of the next line. This can create confusion in Adobe Reader and Apple Preview when a user clicks near the top or bottom of a TOC heading on a line, thinking it will take them to that heading in the document but instead they are taken to the preceeding or following heading in the document.
We currently have to open the PDF up in Adobe Acrobat and manually go through and reduce the height of every hyperlink in our document, particularly in the TOC (using the Link Tool). Is there anyway in InDesign to change the height of hyperlinks that are exported? If not, is there a way to bulk update the height of all the hyperlinks using Acrobat rather than doing each one individually/manually (maybe some sort of script)?
Many thanks : ) Lee

Yes, you can create a script in Acrobat that loops through the links and adjusts the link's "rect" property to suit your needs. You'll want to consult the Acrobat JavaScript Reference, and look at the doc.getLinks method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.479.html
along with the Link object properties: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.802.html
Post again if you get stuck.
I don't know what control you have over this on the InDesign side of things. You may want to ask in one of the InDesign forums if you haven't already.

Similar Messages

  • Why does it take 2 or 3 minutes to access a url from a hyperlink in a pdf document?

    With either Adobe Reader locally or the plug-in on a website, it takes a huge amount of time for a url called by a hyperlink in a pdf document to appear in a browser window. Can anyone explain why this happens and, hopefully, how to fix it?

    Yes, sorry about that. I am using Win XP Pro and Adobe Reader 11.0.08 and plug-in 11.0.07.79. The browser is Firefox 35.0.01. The problem goes away if I disable the Adobe plug-in and use the native Firefox pdf handler. The same problem also occurs in Safari for Windows.
    During the delay between clicking the hyperlink and the target url's being displayed, the "not responding" error appears for the browser in question.
    This happens on both my desktop machine and my portable (also running WinXP; the Adobe plug-in is 11.0.8.4)

  • Locate location of hyperlinks in a PDF document

    I have a requirement, where I need to be able to location (X,Y coordinates) of hyperlinks in the PDF document. I understand I can convert PDF to text or XML but that does not provide me location of hyperlinks.
    Any help will be appreciated. Thanks

    Yes, you can create a script in Acrobat that loops through the links and adjusts the link's "rect" property to suit your needs. You'll want to consult the Acrobat JavaScript Reference, and look at the doc.getLinks method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.479.html
    along with the Link object properties: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.802.html
    Post again if you get stuck.
    I don't know what control you have over this on the InDesign side of things. You may want to ask in one of the InDesign forums if you haven't already.

  • Hyperlinks in a PDF document converted from Word 2003

    I have a large document for our state's mathematics vocabulary. It has internal hyperlinks to help someone navigate the document. I created it in Word 2003 and converted it to PDF using the tool in the menu bar. When finished, the PDF document has some working hyperlinks near the beginning (about a third of them), but most of the links (in the last two-thirds) do not work. I have also tried doing the conversion from Adobe Acrobat Professional 8 (8.1.4), but I get the same results. Can someone help me solve this problem so the PDF document has all working links? Thanks.

    Yes, you can create a script in Acrobat that loops through the links and adjusts the link's "rect" property to suit your needs. You'll want to consult the Acrobat JavaScript Reference, and look at the doc.getLinks method in particular: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.479.html
    along with the Link object properties: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.802.html
    Post again if you get stuck.
    I don't know what control you have over this on the InDesign side of things. You may want to ask in one of the InDesign forums if you haven't already.

  • Using footnotes as a hyperlink to supporting pdf documents

    How do I create footnotes that are hyperlinked to source pdf files in combined binder?  I recently completed a 50 page report with 65 footnotes for a consulting firm.  The consulting firm took my pdf report and used the footnotes as a hyperlink to the source backup documents.  they then used the source documents with my report and combined all the files - some 2,000 pages - into one binder.  So now I want to know how to create a reeport using the footnotes as a hyperlink to the source document. 
    I am using a very current iMac running OS X, and using in Adobe X Pro.

    The labels idea seems like the simplest to me. I know there's a way to do hyperlinks in an HTMLEditorPane (don't know if this is exactly the right classname) but it isn't simple, and I have no experience with it myself. I really like your idea of displaying the licence agreement in Notepad though, it gives the licencee a chance to modify it before agreeing to it. Other licences I have agreed to are so rigid, they don't let you change anything.

  • How do I add a hyperlink into a pdf document in OS X Mountain Lion?

    It appears that Mountain Lion does not allow you to add links to pdfs docs in preivew. Does anyone know a work around?
    Why would Apple remove this festure?
    Thanks,
    S.

    1. I deleted the HP folder in the printer folder in the library and the orgcups.plist and anything HP related in the preferences folder. Restarted and I checked the app store for updates..nothing.
    2.Added my printer via print and scan in system preferences restarted checked the app store..nothing.
    3.So out of sheer aggravation I went back to # 1 and checked the app store and wouldn't you know the newest update was there.
    I learned a little trick for both the app and itunes store, hit command and r at the same time, it's almost like a reset. I'm sick of downloading updates from the apple website so am trying to be patient but this one came faily quick as for how I got the update from #3, no idea, I don't ask or research, just happy I got it. Good luck and lmk if you need help.

  • How to hyperlink from a pdf file to a specific page in a second pdf file

    I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open in acrobat pro and have hyperlinks that jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
    It seems to me to be something that everyone would want to do and should be simple enough.
    But I seem to be missing something.
    I had partial success a few years ago using what I recall are the following general points:
    Create files in word,
    Use absolute address
    Use / not \,
    Converting the spaces in the address to %20
    Set the hyperlink base to “file:///T:/PdfDocumentsFolder/”
    Add location with  #page=3 to end of file name, 
    Convert to pdf with acrobat pdfmaker
    Open pdf with web browser into reader.(could not get it to work on mac with OS 9) by Checking Edit-Preferences-Internet-Web Browser Options-Display PDF in browser
    This will allow the pdf to open to a given page, but only in the acrobat reader under MS IE, Not in Acrobat pro and not on a mac even in the reader.
    Now I have a large (500) PDF documents with a very large number of comments and a key user switched to a Mac and can not automatically go to the page and would lose or have to transfer comments that have been made on the pdfs.
    I have looked at and tried a number of things that have not worked:
    Change all the links by hand:
    Tools-Advanced Editing-Link
    Action-Open file
    I can not see where when Inserting a link by hand one can place the page number
    Action-Open weblink
    Close, This can open a file,
    If Edit-Preferences-Internet-Web Browser Options-Display PDF is checked it will jump to a page
    But if it is not checked it will open in acrobat pro and not to the page
    Does not seem to work on a mac
    Looked at acrobat javascript
    Don’t seem to see any method that would allow a page number
    Under open document
    Open under a URL
    app.launchURL("Document.pdf", true);
    seems to error if a #page=2 is add to file name
    Looked at security
    Don’t seem to see that there is anything in the preferences that can be set to enable the jump to page action
    Looked at privileged and non-privileged and did not see how that would help
    Looked at adding disclosed=true;
    function Disclose()
    this.disclosed = true;
    Looked at Portfolios to see if some kind of group of documents would allow the jumps but could not find a solution.
    I have not looked at bookmarks to see if I bookmarked every page “Pagexxx” and then jump to the bookmark would get around the problem.
    So I am not getting the right combination and could use some help
    Thanks
    John
    Current Systems in use:
    Windows XP
    Acrobat 9 pro version 9.4.4
    Or
    Mac OS 10 Lion version 10.7.4
    Acrobat 9 pro version 9.5.1
    (note I have limited understanding of Mac’s)
    P.S.
    In a similar vain within the word source documents I was able to get a hyperlinks to make the same kind of jump to a page using a VBA macro with the following call:
    Shell "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe  /A page=" & iPageNum & "&Zoom=125=OpenActions """ & sHyperlinkBase & sHyperlinkAddress & """", vbNormalFocus
    After parsing the hyperlink and to get file name and  the page number
    So I know acrobat pro can be called as an application to jump to a page

    Thanks for that information.
    I did not see that the “go to view link” could change documents. I thought it was only within a document.
    I manually added two “go to view links” and that seems to work on both mac and pc computers.
    That brings up two questions.
    For old files can a acrobat java script batch file be setup to read the hyperlinks in a pdf document  and replace them with a “go to view link” style?
    Can one place a “go to view link” style in a word document and then have the adobe convert to acrobat process it into the pdf format with the rest of the document? (or set up the converter to make word hyperlinks change to pdf “go to view links”?

  • Relative hyperlinks in pdf documents printed from visio 2007

    Hello to all. The problem we are trying to solve is to maintain relative hyperlinks that were created in visio 2007 when we publish or print a pdf document. The pdf document that we printed is written in adobe reader 9, and it maintains the hyperlinks but as absolute ones and we required the hyperlinks to maintain as relatives. The idea is to distribute the pdf document with its hyperlinks and the documents that are linked to it in different computers that are not in the same network. The documents that we are trying to link are pdf, word and excel 2007 documents. The operating system we use is Microsoft vista home premium. Does anyone know how to maintain relative hyperlinks in a pdf document printed from visio 2007? Thanks in advance!

    Bernd Alheit, thanks for your answer. We print the pdf document from visio 2007 and then we read it in adobe reader 9. The relative hyperlinks work fine in visio 2007, but they change to absolute ones in the pdf document.

  • Uploaded pdf-documents generates code instead of pages in firefox and chrome (however they work in safari)

    this is a new problem after having upgraded to mountain lion.
    when I attach a hyperlink to my pdf-document that I like to display on the web - the pdf-document will not show up in Firefox or Chrome - it generates a lot of code instead.
    I have only uploaded the files to my computer (not released on the web yet) - as I can see all files are neatly displayed in the appropriate pagefolder.
    One of the themes (modern) provided as a standard feature in iWeb has been used. In Chrome the menu does not show up either (although safari and firefox displays the menu correctly)

    I should have given you some info about testing the local version of your site. As you probably realise, its almost useless testing your site in Safari since hardly anybody uses it.
    In OS X up to Snow Leopard, we could set up Web Sharing from System Prefs but Apple made this difficult in Mountain Lion.
    See the bottom of this page for info about testing the local version of your website...
    http://www.iwebformusicians.com/iWeb/mountain-lion.html

  • Location of Links in PDF document

    I have a requirement, where I need to be able to find location (X,Y coordinates) of hyperlinks in the PDF document. I understand I can convert PDF to text or XML but that does not provide me location of hyperlinks.
    Any help will be appreciated. Thanks

    I have a requirement, where I need to be able to location (X,Y coordinates) of hyperlinks in the PDF document. I understand I can convert PDF to text or XML but that does not provide me location of hyperlinks.

  • Pdf documents not viewable

    Before i updated the adobe reader, all my pdf documents were viewable on the documents section of the adobe reader. Since i updated the app under the documents section there are no pdf's shown like before. These pdf's are saved on my android tablet device.

    Have you tried publishing you site to a local folder and launching it in the browser by double clicking the index.html file to see if the link works in this version of your site?
    Doing this will let you know if the problem is in iWeb or with FTP. If the local version works then the problem is with FTP. If not then you need to troubleshoot iWeb.
    Its better to use a hyphen instead of a space in a URL.

  • Creating Links with PDF documents

    I am creating PDF documents based on SAP Scripts.  I want to hyperlink within these PDF documents but I don't know the command.  Help!
    I can use html tags to bold and other fuctions, but <a href..> anchor tags do not work within the PDF.  Any information would be appreciated.

    Hi Allen,
    I spent a bit of time looking at your interesting query, but am afraid I cannot find any solution to it.
    If you want to send the document via email, and therefore need the hyperlink, your best bet might be to send it as an HTML document. I don't know if you can achieve the transformation to an HTML document using traditional SAPScript though, but it is possible with Smartforms.
    Martin

  • Hyperlinks from email, pdf and word no longer work to connect to that webpage, though they work in IE.

    I think I recently updated firefox, in any case, I do when requested. Just in the last few days, I can no longer make hyperlinks work from email, word or pdf documents. I have to cut and paste the url. I tried doing the reset under troubleshooting, but it did not work. I tried setting the network connection to auto detect, but that did not fix it either. As I can get hyperlinks to work with internet explorer, I assume it is something with firefox. I am not a particularly savy computer user, so clear instructions would be much appreciated. Thank you.

    Try to redo the default browser (i.e make IE the default and then let Firefox do it again).
    *http://kb.mozillazine.org/Default_browser
    *https://support.mozilla.org/kb/How+to+make+Firefox+the+default+browser
    *https://support.mozilla.org/kb/Setting+Firefox+as+the+default+browser+does+not+work
    You can also check for problems with DDE.
    *http://kb.mozillazine.org/Windows_error_opening_Internet_shortcut_or_local_HTML_file_-_Firefox

  • Create PDF document from Word with hyperlink index entries

    Hello,
    I'm having a MS Word 2010 document with a content and index directory, both directories were created with the official Word functions and their page numbers are updated automatically. If I convert this document to a PDF file with Acrobat 9 Pro, the entries within the content directory are hyperlinks (if I click on a chapter the corresponding page opens).
    But this doesn't work with the index directory at the end of the document. Where can I activate the hyperlink functionality for index directories?
    Thanks for your help,
    Devid

    Hi,
    thanks for this info.
    On another computer I have Acrobat X Pro installed, but the result is the same. Or did I missed something?

  • Hyperlinks all over PDF when opening in Preview?!?

    Hi,
    Been updating our software documentation in Adobe InDesign, I have removed ALL hyperlinks from the InDesign document but when I export and open this PDF in Preview there are hyperlinks everywhere such as on images and text.
    If I open this PDF in Adobe Reader everything is fine, no hyperlinks anywhere.
    I have tried exporting in:
    Adobe InDesign CC
    Adobe InDesign CS6
    Adobe InDesign CS5.5
    I have also tried Windows and OSX
    The problem occurs when exporting in any of these.
    Can anyone shed some light?

    Matt 65bit wrote:
    Here is a link to the offending PDF:
    Not behind my Mac at the mo'; I opened it in Acrobat Pro to see if there are actual hyperlinks in this file. Indeed, as you already said, there are none.(*) I think I'd have to see for myself what Preview exactly does, and at what locations. Note to Self: check tonite.
    It's imaginable that Preview attempts to be similarly "helpful" as Acrobat in default mode: automatically make all links hot -- and fails to do so, just like Acrobat does. But surely this should not do anything to images.
    Do you still have a previous version of this same PDF where your Preview does *not* automatically add links?
    (*) Not even on texts that are clearly marked up to look like hyperlinks, the blue underlined web references. But I guess you would fix that (**) after you got this problem sorted out.
    (**) While you're doing that, also fix the typo "trademsarks" under the copyright line.

Maybe you are looking for

  • How can you detect all words and phrases in a text document using java?

    Is there some java API which would help me extract all words, multi-word phrases, punctuations in an English text document? I would also like to get the order in which they appear with sentence detection. I've been searching for this in java NLP pack

  • Getting Dump in Production system

    Hi, we are getting dump in one customise program due to missing include program. how to transport this missing program.? regards, Ramesh

  • IPOD and USB Wireless Adapter Fighting!

    I've got a Motorola USB Wireless Ethernet Adapter hooked up to my Dell desktop running XP. When I put my iPod in it's cradle, it disconnects the wireless. I've tried moving the iPod onto the other USB bus, but I keep getting the same problem. Any sug

  • Bi Connector Variable

    Hello, i have NW04 and i am trying to use the bi connector. i sucessfullt instaled and was able to view a bex query. now i am trying to use variables for this bex query. i can find the variable in the query throught the SAPVariable finder. but after

  • Captivate 6 publishing to HTML5 for Android 4.1

    Now that Android has officially dropped support for Flash with version 4.1 (aka "Jellybean"), does anyone see hope for Adobe making improvements in the ability for Captivate 6 to publish HTML5 files for the Android environment, that run properly (inc