1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
13 * This file is part of OpenOffice.org.
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org. If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
30 ************************************************************************/
39 ExecMethod = ChildWindowExecute ;
40 StateMethod = ChildWindowState ;
44 ExecMethod = ChildWindowExecute ;
45 StateMethod = ChildWindowState ;
49 ExecMethod = ChildWindowExecute ;
50 StateMethod = ChildWindowState ;
52 SID_NAVIGATOR // status(final|play)
54 ExecMethod = ChildWindowExecute ;
55 StateMethod = ChildWindowState ;
57 SID_SHOW_BROWSER // ole(no) api(final/play/rec)
59 ExecMethod = ChildWindowExecute ;
60 StateMethod = ChildWindowState ;
62 SID_BROWSER // ole(no) api()
64 ExecMethod = ChildWindowExecute ;
65 StateMethod = ChildWindowState ;
67 SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api()
69 ExecMethod = ChildWindowExecute ;
70 StateMethod = ChildWindowState ;
72 SID_PARTWIN // ole(no) api()
74 ExecMethod = ChildWindowExecute ;
75 StateMethod = ChildWindowState ;
77 SID_MAIL_CHILDWIN // ole(no) api()
79 ExecMethod = ChildWindowExecute ;
80 StateMethod = ChildWindowState ;
84 ExecMethod = ChildWindowExecute ;
85 StateMethod = ChildWindowState ;
87 SID_SEARCH_DLG // ole(no) api(final/play/rec)
89 ExecMethod = ChildWindowExecute ;
90 StateMethod = ChildWindowState ;
92 SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec)
94 ExecMethod = MiscExec_Impl ;
95 StateMethod = MiscState_Impl ;
97 SID_RECORDMACRO // ole(no) api(final/play/norec)
99 ExecMethod = MiscExec_Impl ;
100 StateMethod = MiscState_Impl ;
102 SID_STOP_RECORDING // ole(no) api(final/play/norec)
104 ExecMethod = MiscExec_Impl ;
105 StateMethod = MiscState_Impl ;
107 SID_STYLE_DESIGNER // ole(no) api(final/play/rec)
109 ExecMethod = ChildWindowExecute ;
110 StateMethod = ChildWindowState ;
112 SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec)
114 ExecMethod = ChildWindowExecute ;
115 StateMethod = ChildWindowState ;
118 // Pre-defined docking window slots (usable by internal docking windows)
121 ExecMethod = ChildWindowExecute ;
122 StateMethod = ChildWindowState ;
126 ExecMethod = ChildWindowExecute ;
127 StateMethod = ChildWindowState ;
131 ExecMethod = ChildWindowExecute ;
132 StateMethod = ChildWindowState ;
136 ExecMethod = ChildWindowExecute ;
137 StateMethod = ChildWindowState ;
141 ExecMethod = ChildWindowExecute ;
142 StateMethod = ChildWindowState ;
146 ExecMethod = ChildWindowExecute ;
147 StateMethod = ChildWindowState ;
151 ExecMethod = ChildWindowExecute ;
152 StateMethod = ChildWindowState ;
156 ExecMethod = ChildWindowExecute ;
157 StateMethod = ChildWindowState ;
161 ExecMethod = ChildWindowExecute ;
162 StateMethod = ChildWindowState ;
166 ExecMethod = ChildWindowExecute ;
167 StateMethod = ChildWindowState ;
170 You also have to make changes in:
172 - sfx2/source/dialog/dockwin.cxx
173 - sfx2/sdi/frmslots.sdi
174 - sfx2/inc/sfx2/sfxsids.hrc
178 ExecMethod = ChildWindowExecute ;
179 StateMethod = ChildWindowState ;
183 ExecMethod = ChildWindowExecute ;
184 StateMethod = ChildWindowState ;
188 ExecMethod = ChildWindowExecute ;
189 StateMethod = ChildWindowState ;
193 ExecMethod = ChildWindowExecute ;
194 StateMethod = ChildWindowState ;
198 ExecMethod = ChildWindowExecute ;
199 StateMethod = ChildWindowState ;
203 ExecMethod = ChildWindowExecute ;
204 StateMethod = ChildWindowState ;
208 ExecMethod = ChildWindowExecute ;
209 StateMethod = ChildWindowState ;
213 ExecMethod = ChildWindowExecute ;
214 StateMethod = ChildWindowState ;
218 ExecMethod = ChildWindowExecute ;
219 StateMethod = ChildWindowState ;
223 ExecMethod = ChildWindowExecute ;
224 StateMethod = ChildWindowState ;
228 ExecMethod = ChildWindowExecute ;
229 StateMethod = ChildWindowState ;
233 ExecMethod = ChildWindowExecute ;
234 StateMethod = ChildWindowState ;
238 ExecMethod = ChildWindowExecute ;
239 StateMethod = ChildWindowState ;
243 ExecMethod = ChildWindowExecute ;
244 StateMethod = ChildWindowState ;
248 ExecMethod = ChildWindowExecute ;
249 StateMethod = ChildWindowState ;
253 ExecMethod = ChildWindowExecute ;
254 StateMethod = ChildWindowState ;
258 ExecMethod = ChildWindowExecute ;
259 StateMethod = ChildWindowState ;
263 ExecMethod = ChildWindowExecute ;
264 StateMethod = ChildWindowState ;
268 ExecMethod = ChildWindowExecute ;
269 StateMethod = ChildWindowState ;
273 ExecMethod = ChildWindowExecute ;
274 StateMethod = ChildWindowState ;
277 // Window.GetFrameWindow( "Name" )
280 ExecMethod = ExecView_Impl;
283 // Nur f"ur Gestalter: Slot mu\s vorhanden sein
288 // Nur f"ur Gestalter: Slot mu\s vorhanden sein
289 SID_STYLE_DRAGHIERARCHIE
292 SID_CLEARHISTORY // ole(no) api(final/play/rec)
294 ExecMethod = ExecHistory_Impl ;
295 StateMethod = StateHistory_Impl ;
297 SID_UNDO // ole(no) api(final/play/rec)
299 ExecMethod = ExecHistory_Impl ;
300 StateMethod = StateHistory_Impl ;
302 SID_REDO // ole(no) api(final/play/rec)
304 ExecMethod = ExecHistory_Impl ;
305 StateMethod = StateHistory_Impl ;
307 SID_REPEAT // ole(no) api(final/play/rec)
309 ExecMethod = ExecHistory_Impl ;
310 StateMethod = StateHistory_Impl ;
312 SID_CURRENT_URL // ole(no) api(no)
314 StateMethod = MiscState_Impl ;
316 // Stringlist mit den Verben( SFX only )
317 SID_OBJECT // ole(no) api(no)
319 StateMethod = GetState_Impl ;
320 ExecMethod = ExecView_Impl ;
322 SID_TERMINATE_INPLACEACTIVATION
324 ExecMethod = ExecView_Impl ;
328 interface BrowseWindow : Window
333 SID_ACTIVATE // ole(no) api(final/play/rec)
335 // Implementierung in Subklassen
337 SID_NEWWINDOW // ole(no) api(play/rec)
339 ExecMethod = ExecView_Impl ;
340 StateMethod = StateView_Impl ;
342 SID_EDITDOC // ole(?opt) api(play/rec)
344 ExecMethod = ExecReload_Impl ;
345 StateMethod = StateReload_Impl ;
347 SID_RELOAD // ole(?opt) api(play/rec)
349 ExecMethod = ExecReload_Impl ;
350 StateMethod = StateReload_Impl ;
352 SID_VIEWSHELL // ole(no) api(no)
354 ExecMethod = ExecView_Impl ;
355 StateMethod = StateView_Impl ;
357 SID_VIEWSHELL0 // ole(no) api(no)
359 ExecMethod = ExecView_Impl ;
360 StateMethod = StateView_Impl ;
362 SID_VIEWSHELL1 // ole(no) api(no)
364 ExecMethod = ExecView_Impl ;
365 StateMethod = StateView_Impl ;
367 SID_VIEWSHELL2 // ole(no) api(no)
369 ExecMethod = ExecView_Impl ;
370 StateMethod = StateView_Impl ;
372 SID_VIEWSHELL3 // ole(no) api(no)
374 ExecMethod = ExecView_Impl ;
375 StateMethod = StateView_Impl ;
377 SID_VIEWSHELL4 // ole(no) api(no)
379 ExecMethod = ExecView_Impl ;
380 StateMethod = StateView_Impl ;
384 interface TopWindow : BrowseWindow
389 SID_NEWDOCDIRECT // ole(no) api(no)
391 ExecMethod = Exec_Impl ;
392 StateMethod = GetState_Impl ;
394 SID_WIN_FULLSCREEN // ole(no) api(final/play/rec)
396 ExecMethod = MiscExec_Impl ;
397 StateMethod = MiscState_Impl ;
399 SID_FRAMETITLE // ole(no) api(play/rec)
401 StateMethod = StateView_Impl ;
403 SID_WIN_POSSIZE // ole(no) api(final/play/rec)
405 ExecMethod = Exec_Impl ;
406 StateMethod = GetState_Impl ;
408 SID_CLOSEWIN // ole(no) api(final/play/rec)
410 ExecMethod = Exec_Impl ;
411 StateMethod = GetState_Impl ;
413 SID_BACKTOWEBTOP // ole(no) api(final/play/rec)
415 ExecMethod = Exec_Impl ;
416 StateMethod = GetState_Impl ;
418 SID_BROWSE_FORWARD // ole(no) api()
420 ExecMethod = INetExecute_Impl ;
421 StateMethod = INetState_Impl ;
423 SID_BROWSE_BACKWARD // ole(no) api()
425 ExecMethod = INetExecute_Impl ;
426 StateMethod = INetState_Impl ;
428 SID_CREATELINK // ole(no) api()
430 ExecMethod = INetExecute_Impl ;
431 StateMethod = INetState_Impl ;
433 SID_FOCUSURLBOX // ole(no) api(final/play/rec)
435 ExecMethod = INetExecute_Impl ;
436 StateMethod = INetState_Impl ;
438 SID_BROWSE_STOP // ole(no) api()
440 ExecMethod = INetExecute_Impl ;
441 StateMethod = INetState_Impl ;
446 //=========================================================================
450 import BrowseWindow [Automation];
454 StateMethod = MiscState_Impl ;