1 <?xml version=
"1.0" encoding=
"UTF-8"?>
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: 05060700.xhp,v $
16 * This file is part of OpenOffice.org.
18 * OpenOffice.org is free software: you can redistribute it and/or modify
19 * it under the terms of the GNU Lesser General Public License version 3
20 * only, as published by the Free Software Foundation.
22 * OpenOffice.org is distributed in the hope that it will be useful,
23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 * GNU Lesser General Public License version 3 for more details
26 * (a copy is included in the LICENSE file that accompanied this code).
28 * You should have received a copy of the GNU Lesser General Public License
29 * version 3 along with OpenOffice.org. If not, see
30 * <http://www.openoffice.org/license.html>
31 * for a copy of the LGPLv3 License.
33 ************************************************************************
36 <helpdocument version=
"1.0">
38 <topic id=
"textsbasicshared05060700xml" indexer=
"include" status=
"PUBLISH">
39 <title id=
"tit" xml-lang=
"en-US">Macro
</title>
40 <filename>/text/sbasic/shared/
05060700.xhp
</filename>
43 <created date=
"2003-10-31T00:00:00">Sun Microsystems, Inc.
</created>
44 <lastedited date=
"2006-02-24T10:51:24">converted from old format - fpe
</lastedited>
49 <bookmark xml-lang=
"en-US" branch=
"index" id=
"bm_id3153894"><bookmark_value>events;linked to objects
</bookmark_value>
50 </bookmark><comment>UFI: removed all help ids
</comment>
51 <paragraph role=
"heading" id=
"hd_id3153894" xml-lang=
"en-US" level=
"1" l10n=
"U" oldref=
"1"><link href=
"text/sbasic/shared/05060700.xhp" name=
"Macro">Macro
</link></paragraph>
52 <paragraph role=
"paragraph" id=
"par_id3153748" xml-lang=
"en-US" l10n=
"U" oldref=
"2"><ahelp hid=
".">Choose the macro that you want to execute when the selected graphic, frame, or OLE object is selected.
</ahelp> Depending on the object that is selected, the function is either found on the
<emph>Macro
</emph> tab of the
<emph>Object
</emph> dialog, or in the
<emph>Assign Macro
</emph> dialog.
</paragraph>
54 <paragraph role=
"heading" id=
"hd_id3150503" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"3">Event
</paragraph>
55 <paragraph role=
"paragraph" id=
"par_id3149763" xml-lang=
"en-US" l10n=
"U" oldref=
"4"><ahelp hid=
"HID_MACRO_LB_EVENT">Lists the events that are relevant to the macros that are currently assigned to the selected object.
</ahelp></paragraph>
56 <paragraph role=
"paragraph" id=
"par_id3150670" xml-lang=
"en-US" l10n=
"U" oldref=
"23">The following table describes the macros and the events that can by linked to objects in your document:
</paragraph>
57 <table id=
"tbl_id3148944">
59 <tablecell colspan=
"" rowspan=
"">
60 <paragraph role=
"paragraph" id=
"par_id3153360" xml-lang=
"en-US" l10n=
"U" oldref=
"24">Event
</paragraph>
62 <tablecell colspan=
"" rowspan=
"">
63 <paragraph role=
"paragraph" id=
"par_id3154365" xml-lang=
"en-US" l10n=
"U" oldref=
"25">Event trigger
</paragraph>
65 <tablecell colspan=
"" rowspan=
"">
66 <paragraph role=
"paragraph" id=
"par_id3159149" xml-lang=
"en-US" l10n=
"U" oldref=
"26">OLE object
</paragraph>
68 <tablecell colspan=
"" rowspan=
"">
69 <paragraph role=
"paragraph" id=
"par_id3148451" xml-lang=
"en-US" l10n=
"U" oldref=
"27">Graphics
</paragraph>
71 <tablecell colspan=
"" rowspan=
"">
72 <paragraph role=
"paragraph" id=
"par_id3125863" xml-lang=
"en-US" l10n=
"U" oldref=
"28">Frame
</paragraph>
74 <tablecell colspan=
"" rowspan=
"">
75 <paragraph role=
"paragraph" id=
"par_id3154216" xml-lang=
"en-US" l10n=
"U" oldref=
"29">AutoText
</paragraph>
77 <tablecell colspan=
"" rowspan=
"">
78 <paragraph role=
"paragraph" id=
"par_id3145785" xml-lang=
"en-US" l10n=
"U" oldref=
"30">ImageMap area
</paragraph>
80 <tablecell colspan=
"" rowspan=
"">
81 <paragraph role=
"paragraph" id=
"par_id3153138" xml-lang=
"en-US" l10n=
"U" oldref=
"31">Hyperlink
</paragraph>
85 <tablecell colspan=
"" rowspan=
"">
86 <paragraph role=
"paragraph" id=
"par_id3155306" xml-lang=
"en-US" l10n=
"U" oldref=
"32">Click object
</paragraph>
88 <tablecell colspan=
"" rowspan=
"">
89 <paragraph role=
"paragraph" id=
"par_id3152460" xml-lang=
"en-US" l10n=
"U" oldref=
"33">Object is selected.
</paragraph>
91 <tablecell colspan=
"" rowspan=
"">
92 <paragraph role=
"paragraph" id=
"par_id3147348" xml-lang=
"en-US" l10n=
"U" oldref=
"34">x
</paragraph>
94 <tablecell colspan=
"" rowspan=
"">
95 <paragraph role=
"paragraph" id=
"par_id3147426" xml-lang=
"en-US" l10n=
"U" oldref=
"35">x
</paragraph>
97 <tablecell colspan=
"" rowspan=
"">
98 <paragraph role=
"paragraph" id=
"par_id3153951" xml-lang=
"en-US" l10n=
"U" oldref=
"36">x
</paragraph>
100 <tablecell colspan=
"" rowspan=
"">
102 <tablecell colspan=
"" rowspan=
"">
104 <tablecell colspan=
"" rowspan=
"">
108 <tablecell colspan=
"" rowspan=
"">
109 <paragraph role=
"paragraph" id=
"par_id3150116" xml-lang=
"en-US" l10n=
"U" oldref=
"37">Mouse over object
</paragraph>
111 <tablecell colspan=
"" rowspan=
"">
112 <paragraph role=
"paragraph" id=
"par_id3145253" xml-lang=
"en-US" l10n=
"U" oldref=
"38">Mouse moves over the object.
</paragraph>
114 <tablecell colspan=
"" rowspan=
"">
115 <paragraph role=
"paragraph" id=
"par_id3144765" xml-lang=
"en-US" l10n=
"U" oldref=
"39">x
</paragraph>
117 <tablecell colspan=
"" rowspan=
"">
118 <paragraph role=
"paragraph" id=
"par_id3153418" xml-lang=
"en-US" l10n=
"U" oldref=
"40">x
</paragraph>
120 <tablecell colspan=
"" rowspan=
"">
121 <paragraph role=
"paragraph" id=
"par_id3153948" xml-lang=
"en-US" l10n=
"U" oldref=
"41">x
</paragraph>
123 <tablecell colspan=
"" rowspan=
"">
125 <tablecell colspan=
"" rowspan=
"">
126 <paragraph role=
"paragraph" id=
"par_id3145652" xml-lang=
"en-US" l10n=
"U" oldref=
"42">x
</paragraph>
128 <tablecell colspan=
"" rowspan=
"">
129 <paragraph role=
"paragraph" id=
"par_id3155066" xml-lang=
"en-US" l10n=
"U" oldref=
"43">x
</paragraph>
133 <tablecell colspan=
"" rowspan=
"">
134 <paragraph role=
"paragraph" id=
"par_id3155446" xml-lang=
"en-US" l10n=
"U" oldref=
"44">Trigger Hyperlink
</paragraph>
136 <tablecell colspan=
"" rowspan=
"">
137 <paragraph role=
"paragraph" id=
"par_id3154756" xml-lang=
"en-US" l10n=
"U" oldref=
"45">Hyperlink assigned to the object is clicked.
</paragraph>
139 <tablecell colspan=
"" rowspan=
"">
140 <paragraph role=
"paragraph" id=
"par_id3150042" xml-lang=
"en-US" l10n=
"U" oldref=
"46">x
</paragraph>
142 <tablecell colspan=
"" rowspan=
"">
143 <paragraph role=
"paragraph" id=
"par_id3151252" xml-lang=
"en-US" l10n=
"U" oldref=
"47">x
</paragraph>
145 <tablecell colspan=
"" rowspan=
"">
146 <paragraph role=
"paragraph" id=
"par_id3147344" xml-lang=
"en-US" l10n=
"U" oldref=
"48">x
</paragraph>
148 <tablecell colspan=
"" rowspan=
"">
150 <tablecell colspan=
"" rowspan=
"">
152 <tablecell colspan=
"" rowspan=
"">
153 <paragraph role=
"paragraph" id=
"par_id3146920" xml-lang=
"en-US" l10n=
"U" oldref=
"49">x
</paragraph>
157 <tablecell colspan=
"" rowspan=
"">
158 <paragraph role=
"paragraph" id=
"par_id3159333" xml-lang=
"en-US" l10n=
"U" oldref=
"50">Mouse leaves object
</paragraph>
160 <tablecell colspan=
"" rowspan=
"">
161 <paragraph role=
"paragraph" id=
"par_id3147003" xml-lang=
"en-US" l10n=
"U" oldref=
"51">Mouse moves off of the object.
</paragraph>
163 <tablecell colspan=
"" rowspan=
"">
164 <paragraph role=
"paragraph" id=
"par_id3151278" xml-lang=
"en-US" l10n=
"U" oldref=
"52">x
</paragraph>
166 <tablecell colspan=
"" rowspan=
"">
167 <paragraph role=
"paragraph" id=
"par_id3145257" xml-lang=
"en-US" l10n=
"U" oldref=
"53">x
</paragraph>
169 <tablecell colspan=
"" rowspan=
"">
170 <paragraph role=
"paragraph" id=
"par_id3154122" xml-lang=
"en-US" l10n=
"U" oldref=
"54">x
</paragraph>
172 <tablecell colspan=
"" rowspan=
"">
174 <tablecell colspan=
"" rowspan=
"">
175 <paragraph role=
"paragraph" id=
"par_id3156139" xml-lang=
"en-US" l10n=
"U" oldref=
"55">x
</paragraph>
177 <tablecell colspan=
"" rowspan=
"">
178 <paragraph role=
"paragraph" id=
"par_id3149036" xml-lang=
"en-US" l10n=
"U" oldref=
"56">x
</paragraph>
182 <tablecell colspan=
"" rowspan=
"">
183 <paragraph role=
"paragraph" id=
"par_id3150785" xml-lang=
"en-US" l10n=
"U" oldref=
"57">Graphics load successful
</paragraph>
185 <tablecell colspan=
"" rowspan=
"">
186 <paragraph role=
"paragraph" id=
"par_id3153705" xml-lang=
"en-US" l10n=
"U" oldref=
"58">Graphics are loaded successfully.
</paragraph>
188 <tablecell colspan=
"" rowspan=
"">
190 <tablecell colspan=
"" rowspan=
"">
191 <paragraph role=
"paragraph" id=
"par_id3150343" xml-lang=
"en-US" l10n=
"U" oldref=
"59">x
</paragraph>
193 <tablecell colspan=
"" rowspan=
"">
195 <tablecell colspan=
"" rowspan=
"">
197 <tablecell colspan=
"" rowspan=
"">
199 <tablecell colspan=
"" rowspan=
"">
203 <tablecell colspan=
"" rowspan=
"">
204 <paragraph role=
"paragraph" id=
"par_id3150202" xml-lang=
"en-US" l10n=
"U" oldref=
"60">Graphics load terminated
</paragraph>
206 <tablecell colspan=
"" rowspan=
"">
207 <paragraph role=
"paragraph" id=
"par_id3145584" xml-lang=
"en-US" l10n=
"U" oldref=
"61">Loading of graphics is stopped by the user (for example, when downloading the page).
</paragraph>
209 <tablecell colspan=
"" rowspan=
"">
211 <tablecell colspan=
"" rowspan=
"">
212 <paragraph role=
"paragraph" id=
"par_id3154259" xml-lang=
"en-US" l10n=
"U" oldref=
"62">x
</paragraph>
214 <tablecell colspan=
"" rowspan=
"">
216 <tablecell colspan=
"" rowspan=
"">
218 <tablecell colspan=
"" rowspan=
"">
220 <tablecell colspan=
"" rowspan=
"">
224 <tablecell colspan=
"" rowspan=
"">
225 <paragraph role=
"paragraph" id=
"par_id3155089" xml-lang=
"en-US" l10n=
"U" oldref=
"63">Graphics load faulty
</paragraph>
227 <tablecell colspan=
"" rowspan=
"">
228 <paragraph role=
"paragraph" id=
"par_id3153307" xml-lang=
"en-US" l10n=
"U" oldref=
"64">Graphics not successfully loaded, for example, if a graphic was not found.
</paragraph>
230 <tablecell colspan=
"" rowspan=
"">
232 <tablecell colspan=
"" rowspan=
"">
233 <paragraph role=
"paragraph" id=
"par_id3148840" xml-lang=
"en-US" l10n=
"U" oldref=
"65">x
</paragraph>
235 <tablecell colspan=
"" rowspan=
"">
237 <tablecell colspan=
"" rowspan=
"">
239 <tablecell colspan=
"" rowspan=
"">
241 <tablecell colspan=
"" rowspan=
"">
245 <tablecell colspan=
"" rowspan=
"">
246 <paragraph role=
"paragraph" id=
"par_id3154533" xml-lang=
"en-US" l10n=
"U" oldref=
"66">Input of alpha characters
</paragraph>
248 <tablecell colspan=
"" rowspan=
"">
249 <paragraph role=
"paragraph" id=
"par_id3155266" xml-lang=
"en-US" l10n=
"U" oldref=
"67">Text is entered from the keyboard.
</paragraph>
251 <tablecell colspan=
"" rowspan=
"">
253 <tablecell colspan=
"" rowspan=
"">
255 <tablecell colspan=
"" rowspan=
"">
256 <paragraph role=
"paragraph" id=
"par_id3144768" xml-lang=
"en-US" l10n=
"U" oldref=
"68">x
</paragraph>
258 <tablecell colspan=
"" rowspan=
"">
260 <tablecell colspan=
"" rowspan=
"">
262 <tablecell colspan=
"" rowspan=
"">
266 <tablecell colspan=
"" rowspan=
"">
267 <paragraph role=
"paragraph" id=
"par_id3145659" xml-lang=
"en-US" l10n=
"U" oldref=
"69">Input of non-alpha characters
</paragraph>
269 <tablecell colspan=
"" rowspan=
"">
270 <paragraph role=
"paragraph" id=
"par_id3151131" xml-lang=
"en-US" l10n=
"U" oldref=
"70">Nonprinting characters are entered from the keyboard, for example, tabs and line breaks.
</paragraph>
272 <tablecell colspan=
"" rowspan=
"">
274 <tablecell colspan=
"" rowspan=
"">
276 <tablecell colspan=
"" rowspan=
"">
277 <paragraph role=
"paragraph" id=
"par_id3159206" xml-lang=
"en-US" l10n=
"U" oldref=
"71">x
</paragraph>
279 <tablecell colspan=
"" rowspan=
"">
281 <tablecell colspan=
"" rowspan=
"">
283 <tablecell colspan=
"" rowspan=
"">
287 <tablecell colspan=
"" rowspan=
"">
288 <paragraph role=
"paragraph" id=
"par_id3150405" xml-lang=
"en-US" l10n=
"U" oldref=
"72">Resize frame
</paragraph>
290 <tablecell colspan=
"" rowspan=
"">
291 <paragraph role=
"paragraph" id=
"par_id3153972" xml-lang=
"en-US" l10n=
"U" oldref=
"73">Frame is resized with the mouse.
</paragraph>
293 <tablecell colspan=
"" rowspan=
"">
295 <tablecell colspan=
"" rowspan=
"">
297 <tablecell colspan=
"" rowspan=
"">
298 <paragraph role=
"paragraph" id=
"par_id3152873" xml-lang=
"en-US" l10n=
"U" oldref=
"74">x
</paragraph>
300 <tablecell colspan=
"" rowspan=
"">
302 <tablecell colspan=
"" rowspan=
"">
304 <tablecell colspan=
"" rowspan=
"">
308 <tablecell colspan=
"" rowspan=
"">
309 <paragraph role=
"paragraph" id=
"par_id3148900" xml-lang=
"en-US" l10n=
"U" oldref=
"75">Move frame
</paragraph>
311 <tablecell colspan=
"" rowspan=
"">
312 <paragraph role=
"paragraph" id=
"par_id3154767" xml-lang=
"en-US" l10n=
"U" oldref=
"76">Frame is moved with the mouse.
</paragraph>
314 <tablecell colspan=
"" rowspan=
"">
316 <tablecell colspan=
"" rowspan=
"">
318 <tablecell colspan=
"" rowspan=
"">
319 <paragraph role=
"paragraph" id=
"par_id3155914" xml-lang=
"en-US" l10n=
"U" oldref=
"77">x
</paragraph>
321 <tablecell colspan=
"" rowspan=
"">
323 <tablecell colspan=
"" rowspan=
"">
325 <tablecell colspan=
"" rowspan=
"">
329 <tablecell colspan=
"" rowspan=
"">
330 <paragraph role=
"paragraph" id=
"par_id3153010" xml-lang=
"en-US" l10n=
"U" oldref=
"78">Before inserting AutoText
</paragraph>
332 <tablecell colspan=
"" rowspan=
"">
333 <paragraph role=
"paragraph" id=
"par_id3147515" xml-lang=
"en-US" l10n=
"U" oldref=
"79">Before a text block is inserted.
</paragraph>
335 <tablecell colspan=
"" rowspan=
"">
337 <tablecell colspan=
"" rowspan=
"">
339 <tablecell colspan=
"" rowspan=
"">
341 <tablecell colspan=
"" rowspan=
"">
342 <paragraph role=
"paragraph" id=
"par_id3151191" xml-lang=
"en-US" l10n=
"U" oldref=
"80">x
</paragraph>
344 <tablecell colspan=
"" rowspan=
"">
346 <tablecell colspan=
"" rowspan=
"">
350 <tablecell colspan=
"" rowspan=
"">
351 <paragraph role=
"paragraph" id=
"par_id3150956" xml-lang=
"en-US" l10n=
"U" oldref=
"81">After inserting AutoText
</paragraph>
353 <tablecell colspan=
"" rowspan=
"">
354 <paragraph role=
"paragraph" id=
"par_id3147502" xml-lang=
"en-US" l10n=
"U" oldref=
"82">After a text block is inserted.
</paragraph>
356 <tablecell colspan=
"" rowspan=
"">
358 <tablecell colspan=
"" rowspan=
"">
360 <tablecell colspan=
"" rowspan=
"">
362 <tablecell colspan=
"" rowspan=
"">
363 <paragraph role=
"paragraph" id=
"par_id3147555" xml-lang=
"en-US" l10n=
"U" oldref=
"83">x
</paragraph>
365 <tablecell colspan=
"" rowspan=
"">
367 <tablecell colspan=
"" rowspan=
"">
372 <paragraph role=
"heading" id=
"hd_id3153958" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"5">Macros
</paragraph>
373 <paragraph role=
"paragraph" id=
"par_id3150432" xml-lang=
"en-US" l10n=
"U" oldref=
"6">Choose the macro that you want to execute when the selected event occurs.
</paragraph>
374 <paragraph role=
"paragraph" id=
"par_id3147296" xml-lang=
"en-US" l10n=
"U" oldref=
"84">Frames allow you to link events to a function, so that the function can determine if it processes the event or $[officename] Writer.
</paragraph>
375 <paragraph role=
"heading" id=
"hd_id3155587" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"7">Category
</paragraph>
376 <paragraph role=
"paragraph" id=
"par_id3154068" xml-lang=
"en-US" l10n=
"U" oldref=
"8"><ahelp hid=
"HID_MACRO_GROUP">Lists the open $[officename] documents and applications. Click the name of the location where you want to save the macros.
</ahelp></paragraph>
377 <paragraph role=
"heading" id=
"hd_id3149744" xml-lang=
"en-US" level=
"3" l10n=
"U" oldref=
"9">Macro name
</paragraph>
378 <paragraph role=
"paragraph" id=
"par_id3151391" xml-lang=
"en-US" l10n=
"U" oldref=
"10"><ahelp hid=
"HID_MACRO_MACROS">Lists the available macros. Click the macro that you want to assign to the selected object.
</ahelp></paragraph>
379 <paragraph role=
"heading" id=
"hd_id3159260" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"11">Assign
</paragraph>
380 <paragraph role=
"paragraph" id=
"par_id3147406" xml-lang=
"en-US" l10n=
"U" oldref=
"12"><ahelp hid=
"SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_ASSIGN">Assigns the selected macro to the specified event.
</ahelp> The assigned macro's entries are set after the event.
</paragraph>
381 <paragraph role=
"heading" id=
"hd_id3150533" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"15">Remove
</paragraph>
382 <paragraph role=
"paragraph" id=
"par_id3166456" xml-lang=
"en-US" l10n=
"U" oldref=
"16"><variable id=
"aufheb"><ahelp hid=
"SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_DELETE">Removes the macro that is assigned to the selected item.
</ahelp>
383 </variable></paragraph>
384 <paragraph role=
"heading" id=
"hd_id3159126" xml-lang=
"en-US" level=
"2" l10n=
"U" oldref=
"85">Macro selection
</paragraph>
385 <paragraph role=
"paragraph" id=
"par_id3149149" xml-lang=
"en-US" l10n=
"U" oldref=
"86"><ahelp hid=
"SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE">Select the macro that you want to assign.
</ahelp></paragraph>