xref: /aoo41x/main/sfx2/sdi/frmslots.sdi (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28interface Window
29[
30	Automation = FALSE ;
31]
32{
33	SID_HYPERLINK_INSERT
34	[
35		ExecMethod = ChildWindowExecute ;
36		StateMethod = ChildWindowState ;
37	]
38	SID_HYPERLINK_DIALOG
39	[
40		ExecMethod = ChildWindowExecute ;
41		StateMethod = ChildWindowState ;
42	]
43	SID_RUBY_DIALOG
44	[
45		ExecMethod = ChildWindowExecute ;
46		StateMethod = ChildWindowState ;
47	]
48	SID_NAVIGATOR // status(final|play)
49	[
50		ExecMethod = ChildWindowExecute ;
51		StateMethod = ChildWindowState ;
52	]
53	SID_TASKPANE // status(final|play)
54	[
55		ExecMethod = ChildWindowExecute ;
56		StateMethod = ChildWindowState ;
57	]
58	SID_SHOW_BROWSER // ole(no) api(final/play/rec)
59	[
60		ExecMethod = ChildWindowExecute ;
61		StateMethod = ChildWindowState ;
62	]
63	SID_BROWSER // ole(no) api()
64	[
65		ExecMethod = ChildWindowExecute ;
66		StateMethod = ChildWindowState ;
67	]
68    SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api()
69	[
70		ExecMethod = ChildWindowExecute ;
71		StateMethod = ChildWindowState ;
72	]
73	SID_PARTWIN // ole(no) api()
74	[
75		ExecMethod = ChildWindowExecute ;
76		StateMethod = ChildWindowState ;
77	]
78	SID_MAIL_CHILDWIN // ole(no) api()
79	[
80		ExecMethod = ChildWindowExecute ;
81		StateMethod = ChildWindowState ;
82	]
83	SID_TIPWINDOW
84	[
85		ExecMethod = ChildWindowExecute ;
86		StateMethod = ChildWindowState ;
87	]
88	SID_SEARCH_DLG // ole(no) api(final/play/rec)
89	[
90		ExecMethod = ChildWindowExecute ;
91		StateMethod = ChildWindowState ;
92	]
93	SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec)
94	[
95		ExecMethod = MiscExec_Impl ;
96		StateMethod = MiscState_Impl ;
97	]
98	SID_RECORDMACRO // ole(no) api(final/play/norec)
99	[
100        ExecMethod = MiscExec_Impl ;
101        StateMethod = MiscState_Impl ;
102	]
103    SID_STOP_RECORDING // ole(no) api(final/play/norec)
104	[
105        ExecMethod = MiscExec_Impl ;
106        StateMethod = MiscState_Impl ;
107	]
108	SID_STYLE_DESIGNER // ole(no) api(final/play/rec)
109	[
110		ExecMethod = ChildWindowExecute ;
111		StateMethod = ChildWindowState ;
112	]
113    SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec)
114	[
115		ExecMethod = ChildWindowExecute ;
116		StateMethod = ChildWindowState ;
117	]
118
119	// Pre-defined docking window slots (usable by internal docking windows)
120	SID_DOCKWIN_0
121	[
122		ExecMethod = ChildWindowExecute ;
123		StateMethod = ChildWindowState ;
124	]
125	SID_DOCKWIN_1
126	[
127		ExecMethod = ChildWindowExecute ;
128		StateMethod = ChildWindowState ;
129	]
130	SID_DOCKWIN_2
131	[
132		ExecMethod = ChildWindowExecute ;
133		StateMethod = ChildWindowState ;
134	]
135	SID_DOCKWIN_3
136	[
137		ExecMethod = ChildWindowExecute ;
138		StateMethod = ChildWindowState ;
139	]
140	SID_DOCKWIN_4
141	[
142		ExecMethod = ChildWindowExecute ;
143		StateMethod = ChildWindowState ;
144	]
145	SID_DOCKWIN_5
146	[
147		ExecMethod = ChildWindowExecute ;
148		StateMethod = ChildWindowState ;
149	]
150	SID_DOCKWIN_6
151	[
152		ExecMethod = ChildWindowExecute ;
153		StateMethod = ChildWindowState ;
154	]
155	SID_DOCKWIN_7
156	[
157		ExecMethod = ChildWindowExecute ;
158		StateMethod = ChildWindowState ;
159	]
160	SID_DOCKWIN_8
161	[
162		ExecMethod = ChildWindowExecute ;
163		StateMethod = ChildWindowState ;
164	]
165	SID_DOCKWIN_9
166	[
167		ExecMethod = ChildWindowExecute ;
168		StateMethod = ChildWindowState ;
169	]
170/*	Be careful!
171    You also have to make changes in:
172    - sfx2/sdi/sfx.sdi
173    - sfx2/source/dialog/dockwin.cxx
174    - sfx2/sdi/frmslots.sdi
175    - sfx2/inc/sfx2/sfxsids.hrc
176
177	SID_DOCKWIN_10
178	[
179		ExecMethod = ChildWindowExecute ;
180		StateMethod = ChildWindowState ;
181	]
182	SID_DOCKWIN_11
183	[
184		ExecMethod = ChildWindowExecute ;
185		StateMethod = ChildWindowState ;
186	]
187	SID_DOCKWIN_12
188	[
189		ExecMethod = ChildWindowExecute ;
190		StateMethod = ChildWindowState ;
191	]
192	SID_DOCKWIN_13
193	[
194		ExecMethod = ChildWindowExecute ;
195		StateMethod = ChildWindowState ;
196	]
197	SID_DOCKWIN_14
198	[
199		ExecMethod = ChildWindowExecute ;
200		StateMethod = ChildWindowState ;
201	]
202	SID_DOCKWIN_15
203	[
204		ExecMethod = ChildWindowExecute ;
205		StateMethod = ChildWindowState ;
206	]
207	SID_DOCKWIN_16
208	[
209		ExecMethod = ChildWindowExecute ;
210		StateMethod = ChildWindowState ;
211	]
212	SID_DOCKWIN_17
213	[
214		ExecMethod = ChildWindowExecute ;
215		StateMethod = ChildWindowState ;
216	]
217	SID_DOCKWIN_18
218	[
219		ExecMethod = ChildWindowExecute ;
220		StateMethod = ChildWindowState ;
221	]
222	SID_DOCKWIN_19
223	[
224		ExecMethod = ChildWindowExecute ;
225		StateMethod = ChildWindowState ;
226	]
227	SID_DOCKWIN_20
228	[
229		ExecMethod = ChildWindowExecute ;
230		StateMethod = ChildWindowState ;
231	]
232	SID_DOCKWIN_21
233	[
234		ExecMethod = ChildWindowExecute ;
235		StateMethod = ChildWindowState ;
236	]
237	SID_DOCKWIN_22
238	[
239		ExecMethod = ChildWindowExecute ;
240		StateMethod = ChildWindowState ;
241	]
242	SID_DOCKWIN_23
243	[
244		ExecMethod = ChildWindowExecute ;
245		StateMethod = ChildWindowState ;
246	]
247	SID_DOCKWIN_24
248	[
249		ExecMethod = ChildWindowExecute ;
250		StateMethod = ChildWindowState ;
251	]
252	SID_DOCKWIN_25
253	[
254		ExecMethod = ChildWindowExecute ;
255		StateMethod = ChildWindowState ;
256	]
257	SID_DOCKWIN_26
258	[
259		ExecMethod = ChildWindowExecute ;
260		StateMethod = ChildWindowState ;
261	]
262	SID_DOCKWIN_27
263	[
264		ExecMethod = ChildWindowExecute ;
265		StateMethod = ChildWindowState ;
266	]
267	SID_DOCKWIN_28
268	[
269		ExecMethod = ChildWindowExecute ;
270		StateMethod = ChildWindowState ;
271	]
272	SID_DOCKWIN_29
273	[
274		ExecMethod = ChildWindowExecute ;
275		StateMethod = ChildWindowState ;
276	]
277*/
278	// Window.GetFrameWindow( "Name" )
279	SID_FILLFRAME
280	[
281		ExecMethod = ExecView_Impl;
282	]
283
284	// Nur f"ur Gestalter: Slot mu\s vorhanden sein
285	SID_STYLE_NEW
286	[
287	]
288
289	// Nur f"ur Gestalter: Slot mu\s vorhanden sein
290	SID_STYLE_DRAGHIERARCHIE
291	[
292	]
293	SID_CLEARHISTORY // ole(no) api(final/play/rec)
294	[
295		ExecMethod = ExecHistory_Impl ;
296		StateMethod = StateHistory_Impl ;
297	]
298	SID_UNDO // ole(no) api(final/play/rec)
299	[
300		ExecMethod = ExecHistory_Impl ;
301		StateMethod = StateHistory_Impl ;
302	]
303	SID_REDO // ole(no) api(final/play/rec)
304	[
305		ExecMethod = ExecHistory_Impl ;
306		StateMethod = StateHistory_Impl ;
307	]
308	SID_REPEAT // ole(no) api(final/play/rec)
309	[
310		ExecMethod = ExecHistory_Impl ;
311		StateMethod = StateHistory_Impl ;
312	]
313    SID_CURRENT_URL // ole(no) api(no)
314	[
315        StateMethod = MiscState_Impl ;
316	]
317	// Stringlist mit den Verben( SFX only )
318	SID_OBJECT // ole(no) api(no)
319	[
320		StateMethod = GetState_Impl ;
321		ExecMethod = ExecView_Impl ;
322	]
323    SID_TERMINATE_INPLACEACTIVATION
324	[
325        ExecMethod = ExecView_Impl ;
326	]
327}
328
329interface BrowseWindow : Window
330[
331	Automation = FALSE ;
332]
333{
334	SID_ACTIVATE // ole(no) api(final/play/rec)
335	[
336		// Implementierung in Subklassen
337	]
338	SID_NEWWINDOW // ole(no) api(play/rec)
339	[
340		ExecMethod = ExecView_Impl ;
341		StateMethod = StateView_Impl ;
342	]
343	SID_EDITDOC // ole(?opt) api(play/rec)
344	[
345		ExecMethod = ExecReload_Impl ;
346		StateMethod = StateReload_Impl ;
347	]
348	SID_RELOAD // ole(?opt) api(play/rec)
349	[
350		ExecMethod = ExecReload_Impl ;
351		StateMethod = StateReload_Impl ;
352	]
353	SID_VIEWSHELL // ole(no) api(no)
354	[
355		ExecMethod = ExecView_Impl ;
356		StateMethod = StateView_Impl ;
357	]
358	SID_VIEWSHELL0 // ole(no) api(no)
359	[
360		ExecMethod = ExecView_Impl ;
361		StateMethod = StateView_Impl ;
362	]
363	SID_VIEWSHELL1 // ole(no) api(no)
364	[
365		ExecMethod = ExecView_Impl ;
366		StateMethod = StateView_Impl ;
367	]
368	SID_VIEWSHELL2 // ole(no) api(no)
369	[
370		ExecMethod = ExecView_Impl ;
371		StateMethod = StateView_Impl ;
372	]
373	SID_VIEWSHELL3 // ole(no) api(no)
374	[
375		ExecMethod = ExecView_Impl ;
376		StateMethod = StateView_Impl ;
377	]
378	SID_VIEWSHELL4 // ole(no) api(no)
379	[
380		ExecMethod = ExecView_Impl ;
381		StateMethod = StateView_Impl ;
382    ]
383}
384
385interface TopWindow : BrowseWindow
386[
387	Automation = FALSE ;
388]
389{
390	SID_NEWDOCDIRECT // ole(no) api(no)
391	[
392        ExecMethod = Exec_Impl ;
393        StateMethod = GetState_Impl ;
394	]
395	SID_WIN_FULLSCREEN // ole(no) api(final/play/rec)
396	[
397		ExecMethod = MiscExec_Impl ;
398		StateMethod = MiscState_Impl ;
399	]
400	SID_FRAMETITLE // ole(no) api(play/rec)
401	[
402		StateMethod = StateView_Impl ;
403	]
404	SID_CLOSEWIN // ole(no) api(final/play/rec)
405	[
406		ExecMethod = Exec_Impl ;
407		StateMethod = GetState_Impl ;
408	]
409	SID_BROWSE_FORWARD // ole(no) api()
410	[
411		ExecMethod = INetExecute_Impl ;
412		StateMethod = INetState_Impl ;
413	]
414	SID_BROWSE_BACKWARD // ole(no) api()
415	[
416		ExecMethod = INetExecute_Impl ;
417		StateMethod = INetState_Impl ;
418	]
419	SID_CREATELINK // ole(no) api()
420	[
421		ExecMethod = INetExecute_Impl ;
422		StateMethod = INetState_Impl ;
423	]
424	SID_FOCUSURLBOX // ole(no) api(final/play/rec)
425	[
426		ExecMethod = INetExecute_Impl ;
427		StateMethod = INetState_Impl ;
428	]
429}
430
431 //=========================================================================
432
433shell SfxViewFrame
434{
435    import TopWindow [Automation];
436
437    SID_FORMATMENUSTATE
438    [
439        StateMethod = MiscState_Impl ;
440    ]
441
442	SID_ACTIVATE // ole(no) api(final/play/rec)
443	[
444		ExecMethod = Exec_Impl ;
445		StateMethod = GetState_Impl ;
446	]
447
448    SID_SHOWPOPUPS
449    [
450		ExecMethod = Exec_Impl ;
451		StateMethod = GetState_Impl ;
452    ]
453}
454
455