Hyperlinks not working

Discuss the drawing application

Hyperlinks not working

Postby alcalc » Tue Aug 26, 2014 7:12 pm

I'm trying to create hyperlinks between pages of a Draw document.

When exported as .pdf, the hyperlinks are not working.

After opening the .pdf file, when I click on the hyperlink, I'm getting this message:

"This document is trying to connect to:
file:///F:/1.odg%23page2

If you trust this site, choose Allow. If you do not trust this site, choose Block."

if I select "Allow", nothing is happening.

Suggestions greatly appreciated.

This should be a simple straight forward thing, but seems that is not.

Thanks!
OpenOffice 4.1.1 on Windows 8
alcalc
 
Posts: 6
Joined: Tue Aug 26, 2014 7:03 pm

Re: Hyperlinks not working

Postby acknak » Tue Aug 26, 2014 7:23 pm

Greetings and welcome to the community forum!

The pdf links work for me. It's hard to guess where the problem may be.

In the Draw document, does the hyperlink target/address include a complete path? For links within the same document, it needs only something like #Slide 2

Here's sample document you can try:
Attachments
draw_link_test.odg
(8.82 KiB) Downloaded 105 times
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Hyperlinks not working

Postby alcalc » Tue Aug 26, 2014 7:33 pm

acknak - thanks for reply!
I'm trying to link within same document - but it's not working.
Attached a screen capture.
Please advise what to do. Thanks!
Attachments
HYPERLINKS_TEST.JPG
OpenOffice 4.1.1 on Windows 8
alcalc
 
Posts: 6
Joined: Tue Aug 26, 2014 7:03 pm

Re: Hyperlinks not working

Postby alcalc » Tue Aug 26, 2014 7:45 pm

OK - maybe the problem is with Acrobat Reader? because, yes the hyperlinks works in oo draw, but when export the .pdf and click on the hyperlink, even though I "Allow", still nothing happens.
Attached the exported .pdf
Attachments
1.pdf
(12.86 KiB) Downloaded 96 times
OpenOffice 4.1.1 on Windows 8
alcalc
 
Posts: 6
Joined: Tue Aug 26, 2014 7:03 pm

Re: Hyperlinks not working

Postby acknak » Tue Aug 26, 2014 8:52 pm

Your pdf doesn't work for me either (Evince pdf viewer). It links to a full path/file#slide which doesn't exist on my system.

I think you need to remove the path in the hyperlink dialog and click "apply". When you hover the mouse over the link in the Draw document, it should show only "#Slide 2" or whatever the slide is named.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Hyperlinks not working

Postby alcalc » Tue Aug 26, 2014 9:32 pm

Thanks for your help. I did remove the path, and the hyperlink says just "#Slide1", but still no success. The .pdf still cannot jump from page 1 to page 2. Any suggestions? Thanks!
Attachments
GO_TO_PAGE_1.JPG
OpenOffice 4.1.1 on Windows 8
alcalc
 
Posts: 6
Joined: Tue Aug 26, 2014 7:03 pm

Re: Hyperlinks not working

Postby acknak » Tue Aug 26, 2014 9:33 pm

Can you attach a sample Draw document that's not working for you?

Here's the pdf I made--it works with evince:
Attachments
draw_link_test.pdf
(14.91 KiB) Downloaded 102 times
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Hyperlinks not working

Postby alcalc » Tue Aug 26, 2014 9:35 pm

Please see attached. Thanks.
Attachments
1.odg
(8.98 KiB) Downloaded 101 times
OpenOffice 4.1.1 on Windows 8
alcalc
 
Posts: 6
Joined: Tue Aug 26, 2014 7:03 pm

Re: Hyperlinks not working

Postby alcalc » Tue Aug 26, 2014 9:48 pm

acknak wrote:Can you attach a sample Draw document that's not working for you?

Here's the pdf I made--it works with evince:



Thanks for uploading - your .pdf is working - why mine is not? - you do create yours with Draw, correct?
OpenOffice 4.1.1 on Windows 8
alcalc
 
Posts: 6
Joined: Tue Aug 26, 2014 7:03 pm

Re: Hyperlinks not working

Postby acknak » Tue Aug 26, 2014 10:42 pm

Yes, from the document I attached above.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Hyperlinks not working

Postby grant_j » Mon May 25, 2015 10:10 pm

acknak wrote:Can you attach a sample Draw document that's not working for you?

Here's the pdf I made--it works with evince:


I'm revisiting this topic from 2014 as I'm getting a similar problem with Impress and exporting to PDF.
When I create Hyperlinks within the slides in Impress, links of type "Button" and "Text" both work as intended when clicking on them in Impress.
e.g. slide 1 has a text hyperlink to slide 42.
e.g. slide 2 has a button hyperlink to slide 43.
Hyperlinks of type "Text" get exported successfully into PDF and work as intended when viewing in the PDF. e.g. in the PDF the hyperlink on page 1 redirects to page 42 correctly.
However hyperlinks of type "Button" get exported to PDF, but when clicking on them in PDF a dialog box opens warning of a security issue "This document is trying to connect to ..." and gives the path of my Impress doc. Even if you click Allow in the warning dialog it doesn't allow the link to open. Completely stuck.
Is there any newer information on this issue/bug?
OpenOffice 4.1.0 on Windows 7
grant_j
 
Posts: 1
Joined: Mon May 25, 2015 10:00 pm


Return to Draw

Who is online

Users browsing this forum: No registered users and 1 guest