1/* 2 * This file is part of the LibreOffice project. 3 * 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/. 7 * 8 * This file incorporates work covered by the following license notice: 9 * 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 . 17 */ 18 19interface Documents 20{ 21 SID_NEWDOC // ole(opt) api(final/play/rec) 22 [ 23 ExecMethod = NewDocExec_Impl ; 24 ] 25 SID_OPENDOC // ole(no) api(final/play/rec) 26 [ 27 ExecMethod = OpenDocExec_Impl ; 28 ] 29 SID_OPENREMOTE 30 [ 31 ExecMethod = OpenRemoteExec_Impl ; 32 ] 33 SID_SIGNPDF 34 [ 35 ExecMethod = SignPDFExec_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 SID_DOCTITLE // ole(opt) api(final/norec) 65 [ 66 ExecMethod = ExecProps_Impl ; 67 StateMethod = StateProps_Impl ; 68 ] 69 SID_DOCPATH // ole(req) api(final/play/norec) 70 [ 71 ExecMethod = ExecProps_Impl ; 72 StateMethod = StateProps_Impl ; 73 ] 74 SID_DOCFULLNAME // ole(req) api(final/play/norec) 75 [ 76 ExecMethod = ExecProps_Impl ; 77 StateMethod = StateProps_Impl ; 78 ] 79 SID_CLOSEDOC // ole(req) api(final/play/rec) 80 [ 81 ExecMethod = ExecFile_Impl ; 82 StateMethod = GetState_Impl ; 83 ] 84 SID_CLOSING // ole(no) api(final/play/norec) 85 [ 86 StateMethod = StateProps_Impl ; 87 ] 88 SID_ACTIVATE // ole(no) api(final/play/norec) 89 [ 90 ExecMethod = ExecView_Impl ; 91 StateMethod = StateView_Impl ; 92 ] 93} 94 95interface OfficeDocument : Document 96{ 97 SID_DOCINFO_AUTHOR // ole(opt) api(todo) 98 [ 99 ExecMethod = ExecProps_Impl ; 100 StateMethod = StateProps_Impl ; 101 ] 102 SID_DOCINFO_COMMENTS // ole(opt) api(todo) 103 [ 104 ExecMethod = ExecProps_Impl ; 105 StateMethod = StateProps_Impl ; 106 ] 107 SID_DOCINFO_KEYWORDS // ole(opt) api(todo) 108 [ 109 ExecMethod = ExecProps_Impl ; 110 StateMethod = StateProps_Impl ; 111 ] 112 SID_DOC_READONLY // ole(opt) api(final/play/norec) 113 [ 114 ExecMethod = ExecProps_Impl ; 115 StateMethod = StateProps_Impl ; 116 ] 117 SID_DOC_SAVED // ole(req) api(final/play/norec) 118 [ 119 ExecMethod = ExecProps_Impl ; 120 StateMethod = StateProps_Impl ; 121 ] 122 SID_DOC_MODIFIED // ole(no) api(final/noplay/norec) 123 [ 124 StateMethod = GetState_Impl ; 125 ] 126 SID_MODIFIED // ole(no) api(final/noplay/norec) 127 [ 128 ExecMethod = ExecProps_Impl ; 129 StateMethod = GetState_Impl ; 130 ] 131 SID_SAVESIMPLE [] 132 SID_SAVEDOC // ole(req) api(final/play/rec) 133 [ 134 ExecMethod = ExecFile_Impl ; 135 StateMethod = GetState_Impl ; 136 ] 137 SID_SAVEASDOC // ole(req) api(final/play/rec) 138 [ 139 ExecMethod = ExecFile_Impl ; 140 StateMethod = GetState_Impl ; 141 ] 142 SID_SAVEACOPY // ole(req) api(final/play/rec) 143 [ 144 ExecMethod = ExecFile_Impl ; 145 StateMethod = GetState_Impl ; 146 ] 147 SID_SAVEASREMOTE // ole(req) api(final/play/rec) 148 [ 149 ExecMethod = ExecFile_Impl ; 150 StateMethod = GetState_Impl ; 151 ] 152 SID_DOCTEMPLATE // ole(no) api(final/play/rec) 153 [ 154 ExecMethod = ExecFile_Impl ; 155 StateMethod = GetState_Impl ; 156 ] 157 SID_PRINTDOC //ole(req) api(final/play/norec) 158 [ 159 ExecMethod = PrintExec_Impl ; 160 StateMethod = NoState ; 161 ] 162 SID_PRINTOUT // ole(opt) api(final/play/norec) 163 [ 164 ExecMethod = PrintExec_Impl ; 165 StateMethod = PrintState_Impl ; 166 ] 167 SID_DOC_LOADING // ole(no) api(final/play/norec) 168 [ 169 StateMethod = StateProps_Impl ; 170 ] 171 SID_IMG_LOADING // ole(no) api(final/play/norec) 172 [ 173 StateMethod = StateProps_Impl ; 174 ] 175 SID_VERSION 176 [ 177 ExecMethod = ExecFile_Impl; 178 StateMethod = GetState_Impl; 179 ] 180 SID_SIGNATURE 181 [ 182 ExecMethod = ExecFile_Impl; 183 StateMethod = GetState_Impl; 184 ] 185 SID_MACRO_SIGNATURE 186 [ 187 ExecMethod = ExecFile_Impl; 188 StateMethod = GetState_Impl; 189 ] 190 SID_CHECKOUT 191 [ 192 ExecMethod = ExecFile_Impl; 193 StateMethod = GetState_Impl; 194 ] 195 SID_CANCELCHECKOUT 196 [ 197 ExecMethod = ExecFile_Impl; 198 StateMethod = GetState_Impl; 199 ] 200 SID_CHECKIN 201 [ 202 ExecMethod = ExecFile_Impl; 203 StateMethod = GetState_Impl; 204 ] 205 SID_DOC_REPAIR 206 [ 207 StateMethod = GetState_Impl; 208 ] 209} 210 211 212 213shell SfxObjectShell 214{ 215 import OfficeDocument; 216 217 SID_DOCINFO // ole(no) api(final/play) 218 [ 219 ExecMethod = ExecFile_Impl ; 220 StateMethod = GetState_Impl ; 221 ] 222 SID_DOCINFO_TITLE // ole(no) api(final/play/rec) 223 [ 224 StateMethod = GetState_Impl ; 225 ] 226 SID_EXPORTDOC 227 [ 228 ExecMethod = ExecFile_Impl ; 229 StateMethod = GetState_Impl ; 230 ] 231 SID_EXPORTDOCASPDF 232 [ 233 ExecMethod = ExecFile_Impl ; 234 StateMethod = GetState_Impl ; 235 ] 236 SID_DIRECTEXPORTDOCASPDF 237 [ 238 ExecMethod = ExecFile_Impl ; 239 StateMethod = GetState_Impl ; 240 ] 241 SID_EXPORTDOCASEPUB 242 [ 243 ExecMethod = ExecFile_Impl ; 244 StateMethod = GetState_Impl ; 245 ] 246 SID_DIRECTEXPORTDOCASEPUB 247 [ 248 ExecMethod = ExecFile_Impl ; 249 StateMethod = GetState_Impl ; 250 ] 251 SID_REDACTDOC 252 [ 253 ExecMethod = ExecFile_Impl ; 254 StateMethod = GetState_Impl ; 255 ] 256 SID_AUTOREDACTDOC 257 [ 258 ExecMethod = ExecFile_Impl ; 259 StateMethod = GetState_Impl ; 260 ] 261 SID_ADDITIONS_DIALOG 262 [ 263 ExecMethod = ExecFile_Impl ; 264 StateMethod = GetState_Impl ; 265 ] 266 SID_SIGNATURE 267 [ 268 ExecMethod = ExecFile_Impl; 269 StateMethod = GetState_Impl; 270 ] 271 SID_MACRO_SIGNATURE 272 [ 273 ExecMethod = ExecFile_Impl; 274 StateMethod = GetState_Impl; 275 ] 276} ; 277