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;
142 ExecMethod = ExecuteCurrent;
143 StateMethod = GetState;
147 // Global: Whatever, which window is currently active:
149 SID_BASICIDE_LIBSELECTOR
151 StateMethod = GetState;
154 SID_BASICIDE_LIBSELECTED
156 ExecMethod = ExecuteGlobal;
157 StateMethod = GetState;
160 SID_BASICIDE_LIBLOADED
162 ExecMethod = ExecuteGlobal;
163 StateMethod = GetState;
166 SID_BASICIDE_LIBREMOVED
168 ExecMethod = ExecuteGlobal;
169 StateMethod = GetState;
172 SID_BASICIDE_SBXDELETED
174 ExecMethod = ExecuteGlobal;
175 StateMethod = GetState;
178 SID_BASICIDE_SBXINSERTED
180 ExecMethod = ExecuteGlobal;
181 StateMethod = GetState;
184 SID_BASICIDE_SBXRENAMED
186 ExecMethod = ExecuteGlobal;
187 StateMethod = GetState;
192 ExecMethod = ExecuteGlobal;
193 StateMethod = GetState;
198 ExecMethod = ExecuteGlobal;
199 StateMethod = GetState;
204 ExecMethod = ExecuteGlobal;
205 StateMethod = GetState;
210 ExecMethod = ExecuteGlobal;
211 StateMethod = GetState;
216 ExecMethod = ExecuteGlobal;
217 StateMethod = GetState;
222 ExecMethod = ExecuteGlobal;
223 StateMethod = GetState;
228 ExecMethod = ExecuteGlobal;
229 StateMethod = GetState;
232 // From here on normal ...
233 SID_BASICIDE_CHOOSEMACRO
235 ExecMethod = ExecuteGlobal;
236 StateMethod = GetState;
239 SID_BASICIDE_MODULEDLG
241 ExecMethod = ExecuteGlobal;
242 StateMethod = GetState;
247 ExecMethod = ExecuteGlobal;
248 StateMethod = GetState;
253 ExecMethod = ExecuteGlobal;
254 StateMethod = GetState;
259 ExecMethod = ExecuteGlobal;
260 StateMethod = GetState;
263 SID_BASICIDE_CREATEMACRO
265 ExecMethod = ExecuteGlobal;
266 StateMethod = GetState;
269 SID_BASICIDE_EDITMACRO
271 ExecMethod = ExecuteGlobal;
272 StateMethod = GetState;
275 SID_BASICIDE_NAMECHANGEDONTAB
277 ExecMethod = ExecuteGlobal;
278 StateMethod = GetState;
281 SID_BASICIDE_STOREMODULESOURCE
283 ExecMethod = ExecuteGlobal;
284 StateMethod = GetState;
287 SID_BASICIDE_STOREALLMODULESOURCES
289 ExecMethod = ExecuteGlobal;
290 StateMethod = GetState;
293 SID_BASICIDE_UPDATEMODULESOURCE
295 ExecMethod = ExecuteGlobal;
296 StateMethod = GetState;
299 SID_BASICIDE_UPDATEALLMODULESOURCES
301 ExecMethod = ExecuteGlobal;
302 StateMethod = GetState;
307 ExecMethod = ExecuteGlobal;
308 StateMethod = GetState;
311 SID_BASICIDE_NEWMODULE
313 ExecMethod = ExecuteGlobal;
314 StateMethod = GetState;
317 SID_BASICIDE_NEWDIALOG
319 ExecMethod = ExecuteGlobal;
320 StateMethod = GetState;
323 SID_SHOW_PROPERTYBROWSER
325 ExecMethod = ExecuteGlobal;
326 StateMethod = GetState;
329 SID_BASICIDE_SHOWWINDOW
331 ExecMethod = ExecuteGlobal;
334 SID_BASICIDE_MANAGE_LANG
336 ExecMethod = ExecuteGlobal;
337 StateMethod = GetState;
340 SID_BASICIDE_CURRENT_LANG
342 ExecMethod = ExecuteGlobal;
343 StateMethod = GetState;
348 ExecMethod = ExecuteGlobal;
349 StateMethod = GetState;
354 ExecMethod = ExecuteGlobal;
355 StateMethod = GetState;
360 ExecMethod = ExecuteGlobal;
361 StateMethod = GetState;
364 SID_BASICIDE_CURRENT_ZOOM
366 StateMethod = GetState;
369 // Only, when BasicWindow up
373 ExecMethod = ExecuteBasic;
374 StateMethod = GetState;
379 ExecMethod = ExecuteBasic;
380 StateMethod = GetState;
385 ExecMethod = ExecuteBasic;
386 StateMethod = GetState;
391 ExecMethod = ExecuteBasic;
392 StateMethod = GetState;
395 SID_BASICIDE_MATCHGROUP
397 ExecMethod = ExecuteBasic;
398 StateMethod = GetState;
403 ExecMethod = ExecuteBasic;
404 StateMethod = GetState;
409 ExecMethod = ExecuteBasic;
410 StateMethod = GetState;
415 ExecMethod = ExecuteBasic;
416 StateMethod = GetState;
419 SID_BASICIDE_TOGGLEBRKPNT
421 ExecMethod = ExecuteBasic;
422 StateMethod = GetState;
425 SID_BASICIDE_MANAGEBRKPNTS
427 ExecMethod = ExecuteBasic;
428 StateMethod = GetState;
431 SID_BASICIDE_TOGGLEBRKPNTENABLED
433 ExecMethod = ExecuteBasic;
434 StateMethod = GetState;
437 SID_BASICIDE_ADDWATCH
439 ExecMethod = ExecuteBasic;
440 StateMethod = GetState;
443 SID_BASICIDE_REMOVEWATCH
445 ExecMethod = ExecuteBasic;
446 StateMethod = GetState;
449 SID_BASICIDE_BRKPNTSCHANGED
451 ExecMethod = ExecuteBasic;
452 StateMethod = GetState;
456 // Only, when dialog window up
460 StateMethod = GetState;
462 SID_INSERT_PUSHBUTTON
464 ExecMethod = ExecuteDialog;
465 StateMethod = GetState;
469 ExecMethod = ExecuteDialog;
470 StateMethod = GetState;
472 SID_INSERT_RADIOBUTTON
474 ExecMethod = ExecuteDialog;
475 StateMethod = GetState;
477 SID_INSERT_SPINBUTTON
479 ExecMethod = ExecuteDialog;
480 StateMethod = GetState;
484 ExecMethod = ExecuteDialog;
485 StateMethod = GetState;
489 ExecMethod = ExecuteDialog;
490 StateMethod = GetState;
494 ExecMethod = ExecuteDialog;
495 StateMethod = GetState;
499 ExecMethod = ExecuteDialog;
500 StateMethod = GetState;
504 ExecMethod = ExecuteDialog;
505 StateMethod = GetState;
507 SID_INSERT_HSCROLLBAR
509 ExecMethod = ExecuteDialog;
510 StateMethod = GetState;
512 SID_INSERT_VSCROLLBAR
514 ExecMethod = ExecuteDialog;
515 StateMethod = GetState;
519 ExecMethod = ExecuteDialog;
520 StateMethod = GetState;
522 SID_INSERT_IMAGECONTROL
524 ExecMethod = ExecuteDialog;
525 StateMethod = GetState;
527 SID_INSERT_PROGRESSBAR
529 ExecMethod = ExecuteDialog;
530 StateMethod = GetState;
532 SID_INSERT_HFIXEDLINE
534 ExecMethod = ExecuteDialog;
535 StateMethod = GetState;
537 SID_INSERT_VFIXEDLINE
539 ExecMethod = ExecuteDialog;
540 StateMethod = GetState;
544 ExecMethod = ExecuteDialog;
545 StateMethod = GetState;
549 ExecMethod = ExecuteDialog;
550 StateMethod = GetState;
552 SID_INSERT_NUMERICFIELD
554 ExecMethod = ExecuteDialog;
555 StateMethod = GetState;
557 SID_INSERT_CURRENCYFIELD
559 ExecMethod = ExecuteDialog;
560 StateMethod = GetState;
562 SID_INSERT_FORMATTEDFIELD
564 ExecMethod = ExecuteDialog;
565 StateMethod = GetState;
567 SID_INSERT_PATTERNFIELD
569 ExecMethod = ExecuteDialog;
570 StateMethod = GetState;
572 SID_INSERT_FILECONTROL
574 ExecMethod = ExecuteDialog;
575 StateMethod = GetState;
577 SID_INSERT_TREECONTROL
579 ExecMethod = ExecuteDialog;
580 StateMethod = GetState;
583 SID_INSERT_GRIDCONTROL
585 ExecMethod = ExecuteDialog;
586 StateMethod = GetState;
589 SID_INSERT_HYPERLINKCONTROL
591 ExecMethod = ExecuteDialog;
592 StateMethod = GetState;
597 ExecMethod = ExecuteDialog;
598 StateMethod = GetState;
603 ExecMethod = ExecuteDialog;
604 StateMethod = GetState;
609 ExecMethod = ExecuteDialog;
610 StateMethod = GetState;
613 SID_BASICIDE_STAT_POS
615 StateMethod = GetState;
618 SID_BASICIDE_STAT_DATE
620 StateMethod = GetState;
623 SID_BASICIDE_STAT_TITLE
625 StateMethod = GetState;
630 StateMethod = GetState;
635 StateMethod = GetState;
640 StateMethod = GetState;
643 SID_INSERT_FORM_RADIO
645 ExecMethod = ExecuteDialog;
646 StateMethod = GetState;
649 SID_INSERT_FORM_CHECK
651 ExecMethod = ExecuteDialog;
652 StateMethod = GetState;
657 ExecMethod = ExecuteDialog;
658 StateMethod = GetState;
661 SID_INSERT_FORM_COMBO
663 ExecMethod = ExecuteDialog;
664 StateMethod = GetState;
667 SID_INSERT_FORM_VSCROLL
669 ExecMethod = ExecuteDialog;
670 StateMethod = GetState;
673 SID_INSERT_FORM_HSCROLL
675 ExecMethod = ExecuteDialog;
676 StateMethod = GetState;
681 ExecMethod = ExecuteDialog;
682 StateMethod = GetState;
686 interface BasicIDEDocument
690 shell basctl_DocShell
692 import BasicIDEDocument;