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;
110 ExecMethod = ExecuteCurrent;
111 StateMethod = GetState;
116 ExecMethod = ExecuteCurrent;
117 StateMethod = GetState;
122 ExecMethod = ExecuteCurrent;
123 StateMethod = GetState;
128 ExecMethod = ExecuteCurrent;
129 StateMethod = GetState;
133 // Global: Whatever, which window is currently active:
135 SID_BASICIDE_LIBSELECTOR
137 StateMethod = GetState;
140 SID_BASICIDE_LIBSELECTED
142 ExecMethod = ExecuteGlobal;
143 StateMethod = GetState;
146 SID_BASICIDE_LIBLOADED
148 ExecMethod = ExecuteGlobal;
149 StateMethod = GetState;
152 SID_BASICIDE_LIBREMOVED
154 ExecMethod = ExecuteGlobal;
155 StateMethod = GetState;
158 SID_BASICIDE_SBXDELETED
160 ExecMethod = ExecuteGlobal;
161 StateMethod = GetState;
164 SID_BASICIDE_SBXINSERTED
166 ExecMethod = ExecuteGlobal;
167 StateMethod = GetState;
170 SID_BASICIDE_SBXRENAMED
172 ExecMethod = ExecuteGlobal;
173 StateMethod = GetState;
178 ExecMethod = ExecuteGlobal;
179 StateMethod = GetState;
184 ExecMethod = ExecuteGlobal;
185 StateMethod = GetState;
190 ExecMethod = ExecuteGlobal;
191 StateMethod = GetState;
196 ExecMethod = ExecuteGlobal;
197 StateMethod = GetState;
202 ExecMethod = ExecuteGlobal;
203 StateMethod = GetState;
208 ExecMethod = ExecuteGlobal;
209 StateMethod = GetState;
212 // From here on normal ...
213 SID_BASICIDE_CHOOSEMACRO
215 ExecMethod = ExecuteGlobal;
216 StateMethod = GetState;
219 SID_BASICIDE_MODULEDLG
221 ExecMethod = ExecuteGlobal;
222 StateMethod = GetState;
227 ExecMethod = ExecuteGlobal;
228 StateMethod = GetState;
231 SID_BASICIDE_CREATEMACRO
233 ExecMethod = ExecuteGlobal;
234 StateMethod = GetState;
237 SID_BASICIDE_EDITMACRO
239 ExecMethod = ExecuteGlobal;
240 StateMethod = GetState;
243 SID_BASICIDE_NAMECHANGEDONTAB
245 ExecMethod = ExecuteGlobal;
246 StateMethod = GetState;
249 SID_BASICIDE_STOREMODULESOURCE
251 ExecMethod = ExecuteGlobal;
252 StateMethod = GetState;
255 SID_BASICIDE_STOREALLMODULESOURCES
257 ExecMethod = ExecuteGlobal;
258 StateMethod = GetState;
261 SID_BASICIDE_UPDATEMODULESOURCE
263 ExecMethod = ExecuteGlobal;
264 StateMethod = GetState;
267 SID_BASICIDE_UPDATEALLMODULESOURCES
269 ExecMethod = ExecuteGlobal;
270 StateMethod = GetState;
275 ExecMethod = ExecuteGlobal;
276 StateMethod = GetState;
279 SID_BASICIDE_NEWMODULE
281 ExecMethod = ExecuteGlobal;
282 StateMethod = GetState;
285 SID_BASICIDE_NEWDIALOG
287 ExecMethod = ExecuteGlobal;
288 StateMethod = GetState;
291 SID_SHOW_PROPERTYBROWSER
293 ExecMethod = ExecuteGlobal;
294 StateMethod = GetState;
297 SID_BASICIDE_SHOWWINDOW
299 ExecMethod = ExecuteGlobal;
302 SID_BASICIDE_MANAGE_LANG
304 ExecMethod = ExecuteGlobal;
305 StateMethod = GetState;
308 SID_BASICIDE_CURRENT_LANG
310 ExecMethod = ExecuteGlobal;
311 StateMethod = GetState;
315 // Only, when BasicWindow up
319 ExecMethod = ExecuteBasic;
320 StateMethod = GetState;
325 ExecMethod = ExecuteBasic;
326 StateMethod = GetState;
331 ExecMethod = ExecuteBasic;
332 StateMethod = GetState;
337 ExecMethod = ExecuteBasic;
338 StateMethod = GetState;
341 SID_BASICIDE_MATCHGROUP
343 ExecMethod = ExecuteBasic;
344 StateMethod = GetState;
349 ExecMethod = ExecuteBasic;
350 StateMethod = GetState;
355 ExecMethod = ExecuteBasic;
356 StateMethod = GetState;
361 ExecMethod = ExecuteBasic;
362 StateMethod = GetState;
365 SID_BASICIDE_TOGGLEBRKPNT
367 ExecMethod = ExecuteBasic;
368 StateMethod = GetState;
371 SID_BASICIDE_MANAGEBRKPNTS
373 ExecMethod = ExecuteBasic;
374 StateMethod = GetState;
377 SID_BASICIDE_TOGGLEBRKPNTENABLED
379 ExecMethod = ExecuteBasic;
380 StateMethod = GetState;
383 SID_BASICIDE_ADDWATCH
385 ExecMethod = ExecuteBasic;
386 StateMethod = GetState;
389 SID_BASICIDE_REMOVEWATCH
391 ExecMethod = ExecuteBasic;
392 StateMethod = GetState;
395 SID_BASICIDE_BRKPNTSCHANGED
397 ExecMethod = ExecuteBasic;
398 StateMethod = GetState;
402 // Only, when dialog window up
406 StateMethod = GetState;
408 SID_INSERT_PUSHBUTTON
410 ExecMethod = ExecuteDialog;
411 StateMethod = GetState;
415 ExecMethod = ExecuteDialog;
416 StateMethod = GetState;
418 SID_INSERT_RADIOBUTTON
420 ExecMethod = ExecuteDialog;
421 StateMethod = GetState;
423 SID_INSERT_SPINBUTTON
425 ExecMethod = ExecuteDialog;
426 StateMethod = GetState;
430 ExecMethod = ExecuteDialog;
431 StateMethod = GetState;
435 ExecMethod = ExecuteDialog;
436 StateMethod = GetState;
440 ExecMethod = ExecuteDialog;
441 StateMethod = GetState;
445 ExecMethod = ExecuteDialog;
446 StateMethod = GetState;
450 ExecMethod = ExecuteDialog;
451 StateMethod = GetState;
453 SID_INSERT_HSCROLLBAR
455 ExecMethod = ExecuteDialog;
456 StateMethod = GetState;
458 SID_INSERT_VSCROLLBAR
460 ExecMethod = ExecuteDialog;
461 StateMethod = GetState;
465 ExecMethod = ExecuteDialog;
466 StateMethod = GetState;
468 SID_INSERT_IMAGECONTROL
470 ExecMethod = ExecuteDialog;
471 StateMethod = GetState;
473 SID_INSERT_PROGRESSBAR
475 ExecMethod = ExecuteDialog;
476 StateMethod = GetState;
478 SID_INSERT_HFIXEDLINE
480 ExecMethod = ExecuteDialog;
481 StateMethod = GetState;
483 SID_INSERT_VFIXEDLINE
485 ExecMethod = ExecuteDialog;
486 StateMethod = GetState;
490 ExecMethod = ExecuteDialog;
491 StateMethod = GetState;
495 ExecMethod = ExecuteDialog;
496 StateMethod = GetState;
498 SID_INSERT_NUMERICFIELD
500 ExecMethod = ExecuteDialog;
501 StateMethod = GetState;
503 SID_INSERT_CURRENCYFIELD
505 ExecMethod = ExecuteDialog;
506 StateMethod = GetState;
508 SID_INSERT_FORMATTEDFIELD
510 ExecMethod = ExecuteDialog;
511 StateMethod = GetState;
513 SID_INSERT_PATTERNFIELD
515 ExecMethod = ExecuteDialog;
516 StateMethod = GetState;
518 SID_INSERT_FILECONTROL
520 ExecMethod = ExecuteDialog;
521 StateMethod = GetState;
523 SID_INSERT_TREECONTROL
525 ExecMethod = ExecuteDialog;
526 StateMethod = GetState;
531 ExecMethod = ExecuteDialog;
532 StateMethod = GetState;
537 ExecMethod = ExecuteDialog;
538 StateMethod = GetState;
543 ExecMethod = ExecuteDialog;
544 StateMethod = GetState;
547 SID_BASICIDE_STAT_POS
549 StateMethod = GetState;
552 SID_BASICIDE_STAT_DATE
554 StateMethod = GetState;
557 SID_BASICIDE_STAT_TITLE
559 StateMethod = GetState;
564 StateMethod = GetState;
569 StateMethod = GetState;
574 StateMethod = GetState;
577 SID_INSERT_FORM_RADIO
579 ExecMethod = ExecuteDialog;
580 StateMethod = GetState;
583 SID_INSERT_FORM_CHECK
585 ExecMethod = ExecuteDialog;
586 StateMethod = GetState;
591 ExecMethod = ExecuteDialog;
592 StateMethod = GetState;
595 SID_INSERT_FORM_COMBO
597 ExecMethod = ExecuteDialog;
598 StateMethod = GetState;
601 SID_INSERT_FORM_VSCROLL
603 ExecMethod = ExecuteDialog;
604 StateMethod = GetState;
607 SID_INSERT_FORM_HSCROLL
609 ExecMethod = ExecuteDialog;
610 StateMethod = GetState;
615 ExecMethod = ExecuteDialog;
616 StateMethod = GetState;
620 interface BasicIDEDocument
624 shell basctl_DocShell
626 import BasicIDEDocument;