LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / basctl / sdi / baside.sdi
blob192b6cdc06c4e2474a71417c6a66b03a8bb6fbec
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  */
19 interface BasicIDEView
23 shell basctl_Shell
25     import BasicIDEView;
28     // Current, according to current window:
30     SID_SHOWLINES
31     [
32         StateMethod = GetState;
33         ExecMethod  = ExecuteCurrent;
34     ]
36     SID_BASICIDE_HIDECURPAGE
37     [
38         ExecMethod  = ExecuteCurrent;
39         StateMethod = GetState;
40     ]
42     SID_BASICIDE_DELETECURRENT
43     [
44         ExecMethod  = ExecuteCurrent;
45         StateMethod = GetState;
46     ]
48     SID_BASICIDE_RENAMECURRENT
49     [
50         ExecMethod  = ExecuteCurrent;
51         StateMethod = GetState;
52     ]
54     SID_SELECTALL
55     [
56         ExecMethod  = ExecuteCurrent;
57         StateMethod = GetState;
58     ]
60     SID_CUT
61     [
62         ExecMethod  = ExecuteCurrent;
63         StateMethod = GetState;
64     ]
66     SID_COPY
67     [
68         ExecMethod  = ExecuteCurrent;
69         StateMethod = GetState;
70     ]
72     SID_PASTE
73     [
74         ExecMethod  = ExecuteCurrent;
75         StateMethod = GetState;
76     ]
78     SID_UNDO
79     [
80         ExecMethod  = ExecuteCurrent;
81         StateMethod = GetState;
82     ]
84     SID_REDO
85     [
86         ExecMethod  = ExecuteCurrent;
87         StateMethod = GetState;
88     ]
90     SID_DELETE
91     [
92         ExecMethod  = ExecuteCurrent;
93         StateMethod = GetState;
94     ]
96     SID_BACKSPACE
97     [
98         ExecMethod  = ExecuteCurrent;
99         StateMethod = GetState;
100     ]
102     SID_GOTOLINE
103     [
104         ExecMethod  = ExecuteCurrent;
105         StateMethod = GetState;
106     ]
109     // Search in IDE Basic
111     SID_SEARCH_OPTIONS
112     [
113         ExecMethod  = ExecuteSearch;
114         StateMethod = GetState;
115     ]
117     SID_SEARCH_ITEM
118     [
119         ExecMethod  = ExecuteSearch;
120         StateMethod = GetState;
121     ]
123     FID_SEARCH_NOW
124     [
125         ExecMethod  = ExecuteSearch;
126         StateMethod = GetState;
127     ]
129     SID_BASICIDE_REPEAT_SEARCH
130     [
131         ExecMethod  = ExecuteSearch;
132         StateMethod = GetState;
133     ]
135     FID_SEARCH_ON // status()
136     [
137         ExecMethod = ExecuteSearch;
138     ]
140     FID_SEARCH_OFF
141     [
142         ExecMethod  = ExecuteCurrent;
143         StateMethod = GetState;
144     ]
147     // Global: Whatever, which window is currently active:
149     SID_BASICIDE_LIBSELECTOR
150     [
151         StateMethod = GetState;
152     ]
154     SID_BASICIDE_LIBSELECTED
155     [
156         ExecMethod  = ExecuteGlobal;
157         StateMethod = GetState;
158     ]
160     SID_BASICIDE_LIBLOADED
161     [
162         ExecMethod  = ExecuteGlobal;
163         StateMethod = GetState;
164     ]
166     SID_BASICIDE_LIBREMOVED
167     [
168         ExecMethod  = ExecuteGlobal;
169         StateMethod = GetState;
170     ]
172     SID_BASICIDE_SBXDELETED
173     [
174         ExecMethod  = ExecuteGlobal;
175         StateMethod = GetState;
176     ]
178     SID_BASICIDE_SBXINSERTED
179     [
180         ExecMethod  = ExecuteGlobal;
181         StateMethod = GetState;
182     ]
184     SID_BASICIDE_SBXRENAMED
185     [
186         ExecMethod  = ExecuteGlobal;
187         StateMethod = GetState;
188     ]
190     SID_BASICIDE_SHOWSBX
191     [
192         ExecMethod  = ExecuteGlobal;
193         StateMethod = GetState;
194     ]
196     SID_NEWWINDOW
197     [
198         ExecMethod  = ExecuteGlobal;
199         StateMethod = GetState;
200     ]
202     SID_DOCINFO
203     [
204         ExecMethod  = ExecuteGlobal;
205         StateMethod = GetState;
206     ]
208     SID_NEWDOCDIRECT
209     [
210         ExecMethod  = ExecuteGlobal;
211         StateMethod = GetState;
212     ]
214     SID_SAVEDOC
215     [
216         ExecMethod  = ExecuteGlobal;
217         StateMethod = GetState;
218     ]
220     SID_SIGNATURE
221     [
222         ExecMethod  = ExecuteGlobal;
223         StateMethod = GetState;
224     ]
226     SID_SAVEASDOC
227     [
228         ExecMethod  = ExecuteGlobal;
229         StateMethod = GetState;
230     ]
232     // From here on normal ...
233     SID_BASICIDE_CHOOSEMACRO
234     [
235         ExecMethod  = ExecuteGlobal;
236         StateMethod = GetState;
237     ]
239     SID_BASICIDE_MODULEDLG
240     [
241         ExecMethod  = ExecuteGlobal;
242         StateMethod = GetState;
243     ]
245     SID_BASICIDE_OBJCAT
246     [
247         ExecMethod  = ExecuteGlobal;
248         StateMethod = GetState;
249     ]
251     SID_BASICIDE_CREATEMACRO
252     [
253         ExecMethod  = ExecuteGlobal;
254         StateMethod = GetState;
255     ]
257     SID_BASICIDE_EDITMACRO
258     [
259         ExecMethod  = ExecuteGlobal;
260         StateMethod = GetState;
261     ]
263     SID_BASICIDE_NAMECHANGEDONTAB
264     [
265         ExecMethod  = ExecuteGlobal;
266         StateMethod = GetState;
267     ]
269     SID_BASICIDE_STOREMODULESOURCE
270     [
271         ExecMethod  = ExecuteGlobal;
272         StateMethod = GetState;
273     ]
275     SID_BASICIDE_STOREALLMODULESOURCES
276     [
277         ExecMethod  = ExecuteGlobal;
278         StateMethod = GetState;
279     ]
281     SID_BASICIDE_UPDATEMODULESOURCE
282     [
283         ExecMethod  = ExecuteGlobal;
284         StateMethod = GetState;
285     ]
287     SID_BASICIDE_UPDATEALLMODULESOURCES
288     [
289         ExecMethod  = ExecuteGlobal;
290         StateMethod = GetState;
291     ]
293     SID_BASICSTOP
294     [
295         ExecMethod  = ExecuteGlobal;
296         StateMethod = GetState;
297     ]
299     SID_BASICIDE_NEWMODULE
300     [
301         ExecMethod  = ExecuteGlobal;
302         StateMethod = GetState;
303     ]
305     SID_BASICIDE_NEWDIALOG
306     [
307         ExecMethod  = ExecuteGlobal;
308         StateMethod = GetState;
309     ]
311     SID_SHOW_PROPERTYBROWSER
312     [
313         ExecMethod  = ExecuteGlobal;
314         StateMethod = GetState;
315     ]
317     SID_BASICIDE_SHOWWINDOW
318     [
319         ExecMethod  = ExecuteGlobal;
320     ]
322     SID_BASICIDE_MANAGE_LANG
323     [
324         ExecMethod  = ExecuteGlobal;
325         StateMethod = GetState;
326     ]
328     SID_BASICIDE_CURRENT_LANG
329     [
330         ExecMethod  = ExecuteGlobal;
331         StateMethod = GetState;
332     ]
335     // Only, when BasicWindow up
337     SID_BASICRUN
338     [
339         ExecMethod  = ExecuteBasic;
340         StateMethod = GetState;
341     ]
343     SID_BASICCOMPILE
344     [
345         ExecMethod  = ExecuteBasic;
346         StateMethod = GetState;
347     ]
349     SID_BASICLOAD
350     [
351         ExecMethod  = ExecuteBasic;
352         StateMethod = GetState;
353     ]
355     SID_BASICSAVEAS
356     [
357         ExecMethod  = ExecuteBasic;
358         StateMethod = GetState;
359     ]
361     SID_BASICIDE_MATCHGROUP
362     [
363         ExecMethod  = ExecuteBasic;
364         StateMethod = GetState;
365     ]
367     SID_BASICSTEPINTO
368     [
369         ExecMethod  = ExecuteBasic;
370         StateMethod = GetState;
371     ]
373     SID_BASICSTEPOVER
374     [
375         ExecMethod  = ExecuteBasic;
376         StateMethod = GetState;
377     ]
379     SID_BASICSTEPOUT
380     [
381         ExecMethod  = ExecuteBasic;
382         StateMethod = GetState;
383     ]
385     SID_BASICIDE_TOGGLEBRKPNT
386     [
387         ExecMethod  = ExecuteBasic;
388         StateMethod = GetState;
389     ]
391     SID_BASICIDE_MANAGEBRKPNTS
392     [
393         ExecMethod  = ExecuteBasic;
394         StateMethod = GetState;
395     ]
397     SID_BASICIDE_TOGGLEBRKPNTENABLED
398     [
399         ExecMethod  = ExecuteBasic;
400         StateMethod = GetState;
401     ]
403     SID_BASICIDE_ADDWATCH
404     [
405         ExecMethod  = ExecuteBasic;
406         StateMethod = GetState;
407     ]
409     SID_BASICIDE_REMOVEWATCH
410     [
411         ExecMethod  = ExecuteBasic;
412         StateMethod = GetState;
413     ]
415     SID_BASICIDE_BRKPNTSCHANGED
416     [
417         ExecMethod  = ExecuteBasic;
418         StateMethod = GetState;
419     ]
422     // Only, when dialog window up
424     SID_CHOOSE_CONTROLS
425     [
426         StateMethod     = GetState;
427     ]
428     SID_INSERT_PUSHBUTTON
429     [
430         ExecMethod      = ExecuteDialog;
431         StateMethod     = GetState;
432     ]
433     SID_INSERT_CHECKBOX
434     [
435         ExecMethod      = ExecuteDialog;
436         StateMethod     = GetState;
437     ]
438     SID_INSERT_RADIOBUTTON
439     [
440         ExecMethod      = ExecuteDialog;
441         StateMethod     = GetState;
442     ]
443     SID_INSERT_SPINBUTTON
444     [
445         ExecMethod      = ExecuteDialog;
446         StateMethod     = GetState;
447     ]
448     SID_INSERT_FIXEDTEXT
449     [
450         ExecMethod      = ExecuteDialog;
451         StateMethod     = GetState;
452     ]
453     SID_INSERT_GROUPBOX
454     [
455         ExecMethod      = ExecuteDialog;
456         StateMethod     = GetState;
457     ]
458     SID_INSERT_LISTBOX
459     [
460         ExecMethod      = ExecuteDialog;
461         StateMethod     = GetState;
462     ]
463     SID_INSERT_COMBOBOX
464     [
465         ExecMethod      = ExecuteDialog;
466         StateMethod     = GetState;
467     ]
468     SID_INSERT_EDIT
469     [
470         ExecMethod      = ExecuteDialog;
471         StateMethod     = GetState;
472     ]
473     SID_INSERT_HSCROLLBAR
474     [
475         ExecMethod      = ExecuteDialog;
476         StateMethod     = GetState;
477     ]
478     SID_INSERT_VSCROLLBAR
479     [
480         ExecMethod      = ExecuteDialog;
481         StateMethod     = GetState;
482     ]
483     SID_INSERT_SELECT
484     [
485         ExecMethod      = ExecuteDialog;
486         StateMethod     = GetState;
487     ]
488     SID_INSERT_IMAGECONTROL
489     [
490         ExecMethod      = ExecuteDialog;
491         StateMethod     = GetState;
492     ]
493     SID_INSERT_PROGRESSBAR
494     [
495         ExecMethod      = ExecuteDialog;
496         StateMethod     = GetState;
497     ]
498     SID_INSERT_HFIXEDLINE
499     [
500         ExecMethod      = ExecuteDialog;
501         StateMethod     = GetState;
502     ]
503     SID_INSERT_VFIXEDLINE
504     [
505         ExecMethod      = ExecuteDialog;
506         StateMethod     = GetState;
507     ]
508     SID_INSERT_DATEFIELD
509     [
510         ExecMethod      = ExecuteDialog;
511         StateMethod     = GetState;
512     ]
513     SID_INSERT_TIMEFIELD
514     [
515         ExecMethod      = ExecuteDialog;
516         StateMethod     = GetState;
517     ]
518     SID_INSERT_NUMERICFIELD
519     [
520         ExecMethod      = ExecuteDialog;
521         StateMethod     = GetState;
522     ]
523     SID_INSERT_CURRENCYFIELD
524     [
525         ExecMethod      = ExecuteDialog;
526         StateMethod     = GetState;
527     ]
528     SID_INSERT_FORMATTEDFIELD
529     [
530         ExecMethod      = ExecuteDialog;
531         StateMethod     = GetState;
532     ]
533     SID_INSERT_PATTERNFIELD
534     [
535         ExecMethod      = ExecuteDialog;
536         StateMethod     = GetState;
537     ]
538     SID_INSERT_FILECONTROL
539     [
540         ExecMethod      = ExecuteDialog;
541         StateMethod     = GetState;
542     ]
543     SID_INSERT_TREECONTROL
544     [
545         ExecMethod      = ExecuteDialog;
546         StateMethod     = GetState;
547     ]
549     SID_INSERT_GRIDCONTROL
550     [
551         ExecMethod      = ExecuteDialog;
552         StateMethod     = GetState;
553     ]
555     SID_INSERT_HYPERLINKCONTROL
556     [
557         ExecMethod      = ExecuteDialog;
558         StateMethod     = GetState;
559     ]
561     SID_EXPORT_DIALOG
562     [
563         ExecMethod      = ExecuteDialog;
564         StateMethod     = GetState;
565     ]
567     SID_IMPORT_DIALOG
568     [
569         ExecMethod      = ExecuteDialog;
570         StateMethod     = GetState;
571     ]
573     SID_DIALOG_TESTMODE
574     [
575         ExecMethod      = ExecuteDialog;
576         StateMethod     = GetState;
577     ]
579     SID_BASICIDE_STAT_POS
580     [
581         StateMethod = GetState;
582     ]
584     SID_BASICIDE_STAT_DATE
585     [
586         StateMethod = GetState;
587     ]
589     SID_BASICIDE_STAT_TITLE
590     [
591         StateMethod = GetState;
592     ]
594     SID_DOC_MODIFIED
595     [
596         StateMethod = GetState;
597     ]
599     SID_ATTR_INSERT
600     [
601         StateMethod = GetState;
602     ]
604     SID_ATTR_SIZE
605     [
606         StateMethod = GetState;
607     ]
609     SID_INSERT_FORM_RADIO
610     [
611         ExecMethod      = ExecuteDialog;
612         StateMethod     = GetState;
613     ]
615     SID_INSERT_FORM_CHECK
616     [
617         ExecMethod      = ExecuteDialog;
618         StateMethod     = GetState;
619     ]
621     SID_INSERT_FORM_LIST
622     [
623         ExecMethod      = ExecuteDialog;
624         StateMethod     = GetState;
625     ]
627     SID_INSERT_FORM_COMBO
628     [
629         ExecMethod      = ExecuteDialog;
630         StateMethod     = GetState;
631     ]
633     SID_INSERT_FORM_VSCROLL
634     [
635         ExecMethod      = ExecuteDialog;
636         StateMethod     = GetState;
637     ]
639     SID_INSERT_FORM_HSCROLL
640     [
641         ExecMethod      = ExecuteDialog;
642         StateMethod     = GetState;
643     ]
645     SID_INSERT_FORM_SPIN
646     [
647         ExecMethod      = ExecuteDialog;
648         StateMethod     = GetState;
649     ]
652 interface BasicIDEDocument
656 shell basctl_DocShell
658     import BasicIDEDocument;