Copier le lien dans le Presse-papiers
Copié
In Word 2010 I can use a LINK field (from Insert / Quick Parts) to link to the contents of an entire PDF file. It looks like this when I hit Alt-F9 in Word to toggle field codes, and when I select it and hit F9 to update field codes, the whole PDF comes in as an 8-1/2 x 11 picture, because that's the PDF's paper size
{ LINK AcroExch.Document.11 "C:\\fullpath\\TestPDFsource.pdf" }
But what I really want is to bring in only one piece of text from the PDF. So with Acrobat I created a bookmark in the PDF by selecting the line of text and using Add Bookmark. I save and close, open the Word file, and change the LINK field to this:
{ LINK AcroExch.Document.11 "C:\\fullpath\\TestPDFsource.pdf" BOOKMARKED_LINE }
But now all I get is "Error! Invalid link" when I update it with F9. If I hit Alt-F9 to see the field codes, then remove "BOOKMARKED_LINE", it works. The bookmark definitely exists on the PDF - both Reader and Acrobat tell me so.
So is it even possible to create some reference to some text in a PDF and pull only that text into Word?
Copier le lien dans le Presse-papiers
Copié
You can't link to bookmarks. You can link to named destinations.
Copier le lien dans le Presse-papiers
Copié
Thanks, but I have two issues. I found how to make named destinations, but:
What I'd line to do is extract just one line of text from anywhere in the body of a PDF.
Copier le lien dans le Presse-papiers
Copié
1. No, that's incorrect. A Named Destination points at a specific view setting, ie a specific X,Y location on a specific page number, using a specific zoom level.
Copier le lien dans le Presse-papiers
Copié
OK, got it. But I can't link to a destination, and that's not really what I want to do.
What I want to do is to extract a few words of body text from a PDF into a Word document via an OLE link (a LINK field in Word).
Copier le lien dans le Presse-papiers
Copié
Looks like that Word can only link to the whole PDF.
Copier le lien dans le Presse-papiers
Copié
...but it only displays page 1, and always as a picture.
Never mind Word -- isn't is possible in Acrobat to give some kind of name to a few words of text?
Copier le lien dans le Presse-papiers
Copié
Also, when I remove the bookmark name from the LINK field, all I get is a picture of the PDF's first page, even though it might have several pages.
Trouvez plus d’idées, d’événements et de ressources dans la nouvelle communauté Adobe
Explorer maintenant