Word hyperlinks converted to PDF-open in new window???
I currently use Word 2007 to build indexes with hyperlinks and convert to PDF using Adobe Professional 9. I know how to set my Adobe preferences so that hyperlinks open in a new window, but I want to set this on the document level for each index I create. I also know how to set each link within the final pdf to open in a new window (if I go through each and every link preference). I must create the hyperlinks in Word as there are many instances that my indexes change prior to distribution of the discs and I don't like having to duplicate, triplicate, etc. my linking process in Adobe as some of my indexes contain 300+ links. I only know of JavaScript but not enough to use with confidence... I want the hyperlinks to open in new windows (as that has always been my instructions to the end user) without the end user having to fumble around with their systems and settings. It has just been brought to my attention that my discs do not have that function set. Meaning, that what I view and test on my system is not the same as the end user. The hyperlinks open in the same window (dang it!!). I did see a JavaScript solution but keep getting an error (on line 2). Here is the JavaScript I found in the forum: app.openInPlace = false; //Opens cross-document links in separate windows.
So, I have muliple questions...
Is this sript the best way to accomplish the document level open in a new window function?
Is this script written correctly? (I did cut and paste this script within the brackets)
If I use the JavaScript and save, does that save in the Adobe application system or just on the document level? And then how do I delete if it doesn't work properly?
What other functions can you suggest I try?
Any suggestions would be helpful!
Where did you place that script, exactly?
It should work, there's probably just an error in how you added the text of the script. Try removing the comment so that there's only one line of code:
app.openInPlace = true;
Note that this changes the user preference, which is generally frowned upon, so you should endeavor to set it back to what it was in the first place when the document is closed. This would involve storing the value of this property when the document opens, change it if necessary, and restore it when the document closes. It also won't work for those users who have JavaScript disabled.
Unfortunately, link annotations are difficult to alter in an automated way given what's available in Acrobat. It would be possible with an Acrobat plug-in to make document-wide changes to all of the links, but I'm not aware of any that do this. You might want to search around.
Similar Messages
-
How do I open hyperlinks inside embedded pdf in a new window?
I have a pdf that contains hyperlinks to other website. This pdf itself is available as a link on a website. When this pdf is loaded in IE window, and user clicks on any of the links inside this PDF, the link opens in the same window. I want all the links to open in a new window.
I'm trying to accomplish this same thing and am having a hell of a time finding the right Class, right Methods, and/or right Properties for a solution. Some classes seem to return obscure errors when I try to create them use the invoke node "launchURL" (the WMPLib.ICore for example). If I use the Player base class (which MSDS says is the root class and the class that is used when you create an embedded player) I don't get anything.
What I would like is to progmatically launch Windows Media Player to play a particular video clip in full screen on the secondary monitor. It seems like this should work:
But doesn't... any ideas for this? The C# examples are difficult to understand for me. Also, the WMP class library is a MESS! (IMHO). Thanks for your input. -
Is there a way to create a hyperlink to a url that "jumps to" the URL's window if it is already open in the browser? Therefore a new window is not opened and the existing window containing the hyperlink would not change either.
If the target url is not already open, then yes the link could either open in a new window or in its existing window.
Does anyone know if there is a command/code for this?Ok, so to be clear, I should add all of the following:
Header 1
function getCookie(c_name) {
if (document.cookie.length>0) {
c_start=document.cookie.indexOf(c_name + "=");
if (c_start!=-1) {
c_start=c_start + c_name.length+1;
c_end=document.cookie.indexOf(";",c_start);
if (c_end==-1) c_end=document.cookie.length;
return unescape(document.cookie.substring(c_start,c_end));
return "";
function wOpen () {
var cookiename = getCookie ('winFlag');
newWin = window.open("YOURPAGE.html","myWin'","height=200, width=200");
newWin.blur();
document.cookie = "winFlag=1";
into 1 file? And that is the file that links to the music page?
I don't know if my Flash music page creates a cookie onto the user's browser. That would be necessary for this to work, right? -
InDesign to swf--can you make hyperlinks that don't open a new window?
I am exporting an InDesign document to swf with interactive hyperlinks placed on an existing webpage. My problem is if you click on a hyperlink a new webpage opens up. Can I make the hyperlink work so that clicking on the link does not open up a new tab or window, but changes the page within the current window?
I have tried that too and it didn´t work out. Attribute that controls where you open your hyperlink is called Target. And InDesign doesn´t let you define it. Let´s hope some improvement with this in future...
[Advertisement removed by moderator] -
To open a pdf document or word document from a JSP into a new window
Hi,
How to open a PDF document or word document from a JSP into a new window. i.e say from a jsp when a hyperlink or button is clicked it should open a new window with the pdf document or word document in it.
thanks in advance,
radki_jHi ,
when i tried to use the below code to open my word document , it will open as html and with some garbage details. Doesnt open as word document. How to solve this kind of probem?Need advice urgently.
Open Document -
With Adobe Illustrator I may open doc documents(word) and convert to pdf
With Adobe Illustrator I may open doc documents(word) and convert to pdf ?
Ise,
You can, although (maybe) only the first page of the .doc; this may depend on the Illy version. -
I have created a hyper link in Frame using the message URL command in the marker window. I have added the target="_blank" command after the http url within the marker. But when I then save the frame doc as a pdf and open that pdf from within a browser, when I click on the link in that pdf, it goes to the new link but it does not open in a new window or tab.
What am I doing wrong?
I should mention that I am using Frame 10.Best solution that I can find to tell you is to get Schlomo Perets' FrameMaker-to-Acrobat TimeSavers 5.0. From the FrameUsers mailing list:
Schlomo Perets said:
In FrameMaker-to-Acrobat TimeSavers 5.0, the "new window" link control was extended to optionally display web-based links in a new browser window (Links/General tab, Cross-file links: Open PDF in a new window, Also apply to web links).
The function can apply to all web links (i.e. no need to modify anything in the FrameMaker file), or to individual links (in which case a special hypertext marker has to be used instead of the standard "message URL http://..." marker).
For additional info & sample files, see http://www.microtype.com/ImprovePDF10.html
HTH;
David -
How to setup word docs, converted to PDF on local drive with links to a second file at a page
how to setup word docs, converted to PDF on local drive with links to a second file at a page
Need to setup a set of word documents, converted to PDF that has links from one file to a second file at a given page.
I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
Is there a way to setup a link in word and the conversion to pdf that will result in a link that is equivalent to the acrobat link type you get when you add a link of the type Go to a page in another document?
Tools-Advanced Editing-Link tool, make a box
Check: Go to page view, Next (Create go to view dialog opens)
Open second document and go to page
Click “Create go to view dialog” to set up link
Result is a link, when view by link properties, with an action of
Go to a page in another document
File: C:\My Documents\second file.pdf
Page: 43
Zoom level: Custom
I got close but did not solve the problem:
I have a version that uses links to a website, using #page=43 at the end of the hyperlink.
That works but will only open to the page if is through the web browser, opening the acrobat reader plugin.
I need to open from a folder on the local harddisk (with relative links), in acrobat pro to the given page of the pdf, on a PC or a Mac.
I could bookmark each page “pagenumberxxx” and jump to the bookmark/page if that would get around some problem
Current Systems in use to create documents with links and view them:
Windows XP SP3
Word 2003 SP3
Acrobat 9 pro version 9.4.4
Or just to view them:
Mac OS 10 Lion version 10.7.4
Acrobat 9 pro version 9.5.1
(note I have limited understanding of Mac’s)
JohnNo. There seems to be no automated way to do it. You can of course go into the PDF and manually add links after you have converted to PDF, but that is what we want to avoid having to do. We want it to be automatic from the Word doc.
-
Open PDF Link in new window?
I want to create a Word document with hyperlinks to a variety of PDF files. I then want to create a PDF file from the Word document with hyperlinks intact.
Here’s the problem. The PDF file made from the Word document has its embedded links opening in the same window. I want the embedded links to open in a new window. I set up the links in the Word document to open in a new window, but when the Word document is converted to PDF, the embedded links lose their open-in-new-window property.
I know I can manually set the user preferences in Adobe Reader to not open cross-document links in same window, but that’s not the default.
Is there a script that can be run when the first PDF file is opened that automatically changes the user preferences so cross-document links open in a new window? Or is there a way to easily modify the links created during the Word-to-PDF process so that the cross-document links open in a new window?
Thanks for any help.
JBrushI stumbled across this while trying to do a very simple project (or so I thought). I also wanted my links
to other pdf files to open in a seperate Adobe window (not a browser window). I can't seem to get it to work.
I tried right-clicking and selecting open in new window - didn't work. I downloaded AutoBookmark as well. It still didn't open in a new window after setting the option to do so for all links.
Any suggestions? -
Opening Document Library PDF in a New Window (Sharepoint 2013)
Hello,
I have numerous PDF's in a document library. When the PDF opens in the browser, the PDF's contain links to various other sites; however, when the user clicks the link on the PDF from the document library, the link opens in the same window as the PDF. I would
like the link to open the PDF in a new browser window.
I have searched Google but cannot find anything for SharePoint 2013. We are hosting our SharePoint on the Office 365 package. I found one solution that is repeated on many forums, but I do not see the "Convert to XSLT data view" anywhere
in SharePoint designer 2013. The solution states:
"Edit the document library in SharePoint Designer.
1. Open the site in SharePoint Designer and then open the document library allitems.aspx.
2. Right-click the document library web part and select “Convert to XSLT data view”.
3. Locate the name column, you will see this tag “<A onfocus="OnLink(this)" HREF="{@FileRef}"….. ”, add “target=”_blank”” in tag.
4. After this, the documents will be opened in a new window."
I do see my allitems.aspx and can open that with a text editor. The contents of that file are:
<%@ Page language="C#" MasterPageFile="~masterurl/default.master" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=16.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="ApplicationPages" Namespace="Microsoft.SharePoint.ApplicationPages.WebControls" Assembly="Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server"><SharePoint:ListProperty Property="TitleOrFolder" runat="server"/> - <SharePoint:ListProperty Property="CurrentViewTitle" runat="server"/></asp:Content>
<asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
<SharePoint:RssLink runat="server" />
</asp:content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageImage" runat="server"><SharePoint:ViewIcon Width="145" Height="54" runat="server" /></asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderLeftActions" runat="server">
<SharePoint:RecentChangesMenu runat="server" id="RecentChanges"/>
<SharePoint:ModifySettingsLink runat="server" />
</asp:Content>
<asp:Content ContentPlaceHolderId ="PlaceHolderBodyLeftBorder" runat="server">
<div height="100%" class="ms-pagemargin"><img src="/_layouts/15/images/blank.gif?rev=32" width='6' height='1' alt="" data-accessibility-nocheck="true"/></div>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">
<WebPartPages:WebPartZone runat="server" FrameType="None" ID="Main" Title="loc:Main" />
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageDescription" runat="server">
<SharePoint:ListProperty CssClass="ms-listdescription" Property="Description" runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderCalendarNavigator" runat="server">
<SharePoint:SPCalendarNavigator id="CalendarNavigatorId" runat="server"/>
<ApplicationPages:CalendarAggregationPanel id="AggregationPanel" runat="server"/>
</asp:Content>did you try this one?
http://social.technet.microsoft.com/Forums/sharepoint/en-US/71b24f4b-570a-48fa-9ec3-91073eafaebd/open-pdfs-in-new-window?forum=sharepointadminprevious
or trying to use the content editor web part...
http://social.technet.microsoft.com/Forums/sharepoint/en-US/9db08c4a-b53c-419a-84f8-001c194d1311/how-to-open-sharepoint-document-library-pdf-file-in-new-window?forum=sharepointadminlegacy
try this solution...check the column which having the clickable link.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/99e9559a-da76-4722-982c-882b3e4181c7/hyperlink-column-type-open-in-new-window
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
PDF's do not open in new window
I am attempting to open a series of PDF files as part of a
Captivate program using click boxes. Although I have selected "New"
in the pulldown menu, the files open in the same window in which
the SWF file is running. Consequently, if the user closes the file,
the entire program closes.
Any ideas?Thanks for both replies!!
I'm using Captivate 3.
It is opening in the same window (using IE6). Previously, the
link was to a Word doc, but we wanted to use PDF's to improve user
download speed. I changed the click button hyperlink back to .doc,
and a new window opens for the user as expected.
I haven't yet mentioned that even using PDF's, everything
works fine in preview mode. It seems like there may be a publishing
issue. -
Does any version of InDesign let you set hyperlinks to open in new window?
I'm converting some InDesign books to pdf and epubs and my client wants the hyperlinks to open in new window when these files are viewed in browsers. so far no version I've tried has this capability.
It must be done in Acrobat. Ask in the Acrobat forums.
-
How can I open a new window for a (calculated) PDF?
Hi,
I have a BSP application with MVC. The start page is a HTML/HTMLB page with some buttons. If you click on the buttons, you get a PDF document in the same browser window. I generated the PDF over smart forms from table/Cluster data.
I call the controller in the OnInputProcessing event handler of the page and give it the parameters.
The problem: if you are on the PDF you cannot come back to the start page. I think, it is better, if the PDF gets a new window. The user can open on this way many PDF docs.
I tryed with navigation->next_page(...) or call_view etc. but all this dosn't work. Only the PDF will be show and in the same window!
Do I have to separe the application in two applications and use the CALL_APPLICATION method?
Or does anyone know a better way?
Thank you!
Regards
PatriziaHI Thomas,
I send you a fragment of the code. It does work well.
Thank you for the links!
The data are read, convert into a otf, then in pdf
CALL METHOD me->print_otf_2_pdf
EXPORTING
otfdata = model->otf
response = response
navigation = navigation.
METHOD print_otf_2_pdf .
generated result: PDF format
DATA: l_pdf_xstring TYPE xstring,
linetab TYPE tlinetab,
l_pdf_len TYPE i.
Conversion of output format OTF into PDF format
now convert the final document (OTF format) into PDF format
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
IMPORTING
bin_filesize = l_pdf_len
bin_file = l_pdf_xstring " binary file
TABLES
otf = otfdata
lines = linetab
EXCEPTIONS
err_max_linewidth = 1
err_format = 2
err_conv_not_possible = 3
err_bad_otf = 4
OTHERS = 5
IF sy-subrc <> 0.
ENDIF.
CALL METHOD me->open_pdf
EXPORTING
pdf_xstring = l_pdf_xstring
pdf_len = l_pdf_len.
ENDMETHOD.
METHOD open_pdf .
DATA: l_pdf_len TYPE i,
runtime type ref to if_bsp_runtime,
filename type string,
guid type guid_32.
response->set_header_field( name = 'content-type'
value = 'application/pdf' ).
response->set_header_field(
name = 'cache-control'
value = 'max-age=0' ).
l_pdf_len = XSTRLEN( pdf_xstring ).
response->set_data( data = pdf_xstring
length = l_pdf_len ).
navigation->response_complete( ).
ENDMETHOD.
Regards
Patrizia -
Since switching to Firefox this week, when I click on a hyperlink in an e-mail in Outlook, I get this message, "General failure. An error occurred in sending the command to the application." It doesn't open a new window or do anything. Any work around to fix this?
See this lnk for a fix, it worked for me!
http://www.pcworld.com/article/200103/fix_outlook_general_failure_error_for_email_links.html -
Open PDF's in new window in document library when using "Find a file" search
I need to be able to open PDF's in a new window from a document library when using the "Find a file" search built into the document library "All documents" view. I currently have the following javascript on the page:
_spBodyOnLoadFunctionNames.push("setTargetBlank()");
function setTargetBlank()
{ $("a[href$='.pdf']").removeAttr('onclick').attr("target", "_blank");
This works great when going to the document library and navigating through the folders then clicking on a link.
The problem is when someone goes to the document library then uses the "Find a file" search and then they click on a link. The "Find a file" search does not do a postback (reload) of the page, therefore my javascript to find the PDF links
and make them open in a new window does not run for the links on the page.
I have read the following article but this does not seem to offer a solution that will work in this situation for SharePoint 2013 (Office 365): http://social.technet.microsoft.com/Forums/sharepoint/en-US/7ad3224c-3165-47ae-95bc-4f3928e2f9a8/opening-document-library-pdf-in-a-new-window-sharepoint-2013?forum=sharepointgeneral
I suppose the idea solution would be to somehow tap into the event that is fired when using "Find a file" search to run my javascript and update the links for the search results.
Can anyone offer any solutions to this issue?Hi,
According to your description, my understanding is that you want to open PDF files in a new window from a document library when using the "Find a file" search.
As you said, the "Find a file" search does not do a postback (reload) of the page, therefore JavaScript to find the PDF links and make them open in a new window does not run for the links on the page.
I recommend to use JS link to achieve the goal. Create a JavaScript override file and upload the JavaScript file to the Master Page Gallery, and then set the JS Link property of the document library web part to point to the JavaScript file.
Here are some links about the JS link in SharePoint 2013 for you to take a look:
http://www.idubbs.com/blog/2012/js-link-for-sharepoint-2013-web-partsa-quick-functional-primer/
http://www.learningsharepoint.com/2013/04/13/sharepoint-2013-js-link-tutorial/
http://zimmergren.net/technical/sp-2013-using-the-spfield-jslink-property-to-change-the-way-your-field-is-rendered-in-sharepoint-2013
Thanks,
Victoria
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Victoria Xia
TechNet Community Support
Maybe you are looking for
-
The Mac HD has booting issues - how do I make a clone that is free of these?
I spilled water on my MacBook Air (10.6.8) and now it has booting issues. When I shut it down, the power button doesn't work to boot it. But when I close the lid, it powers up. However even when I shut it down AND close the lid, it keeps booting up a
-
How can I convert the ITHMB photo files to PC readable format like JPEG?
How can I convert the ITHMB photo files on my new Iphone 4s to a PC readable format like JPEG
-
Vertical Black Bars On Composition During Export
Once finished with my composition, which contained several layers, I began the export process...only to find vertical black bars on each side of the composition. My project was set-up as 1080p. I read that changing it to 720p would resolve the issue.
-
Linux x86_64 : Alt-Gr key not responding in SQL developer 1.5.4
SQL Developer 1.5.4 Build MAIN-5940 uname -a Linux mosselin-pc 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux /usr/lib/jvm/jdk1.6.0_13# bin/java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-
-
Checking open deliveries in system.
Hi Experts, Can any one tell me that , is there any T-code or any procedure by which I can check open deliveries for a particular material in system??? Thanks & regards, Rupam.