[Solved] How 2 access a Writer Doc Bookmark via pushbutton

Discuss the database features
Post Reply
dreamquartz
Posts: 881
Joined: Mon May 30, 2011 4:02 am

[Solved] How 2 access a Writer Doc Bookmark via pushbutton

Post by dreamquartz »

Hi All,

Is there a way to use a pushbutton in a form to access a Bookmark in a Writer Document?
I can create the hyperlink and create a hyperlink in a form for the Bookmark, but would like to have a pushbutton.
When creating a hyperlink to a Bookmark in Writer, there will be something like '#Bookmark' added at the end of the 'Document' Hyperlink.
It appears that the '#Bookmark' part of the hyperlink is not accepted in the pushbutton URL.

Any thoughts?

Dream
Last edited by dreamquartz on Wed Jul 07, 2021 6:12 am, edited 1 time in total.
LO 7.x, HSQLDB 2.7.x & Ubuntu 22.04 LTS.
dreamquartz
Posts: 881
Joined: Mon May 30, 2011 4:02 am

Re: How 2 access a Writer Document Bookmark via pushbutton

Post by dreamquartz »

That turned out to be a Quest, but have it resolved.

1. Open a Writer Document
2. Add 'Hyperlink'
3 Select 'Document' to link to
4. Select Target in document
5. Select 'Bookmark' in linked document
6. Enter a text in 'Text'
7. Set 'Form' to 'Button'

The push button will show anywhere on the document.

Set characteristics of pb for location, size, color.

Dream
LO 7.x, HSQLDB 2.7.x & Ubuntu 22.04 LTS.
Post Reply