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 Window 20{ 21 SID_HYPERLINK_DIALOG 22 [ 23 ExecMethod = ChildWindowExecute ; 24 StateMethod = ChildWindowState ; 25 ] 26 SID_RUBY_DIALOG 27 [ 28 ExecMethod = ChildWindowExecute ; 29 StateMethod = ChildWindowState ; 30 ] 31 SID_NAVIGATOR // status(final|play) 32 [ 33 ExecMethod = ChildWindowExecute ; 34 StateMethod = ChildWindowState ; 35 ] 36 SID_INFOBAR // status(final|play) 37 [ 38 ExecMethod = ChildWindowExecute ; 39 StateMethod = ChildWindowState ; 40 ] 41 SID_SIDEBAR // status(final|play) 42 [ 43 ExecMethod = ChildWindowExecute ; 44 StateMethod = ChildWindowState ; 45 ] 46 SID_SIDEBAR_DECK 47 [ 48 ExecMethod = ChildWindowExecute ; 49 ] 50 SID_BROWSER // ole(no) api() 51 [ 52 ExecMethod = ChildWindowExecute ; 53 StateMethod = ChildWindowState ; 54 ] 55 SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api() 56 [ 57 ExecMethod = ChildWindowExecute ; 58 StateMethod = ChildWindowState ; 59 ] 60 SID_SEARCH_DLG // ole(no) api(final/play/rec) 61 [ 62 ExecMethod = ChildWindowExecute ; 63 StateMethod = ChildWindowState ; 64 ] 65 SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec) 66 [ 67 ExecMethod = MiscExec_Impl ; 68 StateMethod = MiscState_Impl ; 69 ] 70 SID_RECORDMACRO // ole(no) api(final/play/norec) 71 [ 72 ExecMethod = MiscExec_Impl ; 73 StateMethod = MiscState_Impl ; 74 ] 75 SID_STOP_RECORDING // ole(no) api(final/play/norec) 76 [ 77 ExecMethod = MiscExec_Impl ; 78 StateMethod = MiscState_Impl ; 79 ] 80 SID_STYLE_DESIGNER // ole(no) api(final/play/rec) 81 [ 82 ExecMethod = ChildWindowExecute ; 83 ] 84 SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec) 85 [ 86 ExecMethod = ChildWindowExecute ; 87 StateMethod = ChildWindowState ; 88 ] 89 90 // Pre-defined docking window slots (usable by internal docking windows) 91 SID_DOCKWIN_0 92 [ 93 ExecMethod = ChildWindowExecute ; 94 StateMethod = ChildWindowState ; 95 ] 96 SID_DOCKWIN_1 97 [ 98 ExecMethod = ChildWindowExecute ; 99 StateMethod = ChildWindowState ; 100 ] 101 SID_DOCKWIN_2 102 [ 103 ExecMethod = ChildWindowExecute ; 104 StateMethod = ChildWindowState ; 105 ] 106 SID_DOCKWIN_3 107 [ 108 ExecMethod = ChildWindowExecute ; 109 StateMethod = ChildWindowState ; 110 ] 111 SID_DOCKWIN_4 112 [ 113 ExecMethod = ChildWindowExecute ; 114 StateMethod = ChildWindowState ; 115 ] 116 SID_DOCKWIN_5 117 [ 118 ExecMethod = ChildWindowExecute ; 119 StateMethod = ChildWindowState ; 120 ] 121 SID_DOCKWIN_6 122 [ 123 ExecMethod = ChildWindowExecute ; 124 StateMethod = ChildWindowState ; 125 ] 126 SID_DOCKWIN_7 127 [ 128 ExecMethod = ChildWindowExecute ; 129 StateMethod = ChildWindowState ; 130 ] 131 SID_DOCKWIN_8 132 [ 133 ExecMethod = ChildWindowExecute ; 134 StateMethod = ChildWindowState ; 135 ] 136 SID_DOCKWIN_9 137 [ 138 ExecMethod = ChildWindowExecute ; 139 StateMethod = ChildWindowState ; 140 ] 141/* Be careful! 142 You also have to make changes in: 143 - sfx2/sdi/sfx.sdi 144 - sfx2/source/dialog/dockwin.cxx 145 - sfx2/sdi/frmslots.sdi 146 - sfx2/inc/sfx2/sfxsids.hrc 147*/ 148 // Window.GetFrameWindow( "Name" ) 149 SID_FILLFRAME 150 [ 151 ExecMethod = ExecView_Impl; 152 ] 153 154 // Only for Designers: Slot must be present 155 SID_STYLE_NEW 156 [ 157 ] 158 159 // Only for Designers: Slot must be present 160 SID_STYLE_DRAGHIERARCHIE 161 [ 162 ] 163 SID_CLEARHISTORY // ole(no) api(final/play/rec) 164 [ 165 ExecMethod = ExecHistory_Impl ; 166 StateMethod = StateHistory_Impl ; 167 ] 168 SID_UNDO // ole(no) api(final/play/rec) 169 [ 170 ExecMethod = ExecHistory_Impl ; 171 StateMethod = StateHistory_Impl ; 172 ] 173 SID_REDO // ole(no) api(final/play/rec) 174 [ 175 ExecMethod = ExecHistory_Impl ; 176 StateMethod = StateHistory_Impl ; 177 ] 178 SID_REPEAT // ole(no) api(final/play/rec) 179 [ 180 ExecMethod = ExecHistory_Impl ; 181 StateMethod = StateHistory_Impl ; 182 ] 183 SID_CURRENT_URL // ole(no) api(no) 184 [ 185 StateMethod = MiscState_Impl ; 186 ] 187 // Stringlist with the verbs ( SFX only ) 188 SID_OBJECT // ole(no) api(no) 189 [ 190 StateMethod = GetState_Impl ; 191 ExecMethod = ExecView_Impl ; 192 ] 193 SID_TERMINATE_INPLACEACTIVATION 194 [ 195 ExecMethod = ExecView_Impl ; 196 ] 197} 198 199interface BrowseWindow : Window 200{ 201 SID_ACTIVATE // ole(no) api(final/play/rec) 202 [ 203 // Implementations in Subclasses 204 ] 205 SID_NEWWINDOW // ole(no) api(play/rec) 206 [ 207 ExecMethod = ExecView_Impl ; 208 StateMethod = StateView_Impl ; 209 ] 210 SID_EDITDOC // ole(?opt) api(play/rec) 211 [ 212 ExecMethod = ExecReload_Impl ; 213 StateMethod = StateReload_Impl ; 214 ] 215 SID_READONLYDOC // ole(?opt) api(play/rec) 216 [ 217 ExecMethod = ExecReload_Impl ; 218 StateMethod = StateReload_Impl ; 219 ] 220 SID_RELOAD // ole(?opt) api(play/rec) 221 [ 222 ExecMethod = ExecReload_Impl ; 223 StateMethod = StateReload_Impl ; 224 ] 225 SID_VIEWSHELL // ole(no) api(no) 226 [ 227 ExecMethod = ExecView_Impl ; 228 StateMethod = StateView_Impl ; 229 ] 230 SID_VIEWSHELL0 // ole(no) api(no) 231 [ 232 ExecMethod = ExecView_Impl ; 233 StateMethod = StateView_Impl ; 234 ] 235 SID_VIEWSHELL1 // ole(no) api(no) 236 [ 237 ExecMethod = ExecView_Impl ; 238 StateMethod = StateView_Impl ; 239 ] 240 SID_VIEWSHELL2 // ole(no) api(no) 241 [ 242 ExecMethod = ExecView_Impl ; 243 StateMethod = StateView_Impl ; 244 ] 245 SID_VIEWSHELL3 // ole(no) api(no) 246 [ 247 ExecMethod = ExecView_Impl ; 248 StateMethod = StateView_Impl ; 249 ] 250 SID_VIEWSHELL4 // ole(no) api(no) 251 [ 252 ExecMethod = ExecView_Impl ; 253 StateMethod = StateView_Impl ; 254 ] 255} 256 257interface TopWindow : BrowseWindow 258{ 259 SID_NEWDOCDIRECT // ole(no) api(no) 260 [ 261 ExecMethod = Exec_Impl ; 262 StateMethod = GetState_Impl ; 263 ] 264 SID_WIN_FULLSCREEN // ole(no) api(final/play/rec) 265 [ 266 ExecMethod = MiscExec_Impl ; 267 StateMethod = MiscState_Impl ; 268 ] 269 SID_COMMAND_POPUP 270 [ 271 ExecMethod = MiscExec_Impl ; 272 StateMethod = MiscState_Impl ; 273 ] 274 SID_CLOSEWIN // ole(no) api(final/play/rec) 275 [ 276 ExecMethod = Exec_Impl ; 277 StateMethod = GetState_Impl ; 278 ] 279 SID_BROWSE_FORWARD // ole(no) api() 280 [ 281 ExecMethod = INetExecute_Impl ; 282 StateMethod = INetState_Impl ; 283 ] 284 SID_BROWSE_BACKWARD // ole(no) api() 285 [ 286 ExecMethod = INetExecute_Impl ; 287 StateMethod = INetState_Impl ; 288 ] 289 SID_CREATELINK // ole(no) api() 290 [ 291 ExecMethod = INetExecute_Impl ; 292 StateMethod = INetState_Impl ; 293 ] 294 SID_FOCUSURLBOX // ole(no) api(final/play/rec) 295 [ 296 ExecMethod = INetExecute_Impl ; 297 StateMethod = INetState_Impl ; 298 ] 299} 300 301 302 303shell SfxViewFrame 304{ 305 import TopWindow; 306 307 SID_ACTIVATE // ole(no) api(final/play/rec) 308 [ 309 ExecMethod = Exec_Impl ; 310 StateMethod = GetState_Impl ; 311 ] 312 313 SID_SHOWPOPUPS 314 [ 315 ExecMethod = Exec_Impl ; 316 StateMethod = GetState_Impl ; 317 ] 318} 319