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;
251 SID_BASICIDE_CREATEMACRO
253 ExecMethod = ExecuteGlobal;
254 StateMethod = GetState;
257 SID_BASICIDE_EDITMACRO
259 ExecMethod = ExecuteGlobal;
260 StateMethod = GetState;
263 SID_BASICIDE_NAMECHANGEDONTAB
265 ExecMethod = ExecuteGlobal;
266 StateMethod = GetState;
269 SID_BASICIDE_STOREMODULESOURCE
271 ExecMethod = ExecuteGlobal;
272 StateMethod = GetState;
275 SID_BASICIDE_STOREALLMODULESOURCES
277 ExecMethod = ExecuteGlobal;
278 StateMethod = GetState;
281 SID_BASICIDE_UPDATEMODULESOURCE
283 ExecMethod = ExecuteGlobal;
284 StateMethod = GetState;
287 SID_BASICIDE_UPDATEALLMODULESOURCES
289 ExecMethod = ExecuteGlobal;
290 StateMethod = GetState;
295 ExecMethod = ExecuteGlobal;
296 StateMethod = GetState;
299 SID_BASICIDE_NEWMODULE
301 ExecMethod = ExecuteGlobal;
302 StateMethod = GetState;
305 SID_BASICIDE_NEWDIALOG
307 ExecMethod = ExecuteGlobal;
308 StateMethod = GetState;
311 SID_SHOW_PROPERTYBROWSER
313 ExecMethod = ExecuteGlobal;
314 StateMethod = GetState;
317 SID_BASICIDE_SHOWWINDOW
319 ExecMethod = ExecuteGlobal;
322 SID_BASICIDE_MANAGE_LANG
324 ExecMethod = ExecuteGlobal;
325 StateMethod = GetState;
328 SID_BASICIDE_CURRENT_LANG
330 ExecMethod = ExecuteGlobal;
331 StateMethod = GetState;
335 // Only, when BasicWindow up
339 ExecMethod = ExecuteBasic;
340 StateMethod = GetState;
345 ExecMethod = ExecuteBasic;
346 StateMethod = GetState;
351 ExecMethod = ExecuteBasic;
352 StateMethod = GetState;
357 ExecMethod = ExecuteBasic;
358 StateMethod = GetState;
361 SID_BASICIDE_MATCHGROUP
363 ExecMethod = ExecuteBasic;
364 StateMethod = GetState;
369 ExecMethod = ExecuteBasic;
370 StateMethod = GetState;
375 ExecMethod = ExecuteBasic;
376 StateMethod = GetState;
381 ExecMethod = ExecuteBasic;
382 StateMethod = GetState;
385 SID_BASICIDE_TOGGLEBRKPNT
387 ExecMethod = ExecuteBasic;
388 StateMethod = GetState;
391 SID_BASICIDE_MANAGEBRKPNTS
393 ExecMethod = ExecuteBasic;
394 StateMethod = GetState;
397 SID_BASICIDE_TOGGLEBRKPNTENABLED
399 ExecMethod = ExecuteBasic;
400 StateMethod = GetState;
403 SID_BASICIDE_ADDWATCH
405 ExecMethod = ExecuteBasic;
406 StateMethod = GetState;
409 SID_BASICIDE_REMOVEWATCH
411 ExecMethod = ExecuteBasic;
412 StateMethod = GetState;
415 SID_BASICIDE_BRKPNTSCHANGED
417 ExecMethod = ExecuteBasic;
418 StateMethod = GetState;
422 // Only, when dialog window up
426 StateMethod = GetState;
428 SID_INSERT_PUSHBUTTON
430 ExecMethod = ExecuteDialog;
431 StateMethod = GetState;
435 ExecMethod = ExecuteDialog;
436 StateMethod = GetState;
438 SID_INSERT_RADIOBUTTON
440 ExecMethod = ExecuteDialog;
441 StateMethod = GetState;
443 SID_INSERT_SPINBUTTON
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;
470 ExecMethod = ExecuteDialog;
471 StateMethod = GetState;
473 SID_INSERT_HSCROLLBAR
475 ExecMethod = ExecuteDialog;
476 StateMethod = GetState;
478 SID_INSERT_VSCROLLBAR
480 ExecMethod = ExecuteDialog;
481 StateMethod = GetState;
485 ExecMethod = ExecuteDialog;
486 StateMethod = GetState;
488 SID_INSERT_IMAGECONTROL
490 ExecMethod = ExecuteDialog;
491 StateMethod = GetState;
493 SID_INSERT_PROGRESSBAR
495 ExecMethod = ExecuteDialog;
496 StateMethod = GetState;
498 SID_INSERT_HFIXEDLINE
500 ExecMethod = ExecuteDialog;
501 StateMethod = GetState;
503 SID_INSERT_VFIXEDLINE
505 ExecMethod = ExecuteDialog;
506 StateMethod = GetState;
510 ExecMethod = ExecuteDialog;
511 StateMethod = GetState;
515 ExecMethod = ExecuteDialog;
516 StateMethod = GetState;
518 SID_INSERT_NUMERICFIELD
520 ExecMethod = ExecuteDialog;
521 StateMethod = GetState;
523 SID_INSERT_CURRENCYFIELD
525 ExecMethod = ExecuteDialog;
526 StateMethod = GetState;
528 SID_INSERT_FORMATTEDFIELD
530 ExecMethod = ExecuteDialog;
531 StateMethod = GetState;
533 SID_INSERT_PATTERNFIELD
535 ExecMethod = ExecuteDialog;
536 StateMethod = GetState;
538 SID_INSERT_FILECONTROL
540 ExecMethod = ExecuteDialog;
541 StateMethod = GetState;
543 SID_INSERT_TREECONTROL
545 ExecMethod = ExecuteDialog;
546 StateMethod = GetState;
549 SID_INSERT_GRIDCONTROL
551 ExecMethod = ExecuteDialog;
552 StateMethod = GetState;
555 SID_INSERT_HYPERLINKCONTROL
557 ExecMethod = ExecuteDialog;
558 StateMethod = GetState;
563 ExecMethod = ExecuteDialog;
564 StateMethod = GetState;
569 ExecMethod = ExecuteDialog;
570 StateMethod = GetState;
575 ExecMethod = ExecuteDialog;
576 StateMethod = GetState;
579 SID_BASICIDE_STAT_POS
581 StateMethod = GetState;
584 SID_BASICIDE_STAT_DATE
586 StateMethod = GetState;
589 SID_BASICIDE_STAT_TITLE
591 StateMethod = GetState;
596 StateMethod = GetState;
601 StateMethod = GetState;
606 StateMethod = GetState;
609 SID_INSERT_FORM_RADIO
611 ExecMethod = ExecuteDialog;
612 StateMethod = GetState;
615 SID_INSERT_FORM_CHECK
617 ExecMethod = ExecuteDialog;
618 StateMethod = GetState;
623 ExecMethod = ExecuteDialog;
624 StateMethod = GetState;
627 SID_INSERT_FORM_COMBO
629 ExecMethod = ExecuteDialog;
630 StateMethod = GetState;
633 SID_INSERT_FORM_VSCROLL
635 ExecMethod = ExecuteDialog;
636 StateMethod = GetState;
639 SID_INSERT_FORM_HSCROLL
641 ExecMethod = ExecuteDialog;
642 StateMethod = GetState;
647 ExecMethod = ExecuteDialog;
648 StateMethod = GetState;
652 interface BasicIDEDocument
656 shell basctl_DocShell
658 import BasicIDEDocument;