summaryrefslogtreecommitdiff
path: root/sfx2/sdi/frmslots.sdi
blob: 353a418aa2a94a41c54abb2f5bd273bac2a013c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
/*=========================================================================
    shell SfxViewFrame

    (C) 1994-1995 StarDivision GmbH, Hamburg, Germany
    $Author: hr $ $Date: 2000-09-18 16:52:25 $ $Revision: 1.1.1.1 $
    $Logfile:   T:/sfx2/sdi/frmslots.sdv  $ $Workfile:   FRMSLOTS.SDI  $
=========================================================================*/

interface Window : Object
[
    Automation = FALSE ;
]
{
    SID_CUSTOMIZETOOLBOX // ole(no) api(final/play/rec)
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    //----------------------------------------------------------------------
    SID_HYPERLINK_INSERT
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    //----------------------------------------------------------------------
    SID_HYPERLINK_DIALOG
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    //----------------------------------------------------------------------
    SID_NAVIGATOR // status(final|play)
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

     //---------------------------------------------------------------------
    SID_SHOW_BROWSER // ole(no) api(final/play/rec)
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

     //---------------------------------------------------------------------
    SID_NEXTWINDOW
    [
        ExecMethod = MiscExec_Impl ;
        StateMethod = MiscState_Impl ;
    ]

     //---------------------------------------------------------------------
    SID_PREVWINDOW
    [
        ExecMethod = MiscExec_Impl ;
        StateMethod = MiscState_Impl ;
    ]

     //---------------------------------------------------------------------
    SID_BROWSER // ole(no) api()
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    //---------------------------------------------------------------------
    SID_PARTWIN // ole(no) api()
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    //---------------------------------------------------------------------
    SID_MAIL_CHILDWIN // ole(no) api()
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    SID_TIPWINDOW
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]
     //---------------------------------------------------------------------
    SID_SEARCH_DLG // ole(no) api(final/play/rec)
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

     //---------------------------------------------------------------------
    SID_HELP_PI // ole(no) api(final/play/rec)
    [
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    SID_TOGGLECOMMONTASKBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

    SID_TOGGLENAVBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

    SID_TOGGLEMACROBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

    SID_TOGGLEOPTIONBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

     //---------------------------------------------------------------------
    SID_TOGGLEFUNCTIONBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

     //---------------------------------------------------------------------
    SID_TOGGLEOBJECTBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

     //---------------------------------------------------------------------
    SID_TOGGLETOOLBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = ToolboxExec_Impl ;
        StateMethod = ToolboxState_Impl ;
    ]

     //---------------------------------------------------------------------
    SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec)
    [
        ExecMethod = MiscExec_Impl ;
        StateMethod = MiscState_Impl ;
    ]

    SID_STYLE_DESIGNER // ole(no) api(final/play/rec)
    [
        ReadOnlyDoc = FALSE ;
        ExecMethod = ChildWindowExecute ;
        StateMethod = ChildWindowState ;
    ]

    // Window.Document
    SID_DOCUMENT
    [
        StateMethod = PropState_Impl;
    ]

    // Window.GetTopWindow
    SID_TOPWINDOW
    [
        StateMethod = PropState_Impl;
    ]

    // Window.ParentWindow
    SID_PARENTFRAME
    [
        StateMethod = PropState_Impl;
    ]

    // Window.IsTopWindow
    SID_ISTOP
    [
        StateMethod = PropState_Impl;
    ]

    // Window.GetActiveFrameWindow
    SfxObjectItem ActiveFrameWindow SID_ACTIVEWINDOW
    [
        StateMethod = PropState_Impl;
    ]

    // Window.GetFrameCount
    SID_FRAMECOUNT
    [
        StateMethod = PropState_Impl;
    ]

    // Window.GetFrameWindow( "Name" )
    SID_FILLFRAME
    [
        ExecMethod = ExecView_Impl;
    ]

    // Nur f"ur Gestalter: Slot mu\s vorhanden sein
    SID_STYLE_NEW
    [
        Export = FALSE;
    ]

    // Nur f"ur Gestalter: Slot mu\s vorhanden sein
    SID_STYLE_DRAGHIERARCHIE
    [
        Export = FALSE;
    ]

    SID_CLEARHISTORY // ole(no) api(final/play/rec)
    [
        ExecMethod = ExecHistory_Impl ;
        StateMethod = StateHistory_Impl ;
    ]

    SID_UNDO // ole(no) api(final/play/rec)
    [
        ExecMethod = ExecHistory_Impl ;
        StateMethod = StateHistory_Impl ;
    ]

    SID_REDO // ole(no) api(final/play/rec)
    [
        ExecMethod = ExecHistory_Impl ;
        StateMethod = StateHistory_Impl ;
    ]

    SID_REPEAT // ole(no) api(final/play/rec)
    [
        ExecMethod = ExecHistory_Impl ;
        StateMethod = StateHistory_Impl ;
    ]

    // Basic-only property Window.Selection
    SbxObject Selection SID_SELECTION // ole(no) api(final/play/rec)
    [
    ]

    // Basic-only property: Window.View
    SbxObject View SID_VIEW
    [
    ]

    // Stringlist mit den Verben( SFX only )
    SID_OBJECT // ole(no) api(no)
    [
        StateMethod = GetState_Impl ;
    ]

    // F"ur slots.sdc-Macros eingebaut
    SfxStringItem ConvertString SID_CONVERTSTRING
    (
        SfxStringItem Which SID_CONVERTSTRING
    )
    [
        ExecMethod = ExecView_Impl ;
        AutoUpdate = FALSE,
        Cachable = Cachable,
        FastCall = FALSE,
        HasCoreId = FALSE,
        HasDialog = FALSE,
        ReadOnlyDoc = TRUE,
        Toggle = FALSE,
        Synchron;
        Container = TRUE,
        PlugComm = FALSE,
        Export = TRUE,
        Hidden = TRUE,
        IsCollection = FALSE,
        RecordAbsolute = FALSE,
        RecordPerSet;
        AccelConfig = FALSE,
        MenuConfig = FALSE,
        StatusBarConfig = FALSE,
        ToolBoxConfig = FALSE,
        GroupId = GID_APPLICATION;
    ]
