2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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 .
19 interface BasicIDEView
28 // Current, according to current window:
32 StateMethod = GetState;
33 ExecMethod = ExecuteCurrent;
36 SID_BASICIDE_HIDECURPAGE
38 ExecMethod = ExecuteCurrent;
39 StateMethod = GetState;
42 SID_BASICIDE_DELETECURRENT
44 ExecMethod = ExecuteCurrent;
45 StateMethod = GetState;
48 SID_BASICIDE_RENAMECURRENT
50 ExecMethod = ExecuteCurrent;
51 StateMethod = GetState;
56 ExecMethod = ExecuteCurrent;
57 StateMethod = GetState;
62 ExecMethod = ExecuteCurrent;
63 StateMethod = GetState;
68 ExecMethod = ExecuteCurrent;
69 StateMethod = GetState;
74 ExecMethod = ExecuteCurrent;
75 StateMethod = GetState;
80 ExecMethod = ExecuteCurrent;
81 StateMethod = GetState;
86 ExecMethod = ExecuteCurrent;
87 StateMethod = GetState;
92 ExecMethod = ExecuteCurrent;
93 StateMethod = GetState;
98 ExecMethod = ExecuteCurrent;
99 StateMethod = GetState;
104 ExecMethod = ExecuteCurrent;
105 StateMethod = GetState;
109 // Search in IDE Basic
113 ExecMethod = ExecuteSearch;
114 StateMethod = GetState;
119 ExecMethod = ExecuteSearch;
120 StateMethod = GetState;
125 ExecMethod = ExecuteSearch;
126 StateMethod = GetState;
129 SID_BASICIDE_REPEAT_SEARCH
131 ExecMethod = ExecuteSearch;
132 StateMethod = GetState;
135 FID_SEARCH_ON // status()
137 ExecMethod = ExecuteSearch;
143 ExecMethod = ExecuteCurrent;
144 StateMethod = GetState;
148 // Global: Whatever, which window is currently active:
150 SID_BASICIDE_LIBSELECTOR
152 StateMethod = GetState;
155 SID_BASICIDE_LIBSELECTED
157 ExecMethod = ExecuteGlobal;
158 StateMethod = GetState;
161 SID_BASICIDE_LIBLOADED
163 ExecMethod = ExecuteGlobal;
164 StateMethod = GetState;
167 SID_BASICIDE_LIBREMOVED
169 ExecMethod = ExecuteGlobal;
170 StateMethod = GetState;
173 SID_BASICIDE_SBXDELETED
175 ExecMethod = ExecuteGlobal;
176 StateMethod = GetState;
179 SID_BASICIDE_SBXINSERTED
181 ExecMethod = ExecuteGlobal;
182 StateMethod = GetState;
185 SID_BASICIDE_SBXRENAMED
187 ExecMethod = ExecuteGlobal;
188 StateMethod = GetState;
193 ExecMethod = ExecuteGlobal;
194 StateMethod = GetState;
199 ExecMethod = ExecuteGlobal;
200 StateMethod = GetState;
205 ExecMethod = ExecuteGlobal;
206 StateMethod = GetState;
211 ExecMethod = ExecuteGlobal;
212 StateMethod = GetState;
217 ExecMethod = ExecuteGlobal;
218 StateMethod = GetState;
223 ExecMethod = ExecuteGlobal;
224 StateMethod = GetState;
227 // From here on normal ...
228 SID_BASICIDE_CHOOSEMACRO
230 ExecMethod = ExecuteGlobal;
231 StateMethod = GetState;
234 SID_BASICIDE_MODULEDLG
236 ExecMethod = ExecuteGlobal;
237 StateMethod = GetState;
242 ExecMethod = ExecuteGlobal;
243 StateMethod = GetState;
246 SID_BASICIDE_CREATEMACRO
248 ExecMethod = ExecuteGlobal;
249 StateMethod = GetState;
252 SID_BASICIDE_EDITMACRO
254 ExecMethod = ExecuteGlobal;
255 StateMethod = GetState;
258 SID_BASICIDE_NAMECHANGEDONTAB
260 ExecMethod = ExecuteGlobal;
261 StateMethod = GetState;
264 SID_BASICIDE_STOREMODULESOURCE
266 ExecMethod = ExecuteGlobal;
267 StateMethod = GetState;
270 SID_BASICIDE_STOREALLMODULESOURCES
272 ExecMethod = ExecuteGlobal;
273 StateMethod = GetState;
276 SID_BASICIDE_UPDATEMODULESOURCE
278 ExecMethod = ExecuteGlobal;
279 StateMethod = GetState;
282 SID_BASICIDE_UPDATEALLMODULESOURCES
284 ExecMethod = ExecuteGlobal;
285 StateMethod = GetState;
290 ExecMethod = ExecuteGlobal;
291 StateMethod = GetState;
294 SID_BASICIDE_NEWMODULE
296 ExecMethod = ExecuteGlobal;
297 StateMethod = GetState;
300 SID_BASICIDE_NEWDIALOG
302 ExecMethod = ExecuteGlobal;
303 StateMethod = GetState;
306 SID_SHOW_PROPERTYBROWSER
308 ExecMethod = ExecuteGlobal;
309 StateMethod = GetState;
312 SID_BASICIDE_SHOWWINDOW
314 ExecMethod = ExecuteGlobal;
317 SID_BASICIDE_MANAGE_LANG
319 ExecMethod = ExecuteGlobal;
320 StateMethod = GetState;
323 SID_BASICIDE_CURRENT_LANG
325 ExecMethod = ExecuteGlobal;
326 StateMethod = GetState;
330 // Only, when BasicWindow up
334 ExecMethod = ExecuteBasic;
335 StateMethod = GetState;
340 ExecMethod = ExecuteBasic;
341 StateMethod = GetState;
346 ExecMethod = ExecuteBasic;
347 StateMethod = GetState;
352 ExecMethod = ExecuteBasic;
353 StateMethod = GetState;
356 SID_BASICIDE_MATCHGROUP
358 ExecMethod = ExecuteBasic;
359 StateMethod = GetState;
364 ExecMethod = ExecuteBasic;
365 StateMethod = GetState;
370 ExecMethod = ExecuteBasic;
371 StateMethod = GetState;
376 ExecMethod = ExecuteBasic;
377 StateMethod = GetState;
380 SID_BASICIDE_TOGGLEBRKPNT
382 ExecMethod = ExecuteBasic;
383 StateMethod = GetState;
386 SID_BASICIDE_MANAGEBRKPNTS
388 ExecMethod = ExecuteBasic;
389 StateMethod = GetState;
392 SID_BASICIDE_TOGGLEBRKPNTENABLED
394 ExecMethod = ExecuteBasic;
395 StateMethod = GetState;
398 SID_BASICIDE_ADDWATCH
400 ExecMethod = ExecuteBasic;
401 StateMethod = GetState;
404 SID_BASICIDE_REMOVEWATCH
406 ExecMethod = ExecuteBasic;
407 StateMethod = GetState;
410 SID_BASICIDE_BRKPNTSCHANGED
412 ExecMethod = ExecuteBasic;
413 StateMethod = GetState;
417 // Only, when dialog window up
421 StateMethod = GetState;
423 SID_INSERT_PUSHBUTTON
425 ExecMethod = ExecuteDialog;
426 StateMethod = GetState;
430 ExecMethod = ExecuteDialog;
431 StateMethod = GetState;
433 SID_INSERT_RADIOBUTTON
435 ExecMethod = ExecuteDialog;
436 StateMethod = GetState;
438 SID_INSERT_SPINBUTTON
440 ExecMethod = ExecuteDialog;
441 StateMethod = GetState;
445 ExecMethod = ExecuteDialog;
446 StateMethod = GetState;
450 ExecMethod = ExecuteDialog;
451 StateMethod = GetState;
455 ExecMethod = ExecuteDialog;
456 StateMethod = GetState;
460 ExecMethod = ExecuteDialog;
461 StateMethod = GetState;
465 ExecMethod = ExecuteDialog;
466 StateMethod = GetState;
468 SID_INSERT_HSCROLLBAR
470 ExecMethod = ExecuteDialog;
471 StateMethod = GetState;
473 SID_INSERT_VSCROLLBAR
475 ExecMethod = ExecuteDialog;
476 StateMethod = GetState;
480 ExecMethod = ExecuteDialog;
481 StateMethod = GetState;
483 SID_INSERT_IMAGECONTROL
485 ExecMethod = ExecuteDialog;
486 StateMethod = GetState;
488 SID_INSERT_PROGRESSBAR
490 ExecMethod = ExecuteDialog;
491 StateMethod = GetState;
493 SID_INSERT_HFIXEDLINE
495 ExecMethod = ExecuteDialog;
496 StateMethod = GetState;
498 SID_INSERT_VFIXEDLINE
500 ExecMethod = ExecuteDialog;
501 StateMethod = GetState;
505 ExecMethod = ExecuteDialog;
506 StateMethod = GetState;
510 ExecMethod = ExecuteDialog;
511 StateMethod = GetState;
513 SID_INSERT_NUMERICFIELD
515 ExecMethod = ExecuteDialog;
516 StateMethod = GetState;
518 SID_INSERT_CURRENCYFIELD
520 ExecMethod = ExecuteDialog;
521 StateMethod = GetState;
523 SID_INSERT_FORMATTEDFIELD
525 ExecMethod = ExecuteDialog;
526 StateMethod = GetState;
528 SID_INSERT_PATTERNFIELD
530 ExecMethod = ExecuteDialog;
531 StateMethod = GetState;
533 SID_INSERT_FILECONTROL
535 ExecMethod = ExecuteDialog;
536 StateMethod = GetState;
538 SID_INSERT_TREECONTROL
540 ExecMethod = ExecuteDialog;
541 StateMethod = GetState;
546 ExecMethod = ExecuteDialog;
547 StateMethod = GetState;
552 ExecMethod = ExecuteDialog;
553 StateMethod = GetState;
558 ExecMethod = ExecuteDialog;
559 StateMethod = GetState;
562 SID_BASICIDE_STAT_POS
564 StateMethod = GetState;
567 SID_BASICIDE_STAT_DATE
569 StateMethod = GetState;
572 SID_BASICIDE_STAT_TITLE
574 StateMethod = GetState;
579 StateMethod = GetState;
584 StateMethod = GetState;
589 StateMethod = GetState;
592 SID_INSERT_FORM_RADIO
594 ExecMethod = ExecuteDialog;
595 StateMethod = GetState;
598 SID_INSERT_FORM_CHECK
600 ExecMethod = ExecuteDialog;
601 StateMethod = GetState;
606 ExecMethod = ExecuteDialog;
607 StateMethod = GetState;
610 SID_INSERT_FORM_COMBO
612 ExecMethod = ExecuteDialog;
613 StateMethod = GetState;
616 SID_INSERT_FORM_VSCROLL
618 ExecMethod = ExecuteDialog;
619 StateMethod = GetState;
622 SID_INSERT_FORM_HSCROLL
624 ExecMethod = ExecuteDialog;
625 StateMethod = GetState;
630 ExecMethod = ExecuteDialog;
631 StateMethod = GetState;
635 interface BasicIDEDocument
639 shell basctl_DocShell
641 import BasicIDEDocument;