xref: /aoo41x/main/sfx2/sdi/docslots.sdi (revision b2e4ce52)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24interface Documents
25[
26	uuid = "61753B60-1114-101D-B8ED-3273768855A7" ;
27]
28{
29	SID_NEWDOC // ole(opt) api(final/play/rec)
30	[
31		ExecMethod = NewDocExec_Impl ;
32	]
33	SID_OPENDOC // ole(no) api(final/play/rec)
34	[
35		ExecMethod = OpenDocExec_Impl ;
36	]
37    SID_OPENHYPERLINK // ole(no) api(final/play/rec)
38    [
39        ExecMethod = OpenDocExec_Impl ;
40    ]
41	SID_OPENURL // ole(no) api(no)
42	[
43		ExecMethod = OpenDocExec_Impl ;
44	]
45	SID_OPENTEMPLATE // ole(no) api(final/play/rec)
46	[
47		ExecMethod = OpenDocExec_Impl ;
48	]
49	SID_CLOSEDOCS // ole(req) api(final/play/rec)
50	[
51		ExecMethod = MiscExec_Impl ;
52		StateMethod = MiscState_Impl ;
53	]
54	SID_SAVEDOCS // ole(no) api(final/play/rec)
55	[
56		ExecMethod = MiscExec_Impl ;
57		StateMethod = MiscState_Impl ;
58	]
59}
60
61 //=========================================================================
62interface Document
63[
64	Automation = FALSE ;
65]
66{
67	SID_DOCTITLE // ole(opt) api(final/norec)
68	[
69		ExecMethod = ExecProps_Impl ;
70		StateMethod = StateProps_Impl ;
71	]
72	SID_DOCPATH // ole(req) api(final/play/norec)
73	[
74		ExecMethod = ExecProps_Impl ;
75		StateMethod = StateProps_Impl ;
76	]
77	SID_DOCFULLNAME // ole(req) api(final/play/norec)
78	[
79		ExecMethod = ExecProps_Impl ;
80		StateMethod = StateProps_Impl ;
81	]
82	SID_CLOSEDOC // ole(req) api(final/play/rec)
83	[
84		ExecMethod = ExecFile_Impl ;
85		StateMethod = GetState_Impl ;
86	]
87	SID_CLOSING // ole(no) api(final/play/norec)
88	[
89		StateMethod = StateProps_Impl ;
90	]
91	SID_ACTIVATE // ole(no) api(final/play/norec)
92	[
93		ExecMethod = ExecView_Impl ;
94		StateMethod = StateView_Impl ;
95	]
96}
97
98interface OfficeDocument : Document
99[
100	Automation = FALSE
101]
102{
103	SID_DOCINFO_AUTHOR // ole(opt) api(todo)
104	[
105		ExecMethod = ExecProps_Impl ;
106		StateMethod = StateProps_Impl ;
107	]
108	SID_DOCINFO_COMMENTS // ole(opt) api(todo)
109	[
110		ExecMethod = ExecProps_Impl ;
111		StateMethod = StateProps_Impl ;
112	]
113	SID_DOCINFO_KEYWORDS // ole(opt) api(todo)
114	[
115		ExecMethod = ExecProps_Impl ;
116		StateMethod = StateProps_Impl ;
117	]
118	SID_DOC_READONLY // ole(opt) api(final/play/norec)
119	[
120		ExecMethod = ExecProps_Impl ;
121		StateMethod = StateProps_Impl ;
122	]
123	SID_DOC_SAVED // ole(req) api(final/play/norec)
124	[
125		ExecMethod = ExecProps_Impl ;
126		StateMethod = StateProps_Impl ;
127	]
128	SID_DOC_MODIFIED // ole(no) api(final/noplay/norec)
129	[
130		StateMethod = GetState_Impl ;
131	]
132	SID_MODIFIED // ole(no) api(final/noplay/norec)
133	[
134		ExecMethod = ExecProps_Impl ;
135		StateMethod = GetState_Impl ;
136	]
137	SID_SAVEDOC // ole(req) api(final/play/rec)
138	[
139		ExecMethod = ExecFile_Impl ;
140		StateMethod = GetState_Impl ;
141	]
142	SID_SAVEASDOC // ole(req) api(final/play/rec)
143	[
144		ExecMethod = ExecFile_Impl ;
145		StateMethod = GetState_Impl ;
146	]
147	SID_DOCTEMPLATE // ole(no) api(final/play/rec)
148	[
149		ExecMethod = ExecFile_Impl ;
150		StateMethod = GetState_Impl ;
151	]
152	SID_PRINTDOC //ole(req) api(final/play/norec)
153	[
154		ExecMethod = PrintExec_Impl ;
155		StateMethod = NoState ;
156	]
157	SID_PRINTOUT // ole(opt) api(final/play/norec)
158	[
159		ExecMethod = PrintExec_Impl ;
160		StateMethod = PrintState_Impl ;
161	]
162	SID_DOC_LOADING // ole(no) api(final/play/norec)
163	[
164		StateMethod = StateProps_Impl ;
165	]
166	SID_IMG_LOADING // ole(no) api(final/play/norec)
167	[
168		StateMethod = StateProps_Impl ;
169	]
170	SID_VERSION
171	[
172        ExecMethod = ExecFile_Impl;
173        StateMethod = GetState_Impl;
174	]
175    SID_SIGNATURE
176    [
177        ExecMethod = ExecFile_Impl;
178        StateMethod = GetState_Impl;
179    ]
180    SID_MACRO_SIGNATURE
181    [
182        ExecMethod = ExecFile_Impl;
183        StateMethod = GetState_Impl;
184    ]
185}
186
187 //=========================================================================
188
189shell SfxObjectShell
190{
191    import OfficeDocument [Automation];
192
193	SID_DOCINFO // ole(no) api(final/play)
194	[
195		ExecMethod = ExecFile_Impl ;
196		StateMethod = GetState_Impl ;
197	]
198	SID_DOCINFO_TITLE // ole(no) api(final/play/rec)
199	[
200		StateMethod = GetState_Impl ;
201	]
202	SID_EXPORTDOC
203	[
204		ExecMethod = ExecFile_Impl ;
205		StateMethod = GetState_Impl ;
206	]
207	SID_EXPORTDOCASPDF
208	[
209		ExecMethod = ExecFile_Impl ;
210		StateMethod = GetState_Impl ;
211	]
212	SID_DIRECTEXPORTDOCASPDF
213	[
214		ExecMethod = ExecFile_Impl ;
215		StateMethod = GetState_Impl ;
216	]
217    SID_SAVE_VERSION_ON_CLOSE
218	[
219        ExecMethod = ExecFile_Impl ;
220        StateMethod = GetState_Impl ;
221	]
222	SID_SIGNATURE
223	[
224        ExecMethod = ExecFile_Impl;
225        StateMethod = GetState_Impl;
226	]
227    SID_MACRO_SIGNATURE
228    [
229            ExecMethod = ExecFile_Impl;
230            StateMethod = GetState_Impl;
231    ]
232} ;
233