/*
    SfxStringItem GetHelpText SID_HELP_STRING
    (
        SfxUInt16Item Which SID_CONFIGITEMID
    )
    [
        ExecMethod = ExecView_Impl ;
        AutoUpdate = FALSE,
        Cachable = Cachable,
        FastCall = FALSE,
        HasCoreId = FALSE,
        HasDialog = FALSE,
        ReadOnlyDoc = TRUE,
        Toggle = FALSE,
        Synchron;
        Container = TRUE,
        PlugComm = FALSE,
        Export = TRUE,
        Hidden = TRUE,
        IsCollection = FALSE,
        RecordAbsolute = FALSE,
        RecordPerSet;
        AccelConfig = FALSE,
        MenuConfig = FALSE,
        StatusBarConfig = FALSE,
        ToolBoxConfig = FALSE,
        GroupId = GID_APPLICATION;
    ]

    SfxStringItem GetFunctionName SID_METHODNAME
    (
        SfxUInt16Item Which SID_CONFIGITEMID
    )
    [
        ExecMethod = ExecView_Impl ;
        AutoUpdate = FALSE,
        Cachable = Cachable,
        FastCall = FALSE,
        HasCoreId = FALSE,
        HasDialog = FALSE,
        ReadOnlyDoc = TRUE,
        Toggle = FALSE,
        Synchron;
        Container = TRUE,
        PlugComm = FALSE,
        Export = TRUE,
        Hidden = TRUE,
        IsCollection = FALSE,
        RecordAbsolute = FALSE,
        RecordPerSet;
        AccelConfig = FALSE,
        MenuConfig = FALSE,
        StatusBarConfig = FALSE,
        ToolBoxConfig = FALSE,
        GroupId = GID_APPLICATION;
    ]

    SfxBoolItem IsToolboxConfig SID_CONFIGITEMID
    (
        SfxUInt16Item Which SID_CONFIGITEMID
    )
    [
        ExecMethod = ExecView_Impl ;
        AutoUpdate = FALSE,
        Cachable = Cachable,
        FastCall = FALSE,
        HasCoreId = FALSE,
        HasDialog = FALSE,
        ReadOnlyDoc = TRUE,
        Toggle = FALSE,
        Synchron;
        Container = TRUE,
        PlugComm = FALSE,
        Export = TRUE,
        Hidden = TRUE,
        IsCollection = FALSE,
        RecordAbsolute = FALSE,
        RecordPerSet;
        AccelConfig = FALSE,
        MenuConfig = FALSE,
        StatusBarConfig = FALSE,
        ToolBoxConfig = FALSE,
        GroupId = GID_APPLICATION;
    ]
*/
}

