Writer: Hyperlinkevent "OnMouseOver"

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
F3K Total
Volunteer
Posts: 1039
Joined: Fri Dec 16, 2011 8:20 pm

Writer: Hyperlinkevent "OnMouseOver"

Post by F3K Total »

Hello,
in writer it is possible to attach a macro to a hyperlink event. There are three possible events, "OnClick", "OnMouseOver" and "OnMouseOut".
I can attach a macro manuel or by another macro to each hyperlink in my document.
For example, see the attached document, where, if you found the hyperlink, "OnMouseOver" a dialog appears.
What i want to do is: If i move with the mouse over the hyperlink or if possible bookmark/referencemark, i would like to extract the source of the event by macro. It could be the string or link of the hyperlink, also the string or name of the bookmark/referencemark would help. But i can't find a way to get the source of the event.

I posted this issue also at the german forum, but didn't get a solution so far.
http://de.openoffice.info/viewtopic.php?f=18&t=52262

Greats from Rik

edit: attachment exchanged, i forgot the bookmark.
Attachments
Hyperlink_OnMouseOverEN.odt
(12.53 KiB) Downloaded 317 times
  • MMove 1.0.6
  • Extension for easy, exact positioning of shapes, pictures, controls, frames ...
  • my current system
  • Windows 10 AOO, LOLinux Mint AOO, LO
Post Reply