1/*
2 * This file is part of the LibreOffice project.
3 *
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 *
8 * This file incorporates work covered by the following license notice:
9 *
10 *   Licensed to the Apache Software Foundation (ASF) under one or more
11 *   contributor license agreements. See the NOTICE file distributed
12 *   with this work for additional information regarding copyright
13 *   ownership. The ASF licenses this file to you under the Apache
14 *   License, Version 2.0 (the "License"); you may not use this file
15 *   except in compliance with the License. You may obtain a copy of
16 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17 */
18
19interface Window
20{
21    SID_HYPERLINK_DIALOG
22    [
23        ExecMethod = ChildWindowExecute ;
24        StateMethod = ChildWindowState ;
25    ]
26    SID_RUBY_DIALOG
27    [
28        ExecMethod = ChildWindowExecute ;
29        StateMethod = ChildWindowState ;
30    ]
31    SID_NAVIGATOR // status(final|play)
32    [
33        ExecMethod = ChildWindowExecute ;
34        StateMethod = ChildWindowState ;
35    ]
36    SID_INFOBAR // status(final|play)
37    [
38        ExecMethod = ChildWindowExecute ;
39        StateMethod = ChildWindowState ;
40    ]
41    SID_SIDEBAR // status(final|play)
42    [
43        ExecMethod = ChildWindowExecute ;
44        StateMethod = ChildWindowState ;
45    ]
46    SID_BROWSER // ole(no) api()
47    [
48        ExecMethod = ChildWindowExecute ;
49        StateMethod = ChildWindowState ;
50    ]
51    SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api()
52    [
53        ExecMethod = ChildWindowExecute ;
54        StateMethod = ChildWindowState ;
55    ]
56    SID_SEARCH_DLG // ole(no) api(final/play/rec)
57    [
58        ExecMethod = ChildWindowExecute ;
59        StateMethod = ChildWindowState ;
60    ]
61    SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec)
62    [
63        ExecMethod = MiscExec_Impl ;
64        StateMethod = MiscState_Impl ;
65    ]
66    SID_RECORDMACRO // ole(no) api(final/play/norec)
67    [
68        ExecMethod = MiscExec_Impl ;
69        StateMethod = MiscState_Impl ;
70    ]
71    SID_STOP_RECORDING // ole(no) api(final/play/norec)
72    [
73        ExecMethod = MiscExec_Impl ;
74        StateMethod = MiscState_Impl ;
75    ]
76    SID_STYLE_DESIGNER // ole(no) api(final/play/rec)
77    [
78        ExecMethod = ChildWindowExecute ;
79    ]
80    SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec)
81    [
82        ExecMethod = ChildWindowExecute ;
83        StateMethod = ChildWindowState ;
84    ]
85
86    // Pre-defined docking window slots (usable by internal docking windows)
87    SID_DOCKWIN_0
88    [
89        ExecMethod = ChildWindowExecute ;
90        StateMethod = ChildWindowState ;
91    ]
92    SID_DOCKWIN_1
93    [
94        ExecMethod = ChildWindowExecute ;
95        StateMethod = ChildWindowState ;
96    ]
97    SID_DOCKWIN_2
98    [
99        ExecMethod = ChildWindowExecute ;
100        StateMethod = ChildWindowState ;
101    ]
102    SID_DOCKWIN_3
103    [
104        ExecMethod = ChildWindowExecute ;
105        StateMethod = ChildWindowState ;
106    ]
107    SID_DOCKWIN_4
108    [
109        ExecMethod = ChildWindowExecute ;
110        StateMethod = ChildWindowState ;
111    ]
112    SID_DOCKWIN_5
113    [
114        ExecMethod = ChildWindowExecute ;
115        StateMethod = ChildWindowState ;
116    ]
117    SID_DOCKWIN_6
118    [
119        ExecMethod = ChildWindowExecute ;
120        StateMethod = ChildWindowState ;
121    ]
122    SID_DOCKWIN_7
123    [
124        ExecMethod = ChildWindowExecute ;
125        StateMethod = ChildWindowState ;
126    ]
127    SID_DOCKWIN_8
128    [
129        ExecMethod = ChildWindowExecute ;
130        StateMethod = ChildWindowState ;
131    ]
132    SID_DOCKWIN_9
133    [
134        ExecMethod = ChildWindowExecute ;
135        StateMethod = ChildWindowState ;
136    ]
137/*  Be careful!
138    You also have to make changes in:
139    - sfx2/sdi/sfx.sdi
140    - sfx2/source/dialog/dockwin.cxx
141    - sfx2/sdi/frmslots.sdi
142    - sfx2/inc/sfx2/sfxsids.hrc
143*/
144    // Window.GetFrameWindow( "Name" )
145    SID_FILLFRAME
146    [
147        ExecMethod = ExecView_Impl;
148    ]
149
150    // Only for Designers: Slot must be present
151    SID_STYLE_NEW
152    [
153    ]
154
155    // Only for Designers: Slot must be present
156    SID_STYLE_DRAGHIERARCHIE
157    [
158    ]
159    SID_CLEARHISTORY // ole(no) api(final/play/rec)
160    [
161        ExecMethod = ExecHistory_Impl ;
162        StateMethod = StateHistory_Impl ;
163    ]
164    SID_UNDO // ole(no) api(final/play/rec)
165    [
166        ExecMethod = ExecHistory_Impl ;
167        StateMethod = StateHistory_Impl ;
168    ]
169    SID_REDO // ole(no) api(final/play/rec)
170    [
171        ExecMethod = ExecHistory_Impl ;
172        StateMethod = StateHistory_Impl ;
173    ]
174    SID_REPEAT // ole(no) api(final/play/rec)
175    [
176        ExecMethod = ExecHistory_Impl ;
177        StateMethod = StateHistory_Impl ;
178    ]
179    SID_CURRENT_URL // ole(no) api(no)
180    [
181        StateMethod = MiscState_Impl ;
182    ]
183    // Stringlist with the verbs ( SFX only )
184    SID_OBJECT // ole(no) api(no)
185    [
186        StateMethod = GetState_Impl ;
187        ExecMethod = ExecView_Impl ;
188    ]
189    SID_TERMINATE_INPLACEACTIVATION
190    [
191        ExecMethod = ExecView_Impl ;
192    ]
193}
194
195interface BrowseWindow : Window
196{
197    SID_ACTIVATE // ole(no) api(final/play/rec)
198    [
199        // Implementations in Subclasses
200    ]
201    SID_NEWWINDOW // ole(no) api(play/rec)
202    [
203        ExecMethod = ExecView_Impl ;
204        StateMethod = StateView_Impl ;
205    ]
206    SID_EDITDOC // ole(?opt) api(play/rec)
207    [
208        ExecMethod = ExecReload_Impl ;
209        StateMethod = StateReload_Impl ;
210    ]
211    SID_READONLYDOC // ole(?opt) api(play/rec)
212    [
213        ExecMethod = ExecReload_Impl ;
214        StateMethod = StateReload_Impl ;
215    ]
216    SID_RELOAD // ole(?opt) api(play/rec)
217    [
218        ExecMethod = ExecReload_Impl ;
219        StateMethod = StateReload_Impl ;
220    ]
221    SID_VIEWSHELL // ole(no) api(no)
222    [
223        ExecMethod = ExecView_Impl ;
224        StateMethod = StateView_Impl ;
225    ]
226    SID_VIEWSHELL0 // ole(no) api(no)
227    [
228        ExecMethod = ExecView_Impl ;
229        StateMethod = StateView_Impl ;
230    ]
231    SID_VIEWSHELL1 // ole(no) api(no)
232    [
233        ExecMethod = ExecView_Impl ;
234        StateMethod = StateView_Impl ;
235    ]
236    SID_VIEWSHELL2 // ole(no) api(no)
237    [
238        ExecMethod = ExecView_Impl ;
239        StateMethod = StateView_Impl ;
240    ]
241    SID_VIEWSHELL3 // ole(no) api(no)
242    [
243        ExecMethod = ExecView_Impl ;
244        StateMethod = StateView_Impl ;
245    ]
246    SID_VIEWSHELL4 // ole(no) api(no)
247    [
248        ExecMethod = ExecView_Impl ;
249        StateMethod = StateView_Impl ;
250    ]
251}
252
253interface TopWindow : BrowseWindow
254{
255    SID_NEWDOCDIRECT // ole(no) api(no)
256    [
257        ExecMethod = Exec_Impl ;
258        StateMethod = GetState_Impl ;
259    ]
260    SID_WIN_FULLSCREEN // ole(no) api(final/play/rec)
261    [
262        ExecMethod = MiscExec_Impl ;
263        StateMethod = MiscState_Impl ;
264    ]
265    SID_CLOSEWIN // ole(no) api(final/play/rec)
266    [
267        ExecMethod = Exec_Impl ;
268        StateMethod = GetState_Impl ;
269    ]
270    SID_BROWSE_FORWARD // ole(no) api()
271    [
272        ExecMethod = INetExecute_Impl ;
273        StateMethod = INetState_Impl ;
274    ]
275    SID_BROWSE_BACKWARD // ole(no) api()
276    [
277        ExecMethod = INetExecute_Impl ;
278        StateMethod = INetState_Impl ;
279    ]
280    SID_CREATELINK // ole(no) api()
281    [
282        ExecMethod = INetExecute_Impl ;
283        StateMethod = INetState_Impl ;
284    ]
285    SID_FOCUSURLBOX // ole(no) api(final/play/rec)
286    [
287        ExecMethod = INetExecute_Impl ;
288        StateMethod = INetState_Impl ;
289    ]
290}
291
292
293
294shell SfxViewFrame
295{
296    import TopWindow;
297
298    SID_ACTIVATE // ole(no) api(final/play/rec)
299    [
300        ExecMethod = Exec_Impl ;
301        StateMethod = GetState_Impl ;
302    ]
303
304    SID_SHOWPOPUPS
305    [
306        ExecMethod = Exec_Impl ;
307        StateMethod = GetState_Impl ;
308    ]
309}
310
311