interface BrowseWindow : Window
[
    Automation = FALSE ;
]
{
    SID_ACTIVATE // ole(no) api(final/play/rec)
    [
        // Implementierung in Subklassen
    ]

    SID_NEWWINDOW // ole(no) api(play/rec)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
    ]

    SID_EDITDOC // ole(?opt) api(play/rec)
    [
        ExecMethod = ExecReload_Impl ;
        StateMethod = StateReload_Impl ;
    ]

    SID_RELOAD // ole(?opt) api(play/rec)
    [
        ExecMethod = ExecReload_Impl ;
        StateMethod = StateReload_Impl ;
    ]

    SID_VIEWSHELL // ole(no) api(no)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
    ]

    SID_VIEWSHELL0 // ole(no) api(no)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
    ]

    SID_VIEWSHELL1 // ole(no) api(no)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
    ]

    SID_VIEWSHELL2 // ole(no) api(no)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
    ]

    SID_VIEWSHELL3 // ole(no) api(no)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
    ]

    SID_VIEWSHELL4 // ole(no) api(no)
    [
        ExecMethod = ExecView_Impl ;
        StateMethod = StateView_Impl ;
        ]
}

interface TopWindow : BrowseWindow
[
    Automation = FALSE ;
]
{
    SID_WIN_FULLSCREEN // ole(no) api(final/play/rec)
    [
        ExecMethod = MiscExec_Impl ;
        StateMethod = MiscState_Impl ;
    ]

    SID_FRAMETITLE // ole(no) api(play/rec)
    [
        StateMethod = StateView_Impl ;
    ]

    //---------------------------------------------------------------------
    SID_WIN_POSSIZE // ole(no) api(final/play/rec)
    [
        ExecMethod = Exec_Impl ;
        StateMethod = GetState_Impl ;
    ]

    //---------------------------------------------------------------------{
    SID_OPTIMIZEWIN // ole(no) api(final/play/rec)
    [
        ExecMethod = Exec_Impl ;
        StateMethod = GetState_Impl ;
    ]

    //---------------------------------------------------------------------{
    SID_WIN_MINIMIZED // ole(no) api(final/play/rec)
    [
        ExecMethod = Exec_Impl ;
        StateMethod = GetState_Impl ;
    ]

    //---------------------------------------------------------------------{
    SID_WIN_MAXIMIZED // ole(no) api(final/play/rec)
    [
        ExecMethod = Exec_Impl ;
        StateMethod = GetState_Impl ;
    ]

    //---------------------------------------------------------------------{
    SID_RESTOREWIN // ole(no) api(final/play/rec)
    [
        ExecMethod = Exec_Impl ;
        StateMethod = GetState_Impl ;
    ]

    //---------------------------------------------------------------------
    SID_CLOSEWIN // ole(no) api(final/play/rec)
    [
        ExecMethod = Exec_Impl ;
        StateMethod = GetState_Impl ;
    ]

    //---------------------------------------------------------------------
    SID_BROWSE_FORWARD // ole(no) api()
    [
        ExecMethod = INetExecute_Impl ;
        StateMethod = INetState_Impl ;
    ]

    //---------------------------------------------------------------------
    SID_BROWSE_BACKWARD // ole(no) api()
    [
        ExecMethod = INetExecute_Impl ;
        StateMethod = INetState_Impl ;
    ]

    //---------------------------------------------------------------------
    SID_BROWSE_HOME // ole(no) api()
    [
        ExecMethod = INetExecute_Impl ;
        StateMethod = INetState_Impl ;
    ]

    //---------------------------------------------------------------------
    SID_CREATELINK // ole(no) api()
    [
        ExecMethod = INetExecute_Impl ;
        StateMethod = INetState_Impl ;
    ]
}

 //=========================================================================

shell SfxViewFrame

/*  [Beschreibung]

    Funktionalit"at jedes Fensters, in dem spezifische Views (Ansichten)
    eines Dokuments dargestellt werden. Angesprochen werden diese Objekte
    entweder als 'ActiveWindow' oder mit dem Namen des Dokuments (i.d.R.
    der Dateiname) ohne Pfad aber mit der Nummer des Fensters, alles in eckigen Klammern (z.B. als
    '[unbenannt1:1]' oder '[brief6.sdw:4]'). Im Ggs. zur Anzeige in der
    Caption-Bar (solange nur ein Fenster f"ur das betreffende Dokument
    existiert) darf die Nummer niemals ausgelassen werden. Die Numerierung
    beginnt bei 1 und ist f"ur die Existenz des Fensters stabil.


    [Anmerkung]

    Im StarWriter ist das Verhalten einiger dieser Funktionen nicht definiert,
    da dieser seinen eigenen History-Mechanismus hat.
*/


{
        import BrowseWindow [Automation];
}

