Ask Your Question
0

Exporting as PDF loses hyperlinked content

asked 2017-04-04 09:34:03 +0200

KenVirula gravatar image

updated 2017-04-04 09:39:33 +0200

Hey

I created a document in which I used hyperlinks to access certain pictures. Let say for example:
day 1 - went to restaraunt - receipt
day 2 - got an confirmation - email

Under "receipt" or "email" i would hyperlink a picture/email of the receipt. But when i export it to pdf it opens the picture in my directory (c:/users...) How can i include the picture in .pdf so when I click on the hyperlink on whichever device, it would still open the picture?

One option would be to add all those images to the end of document and then use hyperlink to jump to the right picture, but I wouldn't like to add over 50 pages of content to a file that could be one page long.

Cheers

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2017-04-04 12:46:18 +0200

updated 2017-04-06 22:55:44 +0200

I'm a little unclear on what you're trying to accomplish. If your original hyperlink destination is the hard drive of a particular computer (c:/users) then other devices will not be able to open the images because they do not have access to them. [If your phone or tablet did not have access to (c:/users) on the computer where the images were stored, then it's not an issue with Libreoffice or the pdf, it's a network access issue]

"One option would be to add all those images to the end of document and then use hyperlink to jump to the right picture, but I wouldn't like to add over 50 pages of content to a file that could be one page long. "

This comment suggests that the hyperlinks do work, the issue is that the source of the hyperlinks is not available on other devices. I suspect you would have the same behavior even before creating a pdf.

If you want a single page doc that has access to pictures (stored on your hard drive) that are the destination of hyperlinks AND you want access across several devices, then setting up a webserver on the computer that holds the pictures would be one solution.

You would need to copy the images to your webserver directory.

The pictures in the hyperlinks would be accessible to any device that had access to your local network. You could further restrict access by passwording the directory or restricting access to one or more IP addresses using an .htaccess file.

You could set up a webserver in the public domain and then you would have access from anywhere BUT so would everyone else in the world unless added further restrictions via .htaccess.

If you like this answer please upvote my unanswered question:https://ask.libreoffice.org/en/questi...

If I didn't understand the question please clarify.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-04-04 09:34:03 +0200

Seen: 442 times

Last updated: Apr 06 '17