Contents

# Macro

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

To access this command...

Choose Insert/Format - Image - Properties - Macro tab.

Choose Format - Frame and Object - Properties - Macro tab.

Choose Tools - AutoText - AutoText (button) - Macro.

Choose Tools - ImageMap - open context menu Macro.

Choose Format - Character - Hyperlink tab - Events button.

## Ngjarje

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:

Ngjarje | Hiperlinku shkrehës | OLE objekt | Fotografi | Kornizë | AutoText | Zona e fundfaqes | Hiperlink
--- | --- | --- | --- | --- | --- | --- | ---
Kliko në objekt | Objekti nuk është folder | ✓ | ✓ | ✓ |  |  |
Miu mbi objektin | mouse pointer moves over the object | ✓ | ✓ | ✓ |  | ✓ | ✓
Hiperlinku shkrehës | hyperlink that is assigned to the object is clicked | ✓ | ✓ | ✓ |  |  | ✓
Miu lëshon objektin | mouse pointer moves off the object | ✓ | ✓ | ✓ |  | ✓ | ✓
Figura u ngarkua me sukses | image is loaded successfully |  | ✓ |  |  |  |
Ngarkimi i figurës përfundoi | loading of the image is terminated by the user (for example, when downloading) |  | ✓ |  |  |  |
Figura nuk mund të ngarkohet | image is not successfully loaded |  | ✓ |  |  |  |
Hyrja e karaktereve alfanumerike | Nuk është baraz me |  |  | ✓ |  |  |
Futje e karaktereve jo-alfanumerike | Nonprinting characters, such as tabs and line breaks, are entered |  |  | ✓ |  |  |
Rivendos madhësinë e kornizës | Korniza cak tashmë është e lidhur |  |  | ✓ |  |  |
Lëviz kornizën | Korniza cak tashmë është e lidhur |  |  | ✓ |  |  |
Para futjes së Auto Text | before AutoText is inserted |  |  |  | ✓ |  |
Pas futjes së Auto Text | after AutoText is inserted |  |  |  | ✓ |  |

For events that are linked to controls in forms, see Control properties or Form properties.

## Veprimi i caktuar

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 nga

Lists the LibreOffice program and any open LibreOffice document. Within this list, select the location where you want to pick the macro from.

### Makro ekzistuese

Lists the available macros. Select the macro that you want to assign to the selected event, and then click Assign.

## Cakto

Assigns the selected macro to the selected event.

## Largo

Removes the macro assignment from the selected entry.