/*-------------------------------------------------------------------------

    $Log: not supported by cvs2svn $
    Revision 1.48  2000/09/12 10:42:32  mba
    ChildWindow slot all in SfxViewFrame

    Revision 1.47  2000/09/01 17:32:04  mba
    some slots moved from appslots

    Revision 1.46  1998/07/29 09:42:28  MI
    #53054# Bookmarks auch ohne alten Explorer ablegbar


      Rev 1.45   29 Jul 1998 11:42:28   MI
   #53054# Bookmarks auch ohne alten Explorer ablegbar

      Rev 1.44   16 Jan 1998 11:34:08   MBA
   Topframe und Taskframe zusammengefasst

      Rev 1.43   13 Nov 1997 12:51:56   MBA
   Property Name gehoert in base class

      Rev 1.42   28 Aug 1997 12:22:30   MBA
   Neue Interface-Namen; BrowseWindow

      Rev 1.40   28 May 1997 15:14:42   TLX
   DOCFRAME war doppelt

      Rev 1.39   13 May 1997 17:52:40   MBA
   SID_VIEW fuer OLE-Automation

      Rev 1.38   09 May 1997 18:15:16   MBA
   Neue Slots fuer Frames-Handling ( BASIC, C-API )

      Rev 1.37   06 Apr 1997 12:38:48   NF
   syntax

      Rev 1.36   05 Apr 1997 20:51:16   NF
   Syntax

      Rev 1.35   06 Mar 1997 12:38:06   MBA
   Slots fuer Bmp-Listen

      Rev 1.34   04 Mar 1997 12:37:54   MI
   SID_TOPWINDOW

      Rev 1.33   23 Feb 1997 21:20:50   MBA
   SID_RELOAD, SID_EDITDOC raus

      Rev 1.32   18 Dec 1996 15:57:42   MI
   SID_LASTVERSIONDOC

      Rev 1.31   09 Dec 1996 12:04:50   MBA
   Helptext,Configname raus

      Rev 1.30   06 Dec 1996 10:44:34   MI
   Document-Property (SID_DOCUMENT)

      Rev 1.29   28 Nov 1996 09:58:58   MBA
   Voruebergehend: SID_CONVERTSTRING

      Rev 1.28   06 Nov 1996 10:55:50   TLX
   Gestalter Defaults

      Rev 1.27   24 Oct 1996 13:49:36   MI
   #32691# (OLE)-Object-Menu auch in plugins enablen

      Rev 1.26   22 Oct 1996 20:10:16   HJS
   merge 22.10.96

      Rev 1.25   08 Oct 1996 14:30:36   HJS
   merge 08.10.96

      Rev 1.24   24 Sep 1996 16:37:54   MBA
   SID_FRAME_TITLE in newslots.idl

      Rev 1.23   12 Sep 1996 17:32:28   TLX
   FRAMETITLE

      Rev 1.22   12 Sep 1996 15:44:50   MBA


      Rev 1.21   11 Sep 1996 13:09:58   TLX
   LASTVERSION und EDITDOC in den ViewFrame

      Rev 1.20   09 Sep 1996 16:42:40   MBA
   Neue Slotfiles

      Rev 1.19   30 Aug 1996 13:42:26   HJS
   eu...

      Rev 1.18   27 Aug 1996 18:55:42   MBA
   SID_VIEWSHELL etc. an ViewFrame

      Rev 1.17   30 Jul 1996 15:41:02   MI
   fix #29879# Undo/Redo waren beim asynch laden enabled

      Rev 1.16   16 Jul 1996 13:14:04   TLX
   PlugComm eingetragen

      Rev 1.15   12 Jul 1996 13:51:30   MI
   fix #29412# Redo/Repeat waren Method+R/W-Prop daher GPF aus BASIC

      Rev 1.14   08 Jul 1996 16:50:16   HJS
   uebersetzung

      Rev 1.13   30 Mar 1996 21:13:40   MI
   Selection-Object jetzt per Property (effizienter)

      Rev 1.12   20 Feb 1996 17:29:38   MI
   Selection-Property

      Rev 1.11   12 Dec 1995 18:50:54   MI
   Ableitung von _Object

      Rev 1.10   05 Dec 1995 10:46:30   MI
   Fix #22800 Rechtschreibfehler

      Rev 1.9   05 Dec 1995 09:36:16   MI
   interne Interfaces nicht exportieren

      Rev 1.8   28 Nov 1995 17:34:16   MI
   neue Tags

      Rev 1.7   23 Nov 1995 17:29:56   MI
   neue IDL

      Rev 1.6   18 Oct 1995 09:00:48   MI
   Properties und Methoden duerfen nicht den gleichen Namen haben

      Rev 1.5   17 Oct 1995 16:14:52   KL
   Ueberarbeitung nach MS-Standard

      Rev 1.4   11 Oct 1995 18:16:02   MI
   undo: MS-kompatible Namen

      Rev 1.3   06 Oct 1995 15:51:08   MI
   HelpTexts scharfgeschaltet

      Rev 1.2   29 Aug 1995 14:06:52   MI
   Checkliste eingebaut

-------------------------------------------------------------------------*/