Макро

Module
Contents
Index 🔎︎

# Macro

Specifies the macro to run when you click an image, frame, or an OLE object.

За да пристапите до оваа наредба...

Choose Insert/Format - Image - Macro tab

Choose Format - Frame and Object - Properties - Macro tab

Изберете Уреди - Автоматски текст - Автоматски текст (копче) - Макро

Изберете Уреди - ImageMap - отворете го контекстното мени - Макро

Изберете го ливчето Форматирај - Знак - Хиперврскакопчето - Настани

## Настан

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 trigger | OLE-објект | Image | Рамка | Автоматски текст | ImageMap area | Хиперврска
Кликни објект | object is selected | x | x | x |  |  |
Глувчето над објектот | mouse pointer moves over the object | x | x | x |  | x | x
Trigger Hyperlink | hyperlink that is assigned to the object is clicked | x | x | x |  |  | x
Mouse leaves object | mouse pointer moves off the object | x | x | x |  | x | x
Image loaded successfully | image is loaded successfully |  | x |  |  |  |
Image loading terminated | loading of the image is terminated by the user (for example, when downloading) |  | x |  |  |  |
Could not load image | image is not successfully loaded |  | x |  |  |  |
Input of alpha characters | text is inputted |  |  | x |  |  |
Input of non-alpha characters | Nonprinting characters, such as tabs and line breaks, are entered |  |  | x |  |  |
Промени големина на рамка | frame is resized |  |  | x |  |  |
Премести рамка | frame is moved |  |  | x |  |  |
Пред вметнување авто. текст | before AutoText is inserted |  |  |  | x |  |
По вметнување АвтоТекст | after AutoText is inserted |  |  |  | x |  |

For events that are linked to controls in forms, seeControl 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.

## Додели

Assigns the selected macro to the selected event.

## Отстрани

Removes the macro assignment from the selected entry.