Macro
Specifies the macro to run when you click an image, frame, or an OLE object.
事件
Lists the events that can trigger a macro. Only the events that are relevant to the selected object are listed.
下表列出了可以触发宏的对象类型和事件:
事件 |
事件触发 |
OLE 对象 |
Image |
框架 |
自动图文集 |
图像映射区域 |
超链接 |
单击对象 |
对象被选定 |
✓ |
✓ |
✓ |
|||
鼠标在对象之上 |
鼠标指针移至对象之上 |
✓ |
✓ |
✓ |
✓ |
✓ |
|
触发超链接 |
单击指定给对象的超链接 |
✓ |
✓ |
✓ |
✓ |
||
鼠标离开对象 |
鼠标指针离开对象 |
✓ |
✓ |
✓ |
✓ |
✓ |
|
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 |
✓ |
|||||
输入阿尔法字符 |
已经输入文字 |
✓ |
|||||
输入非阿尔法字符 |
输入了非打印字符,如制表符和换行府 |
✓ |
|||||
调整框架大小 |
框架已调整大小 |
✓ |
|||||
移动框架 |
框架已移动 |
✓ |
|||||
插入自动图文集之前 |
插入自动图文集之前 |
✓ |
|||||
插入自动图文集之后 |
插入自动图文集之后 |
✓ |
Assigned Action
Specify the macro that executes when the selected event occurs.
框架可以将特定事件和函数链接起来,这样,就可以确定该事件是由 LibreOffice Writer 还是由函数处理。详细信息请参阅 LibreOffice Basic 帮助。
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.
指定
Assigns the selected macro to the selected event.