xref: /trunk/main/basctl/sdi/baside.sdi (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
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 BasicIDEView
29[
30    uuid = "D88DF7A2-EE63-11d0-89CA-008029E4B0B1";
31]
32{
33}
34
35shell BasicIDEShell
36{
37    import BasicIDEView [Automation];
38
39    // ========================================================
40    // Current, je nach aktuellem Fenster:
41    // ========================================================
42    SID_BASICIDE_HIDECURPAGE
43    [
44        ExecMethod  = ExecuteCurrent;
45        StateMethod = GetState;
46    ]
47
48    SID_BASICIDE_DELETECURRENT
49    [
50        ExecMethod  = ExecuteCurrent;
51        StateMethod = GetState;
52    ]
53
54    SID_BASICIDE_RENAMECURRENT
55    [
56        ExecMethod  = ExecuteCurrent;
57        StateMethod = GetState;
58    ]
59
60    SID_CUT
61    [
62        ExecMethod  = ExecuteCurrent;
63        StateMethod = GetState;
64    ]
65
66    SID_COPY
67    [
68        ExecMethod  = ExecuteCurrent;
69        StateMethod = GetState;
70    ]
71
72    SID_PASTE
73    [
74        ExecMethod  = ExecuteCurrent;
75        StateMethod = GetState;
76    ]
77
78    SID_UNDO
79    [
80        ExecMethod  = ExecuteCurrent;
81        StateMethod = GetState;
82    ]
83
84    SID_REDO
85    [
86        ExecMethod  = ExecuteCurrent;
87        StateMethod = GetState;
88    ]
89
90    SID_DELETE
91    [
92        ExecMethod  = ExecuteCurrent;
93        StateMethod = GetState;
94    ]
95
96    SID_BACKSPACE
97    [
98        ExecMethod  = ExecuteCurrent;
99        StateMethod = GetState;
100    ]
101
102    SID_SEARCH_OPTIONS
103    [
104        ExecMethod  = ExecuteCurrent;
105        StateMethod = GetState;
106    ]
107
108    SID_SEARCH_ITEM
109    [
110        ExecMethod  = ExecuteCurrent;
111        StateMethod = GetState;
112    ]
113
114    FID_SEARCH_NOW
115    [
116        ExecMethod  = ExecuteCurrent;
117        StateMethod = GetState;
118    ]
119
120    FID_SEARCH_OFF
121    [
122        ExecMethod  = ExecuteCurrent;
123        StateMethod = GetState;
124    ]
125
126    // ========================================================
127    // Global: Egal, welches Fenster gerade aktiv ist:
128    // ========================================================
129    SID_BASICIDE_LIBSELECTOR
130    [
131        StateMethod = GetState;
132    ]
133
134    SID_BASICIDE_LIBSELECTED
135    [
136        ExecMethod  = ExecuteGlobal;
137        StateMethod = GetState;
138    ]
139
140    SID_BASICIDE_LIBLOADED
141    [
142        ExecMethod  = ExecuteGlobal;
143        StateMethod = GetState;
144    ]
145
146    SID_BASICIDE_LIBREMOVED
147    [
148        ExecMethod  = ExecuteGlobal;
149        StateMethod = GetState;
150    ]
151
152    SID_BASICIDE_SBXDELETED
153    [
154        ExecMethod  = ExecuteGlobal;
155        StateMethod = GetState;
156    ]
157
158    SID_BASICIDE_SBXINSERTED
159    [
160        ExecMethod  = ExecuteGlobal;
161        StateMethod = GetState;
162    ]
163
164    SID_BASICIDE_SBXRENAMED
165    [
166        ExecMethod  = ExecuteGlobal;
167        StateMethod = GetState;
168    ]
169
170    SID_BASICIDE_SHOWSBX
171    [
172        ExecMethod  = ExecuteGlobal;
173        StateMethod = GetState;
174    ]
175
176    SID_NEWWINDOW
177    [
178        ExecMethod  = ExecuteGlobal;
179        StateMethod = GetState;
180    ]
181
182    SID_DOCINFO
183    [
184        ExecMethod  = ExecuteGlobal;
185        StateMethod = GetState;
186    ]
187
188    SID_SAVEDOC
189    [
190        ExecMethod  = ExecuteGlobal;
191        StateMethod = GetState;
192    ]
193
194    SID_SIGNATURE
195    [
196        ExecMethod  = ExecuteGlobal;
197        StateMethod = GetState;
198    ]
199
200    SID_SAVEASDOC
201    [
202        ExecMethod  = ExecuteGlobal;
203        StateMethod = GetState;
204    ]
205
206    // Ab hier normal...
207    SID_BASICIDE_CHOOSEMACRO
208    [
209        ExecMethod  = ExecuteGlobal;
210        StateMethod = GetState;
211    ]
212
213    SID_BASICIDE_MODULEDLG
214    [
215        ExecMethod  = ExecuteGlobal;
216        StateMethod = GetState;
217    ]
218
219    SID_BASICIDE_OBJCAT
220    [
221        ExecMethod  = ExecuteGlobal;
222        StateMethod = GetState;
223    ]
224
225    SID_BASICIDE_CREATEMACRO
226    [
227        ExecMethod  = ExecuteGlobal;
228        StateMethod = GetState;
229    ]
230
231    SID_BASICIDE_EDITMACRO
232    [
233        ExecMethod  = ExecuteGlobal;
234        StateMethod = GetState;
235    ]
236
237    SID_BASICIDE_NAMECHANGEDONTAB
238    [
239        ExecMethod  = ExecuteGlobal;
240        StateMethod = GetState;
241    ]
242
243    SID_BASICIDE_STOREMODULESOURCE
244    [
245        ExecMethod  = ExecuteGlobal;
246        StateMethod = GetState;
247    ]
248
249    SID_BASICIDE_STOREALLMODULESOURCES
250    [
251        ExecMethod  = ExecuteGlobal;
252        StateMethod = GetState;
253    ]
254
255    SID_BASICIDE_UPDATEMODULESOURCE
256    [
257        ExecMethod  = ExecuteGlobal;
258        StateMethod = GetState;
259    ]
260
261    SID_BASICIDE_UPDATEALLMODULESOURCES
262    [
263        ExecMethod  = ExecuteGlobal;
264        StateMethod = GetState;
265    ]
266
267    SID_BASICSTOP
268    [
269        ExecMethod  = ExecuteGlobal;
270        StateMethod = GetState;
271    ]
272
273    SID_BASICIDE_NEWMODULE
274    [
275        ExecMethod  = ExecuteGlobal;
276        StateMethod = GetState;
277    ]
278
279    SID_BASICIDE_NEWJAVAMODULE
280    [
281        ExecMethod  = ExecuteGlobal;
282        StateMethod = GetState;
283    ]
284
285    SID_BASICIDE_NEWDIALOG
286    [
287        ExecMethod  = ExecuteGlobal;
288        StateMethod = GetState;
289    ]
290
291    SID_SHOW_PROPERTYBROWSER
292    [
293        ExecMethod  = ExecuteGlobal;
294        StateMethod = GetState;
295    ]
296
297    SID_BASICIDE_SHOWWINDOW
298    [
299        ExecMethod  = ExecuteGlobal;
300    ]
301
302    SID_BASICIDE_MANAGE_LANG
303    [
304        ExecMethod  = ExecuteGlobal;
305        StateMethod = GetState;
306    ]
307
308    SID_BASICIDE_CURRENT_LANG
309    [
310        ExecMethod  = ExecuteGlobal;
311        StateMethod = GetState;
312    ]
313
314    // ========================================================
315    // Nur, wenn BasicFenster oben
316    // ========================================================
317    SID_BASICRUN
318    [
319        ExecMethod  = ExecuteBasic;
320        StateMethod = GetState;
321    ]
322
323    SID_BASICCOMPILE
324    [
325        ExecMethod  = ExecuteBasic;
326        StateMethod = GetState;
327    ]
328
329    SID_BASICLOAD
330    [
331        ExecMethod  = ExecuteBasic;
332        StateMethod = GetState;
333    ]
334
335    SID_BASICSAVEAS
336    [
337        ExecMethod  = ExecuteBasic;
338        StateMethod = GetState;
339    ]
340
341    SID_BASICIDE_MATCHGROUP
342    [
343        ExecMethod  = ExecuteBasic;
344        StateMethod = GetState;
345    ]
346
347    SID_BASICSTEPINTO
348    [
349        ExecMethod  = ExecuteBasic;
350        StateMethod = GetState;
351    ]
352
353    SID_BASICSTEPOVER
354    [
355        ExecMethod  = ExecuteBasic;
356        StateMethod = GetState;
357    ]
358
359    SID_BASICSTEPOUT
360    [
361        ExecMethod  = ExecuteBasic;
362        StateMethod = GetState;
363    ]
364
365    SID_BASICIDE_TOGGLEBRKPNT
366    [
367        ExecMethod  = ExecuteBasic;
368        StateMethod = GetState;
369    ]
370
371    SID_BASICIDE_MANAGEBRKPNTS
372    [
373        ExecMethod  = ExecuteBasic;
374        StateMethod = GetState;
375    ]
376
377    SID_BASICIDE_TOGGLEBRKPNTENABLED
378    [
379        ExecMethod  = ExecuteBasic;
380        StateMethod = GetState;
381    ]
382
383    SID_BASICIDE_ADDWATCH
384    [
385        ExecMethod  = ExecuteBasic;
386        StateMethod = GetState;
387    ]
388
389    SID_BASICIDE_REMOVEWATCH
390    [
391        ExecMethod  = ExecuteBasic;
392        StateMethod = GetState;
393    ]
394
395    SID_BASICIDE_BRKPNTSCHANGED
396    [
397        ExecMethod  = ExecuteBasic;
398        StateMethod = GetState;
399    ]
400
401    // ========================================================
402    // Nur, wenn Dialogfenster oben
403    // ========================================================
404    SID_CHOOSE_CONTROLS
405    [
406        ExecMethod      = ExecuteDialog;
407        StateMethod     = GetState;
408    ]
409
410    SID_EXPORT_DIALOG
411    [
412        ExecMethod      = ExecuteDialog;
413        StateMethod     = GetState;
414    ]
415
416    SID_IMPORT_DIALOG
417    [
418        ExecMethod      = ExecuteDialog;
419        StateMethod     = GetState;
420    ]
421
422    SID_DIALOG_TESTMODE
423    [
424        ExecMethod      = ExecuteDialog;
425        StateMethod     = GetState;
426    ]
427
428    SID_BASICIDE_STAT_POS
429    [
430        StateMethod = GetState;
431    ]
432
433    SID_BASICIDE_STAT_DATE
434    [
435        StateMethod = GetState;
436    ]
437
438    SID_BASICIDE_STAT_TITLE
439    [
440        StateMethod = GetState;
441    ]
442
443    SID_DOC_MODIFIED
444    [
445        StateMethod = GetState;
446    ]
447
448    SID_ATTR_INSERT
449    [
450        StateMethod = GetState;
451    ]
452
453    SID_ATTR_SIZE
454    [
455        StateMethod = GetState;
456    ]
457}
458
459interface BasicIDEDocument
460[
461    uuid = "D88DF7A1-EE63-11d0-89CA-008029E4B0B1";
462]
463{
464}
465
466shell BasicDocShell
467{
468    import BasicIDEDocument [Automation];
469}
470
471