Macro/text/swriter/01/05060700.xhpSun Microsystems, Inc.converted from old format - fpeMacroSpecifies the macro to run when you click a graphic, 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 objectGraphicsFrameAutoTextImageMap 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 objectxxxxxGraphics load successful graphic is loaded successfullyxGraphics load terminatedloading of the graphic is terminated by the user (for example, when downloading)xGraphics load faultygraphic 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.MacrosSpecify 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.???CategoryLists the $[officename] program and any open $[officename] document. Within this list, select the location where you want to save the macros.Macro nameLists 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.