LibreOffice 25.2 ヘルプ
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 is loaded successfully | ✓ | |||||
| 画像の読み込み中止 | loading of the image is terminated by the user (for example, when downloading) | ✓ | |||||
| 画像の読み込みができませんでした | image is not successfully loaded | ✓ | |||||
| アルファベット文字の入力 | テキストを入力したとき。 | ✓ | |||||
| アルファベットでない文字の入力 | 編集記号 (タブや改行など) を入力したとき。 | ✓ | |||||
| 枠のサイズ変更 | フレームのサイズを変更したとき。 | ✓ | |||||
| 枠の移動 | フレームを移動したとき。 | ✓ | |||||
| 入力支援を挿入する前 | 入力支援テキストを挿入する前。 | ✓ | |||||
| 入力支援を挿入した後 | 入力支援テキストを挿入した後。 | ✓ | 
Specify the macro that executes when the selected event occurs.
枠を使用すると、特定のイベントを関数とリンクさせて、そのイベントをLibreOffice Writerに処理させるのか、関数側で処理させるのかを使い分けることができます。この機能についての詳細は、LibreOffice Basicヘルプを参照してください。
Lists the LibreOffice program and any open LibreOffice document. Within this list, select the location where you want to pick the macro from.
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.