Macro /text/swriter/01/05060700.xhp Sun Microsystems, Inc. converted from old format - fpe
Macro Specifies the macro to run when you click a graphic, frame, or an OLE object.
Event 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: Event Event trigger OLE object Graphics Frame AutoText ImageMap area Hyperlink Click object object is selected x x x Mouse over object mouse pointer moves over the object x x x x x Trigger Hyperlink hyperlink that is assigned to the object is clicked x x x x Mouse leaves object mouse pointer moves off the object x x x x x Graphics load successful graphic is loaded successfully x Graphics load terminated loading of the graphic is terminated by the user (for example, when downloading) x Graphics load faulty graphic is not successfully loaded x Input of alpha characters text is inputted x Input of non-alpha characters Nonprinting characters, such as tabs and line breaks, are entered x Resize frame frame is resized x Move frame frame is moved x Before inserting AutoText before AutoText is inserted x After inserting AutoText after AutoText is inserted x
For events that are linked to controls in forms, see Control properties or Form properties. Macros 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 $[officename] Writer or by the function. See the $[officename] Basic Help for more information.??? Category Lists the $[officename] program and any open $[officename] document. Within this list, select the location where you want to save the macros. Macro name Lists the available macros. Select the macro that you want to assign to the selected event, and then click Assign. Assign Assigns the selected macro to the selected event. Remove Removes the macro assignment from the selected entry.