Update ooo320-m1
[ooovba.git] / helpcontent2 / source / text / swriter / 01 / 05060700.xhp
bloba06a58cd0069c7a35ddfb1a213856b6e9c158790
1 <?xml version="1.0" encoding="UTF-8"?>
4 <!--
5 ***********************************************************************
7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8 *
9 * Copyright 2008 by Sun Microsystems, Inc.
11 * OpenOffice.org - a multi-platform office productivity suite
13 * $RCSfile: 05060700.xhp,v $
14 * $Revision: 1.12 $
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 ************************************************************************
34 -->
36 <helpdocument version="1.0">
37 <meta>
38 <topic id="textswriter0105060700xml" indexer="include" status="PUBLISH">
39 <title id="tit" xml-lang="en-US">Macro</title>
40 <filename>/text/swriter/01/05060700.xhp</filename>
41 </topic>
42 <history>
43 <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
44 <lastedited date="2007-01-31T11:56:54">converted from old format - fpe</lastedited>
45 </history>
46 </meta>
47 <body>
48 <section id="makro">
49 <bookmark xml-lang="en-US" branch="hid/SFX2:TABPAGE:RID_SFX_TP_MACROASSIGN" id="bm_id3148770" localize="false"/>
50 <paragraph role="heading" id="hd_id3145241" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/swriter/01/05060700.xhp" name="Macro">Macro</link></paragraph>
51 <paragraph role="paragraph" id="par_id3158429" xml-lang="en-US" l10n="U" oldref="2"><ahelp hid="SFX2:TABPAGE:RID_SFX_TP_MACROASSIGN">Specifies the macro to run when you click a graphic, frame, or an OLE object.</ahelp></paragraph>
52 </section>
53 <section id="howtoget">
54 <embed href="text/swriter/00/00000405.xhp#makrografik"/>
55 </section>
56 <bookmark xml-lang="en-US" branch="hid/HID_MACRO_HEADERTABLISTBOX" id="bm_id9825434" localize="false"/>
57 <paragraph role="heading" id="hd_id3147176" xml-lang="en-US" level="2" l10n="U" oldref="3">Event</paragraph>
58 <paragraph role="paragraph" id="par_id3147564" xml-lang="en-US" l10n="CHG" oldref="4"><ahelp hid="SFX2:TABPAGE:RID_SFX_TP_MACROASSIGN">Lists the events that can trigger a macro.</ahelp> Only the events that are relevant to the selected object are listed.</paragraph>
59 <paragraph role="paragraph" id="par_id3149286" xml-lang="en-US" l10n="U" oldref="23">The following table lists the object types and the events that can trigger a macro:</paragraph>
60 <table id="tbl_id3151173">
61 <tablerow>
62 <tablecell colspan="" rowspan="">
63 <paragraph role="tablehead" id="par_id3152949" xml-lang="en-US" l10n="U" oldref="24">Event</paragraph>
64 </tablecell>
65 <tablecell colspan="" rowspan="">
66 <paragraph role="tablehead" id="par_id3149808" xml-lang="en-US" l10n="U" oldref="25">Event trigger</paragraph>
67 </tablecell>
68 <tablecell colspan="" rowspan="">
69 <paragraph role="tablehead" id="par_id3152957" xml-lang="en-US" l10n="U" oldref="26">OLE object</paragraph>
70 </tablecell>
71 <tablecell colspan="" rowspan="">
72 <paragraph role="tablehead" id="par_id3154564" xml-lang="en-US" l10n="U" oldref="27">Graphics</paragraph>
73 </tablecell>
74 <tablecell colspan="" rowspan="">
75 <paragraph role="tablehead" id="par_id3153675" xml-lang="en-US" l10n="U" oldref="28">Frame</paragraph>
76 </tablecell>
77 <tablecell colspan="" rowspan="">
78 <paragraph role="tablehead" id="par_id3154473" xml-lang="en-US" l10n="U" oldref="29">AutoText</paragraph>
79 </tablecell>
80 <tablecell colspan="" rowspan="">
81 <paragraph role="tablehead" id="par_id3149684" xml-lang="en-US" l10n="U" oldref="30">ImageMap area</paragraph>
82 </tablecell>
83 <tablecell colspan="" rowspan="">
84 <paragraph role="tablehead" id="par_id3154197" xml-lang="en-US" l10n="U" oldref="31">Hyperlink</paragraph>
85 </tablecell>
86 </tablerow>
87 <tablerow>
88 <tablecell colspan="" rowspan="">
89 <paragraph role="tablecontent" id="par_id3155182" xml-lang="en-US" l10n="U" oldref="32">Click object</paragraph>
90 </tablecell>
91 <tablecell colspan="" rowspan="">
92 <paragraph role="tablecontent" id="par_id3149489" xml-lang="en-US" l10n="U" oldref="33">object is selected</paragraph>
93 </tablecell>
94 <tablecell colspan="" rowspan="">
95 <paragraph role="tablecontent" id="par_id3151249" xml-lang="en-US" l10n="U" oldref="34">x</paragraph>
96 </tablecell>
97 <tablecell colspan="" rowspan="">
98 <paragraph role="tablecontent" id="par_id3149104" xml-lang="en-US" l10n="U" oldref="35">x</paragraph>
99 </tablecell>
100 <tablecell colspan="" rowspan="">
101 <paragraph role="tablecontent" id="par_id3147089" xml-lang="en-US" l10n="U" oldref="36">x</paragraph>
102 </tablecell>
103 <tablecell colspan="" rowspan="">
104 </tablecell>
105 <tablecell colspan="" rowspan="">
106 </tablecell>
107 <tablecell colspan="" rowspan="">
108 </tablecell>
109 </tablerow>
110 <tablerow>
111 <tablecell colspan="" rowspan="">
112 <paragraph role="tablecontent" id="par_id3153637" xml-lang="en-US" l10n="U" oldref="37">Mouse over object</paragraph>
113 </tablecell>
114 <tablecell colspan="" rowspan="">
115 <paragraph role="tablecontent" id="par_id3147579" xml-lang="en-US" l10n="U" oldref="38">mouse pointer moves over the object</paragraph>
116 </tablecell>
117 <tablecell colspan="" rowspan="">
118 <paragraph role="tablecontent" id="par_id3152779" xml-lang="en-US" l10n="U" oldref="39">x</paragraph>
119 </tablecell>
120 <tablecell colspan="" rowspan="">
121 <paragraph role="tablecontent" id="par_id3153349" xml-lang="en-US" l10n="U" oldref="40">x</paragraph>
122 </tablecell>
123 <tablecell colspan="" rowspan="">
124 <paragraph role="tablecontent" id="par_id3149174" xml-lang="en-US" l10n="U" oldref="41">x</paragraph>
125 </tablecell>
126 <tablecell colspan="" rowspan="">
127 </tablecell>
128 <tablecell colspan="" rowspan="">
129 <paragraph role="tablecontent" id="par_id3151031" xml-lang="en-US" l10n="U" oldref="42">x</paragraph>
130 </tablecell>
131 <tablecell colspan="" rowspan="">
132 <paragraph role="tablecontent" id="par_id3145784" xml-lang="en-US" l10n="U" oldref="43">x</paragraph>
133 </tablecell>
134 </tablerow>
135 <tablerow>
136 <tablecell colspan="" rowspan="">
137 <paragraph role="tablecontent" id="par_id3155910" xml-lang="en-US" l10n="U" oldref="44">Trigger Hyperlink</paragraph>
138 </tablecell>
139 <tablecell colspan="" rowspan="">
140 <paragraph role="tablecontent" id="par_id3155857" xml-lang="en-US" l10n="U" oldref="45">hyperlink that is assigned to the object is clicked</paragraph>
141 </tablecell>
142 <tablecell colspan="" rowspan="">
143 <paragraph role="tablecontent" id="par_id3150693" xml-lang="en-US" l10n="U" oldref="46">x</paragraph>
144 </tablecell>
145 <tablecell colspan="" rowspan="">
146 <paragraph role="tablecontent" id="par_id3147423" xml-lang="en-US" l10n="U" oldref="47">x</paragraph>
147 </tablecell>
148 <tablecell colspan="" rowspan="">
149 <paragraph role="tablecontent" id="par_id3145256" xml-lang="en-US" l10n="U" oldref="48">x</paragraph>
150 </tablecell>
151 <tablecell colspan="" rowspan="">
152 </tablecell>
153 <tablecell colspan="" rowspan="">
154 </tablecell>
155 <tablecell colspan="" rowspan="">
156 <paragraph role="tablecontent" id="par_id3149554" xml-lang="en-US" l10n="U" oldref="49">x</paragraph>
157 </tablecell>
158 </tablerow>
159 <tablerow>
160 <tablecell colspan="" rowspan="">
161 <paragraph role="tablecontent" id="par_id3155976" xml-lang="en-US" l10n="U" oldref="50">Mouse leaves object </paragraph>
162 </tablecell>
163 <tablecell colspan="" rowspan="">
164 <paragraph role="tablecontent" id="par_id3149216" xml-lang="en-US" l10n="U" oldref="51">mouse pointer moves off the object</paragraph>
165 </tablecell>
166 <tablecell colspan="" rowspan="">
167 <paragraph role="tablecontent" id="par_id3147739" xml-lang="en-US" l10n="U" oldref="52">x</paragraph>
168 </tablecell>
169 <tablecell colspan="" rowspan="">
170 <paragraph role="tablecontent" id="par_id3146336" xml-lang="en-US" l10n="U" oldref="53">x</paragraph>
171 </tablecell>
172 <tablecell colspan="" rowspan="">
173 <paragraph role="tablecontent" id="par_id3149841" xml-lang="en-US" l10n="U" oldref="54">x</paragraph>
174 </tablecell>
175 <tablecell colspan="" rowspan="">
176 </tablecell>
177 <tablecell colspan="" rowspan="">
178 <paragraph role="tablecontent" id="par_id3148436" xml-lang="en-US" l10n="U" oldref="55">x</paragraph>
179 </tablecell>
180 <tablecell colspan="" rowspan="">
181 <paragraph role="tablecontent" id="par_id3151082" xml-lang="en-US" l10n="U" oldref="56">x</paragraph>
182 </tablecell>
183 </tablerow>
184 <tablerow>
185 <tablecell colspan="" rowspan="">
186 <paragraph role="tablecontent" id="par_id3154780" xml-lang="en-US" l10n="U" oldref="57">Graphics load successful </paragraph>
187 </tablecell>
188 <tablecell colspan="" rowspan="">
189 <paragraph role="tablecontent" id="par_id3145304" xml-lang="en-US" l10n="U" oldref="58">graphic is loaded successfully</paragraph>
190 </tablecell>
191 <tablecell colspan="" rowspan="">
192 </tablecell>
193 <tablecell colspan="" rowspan="">
194 <paragraph role="tablecontent" id="par_id3150169" xml-lang="en-US" l10n="U" oldref="59">x</paragraph>
195 </tablecell>
196 <tablecell colspan="" rowspan="">
197 </tablecell>
198 <tablecell colspan="" rowspan="">
199 </tablecell>
200 <tablecell colspan="" rowspan="">
201 </tablecell>
202 <tablecell colspan="" rowspan="">
203 </tablecell>
204 </tablerow>
205 <tablerow>
206 <tablecell colspan="" rowspan="">
207 <paragraph role="tablecontent" id="par_id3154718" xml-lang="en-US" l10n="U" oldref="60">Graphics load terminated</paragraph>
208 </tablecell>
209 <tablecell colspan="" rowspan="">
210 <paragraph role="tablecontent" id="par_id3156136" xml-lang="en-US" l10n="U" oldref="61">loading of the graphic is terminated by the user (for example, when downloading)</paragraph>
211 </tablecell>
212 <tablecell colspan="" rowspan="">
213 </tablecell>
214 <tablecell colspan="" rowspan="">
215 <paragraph role="tablecontent" id="par_id3156105" xml-lang="en-US" l10n="U" oldref="62">x</paragraph>
216 </tablecell>
217 <tablecell colspan="" rowspan="">
218 </tablecell>
219 <tablecell colspan="" rowspan="">
220 </tablecell>
221 <tablecell colspan="" rowspan="">
222 </tablecell>
223 <tablecell colspan="" rowspan="">
224 </tablecell>
225 </tablerow>
226 <tablerow>
227 <tablecell colspan="" rowspan="">
228 <paragraph role="tablecontent" id="par_id3155079" xml-lang="en-US" l10n="U" oldref="63">Graphics load faulty</paragraph>
229 </tablecell>
230 <tablecell colspan="" rowspan="">
231 <paragraph role="tablecontent" id="par_id3149250" xml-lang="en-US" l10n="U" oldref="64">graphic is not successfully loaded</paragraph>
232 </tablecell>
233 <tablecell colspan="" rowspan="">
234 </tablecell>
235 <tablecell colspan="" rowspan="">
236 <paragraph role="tablecontent" id="par_id3154327" xml-lang="en-US" l10n="U" oldref="65">x</paragraph>
237 </tablecell>
238 <tablecell colspan="" rowspan="">
239 </tablecell>
240 <tablecell colspan="" rowspan="">
241 </tablecell>
242 <tablecell colspan="" rowspan="">
243 </tablecell>
244 <tablecell colspan="" rowspan="">
245 </tablecell>
246 </tablerow>
247 <tablerow>
248 <tablecell colspan="" rowspan="">
249 <paragraph role="tablecontent" id="par_id3148779" xml-lang="en-US" l10n="U" oldref="66">Input of alpha characters </paragraph>
250 </tablecell>
251 <tablecell colspan="" rowspan="">
252 <paragraph role="tablecontent" id="par_id3150030" xml-lang="en-US" l10n="U" oldref="67">text is inputted</paragraph>
253 </tablecell>
254 <tablecell colspan="" rowspan="">
255 </tablecell>
256 <tablecell colspan="" rowspan="">
257 </tablecell>
258 <tablecell colspan="" rowspan="">
259 <paragraph role="tablecontent" id="par_id3155792" xml-lang="en-US" l10n="U" oldref="68">x</paragraph>
260 </tablecell>
261 <tablecell colspan="" rowspan="">
262 </tablecell>
263 <tablecell colspan="" rowspan="">
264 </tablecell>
265 <tablecell colspan="" rowspan="">
266 </tablecell>
267 </tablerow>
268 <tablerow>
269 <tablecell colspan="" rowspan="">
270 <paragraph role="tablecontent" id="par_id3154623" xml-lang="en-US" l10n="U" oldref="69">Input of non-alpha characters </paragraph>
271 </tablecell>
272 <tablecell colspan="" rowspan="">
273 <paragraph role="tablecontent" id="par_id3147391" xml-lang="en-US" l10n="U" oldref="70">Nonprinting characters, such as tabs and line breaks, are entered</paragraph>
274 </tablecell>
275 <tablecell colspan="" rowspan="">
276 </tablecell>
277 <tablecell colspan="" rowspan="">
278 </tablecell>
279 <tablecell colspan="" rowspan="">
280 <paragraph role="tablecontent" id="par_id3150666" xml-lang="en-US" l10n="U" oldref="71">x</paragraph>
281 </tablecell>
282 <tablecell colspan="" rowspan="">
283 </tablecell>
284 <tablecell colspan="" rowspan="">
285 </tablecell>
286 <tablecell colspan="" rowspan="">
287 </tablecell>
288 </tablerow>
289 <tablerow>
290 <tablecell colspan="" rowspan="">
291 <paragraph role="tablecontent" id="par_id3149963" xml-lang="en-US" l10n="U" oldref="72">Resize frame</paragraph>
292 </tablecell>
293 <tablecell colspan="" rowspan="">
294 <paragraph role="tablecontent" id="par_id3147284" xml-lang="en-US" l10n="U" oldref="73">frame is resized</paragraph>
295 </tablecell>
296 <tablecell colspan="" rowspan="">
297 </tablecell>
298 <tablecell colspan="" rowspan="">
299 </tablecell>
300 <tablecell colspan="" rowspan="">
301 <paragraph role="tablecontent" id="par_id3150774" xml-lang="en-US" l10n="U" oldref="74">x</paragraph>
302 </tablecell>
303 <tablecell colspan="" rowspan="">
304 </tablecell>
305 <tablecell colspan="" rowspan="">
306 </tablecell>
307 <tablecell colspan="" rowspan="">
308 </tablecell>
309 </tablerow>
310 <tablerow>
311 <tablecell colspan="" rowspan="">
312 <paragraph role="tablecontent" id="par_id3148713" xml-lang="en-US" l10n="U" oldref="75">Move frame</paragraph>
313 </tablecell>
314 <tablecell colspan="" rowspan="">
315 <paragraph role="tablecontent" id="par_id3155349" xml-lang="en-US" l10n="U" oldref="76">frame is moved</paragraph>
316 </tablecell>
317 <tablecell colspan="" rowspan="">
318 </tablecell>
319 <tablecell colspan="" rowspan="">
320 </tablecell>
321 <tablecell colspan="" rowspan="">
322 <paragraph role="tablecontent" id="par_id3155553" xml-lang="en-US" l10n="U" oldref="77">x</paragraph>
323 </tablecell>
324 <tablecell colspan="" rowspan="">
325 </tablecell>
326 <tablecell colspan="" rowspan="">
327 </tablecell>
328 <tablecell colspan="" rowspan="">
329 </tablecell>
330 </tablerow>
331 <tablerow>
332 <tablecell colspan="" rowspan="">
333 <paragraph role="tablecontent" id="par_id3154227" xml-lang="en-US" l10n="U" oldref="78">Before inserting AutoText</paragraph>
334 </tablecell>
335 <tablecell colspan="" rowspan="">
336 <paragraph role="tablecontent" id="par_id3155785" xml-lang="en-US" l10n="U" oldref="79">before AutoText is inserted</paragraph>
337 </tablecell>
338 <tablecell colspan="" rowspan="">
339 </tablecell>
340 <tablecell colspan="" rowspan="">
341 </tablecell>
342 <tablecell colspan="" rowspan="">
343 </tablecell>
344 <tablecell colspan="" rowspan="">
345 <paragraph role="tablecontent" id="par_id3145292" xml-lang="en-US" l10n="U" oldref="80">x</paragraph>
346 </tablecell>
347 <tablecell colspan="" rowspan="">
348 </tablecell>
349 <tablecell colspan="" rowspan="">
350 </tablecell>
351 </tablerow>
352 <tablerow>
353 <tablecell colspan="" rowspan="">
354 <paragraph role="tablecontent" id="par_id3145096" xml-lang="en-US" l10n="U" oldref="81">After inserting AutoText</paragraph>
355 </tablecell>
356 <tablecell colspan="" rowspan="">
357 <paragraph role="tablecontent" id="par_id3149577" xml-lang="en-US" l10n="U" oldref="82">after AutoText is inserted</paragraph>
358 </tablecell>
359 <tablecell colspan="" rowspan="">
360 </tablecell>
361 <tablecell colspan="" rowspan="">
362 </tablecell>
363 <tablecell colspan="" rowspan="">
364 </tablecell>
365 <tablecell colspan="" rowspan="">
366 <paragraph role="tablecontent" id="par_id3156237" xml-lang="en-US" l10n="U" oldref="83">x</paragraph>
367 </tablecell>
368 <tablecell colspan="" rowspan="">
369 </tablecell>
370 <tablecell colspan="" rowspan="">
371 </tablecell>
372 </tablerow>
373 </table>
375 <paragraph role="note" id="par_id3159203" xml-lang="en-US" l10n="U" oldref="89">For events that are linked to controls in forms, see <link href="text/shared/02/01170103.xhp" name="Control properties">Control properties</link> or <link href="text/shared/02/01170202.xhp" name="Form properties">Form properties</link>.</paragraph>
376 <bookmark xml-lang="en-US" branch="hid/HID_MACRO_GROUP" id="bm_id4656819" localize="false"/>
377 <paragraph role="heading" id="hd_id3156030" xml-lang="en-US" level="2" l10n="U" oldref="5">Macros</paragraph>
378 <paragraph role="paragraph" id="par_id3156043" xml-lang="en-US" l10n="U" oldref="6"><ahelp hid=".">Specify the macro that executes when the selected event occurs.</ahelp></paragraph>
379 <paragraph role="paragraph" id="par_id3156058" xml-lang="en-US" l10n="U" oldref="84">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.<comment>???</comment></paragraph>
380 <paragraph role="heading" id="hd_id3149271" xml-lang="en-US" level="3" l10n="U" oldref="7">Category</paragraph>
381 <paragraph role="paragraph" id="par_id3149284" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="SFX2:TABPAGE:RID_SFX_TP_MACROASSIGN">Lists the $[officename] program and any open $[officename] document.</ahelp> Within this list, select the location where you want to save the macros.</paragraph>
382 <bookmark xml-lang="en-US" branch="hid/HID_MACRO_MACROS" id="bm_id3767815" localize="false"/>
383 <paragraph role="heading" id="hd_id3156441" xml-lang="en-US" level="3" l10n="U" oldref="9">Macro name</paragraph>
384 <paragraph role="paragraph" id="par_id3148458" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SFX2:TABPAGE:RID_SFX_TP_MACROASSIGN">Lists the available macros. Select the macro that you want to assign to the selected event, and then click <emph>Assign</emph>.</ahelp></paragraph>
385 <bookmark xml-lang="en-US" branch="hid/SFX2:PUSHBUTTON:RID_SFX_TP_MACROASSIGN:PB_ASSIGN" id="bm_id3145185" localize="false"/>
386 <bookmark xml-lang="en-US" branch="hid/SFX2:PUSHBUTTON:RID_SFX_SMALLTP_MACROASSIGN:PB_ASSIGN" id="bm_id3145184" localize="false"/>
387 <paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="11">Assign</paragraph>
388 <paragraph role="paragraph" id="par_id3145197" xml-lang="en-US" l10n="CHG" oldref="12"><ahelp hid="SFX2:PUSHBUTTON:RID_SFX_SMALLTP_MACROASSIGN:PB_ASSIGN">Assigns the selected macro to the selected event.</ahelp></paragraph>
389 <bookmark xml-lang="en-US" branch="hid/SFX2:PUSHBUTTON:RID_SFX_TP_MACROASSIGN:PB_DELETE" id="bm_id3150824" localize="false"/>
390 <bookmark xml-lang="en-US" branch="hid/SFX2:PUSHBUTTON:RID_SFX_SMALLTP_MACROASSIGN:PB_DELETE" id="bm_id3150822" localize="false"/>
391 <paragraph role="heading" id="hd_id3150811" xml-lang="en-US" level="2" l10n="U" oldref="15">Remove</paragraph>
392 <paragraph role="paragraph" id="par_id3150882" xml-lang="en-US" l10n="U" oldref="16"><variable id="aufheb"><ahelp hid="SFX2:PUSHBUTTON:RID_SFX_SMALLTP_MACROASSIGN:PB_DELETE">Removes the macro assignment from the selected entry.</ahelp>
393 </variable></paragraph>
394 </body>
395 </helpdocument>