blob: 83e13244710ee2123c8ee3cbd77ddd392b01c62c (
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
|
/*=========================================================================
shell SfxObjectShell
(C) 1994-1995 StarDivision GmbH, Hamburg, Germany
$Author: mav $ $Date: 2002-04-12 08:20:04 $ $Revision: 1.3 $
$Logfile: T:/sfx2/sdi/docslots.sdv $ $Workfile: DOCSLOTS.SDI $
=========================================================================*/
interface Documents : Collection
[
uuid = "61753B60-1114-101D-B8ED-3273768855A7" ;
]
{
//---------------------------------------------------------------------
SID_NEWDOC // ole(opt) api(final/play/rec)
[
ExecMethod = NewDocExec_Impl ;
StateMethod = CreateDocState_Impl ;
]
//---------------------------------------------------------------------
SID_OPENDOC // ole(no) api(final/play/rec)
[
ExecMethod = OpenDocExec_Impl ;
StateMethod = CreateDocState_Impl ;
]
//---------------------------------------------------------------------
SID_OPENURL // ole(no) api(no)
[
ExecMethod = OpenDocExec_Impl ;
StateMethod = CreateDocState_Impl ;
]
SID_CURRENT_URL // ole(no) api(no)
[
StateMethod = CreateDocState_Impl ;
]
//---------------------------------------------------------------------
SID_OPENTEMPLATE // ole(no) api(final/play/rec)
[
ExecMethod = OpenDocExec_Impl ;
StateMethod = CreateDocState_Impl ;
]
//---------------------------------------------------------------------
SID_CLOSEDOCS // ole(req) api(final/play/rec)
[
ExecMethod = MiscExec_Impl ;
StateMethod = MiscState_Impl ;
]
//---------------------------------------------------------------------
SID_SAVEDOCS // ole(no) api(final/play/rec)
[
ExecMethod = MiscExec_Impl ;
StateMethod = MiscState_Impl ;
]
}
//=========================================================================
interface DocumentInfo : Object
[
uuid = "11A1EDE0-1308-101D-B8ED-3273768855A7"
]
{
//---------------------------------------------------------------------
SID_DOCINFO // ole(no) api(final/play)
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
BOOL Load SID_DOCINFO_LOAD ( String FileName SID_FILE_NAME ) ;
//---------------------------------------------------------------------
BOOL Save SID_DOCINFO_SAVE () ;
}
//=========================================================================
interface Document : Object
[
Automation = FALSE ;
]
{
//---------------------------------------------------------------------
String Name // ole(no) api(final/play/norec)
[Readonly;]
//---------------------------------------------------------------------
SbxObject UNO SID_UNO // ole(no) api(final/play/norec)
[Readonly;]
//---------------------------------------------------------------------
SID_DOCTITLE // ole(opt) api(final/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOCPATH // ole(req) api(final/play/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOCFULLNAME // ole(req) api(final/play/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_CLOSEDOC // ole(req) api(final/play/rec)
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_CLOSING // ole(no) api(final/play/norec)
[
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ACTIVATE // ole(no) api(final/play/norec)
[
ExecMethod = ExecView_Impl ;
StateMethod = StateView_Impl ;
]
//---------------------------------------------------------------------
SID_ON_CREATEDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_OPENDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_PREPARECLOSEDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_CLOSEDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_SAVEDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_SAVEASDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
SID_ON_SAVEDOCDONE // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_SAVEASDOCDONE // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_ACTIVATEDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_DEACTIVATEDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_ON_PRINTDOC // ole(no) api(final/play)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SfxObjectItem Module SID_ACTIVEMODULE
[
StateMethod = StateProps_Impl ;
]
}
interface OfficeDocument : Document
[
Automation = FALSE
]
{
//---------------------------------------------------------------------
SbxObject DocumentInfo // ole(no) api(final/plac/norec)
[
Readonly ;
]
//---------------------------------------------------------------------
SID_DOCINFO_AUTHOR // ole(opt) api(todo)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOCINFO_COMMENTS // ole(opt) api(todo)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOCINFO_KEYWORDS // ole(opt) api(todo)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOC_READONLY // ole(opt) api(final/play/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOC_SAVED // ole(req) api(final/play/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_DOC_MODIFIED // ole(no) api(final/noplay/norec)
[
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_MODIFIED // ole(no) api(final/noplay/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_SAVEDOC // ole(req) api(final/play/rec)
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_SAVEASDOC // ole(req) api(final/play/rec)
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_SAVEASURL // ole(no) api()
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_DOCTEMPLATE // ole(no) api(final/play/rec)
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
//---------------------------------------------------------------------
SID_PRINTDOC //ole(req) api(final/play/norec)
[
ExecMethod = PrintExec_Impl ;
StateMethod = NoState ;
]
//---------------------------------------------------------------------
SID_PRINTOUT // ole(opt) api(final/play/norec)
[
ExecMethod = PrintExec_Impl ;
StateMethod = PrintState_Impl ;
]
//---------------------------------------------------------------------
SID_DOC_LOADING // ole(no) api(final/play/norec)
[
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_IMG_LOADING // ole(no) api(final/play/norec)
[
StateMethod = StateProps_Impl ;
]
//---------------------------------------------------------------------
SID_PLAYMACRO // ole(no) api(final/play/norec)
[
ExecMethod = ExecProps_Impl ;
StateMethod = StateProps_Impl ;
]
SID_VERSION
[
ExecMethod = ExecFile_Impl;
StateMethod = GetState_Impl;
]
}
//=========================================================================
shell SfxObjectShell
/* [Beschreibung]
Funktionalit"at aller 'Dokumente' in SFx-Applikationen. Angesprochen
werden diese Objekte entweder als 'ActiveDocument' oder mit dem
Namen des Dokuments (i.d.R. der Dateiname) ohne Pfad in eckigen
Klammern (z.B. als '[unbenannt1]' oder '[brief6.sdw]').
*/
{
import OfficeDocument [Automation];
import DocumentInfo ".DocumentInfo";
SID_DOCINFO_TITLE // ole(no) api(final/play/rec)
[
StateMethod = GetState_Impl ;
]
SID_EXPORTDOC
[
ExecMethod = ExecFile_Impl ;
StateMethod = GetState_Impl ;
]
} ;
/*-------------------------------------------------------------------------
$Log: not supported by cvs2svn $
Revision 1.2 2002/04/08 16:48:37 mba
#98405#: prepare items and slots for new recording
Revision 1.1.1.1 2000/09/18 16:52:25 hr
initial import
Revision 1.82 2000/07/26 19:10:04 mba
LoadLibrary only in App
Revision 1.81 2000/03/09 15:34:31 mba
#70338#: use SID_CURRENT_URL / CurrentURL
Revision 1.80 1999/10/06 15:19:52 mba
#68854#: Events nach Speichern
Revision 1.79 1998/06/23 10:30:40 MBA
SID_VERSION
Rev 1.78 23 Jun 1998 12:30:40 MBA
SID_VERSION
Rev 1.77 12 Jun 1998 15:56:06 MI
UNO-Objekt Zugriff
Rev 1.76 13 Nov 1997 12:50:08 MBA
Save an DocInfo ohne Parameter
Rev 1.75 28 Oct 1997 15:33:24 MBA
Bugfix #45146#: Author, Comments und Keywords implementiert
Rev 1.74 04 Sep 1997 13:20:06 MBA
OfficeDocument eingefuehrt
Rev 1.72 28 Aug 1997 12:20:44 MBA
Neue Interface-Namen
Rev 1.71 05 Aug 1997 17:36:36 MI
#42439# Module-Property war kaputt-gespielt
Rev 1.70 08 Jul 1997 19:34:36 MI
Flags bei ObjShells: InCloseEvent+HiddenLocked (#40060#)
Rev 1.69 03 Jul 1997 16:45:28 MBA
SID_MODIFIED
Rev 1.68 01 Jul 1997 12:45:54 MBA
LOAD/UNLOAD/ADD/REMOVE-Library
Rev 1.67 01 Jul 1997 12:38:32 MI
Modified-Property setzbar
Rev 1.66 12 May 1997 13:53:30 MBA
Seitenansicht raus
-------------------------------------------------------------------------*/
|