Macro
Specifies the macro to run when you click an image, frame, or an OLE object.
Event
Lists the events that can trigger a macro. Only the events that are relevant to the selected object are listed.
The following table lists the object types and the events that can trigger a macro:
Event |
Event trigger |
OLE object |
Image |
Frame |
AutoText |
ImageMap area |
Hyperlink |
Click object |
object is selected |
โ |
โ |
โ |
|||
Mouse over object |
mouse pointer moves over the object |
โ |
โ |
โ |
โ |
โ |
|
Trigger Hyperlink |
hyperlink that is assigned to the object is clicked |
โ |
โ |
โ |
โ |
||
Mouse leaves object |
mouse pointer moves off the object |
โ |
โ |
โ |
โ |
โ |
|
Image loaded successfully |
image is loaded successfully |
โ |
|||||
Image loading terminated |
loading of the image is terminated by the user (for example, when downloading) |
โ |
|||||
Could not load image |
image is not successfully loaded |
โ |
|||||
Input of alpha characters |
text is inputted |
โ |
|||||
Input of non-alpha characters |
Nonprinting characters, such as tabs and line breaks, are entered |
โ |
|||||
Resize frame |
frame is resized |
โ |
|||||
Move frame |
frame is moved |
โ |
|||||
Before inserting AutoText |
before AutoText is inserted |
โ |
|||||
After inserting AutoText |
after AutoText is inserted |
โ |
For events that are linked to controls in forms, see Control properties or Form properties.
Assigned Action
Specify the macro that executes when the selected event occurs.
Frames allow you to link certain events to a function that then decides if the event is handled by LibreOffice Writer or by the function. See the LibreOffice Basic Help for more information.
Macro From
Lists the LibreOffice program and any open LibreOffice document. Within this list, select the location where you want to pick the macro from.
Existing Macros
Lists the available macros. Select the macro that you want to assign to the selected event, and then click Assign.
Assign
Assigns the selected macro to the selected event.