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