Macro/text/swriter/01/05060700.xhpSun Microsystems, Inc.MacroSpecifies the macro to run when you click an image, frame, or an OLE object.EventLists 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:
EventEvent triggerOLE objectImageFrameAutoTextImageMap areaHyperlinkClick objectobject is selectedxxxMouse over objectmouse pointer moves over the objectxxxxxTrigger Hyperlinkhyperlink that is assigned to the object is clickedxxxxMouse leaves object mouse pointer moves off the objectxxxxxImage loaded successfullyimage is loaded successfullyxImage loading terminatedloading of the image is terminated by the user (for example, when downloading)xCould not load imageimage is not successfully loadedxInput of alpha characters text is inputtedxInput of non-alpha characters Nonprinting characters, such as tabs and line breaks, are enteredxResize frameframe is resizedxMove frameframe is movedxBefore inserting AutoTextbefore AutoText is insertedxAfter inserting AutoTextafter AutoText is insertedx
For events that are linked to controls in forms, see Control properties or Form properties.Assigned ActionSpecify 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 $[officename] Writer or by the function. See the $[officename] Basic Help for more information.Macro FromLists the $[officename] program and any open $[officename] document. Within this list, select the location where you want to save the macros.Existing MacrosLists the available macros. Select the macro that you want to assign to the selected event, and then click Assign.AssignAssigns the selected macro to the selected event.RemoveRemoves the macro assignment from the selected entry.