Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save as PDF Breaks Relative Links to Other PDFs
If you google something along the lines of:
word 2007 save as pdf relative hyperlinks There's a bunch of very similar results. My basic scenario is, there's a bunch of Word documents, they all have links to each other. They all need to be PDF'ed and stored on a CD in the same folder. So if I save it as PDF using the Microsoft Addin, the hyperlinks are turned into LINK\ACTION\URI. When you click that in Adobe Reader, it asks "Security Warning" "The document is trying to connect to file:///c|/blah blah blah.pdf. If you trust the site, choose Allow. If you do not trust the site, choose Block." / Help / Allow / Block. Errr, what site? I'm trying to open a PDF in the same directory. The secretaries have the fancy Adobe plugin to save files as PDF. And theirs saves it as LINK\ACTION\LAUNCH...but it also saves the full path rather than a relative one, so that's no better. My solution was to (if you couldn't guess from terminology) process the PDFs with iTextSharp to remove any absolute paths, and to convert LINK\ACTION\URI to LINK\ACTION\GOTOR (LINK\ACTION\GOTOR and LINK\ACTION\LAUNCH both work OK). So ... the effort on part of Microsoft to implement this would be ... an hour? ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...ocmanagemen t |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save as PDF Breaks Relative Links to Other PDFs
I have had a lot of issues with Word to PDF link conversions as well.
I have a couple thousand documents with relative links also. These docs get converted to PDF and burned to CD as a procedure manual. Before converting to PDF, I have to always make sure all other programs, documents, etc. are closed. The problem I have encountered: If you have two documents open from two different directories, Word will use the path to the first document you opened as the "Base Directory" for any links you have in the second document. NOTE: My documents are stored in SharePoint, so I don't know if this is true for docs stored on a network share or stand-alone PC. This is not quite the same as your "absolute path" issue, but I don't know if maybe these issues are related? On Apr 15, 7:36*pm, Kevin8237 wrote: If you google something along the lines of: word 2007 save as pdf relative hyperlinks There's a bunch of very similar results. *My basic scenario is, there's a bunch of Word documents, they all have links to each other. *They all need to be PDF'ed and stored on a CD in the same folder. So if I save it as PDF using the Microsoft Addin, the hyperlinks are turned into LINK\ACTION\URI. *When you click that in Adobe Reader, it asks "Security Warning" "The document is trying to connect to file:///c|/blah blah blah.pdf. * *If you trust the site, choose Allow. *If you do not trust the site, choose Block." / Help / Allow / Block. Errr, what site? *I'm trying to open a PDF in the same directory. The secretaries have the fancy Adobe plugin to save files as PDF. *And theirs saves it as LINK\ACTION\LAUNCH...but it also saves the full path rather than a relative one, so that's no better. My solution was to (if you couldn't guess from terminology) process the PDFs with iTextSharp to remove any absolute paths, and to convert LINK\ACTION\URI to LINK\ACTION\GOTOR (LINK\ACTION\GOTOR and LINK\ACTION\LAUNCH both work OK). So ... the effort on part of Microsoft to implement this would be ... an hour? ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm....mspx?mid=855b.... |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Save as PDF Breaks Relative Links to Other PDFs
I have had a lot of issues with Word to PDF link conversions as well.
I have a couple thousand documents with relative links also. These docs get converted to PDF and burned to CD as a procedure manual. Before converting to PDF, I have to always make sure all other programs, documents, etc. are closed. The problem I have encountered: If you have two documents open from two different directories, Word will use the path to the first document you opened as the "Base Directory" for any links you have in the second document. NOTE: My documents are stored in SharePoint, so I don't know if this is true for docs stored on a network share or stand-alone PC. This is not quite the same as your "absolute path" issue, but I don't know if maybe these issues are related? On Apr 15, 7:36*pm, Kevin8237 wrote: If you google something along the lines of: word 2007 save as pdf relative hyperlinks There's a bunch of very similar results. *My basic scenario is, there's a bunch of Word documents, they all have links to each other. *They all need to be PDF'ed and stored on a CD in the same folder. So if I save it as PDF using the Microsoft Addin, the hyperlinks are turned into LINK\ACTION\URI. *When you click that in Adobe Reader, it asks "Security Warning" "The document is trying to connect to file:///c|/blah blah blah.pdf. * *If you trust the site, choose Allow. *If you do not trust the site, choose Block." / Help / Allow / Block. Errr, what site? *I'm trying to open a PDF in the same directory. The secretaries have the fancy Adobe plugin to save files as PDF. *And theirs saves it as LINK\ACTION\LAUNCH...but it also saves the full path rather than a relative one, so that's no better. My solution was to (if you couldn't guess from terminology) process the PDFs with iTextSharp to remove any absolute paths, and to convert LINK\ACTION\URI to LINK\ACTION\GOTOR (LINK\ACTION\GOTOR and LINK\ACTION\LAUNCH both work OK). So ... the effort on part of Microsoft to implement this would be ... an hour? ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm....mspx?mid=855b.... |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
I have had a lot of issues with Word to PDF link conversions aswell.
I use relative links all the time for procedural manuals and for security reasons they must be pdf'd. I am running Office 2007, Adobe Acrobat Professional 8.1 on Windows 7 (have a system on XP also).
Anyway, I have found that you must install the Adobe Add-in for Word 2007. This add-in appears along the ribbon at the top (not a pull down menu). Anyway once this is installed just create your links as usual in Word (or whatever office program) and use the Adobe button on the 'ribbon' to create your pdf. Relative and absolute links are maintained. I have found this is the only way to maintain the relative links. Using the pulldown menus (File-Print) or (Save as pdf) will not work. I recently tried updating to Office 2010 but I found that the Adobe add in no longer worked, so I reverted back to Office 2007. I am waiting to see if the newest version of Acrobat X is compatible. Hope this helps. On Thursday, April 15, 2010 7:36 PM Kevin8237 wrote: If you google something along the lines of: word 2007 save as pdf relative hyperlinks There is a bunch of very similar results. My basic scenario is, there is a bunch of Word documents, they all have links to each other. They all need to be PDF'ed and stored on a CD in the same folder. So if I save it as PDF using the Microsoft Addin, the hyperlinks are turned into LINK\ACTION\URI. When you click that in Adobe Reader, it asks "Security Warning" "The document is trying to connect to file:///c|/blah blah blah.pdf. If you trust the site, choose Allow. If you do not trust the site, choose Block." / Help / Allow / Block. Errr, what site? I am trying to open a PDF in the same directory. The secretaries have the fancy Adobe plugin to save files as PDF. And theirs saves it as LINK\ACTION\LAUNCH...but it also saves the full path rather than a relative one, so that is no better. My solution was to (if you could not guess from terminology) process the PDFs with iTextSharp to remove any absolute paths, and to convert LINK\ACTION\URI to LINK\ACTION\GOTOR (LINK\ACTION\GOTOR and LINK\ACTION\LAUNCH both work OK). So ... the effort on part of Microsoft to implement this would be ... an hour? ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/office/comm...ocmanagemen t On Friday, April 16, 2010 7:59 AM VC wrote: I have had a lot of issues with Word to PDF link conversions as well. I have a couple thousand documents with relative links also. These docs get converted to PDF and burned to CD as a procedure manual. Before converting to PDF, I have to always make sure all other programs, documents, etc. are closed. The problem I have encountered: If you have two documents open from two different directories, Word will use the path to the first document you opened as the "Base Directory" for any links you have in the second document. NOTE: My documents are stored in SharePoint, so I do not know if this is true for docs stored on a network share or stand-alone PC. This is not quite the same as your "absolute path" issue, but I do not know if maybe these issues are related? wrote: a eed to ed curity pdf. te, choose DFs URI OK). hour? I his n . Submitted via EggHeadCafe - Software Developer Portal of Choice Composing WCF applications http://www.eggheadcafe.com/tutorials...lications.aspx |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
I have had a lot of issues with Word to PDF link conversions as well.
We have been using "Save As -- PDF or XPS", and it has been
maintaining the relative links for us. One other problem I've encountered with links in Word documents stored in SharePoint: The Sharepoint user must have their MS Word "Off-line editing Options" set to "Web Server". If they have it set to "Drafts Folder", when they check out a file, the relative links will point to the user's "..\Documents and Settings \..." folder. The links will not update when the file is checked back into SharePoint. This has been a big problem for us. We have to constantly remind new users to change this setting in Word in order to preserve the links. Has anyone else encountered this problem? BTW - We use Office 2007, Adobe Acrobat 9 Pro, Windows XP (and 7), SharePoint WSS 3.0. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Relative links | Microsoft Word Help | |||
~ ~ Relative Links | Microsoft Word Help | |||
Absolute links vs relative links in main merge document | Mailmerge | |||
Word2000 changes relative links to absolute links | Page Layout | |||
Relative path links | Microsoft Word Help |