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 BaseTextSelection 20{ 21 SID_ATTR_BRUSH 22 [ 23 ExecMethod = Execute ; 24 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 25 ] 26 27 SID_DELETE // status(final|play) 28 [ 29 ExecMethod = ExecDelete ; 30 StateMethod = GetState ; 31 FastCall = FALSE ; 32 ] 33 34 FN_BACKSPACE // status(final|play) 35 [ 36 ExecMethod = ExecDelete ; 37 StateMethod = GetState ; 38 FastCall = FALSE ; 39 ] 40 41 FN_SHIFT_BACKSPACE // status() 42 [ 43 ExecMethod = ExecDelete ; 44 StateMethod = NoState ; 45 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 46 ] 47 48 SID_UNDO // status(final|play) 49 [ 50 ExecMethod = ExecUndo ; 51 StateMethod = StateUndo ; 52 ] 53 54 SID_GETUNDOSTRINGS // status(final|play) 55 [ 56 StateMethod = StateUndo ; 57 ] 58 59 SID_REDO // status(final|play) 60 [ 61 ExecMethod = ExecUndo ; 62 StateMethod = StateUndo ; 63 ] 64 65 SID_GETREDOSTRINGS // status(final|play) 66 [ 67 StateMethod = StateUndo ; 68 ] 69 70 SID_REPEAT // status() 71 [ 72 ExecMethod = ExecUndo ; 73 StateMethod = StateUndo ; 74 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 75 ] 76 77 SID_CUT // status(final|play) 78 [ 79 ExecMethod = ExecClpbrd ; 80 StateMethod = StateClpbrd ; 81 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 82 ] 83 84 SID_COPY // status(final|play) 85 [ 86 ExecMethod = ExecClpbrd ; 87 StateMethod = StateClpbrd ; 88 ] 89 90 SID_PASTE // status(final|play) 91 [ 92 ExecMethod = ExecClpbrd ; 93 StateMethod = StateClpbrd ; 94 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 95 ] 96 97 SID_CLIPBOARD_FORMAT_ITEMS // status(final|play) 98 [ 99 StateMethod = StateClpbrd ; 100 ExecMethod = ExecClpbrd ; 101 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 102 ] 103 104 SID_PASTE_UNFORMATTED // status(final|play) 105 [ 106 ExecMethod = ExecClpbrd ; 107 StateMethod = StateClpbrd ; 108 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 109 ] 110 111 SID_PASTE_SPECIAL // status(final|play) 112 [ 113 ExecMethod = ExecClpbrd ; 114 StateMethod = StateClpbrd ; 115 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 116 ] 117 118 FN_PASTE_NESTED_TABLE // status(final|play) 119 [ 120 ExecMethod = ExecClpbrd ; 121 StateMethod = StateClpbrd ; 122 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 123 ] 124 125 FN_TABLE_PASTE_ROW_BEFORE // status(final|play) 126 [ 127 ExecMethod = ExecClpbrd ; 128 StateMethod = StateClpbrd ; 129 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 130 ] 131 132 FN_TABLE_PASTE_COL_BEFORE // status(final|play) 133 [ 134 ExecMethod = ExecClpbrd ; 135 StateMethod = StateClpbrd ; 136 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 137 ] 138 139 FN_REPAGINATE // status(final|play) 140 [ 141 ExecMethod = Execute ; 142 StateMethod = NoState ; 143 ] 144 145 FN_CHANGE_DBFIELD 146 [ 147 ExecMethod = ExecField ; 148 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 149 ] 150 151 FN_UPDATE_FIELDS // status(final|play) 152 [ 153 ExecMethod = Execute ; 154 StateMethod = NoState ; 155 ] 156 157 FN_UPDATE_CHARTS // status(final|play) 158 [ 159 ExecMethod = Execute ; 160 StateMethod = GetState ; 161 ] 162 FN_UPDATE_ALL // status(final|play) 163 [ 164 ExecMethod = Execute ; 165 StateMethod = NoState ; 166 ] 167 168 FN_UPDATE_INPUTFIELDS // status(final|play) 169 [ 170 ExecMethod = Execute ; 171 StateMethod = NoState ; 172 ] 173 174 FN_FRAME_TO_ANCHOR // status() 175 [ 176 /*OS: data types incompatible?? */ 177 ExecMethod = Execute ; 178 StateMethod = NoState ; 179 ] 180 181 FN_GOTO_NEXT_OBJ // status(final|play) 182 [ 183 ExecMethod = Execute ; 184 StateMethod = NoState ; 185 ] 186 187 FN_GOTO_PREV_OBJ // status(final|play) 188 [ 189 ExecMethod = Execute ; 190 StateMethod = NoState ; 191 ] 192 193 FN_GOTO_NEXT_MARK // status(final|play) 194 [ 195 ExecMethod = Execute ; 196 StateMethod = NoState ; 197 ] 198 199 FN_GOTO_PREV_MARK // status(final|play) 200 [ 201 ExecMethod = Execute ; 202 StateMethod = NoState ; 203 ] 204 205 FN_PREV_BOOKMARK // status(final|play) 206 [ 207 ExecMethod = Execute ; 208 StateMethod = NoState ; 209 ] 210 211 FN_NEXT_BOOKMARK // status(final|play) 212 [ 213 ExecMethod = Execute ; 214 StateMethod = NoState ; 215 ] 216 217 SID_GALLERY_FORMATS // status() 218 [ 219 Export = FALSE ; 220 ExecMethod = Execute ; 221 ] 222 223 SID_GALLERY_ENABLE_ADDCOPY 224 [ 225 Export = FALSE; 226 StateMethod = GetState; 227 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 228 ] 229 230 SID_TABLE_CELL_BACKGROUND_COLOR 231 [ 232 ExecMethod = ExecBckCol ; 233 StateMethod = GetBckColState ; 234 AutoUpdate ; 235 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 236 ] 237 238 SID_BACKGROUND_COLOR // status() 239 [ 240 ExecMethod = ExecBckCol ; 241 StateMethod = GetBckColState ; 242 AutoUpdate ; 243 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 244 ] 245 246 FN_EDIT_REGION // status(final|play) 247 [ 248 ExecMethod = EditRegionDialog ; 249 StateMethod = GetState ; 250 ] 251 252 FN_EDIT_CURRENT_REGION // status(final|play) 253 [ 254 ExecMethod = EditRegionDialog ; 255 StateMethod = GetState ; 256 ] 257 258 FN_INSERT_REGION // status() 259 [ 260 ExecMethod = InsertRegionDialog; 261 StateMethod = GetState; 262 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 263 ] 264 265 FN_FORMAT_PAGE_DLG // status(final|play) 266 [ 267 ExecMethod = ExecDlg ; 268 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 269 ] 270 271 FN_FORMAT_TITLEPAGE_DLG // status(final|play) 272 [ 273 ExecMethod = ExecDlg ; 274 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 275 ] 276 277 FN_FORMAT_PAGE_COLUMN_DLG // status(final|play) 278 [ 279 ExecMethod = ExecDlg ; 280 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 281 ] 282 283 FN_FORMAT_PAGE_SETTING_DLG 284 [ 285 ExecMethod = ExecDlg ; 286 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 287 ] 288 289 FN_CONVERT_TABLE_TO_TEXT 290 [ 291 ExecMethod = Execute ; 292 StateMethod = GetState ; 293 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 294 ] 295 296 FN_CONVERT_TEXT_TO_TABLE 297 [ 298 ExecMethod = Execute ; 299 StateMethod = GetState ; 300 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 301 ] 302 FN_CONVERT_TEXT_TABLE // status(final|play) 303 [ 304 ExecMethod = Execute ; 305 StateMethod = GetState ; 306 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 307 ] 308 309 FN_FORMAT_BORDER_DLG // status(final|play) 310 [ 311 ExecMethod = ExecDlg ; 312 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 313 ] 314 315 SID_ATTR_BORDER_INNER // status() 316 [ 317 StateMethod = GetBorderState ; 318 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 319 ] 320 321 SID_ATTR_BORDER_OUTER // status() 322 [ 323 ExecMethod = Execute ; 324 StateMethod = GetBorderState ; 325 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 326 ] 327 328 SID_BORDER_REDUCED_MODE 329 [ 330 StateMethod = GetBorderState ; 331 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 332 ] 333 334 FN_FORMAT_BACKGROUND_DLG // status(final|play) 335 [ 336 ExecMethod = ExecDlg ; 337 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 338 ] 339 340 SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status() 341 ( 342 SfxStringItem Param SID_STYLE_WATERCAN , 343 SfxUInt16Item Family SID_STYLE_FAMILY 344 ) 345 [ 346 ExecMethod = Execute ; 347 StateMethod = StateStyle ; 348 NoRecord; 349 GroupId = SfxGroupId::Template ; 350 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 351 ] 352 353 SID_STYLE_UPDATE_BY_EXAMPLE // status() 354 [ 355 ExecMethod = Execute ; 356 StateMethod = StateStyle ; 357 ] 358 359 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play) 360 [ 361 ExecMethod = Execute ; 362 StateMethod = StateStyle ; 363 FastCall = TRUE; // for macro execution! 364 ] 365 SID_STYLE_APPLY // status(fina|play) 366 [ 367 ExecMethod = Execute ; 368 StateMethod = StateStyle ; 369 FastCall = TRUE;// for macro execution! 370 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 371 ] 372 373 SID_STYLE_FAMILY1 // status(fina|play) 374 [ 375 StateMethod = StateStyle ; 376 ] 377 378 SID_STYLE_FAMILY2 // status(fina|play) 379 [ 380 StateMethod = StateStyle ; 381 ] 382 383 SID_STYLE_FAMILY3 // status(fina|play) 384 [ 385 StateMethod = StateStyle ; 386 ] 387 388 SID_STYLE_FAMILY4 // status(fina|play) 389 [ 390 StateMethod = StateStyle ; 391 ] 392 393 SID_STYLE_FAMILY5 // status(fina|play) 394 [ 395 StateMethod = StateStyle ; 396 ] 397 398 SID_STYLE_FAMILY6 // status(fina|play) 399 [ 400 StateMethod = StateStyle ; 401 ] 402 403 SID_CLASSIFICATION_APPLY 404 [ 405 ExecMethod = Execute ; 406 StateMethod = StateStyle ; 407 ] 408 409 SID_CLASSIFICATION_DIALOG 410 [ 411 ExecMethod = Execute ; 412 StateMethod = StateStyle ; 413 ] 414 415 SID_PARAGRAPH_SIGN_CLASSIFY_DLG 416 [ 417 ExecMethod = Execute ; 418 StateMethod = StateStyle ; 419 ] 420 421 SID_WATERMARK 422 [ 423 ExecMethod = Execute ; 424 StateMethod = StateStyle ; 425 ] 426 427 //OS: Selection.Escape exists additionally to Window.Escape 428 429 FN_ESCAPE // status(final|play|rec) 430 [ 431 ExecMethod = Execute ; 432 ] 433 434 SID_IMAP 435 [ 436 ExecMethod = Execute ; 437 StateMethod = GetState ; 438 Toggle = FALSE; 439 ] 440 441 SID_IMAP_EXEC 442 [ 443 ExecMethod = Execute ; 444 StateMethod = GetState ; 445 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 446 ] 447// Method for frames and objects 448 SID_ANCHOR_MENU 449 [ 450 StateMethod = GetState ; 451 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 452 ] 453 454 FN_TOOL_ANCHOR_PARAGRAPH 455 [ 456 ExecMethod = Execute ; 457 StateMethod = GetState ; 458 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 459 ] 460 461 FN_TOOL_ANCHOR_CHAR 462 [ 463 ExecMethod = Execute ; 464 StateMethod = GetState ; 465 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 466 ] 467 468 FN_TOOL_ANCHOR_AT_CHAR 469 [ 470 ExecMethod = Execute ; 471 StateMethod = GetState ; 472 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 473 ] 474 475 FN_TOOL_ANCHOR_FRAME 476 [ 477 ExecMethod = Execute ; 478 StateMethod = GetState ; 479 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 480 ] 481 482 FN_UPDATE_ALL_LINKS // status() 483 [ 484 ExecMethod = Execute ; 485 StateMethod = GetState ; 486 ] 487 488// from here on Export = FALSE 489 490 FN_FRAME_WRAP // status() 491 [ 492 ExecMethod = Execute ; 493 StateMethod = GetState ; 494 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 495 Export = FALSE; 496 ] 497 498 FN_FRAME_WRAP_IDEAL // status() 499 [ 500 ExecMethod = Execute ; 501 StateMethod = GetState ; 502 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 503 Export = FALSE; 504 ] 505 506 FN_FRAME_NOWRAP // status() 507 [ 508 ExecMethod = Execute ; 509 StateMethod = GetState ; 510 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 511 Export = FALSE; 512 ] 513 514 FN_FRAME_WRAPTHRU // status() 515 [ 516 ExecMethod = Execute ; 517 StateMethod = GetState ; 518 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 519 Export = FALSE; 520 ] 521 522 FN_FRAME_WRAPTHRU_TRANSP // status() 523 [ 524 ExecMethod = Execute ; 525 StateMethod = GetState ; 526 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 527 Export = FALSE; 528 ] 529 530 FN_FRAME_WRAPTHRU_TOGGLE // status() 531 [ 532 ExecMethod = Execute ; 533 StateMethod = GetState ; 534 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 535 Export = FALSE; 536 ] 537 538 FN_FRAME_WRAP_CONTOUR // status() 539 [ 540 ExecMethod = Execute ; 541 StateMethod = GetState ; 542 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 543 Export = FALSE; 544 ] 545 546 FN_WRAP_ANCHOR_ONLY // status() 547 [ 548 ExecMethod = Execute ; 549 StateMethod = GetState ; 550 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 551 Export = FALSE; 552 ] 553 554 FN_FRAME_WRAP_LEFT // status() 555 [ 556 ExecMethod = Execute ; 557 StateMethod = GetState ; 558 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 559 Export = FALSE; 560 ] 561 562 FN_FRAME_WRAP_RIGHT // status() 563 [ 564 ExecMethod = Execute ; 565 StateMethod = GetState ; 566 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 567 Export = FALSE; 568 ] 569 570 SID_GALLERY_BG_BRUSH 571 [ 572 ExecMethod = ExecuteGallery; 573 StateMethod = GetGalleryState; 574 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 575 Export = FALSE; 576 ] 577 SID_ATTR_BORDER_SHADOW // status(final|play) 578 [ 579 ExecMethod = Execute ; 580 StateMethod = GetState ; 581 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; 582 ] 583 584 FN_XFORMS_DESIGN_MODE 585 [ 586 ExecMethod = Execute; 587 StateMethod = GetState; 588 ] 589} 590