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 .
21 SID_NEWDOC // ole(opt) api(final/play/rec)
23 ExecMethod = NewDocExec_Impl ;
25 SID_OPENDOC // ole(no) api(final/play/rec)
27 ExecMethod = OpenDocExec_Impl ;
31 ExecMethod = OpenRemoteExec_Impl ;
35 ExecMethod = SignPDFExec_Impl ;
37 SID_OPENHYPERLINK // ole(no) api(final/play/rec)
39 ExecMethod = OpenDocExec_Impl ;
41 SID_OPENURL // ole(no) api(no)
43 ExecMethod = OpenDocExec_Impl ;
45 SID_OPENTEMPLATE // ole(no) api(final/play/rec)
47 ExecMethod = OpenDocExec_Impl ;
49 SID_CLOSEDOCS // ole(req) api(final/play/rec)
51 ExecMethod = MiscExec_Impl ;
52 StateMethod = MiscState_Impl ;
54 SID_SAVEDOCS // ole(no) api(final/play/rec)
56 ExecMethod = MiscExec_Impl ;
57 StateMethod = MiscState_Impl ;
64 SID_DOCTITLE // ole(opt) api(final/norec)
66 ExecMethod = ExecProps_Impl ;
67 StateMethod = StateProps_Impl ;
69 SID_DOCPATH // ole(req) api(final/play/norec)
71 ExecMethod = ExecProps_Impl ;
72 StateMethod = StateProps_Impl ;
74 SID_DOCFULLNAME // ole(req) api(final/play/norec)
76 ExecMethod = ExecProps_Impl ;
77 StateMethod = StateProps_Impl ;
79 SID_CLOSEDOC // ole(req) api(final/play/rec)
81 ExecMethod = ExecFile_Impl ;
82 StateMethod = GetState_Impl ;
84 SID_CLOSING // ole(no) api(final/play/norec)
86 StateMethod = StateProps_Impl ;
88 SID_ACTIVATE // ole(no) api(final/play/norec)
90 ExecMethod = ExecView_Impl ;
91 StateMethod = StateView_Impl ;
95 interface OfficeDocument : Document
97 SID_DOCINFO_AUTHOR // ole(opt) api(todo)
99 ExecMethod = ExecProps_Impl ;
100 StateMethod = StateProps_Impl ;
102 SID_DOCINFO_COMMENTS // ole(opt) api(todo)
104 ExecMethod = ExecProps_Impl ;
105 StateMethod = StateProps_Impl ;
107 SID_DOCINFO_KEYWORDS // ole(opt) api(todo)
109 ExecMethod = ExecProps_Impl ;
110 StateMethod = StateProps_Impl ;
112 SID_DOC_READONLY // ole(opt) api(final/play/norec)
114 ExecMethod = ExecProps_Impl ;
115 StateMethod = StateProps_Impl ;
117 SID_DOC_SAVED // ole(req) api(final/play/norec)
119 ExecMethod = ExecProps_Impl ;
120 StateMethod = StateProps_Impl ;
122 SID_DOC_MODIFIED // ole(no) api(final/noplay/norec)
124 StateMethod = GetState_Impl ;
126 SID_MODIFIED // ole(no) api(final/noplay/norec)
128 ExecMethod = ExecProps_Impl ;
129 StateMethod = GetState_Impl ;
132 SID_SAVEDOC // ole(req) api(final/play/rec)
134 ExecMethod = ExecFile_Impl ;
135 StateMethod = GetState_Impl ;
137 SID_SAVEASDOC // ole(req) api(final/play/rec)
139 ExecMethod = ExecFile_Impl ;
140 StateMethod = GetState_Impl ;
142 SID_SAVEACOPY // ole(req) api(final/play/rec)
144 ExecMethod = ExecFile_Impl ;
145 StateMethod = GetState_Impl ;
147 SID_SAVEASREMOTE // ole(req) api(final/play/rec)
149 ExecMethod = ExecFile_Impl ;
150 StateMethod = GetState_Impl ;
152 SID_DOCTEMPLATE // ole(no) api(final/play/rec)
154 ExecMethod = ExecFile_Impl ;
155 StateMethod = GetState_Impl ;
157 SID_PRINTDOC //ole(req) api(final/play/norec)
159 ExecMethod = PrintExec_Impl ;
160 StateMethod = NoState ;
162 SID_PRINTOUT // ole(opt) api(final/play/norec)
164 ExecMethod = PrintExec_Impl ;
165 StateMethod = PrintState_Impl ;
167 SID_DOC_LOADING // ole(no) api(final/play/norec)
169 StateMethod = StateProps_Impl ;
171 SID_IMG_LOADING // ole(no) api(final/play/norec)
173 StateMethod = StateProps_Impl ;
177 ExecMethod = ExecFile_Impl;
178 StateMethod = GetState_Impl;
182 ExecMethod = ExecFile_Impl;
183 StateMethod = GetState_Impl;
187 ExecMethod = ExecFile_Impl;
188 StateMethod = GetState_Impl;
192 ExecMethod = ExecFile_Impl;
193 StateMethod = GetState_Impl;
197 ExecMethod = ExecFile_Impl;
198 StateMethod = GetState_Impl;
202 ExecMethod = ExecFile_Impl;
203 StateMethod = GetState_Impl;
207 StateMethod = GetState_Impl;
215 import OfficeDocument;
217 SID_DOCINFO // ole(no) api(final/play)
219 ExecMethod = ExecFile_Impl ;
220 StateMethod = GetState_Impl ;
222 SID_DOCINFO_TITLE // ole(no) api(final/play/rec)
224 StateMethod = GetState_Impl ;
228 ExecMethod = ExecFile_Impl ;
229 StateMethod = GetState_Impl ;
233 ExecMethod = ExecFile_Impl ;
234 StateMethod = GetState_Impl ;
236 SID_DIRECTEXPORTDOCASPDF
238 ExecMethod = ExecFile_Impl ;
239 StateMethod = GetState_Impl ;
243 ExecMethod = ExecFile_Impl ;
244 StateMethod = GetState_Impl ;
246 SID_DIRECTEXPORTDOCASEPUB
248 ExecMethod = ExecFile_Impl ;
249 StateMethod = GetState_Impl ;
253 ExecMethod = ExecFile_Impl ;
254 StateMethod = GetState_Impl ;
258 ExecMethod = ExecFile_Impl ;
259 StateMethod = GetState_Impl ;
263 ExecMethod = ExecFile_Impl;
264 StateMethod = GetState_Impl;
268 ExecMethod = ExecFile_Impl;
269 StateMethod = GetState_Impl;