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.

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)

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.

  • 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”?

  • Problems in Windows 8 creating PDF documents using Adobe Acrobat Pro 9.5.5

    I am running Windows 8 with the latest version of MS Office (version 14) and Adobe Acrobat Pro 9.5.5.  I was not having any problems making/printing PDF documents until about 30 days ago.  The only things that I can think of that have changed during this time period is 1) I updated my Office Suite to version 14 from the previous version and, most recently, 2) my Adobe Acrobat Reader program was automatically updated to the latest version.  I ended-up uninstalled Adobe Reader becuase the new program became my default for openning all Adobe PDF files, even when I tried to force my computer to use Adobe Acrobat Pro as the default (becuase doing so allows me to edit docments with features not available in the free Reader version).  When I go to print a Word document, for example, to Adobe Acrobat, the process stalls/stops at the point where you are supposed to choose a location to print/safe the new PDF document file.  All I get is the Save-As Screen with most of the buttons and folder tree blank (see example below).  After 5-10 seconds, "not responding" shows up in the title of the Save-As Screen and I have to click the "X" box in the upper right corner to abort.  This problem seems to have first started when trying to print pictures from the Windows picture viewer.  After a while long, I noticed that the same problem occured when printing from my internet browser (Firefox), but I coudl still print from Word or Excel.  Now, as of the last couple of days, I can't print from any program except the basic Paint software program.  I think this may actually be a Windows issue because when trying to toublshoot this problem, I re-installed Adobe Acrobat Pro and it did not help. I also tried making PDF documents using the free PrimoPDF software and had the exact same problem.  I have no idea where to go from here.  All I know is that I desperately need to create PDF documents and cannot!  Please help!!

    You're asking a lot of ancient Acrobat to work with an Office that never existed when it was made. "Just updated my office suite" is a massive change, and Window 8 didn't exist at that time either...

  • How do I save a pdf document to my desktop?

    How do I save a pdf document to my desktop?

    You can use the Save As feature to save a copy to a different location.
    1. Open a PDF document in Adobe Reader Touch.
    2. Bring up the toolbars by swiping up from the bottom edge (Touch) or right-click with a mouse.
    3. Tap/click the Save As button in the bottom toolbar.
    (Click the image above to enlarge)
    For Windows 8/RT
    4a. In the File Browser, tap/click the down arrow button in the top left corner.
    5a. Select Desktop from the drop-down menu.
    6a. Tap/click the Save button.
    (Click the image above to enlarge)
    For Windows 8.1/RT 8.1
    4b. In the File Browser, tap/click the down arrow button in the top left corner.
    5b. Select This PC from the drop-down menu.
    (Click the image above to enlarge)
    6b. Tap/click the Desktop button.
    7b. Tap/click the Save button.
    (Click the image above to enlarge)
    By default,  " - Copy" (in your UI language) will be appended to the original file name.  You can change the file name to something else, if you'd like.

  • 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

  • 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

  • Attach a PDF document to Device Location

    Hi all,
    We have a requirement to attach a PDF document to a Device Location. Ideally we are looking for an approch to upload a PDF document which would contain some instructions for the Business Users.  This would help the user to check the PDF document and perform Activties according to the instructions.
    Could you please guide through, if SAP allows for such an option to upload PDF file or any document to a Technical Object.
    It would be appreciated if you suggest few examples as well.
    Regards,
    Sai

    Thanks Rajat,
    I too found that option later. I shall Explore more on that.
    One quick question, services for object works find for Technical Master Data but for some reason its not working on Business Partner. The options in it ate grayed out. Any Idea ?
    Also, Services for object is not available for another user. Is it realted to any profile settings or will be in default to all users ?
    Thanks for you help once again.
    Sai

  • Would like to automate the process of hyperlinking pdf documents

    I've been tasked with finding a solution to the following problem:
    A need has arisen where I work where large PDF files (commonly > 2000 pages) need to be hyper-linked. The PDF files are in fact Brief's of Evidence (prosecution files) and are generally in a particular format and order. Generally, the order is as follows: 1. Various index documents, 2. Witness statements and 3. Exhibit documents. Usually there are many more exhibit documents than there are witness statements.
    In each witness statement, the witness may refer to an many exhibit documents and it's this reference that needs to be hyper-linked to the particular exhibit document (located many pages away).   As a standard each exhibit is allocated an exhibit number, commencing at 1 but displayed as "0001". The filename of the individual exhibit is accordingly named, "0001.pdf" Using Adobe Professional (version 7) these files are merged and as a consequence bookmarks are automatically created.
    What tools from Adobe are available that will assist with programmatically or automatically scanning (checking) each witness statement (a pdf document) and where relevant predetermined (however that's done or achieved) areas (exhibit references) are required to be hyperlinked to their respective document many pages away.
    Is this doable?   Are there developer kits available?
    Any advice appreciated.
    Regards,
    Steven Taylor

    Acrobat can't do what you want out of the box.  It needs a plug-in that can do that.  Have a look at this third party plug-in for Acrobat:  AutoBookmark™ Plug-in for Adobe® Acrobat® / Create and Manage PDF Bookmarks, Links and Destinations   It has a trial version so you can test it to see if it meets your needs.

Maybe you are looking for