Contents

# ක්ෂේත්‍ර

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.

## සිදුවීම

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:

සිදුවීම | සිදුවීම් ආරම්භකය | OLE වස්තුව | පින්තූරය | රාමුව | ස්වයං පෙළ | පින්තූ‍ර සිතියම පෙදෙස | අධි සබැඳිය
--- | --- | --- | --- | --- | --- | --- | ---
වස්තුව මත ක්ලික් කරන්න | object is selected | ✓ | ✓ | ✓ |  |  |
වස්තුව මත මූසිකය | mouse pointer moves over the object | ✓ | ✓ | ✓ |  | ✓ | ✓
අදිබැඳිය ක්‍රියාත්මක කරවන්න | hyperlink that is assigned to the object is clicked | ✓ | ✓ | ✓ |  |  | ✓
මූසිකය වස්තුවෙන් ඉවත් වේ | 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 |  |  | ✓ |  |  |
‍රාමුවේ ප්‍රමාණය වෙනස් කරන්න | frame is resized |  |  | ✓ |  |  |
රාමුවේ පිහිටීම වෙනස් කරන්න | frame is moved |  |  | ✓ |  |  |
AutoText ඇතුළු කිරීමට පෙර | before AutoText is inserted |  |  |  | ✓ |  |
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.

## පවරන්න

Assigns the selected macro to the selected event.

## ඉවත් කරන්න

Removes the macro assignment from the selected entry.