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