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 Window 25[ 26 Automation = FALSE ; 27] 28{ 29 SID_HYPERLINK_INSERT 30 [ 31 ExecMethod = ChildWindowExecute ; 32 StateMethod = ChildWindowState ; 33 ] 34 SID_HYPERLINK_DIALOG 35 [ 36 ExecMethod = ChildWindowExecute ; 37 StateMethod = ChildWindowState ; 38 ] 39 SID_RUBY_DIALOG 40 [ 41 ExecMethod = ChildWindowExecute ; 42 StateMethod = ChildWindowState ; 43 ] 44 SID_NAVIGATOR // status(final|play) 45 [ 46 ExecMethod = ChildWindowExecute ; 47 StateMethod = ChildWindowState ; 48 ] 49 SID_TASKPANE // status(final|play) 50 [ 51 ExecMethod = ChildWindowExecute ; 52 StateMethod = ChildWindowState ; 53 ] 54 SID_SIDEBAR // status(final|play) 55 [ 56 ExecMethod = ChildWindowExecute ; 57 StateMethod = ChildWindowState ; 58 ] 59 SID_SHOW_BROWSER // ole(no) api(final/play/rec) 60 [ 61 ExecMethod = ChildWindowExecute ; 62 StateMethod = ChildWindowState ; 63 ] 64 SID_BROWSER // ole(no) api() 65 [ 66 ExecMethod = ChildWindowExecute ; 67 StateMethod = ChildWindowState ; 68 ] 69 SID_VIEW_DATA_SOURCE_BROWSER// ole(no) api() 70 [ 71 ExecMethod = ChildWindowExecute ; 72 StateMethod = ChildWindowState ; 73 ] 74 SID_PARTWIN // ole(no) api() 75 [ 76 ExecMethod = ChildWindowExecute ; 77 StateMethod = ChildWindowState ; 78 ] 79 SID_MAIL_CHILDWIN // ole(no) api() 80 [ 81 ExecMethod = ChildWindowExecute ; 82 StateMethod = ChildWindowState ; 83 ] 84 SID_TIPWINDOW 85 [ 86 ExecMethod = ChildWindowExecute ; 87 StateMethod = ChildWindowState ; 88 ] 89 SID_SEARCH_DLG // ole(no) api(final/play/rec) 90 [ 91 ExecMethod = ChildWindowExecute ; 92 StateMethod = ChildWindowState ; 93 ] 94 SID_TOGGLESTATUSBAR // ole(no) api(final/play/rec) 95 [ 96 ExecMethod = MiscExec_Impl ; 97 StateMethod = MiscState_Impl ; 98 ] 99 SID_RECORDMACRO // ole(no) api(final/play/norec) 100 [ 101 ExecMethod = MiscExec_Impl ; 102 StateMethod = MiscState_Impl ; 103 ] 104 SID_STOP_RECORDING // ole(no) api(final/play/norec) 105 [ 106 ExecMethod = MiscExec_Impl ; 107 StateMethod = MiscState_Impl ; 108 ] 109 SID_STYLE_DESIGNER // ole(no) api(final/play/rec) 110 [ 111 ExecMethod = ChildWindowExecute ; 112 StateMethod = ChildWindowState ; 113 ] 114 SID_RECORDING_FLOATWINDOW // ole(no) api(final/play/rec) 115 [ 116 ExecMethod = ChildWindowExecute ; 117 StateMethod = ChildWindowState ; 118 ] 119 120 // Pre-defined docking window slots (usable by internal docking windows) 121 SID_DOCKWIN_0 122 [ 123 ExecMethod = ChildWindowExecute ; 124 StateMethod = ChildWindowState ; 125 ] 126 SID_DOCKWIN_1 127 [ 128 ExecMethod = ChildWindowExecute ; 129 StateMethod = ChildWindowState ; 130 ] 131 SID_DOCKWIN_2 132 [ 133 ExecMethod = ChildWindowExecute ; 134 StateMethod = ChildWindowState ; 135 ] 136 SID_DOCKWIN_3 137 [ 138 ExecMethod = ChildWindowExecute ; 139 StateMethod = ChildWindowState ; 140 ] 141 SID_DOCKWIN_4 142 [ 143 ExecMethod = ChildWindowExecute ; 144 StateMethod = ChildWindowState ; 145 ] 146 SID_DOCKWIN_5 147 [ 148 ExecMethod = ChildWindowExecute ; 149 StateMethod = ChildWindowState ; 150 ] 151 SID_DOCKWIN_6 152 [ 153 ExecMethod = ChildWindowExecute ; 154 StateMethod = ChildWindowState ; 155 ] 156 SID_DOCKWIN_7 157 [ 158 ExecMethod = ChildWindowExecute ; 159 StateMethod = ChildWindowState ; 160 ] 161 SID_DOCKWIN_8 162 [ 163 ExecMethod = ChildWindowExecute ; 164 StateMethod = ChildWindowState ; 165 ] 166 SID_DOCKWIN_9 167 [ 168 ExecMethod = ChildWindowExecute ; 169 StateMethod = ChildWindowState ; 170 ] 171/* Be careful! 172 You also have to make changes in: 173 - sfx2/sdi/sfx.sdi 174 - sfx2/source/dialog/dockwin.cxx 175 - sfx2/sdi/frmslots.sdi 176 - sfx2/inc/sfx2/sfxsids.hrc 177 178 SID_DOCKWIN_10 179 [ 180 ExecMethod = ChildWindowExecute ; 181 StateMethod = ChildWindowState ; 182 ] 183 SID_DOCKWIN_11 184 [ 185 ExecMethod = ChildWindowExecute ; 186 StateMethod = ChildWindowState ; 187 ] 188 SID_DOCKWIN_12 189 [ 190 ExecMethod = ChildWindowExecute ; 191 StateMethod = ChildWindowState ; 192 ] 193 SID_DOCKWIN_13 194 [ 195 ExecMethod = ChildWindowExecute ; 196 StateMethod = ChildWindowState ; 197 ] 198 SID_DOCKWIN_14 199 [ 200 ExecMethod = ChildWindowExecute ; 201 StateMethod = ChildWindowState ; 202 ] 203 SID_DOCKWIN_15 204 [ 205 ExecMethod = ChildWindowExecute ; 206 StateMethod = ChildWindowState ; 207 ] 208 SID_DOCKWIN_16 209 [ 210 ExecMethod = ChildWindowExecute ; 211 StateMethod = ChildWindowState ; 212 ] 213 SID_DOCKWIN_17 214 [ 215 ExecMethod = ChildWindowExecute ; 216 StateMethod = ChildWindowState ; 217 ] 218 SID_DOCKWIN_18 219 [ 220 ExecMethod = ChildWindowExecute ; 221 StateMethod = ChildWindowState ; 222 ] 223 SID_DOCKWIN_19 224 [ 225 ExecMethod = ChildWindowExecute ; 226 StateMethod = ChildWindowState ; 227 ] 228 SID_DOCKWIN_20 229 [ 230 ExecMethod = ChildWindowExecute ; 231 StateMethod = ChildWindowState ; 232 ] 233 SID_DOCKWIN_21 234 [ 235 ExecMethod = ChildWindowExecute ; 236 StateMethod = ChildWindowState ; 237 ] 238 SID_DOCKWIN_22 239 [ 240 ExecMethod = ChildWindowExecute ; 241 StateMethod = ChildWindowState ; 242 ] 243 SID_DOCKWIN_23 244 [ 245 ExecMethod = ChildWindowExecute ; 246 StateMethod = ChildWindowState ; 247 ] 248 SID_DOCKWIN_24 249 [ 250 ExecMethod = ChildWindowExecute ; 251 StateMethod = ChildWindowState ; 252 ] 253 SID_DOCKWIN_25 254 [ 255 ExecMethod = ChildWindowExecute ; 256 StateMethod = ChildWindowState ; 257 ] 258 SID_DOCKWIN_26 259 [ 260 ExecMethod = ChildWindowExecute ; 261 StateMethod = ChildWindowState ; 262 ] 263 SID_DOCKWIN_27 264 [ 265 ExecMethod = ChildWindowExecute ; 266 StateMethod = ChildWindowState ; 267 ] 268 SID_DOCKWIN_28 269 [ 270 ExecMethod = ChildWindowExecute ; 271 StateMethod = ChildWindowState ; 272 ] 273 SID_DOCKWIN_29 274 [ 275 ExecMethod = ChildWindowExecute ; 276 StateMethod = ChildWindowState ; 277 ] 278*/ 279 // Window.GetFrameWindow( "Name" ) 280 SID_FILLFRAME 281 [ 282 ExecMethod = ExecView_Impl; 283 ] 284 285 // Nur f"ur Gestalter: Slot mu\s vorhanden sein 286 SID_STYLE_NEW 287 [ 288 ] 289 290 // Nur f"ur Gestalter: Slot mu\s vorhanden sein 291 SID_STYLE_DRAGHIERARCHIE 292 [ 293 ] 294 SID_CLEARHISTORY // ole(no) api(final/play/rec) 295 [ 296 ExecMethod = ExecHistory_Impl ; 297 StateMethod = StateHistory_Impl ; 298 ] 299 SID_UNDO // ole(no) api(final/play/rec) 300 [ 301 ExecMethod = ExecHistory_Impl ; 302 StateMethod = StateHistory_Impl ; 303 ] 304 SID_REDO // ole(no) api(final/play/rec) 305 [ 306 ExecMethod = ExecHistory_Impl ; 307 StateMethod = StateHistory_Impl ; 308 ] 309 SID_REPEAT // ole(no) api(final/play/rec) 310 [ 311 ExecMethod = ExecHistory_Impl ; 312 StateMethod = StateHistory_Impl ; 313 ] 314 SID_CURRENT_URL // ole(no) api(no) 315 [ 316 StateMethod = MiscState_Impl ; 317 ] 318 // Stringlist mit den Verben( SFX only ) 319 SID_OBJECT // ole(no) api(no) 320 [ 321 StateMethod = GetState_Impl ; 322 ExecMethod = ExecView_Impl ; 323 ] 324 SID_TERMINATE_INPLACEACTIVATION 325 [ 326 ExecMethod = ExecView_Impl ; 327 ] 328} 329 330interface BrowseWindow : Window 331[ 332 Automation = FALSE ; 333] 334{ 335 SID_ACTIVATE // ole(no) api(final/play/rec) 336 [ 337 // Implementierung in Subklassen 338 ] 339 SID_NEWWINDOW // ole(no) api(play/rec) 340 [ 341 ExecMethod = ExecView_Impl ; 342 StateMethod = StateView_Impl ; 343 ] 344 SID_EDITDOC // ole(?opt) api(play/rec) 345 [ 346 ExecMethod = ExecReload_Impl ; 347 StateMethod = StateReload_Impl ; 348 ] 349 SID_RELOAD // ole(?opt) api(play/rec) 350 [ 351 ExecMethod = ExecReload_Impl ; 352 StateMethod = StateReload_Impl ; 353 ] 354 SID_VIEWSHELL // ole(no) api(no) 355 [ 356 ExecMethod = ExecView_Impl ; 357 StateMethod = StateView_Impl ; 358 ] 359 SID_VIEWSHELL0 // ole(no) api(no) 360 [ 361 ExecMethod = ExecView_Impl ; 362 StateMethod = StateView_Impl ; 363 ] 364 SID_VIEWSHELL1 // ole(no) api(no) 365 [ 366 ExecMethod = ExecView_Impl ; 367 StateMethod = StateView_Impl ; 368 ] 369 SID_VIEWSHELL2 // ole(no) api(no) 370 [ 371 ExecMethod = ExecView_Impl ; 372 StateMethod = StateView_Impl ; 373 ] 374 SID_VIEWSHELL3 // ole(no) api(no) 375 [ 376 ExecMethod = ExecView_Impl ; 377 StateMethod = StateView_Impl ; 378 ] 379 SID_VIEWSHELL4 // ole(no) api(no) 380 [ 381 ExecMethod = ExecView_Impl ; 382 StateMethod = StateView_Impl ; 383 ] 384} 385 386interface TopWindow : BrowseWindow 387[ 388 Automation = FALSE ; 389] 390{ 391 SID_NEWDOCDIRECT // ole(no) api(no) 392 [ 393 ExecMethod = Exec_Impl ; 394 StateMethod = GetState_Impl ; 395 ] 396 SID_WIN_FULLSCREEN // ole(no) api(final/play/rec) 397 [ 398 ExecMethod = MiscExec_Impl ; 399 StateMethod = MiscState_Impl ; 400 ] 401 SID_FRAMETITLE // ole(no) api(play/rec) 402 [ 403 StateMethod = StateView_Impl ; 404 ] 405 SID_CLOSEWIN // ole(no) api(final/play/rec) 406 [ 407 ExecMethod = Exec_Impl ; 408 StateMethod = GetState_Impl ; 409 ] 410 SID_BROWSE_FORWARD // ole(no) api() 411 [ 412 ExecMethod = INetExecute_Impl ; 413 StateMethod = INetState_Impl ; 414 ] 415 SID_BROWSE_BACKWARD // ole(no) api() 416 [ 417 ExecMethod = INetExecute_Impl ; 418 StateMethod = INetState_Impl ; 419 ] 420 SID_CREATELINK // ole(no) api() 421 [ 422 ExecMethod = INetExecute_Impl ; 423 StateMethod = INetState_Impl ; 424 ] 425 SID_FOCUSURLBOX // ole(no) api(final/play/rec) 426 [ 427 ExecMethod = INetExecute_Impl ; 428 StateMethod = INetState_Impl ; 429 ] 430} 431 432 //========================================================================= 433 434shell SfxViewFrame 435{ 436 import TopWindow [Automation]; 437 438 SID_FORMATMENUSTATE 439 [ 440 StateMethod = MiscState_Impl ; 441 ] 442 443 SID_ACTIVATE // ole(no) api(final/play/rec) 444 [ 445 ExecMethod = Exec_Impl ; 446 StateMethod = GetState_Impl ; 447 ] 448 449 SID_SHOWPOPUPS 450 [ 451 ExecMethod = Exec_Impl ; 452 StateMethod = GetState_Impl ; 453 ] 454} 455 456