ماكرو

Contents

# Macro

Choose the macro that you want to execute when the selected graphic, frame, or OLE object is selected. Depending on the object that is selected, the function is either found on the Macro tab of the Object dialog, or in the Assign Macro dialog.

## الحدث

Lists the events that are relevant to the macros that are currently assigned to the selected object.

The following table describes the macros and the events that can by linked to objects in your document:

الحدث | Event trigger | كائن OLE | الرسومات | الإطار | نص تلقائي | ImageMap area | رابط تشعبي
--- | --- | --- | --- | --- | --- | --- | ---
انقر على الكائن | Object is selected. | ✓ | ✓ | ✓ |  |  |
الفأرة فوق الكائن | Mouse moves over the object. | ✓ | ✓ | ✓ |  | ✓ | ✓
Trigger Hyperlink | Hyperlink assigned to the object is clicked. | ✓ | ✓ | ✓ |  |  | ✓
ابتعاد الفأرة عن الكائن | Mouse moves off of the object. | ✓ | ✓ | ✓ |  | ✓ | ✓
Graphics load successful | Graphics are loaded successfully. |  | ✓ |  |  |  |
Graphics load terminated | Loading of graphics is stopped by the user (for example, when downloading the page). |  | ✓ |  |  |  |
Graphics load faulty | Graphics not successfully loaded, for example, if a graphic was not found. |  | ✓ |  |  |  |
Input of alpha characters | Text is entered from the keyboard. |  |  | ✓ |  |  |
Input of non-alpha characters | Nonprinting characters are entered from the keyboard, for example, tabs and line breaks. |  |  | ✓ |  |  |
تحجيم الإطار | Frame is resized with the mouse. |  |  | ✓ |  |  |
تحريك الإطار | Frame is moved with the mouse. |  |  | ✓ |  |  |
قبل إدراج النص التلقائي | Before a text block is inserted. |  |  |  | ✓ |  |
بعد إدراج النص التلقائي | After a text block is inserted. |  |  |  | ✓ |  |

## وحدات الماكرو

Choose the macro that you want to execute when the selected event occurs.

Frames allow you to link events to a function, so that the function can determine if it processes the event or LibreOffice Writer.

### الصنف

Lists the open LibreOffice documents and applications. Click the name of the location where you want to save the macros.

### Macro name

Lists the available macros. Click the macro that you want to assign to the selected object.

## أسنِد

Assigns the selected macro to the specified event. The assigned macro's entries are set after the event.

## إزالة

Removes the macro that is assigned to the selected item.

## Macro selection

Select the macro that you want to assign.