Hi all!
In this old thread (viewtopic.php?uid=49494&f=45&t=47888&start=0), @F3K Total managed to use the "onmouseover" function inside the macro apparently (see the file attached).
I don't see how he did this...
And last question, is it possible to eventually get the source of the hyperlink, as he was asking? (Maybe we can get now that since the thread dates back from 2012)
Thanks a lot for your help!
Onmouseover: How was it done? How to get the source?
Onmouseover: How was it done? How to get the source?
- Attachments
-
- Hyperlink_OnMouseOverEN.odt
- (12.53 KiB) Downloaded 175 times
openoffice 4.1.14 on Arch Linux (Cinnamon desktop)
-
- Volunteer
- Posts: 1547
- Joined: Wed Jun 24, 2015 12:56 am
- Location: Colorado, USA
Re: Onmouseover: How was it done? How to get the source?
Right click on the word hyperlink in the first line.I don't see how he did this
Select Edit Hyperlink... to open the Hyperlink dialog.
In the Further settings area select the Folder icon to the right of Form: Text to open the Assign macro dialog.
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Re: Onmouseover: How was it done? How to get the source?
Thanks a lot! It's perfect
Do you have any idea for the second part of the question (how to get the source)?
Do you have any idea for the second part of the question (how to get the source)?
openoffice 4.1.14 on Arch Linux (Cinnamon desktop)
-
- Volunteer
- Posts: 1547
- Joined: Wed Jun 24, 2015 12:56 am
- Location: Colorado, USA
Re: Onmouseover: How was it done? How to get the source?
I tried to capture the event with
but a run time exception "wrong number of parameters" is generated, so the event object is not being passed along like usual.
Using the MRI tool I inspected
but it retrieves a Null string and
found nothing useful there either.
Code: Select all
Sub MyMacro(oEvent as object)
Using the MRI tool I inspected
Code: Select all
ThisComponent.CurrentController.ViewCursor.HyperLinkURL
Code: Select all
ThisComponent.Links.getByName("Bookmarks").getByName("bookmark")
If your problem has been solved, please edit this topic's initial post and add "[Solved]" to the beginning of the subject line
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11
Apache OpenOffice 4.1.14 & LibreOffice 7.6.2.1 (x86_64) - Windows 10 Professional- Windows 11