Ask Your Question
0

How do you create a hyperlink attached to a shape?

asked 2016-01-02 23:25:00 +0200

Strider gravatar image

updated 2016-01-09 01:31:16 +0200

Alex Kemp gravatar image

I want to use a rectangle object with shading to make a fancy button that stays in the header of each page for navigation back to the first page. Also, this must be exportable to a PDF because ultimately the document will be used on tablet PDF viewers.

LibreOffice Writer 4.4.7.2 English

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2016-01-07 14:31:30 +0200

pierre-yves samyn gravatar image

Hi

  • Instead of a rectangle you can use a frame anchored to a paragraph of the header for it to be reproduced on each page applying this page style.
  • A hyperlink may be defined for a frame.
  • Hyperlinks Internal to a document can point to: tables, frames, images, objects, sections, headings, bookmarks.
  • Hyperlink syntax will depend on the type of target object. To know that syntax: InsertHyperlink▸Select Document on the left▸click the Target button on the right▸select the target, click Apply. In the screenshot below we can see the syntax to use to target a title (e.g. #1.One|outline).

screenshot

  • Copy the Target link and paste in the URL zone of Hyperlink tab of the frame. Do not forget the leading # that can not be copied.
  • These links are preserved when exporting to PDF.

See this example.

Regards

edit flag offensive delete link more
0

answered 2017-04-02 13:50:07 +0200

You can hyperlink pictures. Add your desired picture to writer/header.

Select Picture: Click in header to select header, then click picture to select picture, then right click selected picture and select "Picture" from the menu then, select the hyperlink tab, enter hyperlink. When you export to a pdf the hyperlink should work fine.

Note: When the hyperlinked picture is in the header it acts a little funny. Normally for a picture defined as a hyperlink, you can open the hyperlink with a control-click. When it's in the header it appears you need to control-double click, not sure why, suspect this is a bug. However, that strange behavior is not present in the pdf version!

If you like this solution please upvote my pending unanswered question: https://ask.libreoffice.org/en/question/91006/disable-edit-hyperlinks-with-mouse-select-in-writer/

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-01-02 23:25:00 +0200

Seen: 738 times

Last updated: Apr 02 '17