1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
35 ExecMethod = ChildWindowExecute ;
36 StateMethod = ChildWindowState ;
40 ExecMethod = ChildWindowExecute ;
41 StateMethod = ChildWindowState ;
43 SID_NAVIGATOR // status(final|play)
45 ExecMethod = ChildWindowExecute ;
46 StateMethod = ChildWindowState ;
48 SID_TASKPANE // status(final|play)
50 ExecMethod = ChildWindowExecute ;
51 StateMethod = ChildWindowState ;
53 SID_SHOW_BROWSER // ole(no) api(final/play/rec)
55 ExecMethod = ChildWindowExecute ;
56 StateMethod = ChildWindowState ;
58 SID_BROWSER // ole(no) api()
60 ExecMethod = ChildWindowExecute ;
61 StateMethod = ChildWindowState ;
63 SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api()
65 ExecMethod = ChildWindowExecute ;
66 StateMethod = ChildWindowState ;
68 SID_PARTWIN // ole(no) api()
70 ExecMethod = ChildWindowExecute ;
71 StateMethod = ChildWindowState ;
73 SID_MAIL_CHILDWIN // ole(no) api()
75 ExecMethod = ChildWindowExecute ;
76 StateMethod = ChildWindowState ;
80 ExecMethod = ChildWindowExecute ;
81 StateMethod = ChildWindowState ;
83 SID_SEARCH_DLG // ole(no) api(final/play/rec)
85 ExecMethod = ChildWindowExecute ;
86 StateMethod = ChildWindowState ;
88 SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec)
90 ExecMethod = MiscExec_Impl ;
91 StateMethod = MiscState_Impl ;
93 SID_RECORDMACRO // ole(no) api(final/play/norec)
95 ExecMethod = MiscExec_Impl ;
96 StateMethod = MiscState_Impl ;
98 SID_STOP_RECORDING // ole(no) api(final/play/norec)
100 ExecMethod = MiscExec_Impl ;
101 StateMethod = MiscState_Impl ;
103 SID_STYLE_DESIGNER // ole(no) api(final/play/rec)
105 ExecMethod = ChildWindowExecute ;
106 StateMethod = ChildWindowState ;
108 SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec)
110 ExecMethod = ChildWindowExecute ;
111 StateMethod = ChildWindowState ;
114 // Pre-defined docking window slots (usable by internal docking windows)
117 ExecMethod = ChildWindowExecute ;
118 StateMethod = ChildWindowState ;
122 ExecMethod = ChildWindowExecute ;
123 StateMethod = ChildWindowState ;
127 ExecMethod = ChildWindowExecute ;
128 StateMethod = ChildWindowState ;
132 ExecMethod = ChildWindowExecute ;
133 StateMethod = ChildWindowState ;
137 ExecMethod = ChildWindowExecute ;
138 StateMethod = ChildWindowState ;
142 ExecMethod = ChildWindowExecute ;
143 StateMethod = ChildWindowState ;
147 ExecMethod = ChildWindowExecute ;
148 StateMethod = ChildWindowState ;
152 ExecMethod = ChildWindowExecute ;
153 StateMethod = ChildWindowState ;
157 ExecMethod = ChildWindowExecute ;
158 StateMethod = ChildWindowState ;
162 ExecMethod = ChildWindowExecute ;
163 StateMethod = ChildWindowState ;
166 You also have to make changes in:
168 - sfx2/source/dialog/dockwin.cxx
169 - sfx2/sdi/frmslots.sdi
170 - sfx2/inc/sfx2/sfxsids.hrc
174 ExecMethod = ChildWindowExecute ;
175 StateMethod = ChildWindowState ;
179 ExecMethod = ChildWindowExecute ;
180 StateMethod = ChildWindowState ;
184 ExecMethod = ChildWindowExecute ;
185 StateMethod = ChildWindowState ;
189 ExecMethod = ChildWindowExecute ;
190 StateMethod = ChildWindowState ;
194 ExecMethod = ChildWindowExecute ;
195 StateMethod = ChildWindowState ;
199 ExecMethod = ChildWindowExecute ;
200 StateMethod = ChildWindowState ;
204 ExecMethod = ChildWindowExecute ;
205 StateMethod = ChildWindowState ;
209 ExecMethod = ChildWindowExecute ;
210 StateMethod = ChildWindowState ;
214 ExecMethod = ChildWindowExecute ;
215 StateMethod = ChildWindowState ;
219 ExecMethod = ChildWindowExecute ;
220 StateMethod = ChildWindowState ;
224 ExecMethod = ChildWindowExecute ;
225 StateMethod = ChildWindowState ;
229 ExecMethod = ChildWindowExecute ;
230 StateMethod = ChildWindowState ;
234 ExecMethod = ChildWindowExecute ;
235 StateMethod = ChildWindowState ;
239 ExecMethod = ChildWindowExecute ;
240 StateMethod = ChildWindowState ;
244 ExecMethod = ChildWindowExecute ;
245 StateMethod = ChildWindowState ;
249 ExecMethod = ChildWindowExecute ;
250 StateMethod = ChildWindowState ;
254 ExecMethod = ChildWindowExecute ;
255 StateMethod = ChildWindowState ;
259 ExecMethod = ChildWindowExecute ;
260 StateMethod = ChildWindowState ;
264 ExecMethod = ChildWindowExecute ;
265 StateMethod = ChildWindowState ;
269 ExecMethod = ChildWindowExecute ;
270 StateMethod = ChildWindowState ;
273 // Window.GetFrameWindow( "Name" )
276 ExecMethod = ExecView_Impl;
279 // Only for Designers: Slot must be present
284 // Only for Designers: Slot must be present
285 SID_STYLE_DRAGHIERARCHIE
288 SID_CLEARHISTORY // ole(no) api(final/play/rec)
290 ExecMethod = ExecHistory_Impl ;
291 StateMethod = StateHistory_Impl ;
293 SID_UNDO // ole(no) api(final/play/rec)
295 ExecMethod = ExecHistory_Impl ;
296 StateMethod = StateHistory_Impl ;
298 SID_REDO // ole(no) api(final/play/rec)
300 ExecMethod = ExecHistory_Impl ;
301 StateMethod = StateHistory_Impl ;
303 SID_REPEAT // ole(no) api(final/play/rec)
305 ExecMethod = ExecHistory_Impl ;
306 StateMethod = StateHistory_Impl ;
308 SID_CURRENT_URL // ole(no) api(no)
310 StateMethod = MiscState_Impl ;
312 // Stringlist mit den Verben( SFX only )
313 SID_OBJECT // ole(no) api(no)
315 StateMethod = GetState_Impl ;
316 ExecMethod = ExecView_Impl ;
318 SID_TERMINATE_INPLACEACTIVATION
320 ExecMethod = ExecView_Impl ;
324 interface BrowseWindow : Window
329 SID_ACTIVATE // ole(no) api(final/play/rec)
331 // Implementations in Subclasses
333 SID_NEWWINDOW // ole(no) api(play/rec)
335 ExecMethod = ExecView_Impl ;
336 StateMethod = StateView_Impl ;
338 SID_EDITDOC // ole(?opt) api(play/rec)
340 ExecMethod = ExecReload_Impl ;
341 StateMethod = StateReload_Impl ;
343 SID_RELOAD // ole(?opt) api(play/rec)
345 ExecMethod = ExecReload_Impl ;
346 StateMethod = StateReload_Impl ;
348 SID_VIEWSHELL // ole(no) api(no)
350 ExecMethod = ExecView_Impl ;
351 StateMethod = StateView_Impl ;
353 SID_VIEWSHELL0 // ole(no) api(no)
355 ExecMethod = ExecView_Impl ;
356 StateMethod = StateView_Impl ;
358 SID_VIEWSHELL1 // ole(no) api(no)
360 ExecMethod = ExecView_Impl ;
361 StateMethod = StateView_Impl ;
363 SID_VIEWSHELL2 // ole(no) api(no)
365 ExecMethod = ExecView_Impl ;
366 StateMethod = StateView_Impl ;
368 SID_VIEWSHELL3 // ole(no) api(no)
370 ExecMethod = ExecView_Impl ;
371 StateMethod = StateView_Impl ;
373 SID_VIEWSHELL4 // ole(no) api(no)
375 ExecMethod = ExecView_Impl ;
376 StateMethod = StateView_Impl ;
380 interface TopWindow : BrowseWindow
385 SID_NEWDOCDIRECT // ole(no) api(no)
387 ExecMethod = Exec_Impl ;
388 StateMethod = GetState_Impl ;
390 SID_WIN_FULLSCREEN // ole(no) api(final/play/rec)
392 ExecMethod = MiscExec_Impl ;
393 StateMethod = MiscState_Impl ;
395 SID_CLOSEWIN // ole(no) api(final/play/rec)
397 ExecMethod = Exec_Impl ;
398 StateMethod = GetState_Impl ;
400 SID_BROWSE_FORWARD // ole(no) api()
402 ExecMethod = INetExecute_Impl ;
403 StateMethod = INetState_Impl ;
405 SID_BROWSE_BACKWARD // ole(no) api()
407 ExecMethod = INetExecute_Impl ;
408 StateMethod = INetState_Impl ;
410 SID_CREATELINK // ole(no) api()
412 ExecMethod = INetExecute_Impl ;
413 StateMethod = INetState_Impl ;
415 SID_FOCUSURLBOX // ole(no) api(final/play/rec)
417 ExecMethod = INetExecute_Impl ;
418 StateMethod = INetState_Impl ;
422 //=========================================================================
426 import TopWindow [Automation];
430 StateMethod = MiscState_Impl ;
433 SID_ACTIVATE // ole(no) api(final/play/rec)
435 ExecMethod = Exec_Impl ;
436 StateMethod = GetState_Impl ;
441 ExecMethod = Exec_Impl ;
442 StateMethod = GetState_Impl ;