1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27 28interface BaseTextSelection 29[ 30 Automation = FALSE; 31] 32{ 33 SID_ATTR_BRUSH 34 [ 35 ExecMethod = Execute ; 36 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 37 ] 38 39 SID_DELETE // status(final|play) 40 [ 41 ExecMethod = ExecDelete ; 42 StateMethod = GetState ; 43 FastCall = FALSE ; 44 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 45 ] 46 47 FN_BACKSPACE // status(final|play) 48 [ 49 ExecMethod = ExecDelete ; 50 StateMethod = GetState ; 51 FastCall = FALSE ; 52 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 53 ] 54 55 FN_SHIFT_BACKSPACE // status() 56 [ 57 ExecMethod = ExecDelete ; 58 StateMethod = NoState ; 59 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 60 ] 61 62 SID_UNDO // status(final|play) 63 [ 64 ExecMethod = ExecUndo ; 65 StateMethod = StateUndo ; 66 ] 67 68 SID_GETUNDOSTRINGS // status(final|play) 69 [ 70 StateMethod = StateUndo ; 71 ] 72 73 SID_REDO // status(final|play) 74 [ 75 ExecMethod = ExecUndo ; 76 StateMethod = StateUndo ; 77 ] 78 79 SID_GETREDOSTRINGS // status(final|play) 80 [ 81 StateMethod = StateUndo ; 82 ] 83 84 SID_REPEAT // status() 85 [ 86 ExecMethod = ExecUndo ; 87 StateMethod = StateUndo ; 88 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 89 ] 90 91 SID_CUT // status(final|play) 92 [ 93 ExecMethod = ExecClpbrd ; 94 StateMethod = StateClpbrd ; 95 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 96 ] 97 98 SID_COPY // status(final|play) 99 [ 100 ExecMethod = ExecClpbrd ; 101 StateMethod = StateClpbrd ; 102 ] 103 104 SID_PASTE // status(final|play) 105 [ 106 ExecMethod = ExecClpbrd ; 107 StateMethod = StateClpbrd ; 108 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 109 ] 110 111 SID_CLIPBOARD_FORMAT_ITEMS // status(final|play) 112 [ 113 StateMethod = StateClpbrd ; 114 ExecMethod = ExecClpbrd ; 115 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 116 ] 117 118 SID_PASTE_UNFORMATTED // status(final|play) 119 [ 120 ExecMethod = ExecClpbrd ; 121 StateMethod = StateClpbrd ; 122 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 123 ] 124 125 SID_PASTE_SPECIAL // status(final|play) 126 [ 127 ExecMethod = ExecClpbrd ; 128 StateMethod = StateClpbrd ; 129 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 130 ] 131 132 FN_REPAGINATE // status(final|play) 133 [ 134 ExecMethod = Execute ; 135 StateMethod = NoState ; 136 ] 137 138 FN_CHANGE_DBFIELD 139 [ 140 ExecMethod = ExecField ; 141 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 142 ] 143 144 FN_UPDATE_FIELDS // status(final|play) 145 [ 146 ExecMethod = Execute ; 147 StateMethod = NoState ; 148 ] 149 150 FN_UPDATE_CHARTS // status(final|play) 151 [ 152 ExecMethod = Execute ; 153 StateMethod = GetState ; 154 ] 155 FN_UPDATE_ALL // status(final|play) 156 [ 157 ExecMethod = Execute ; 158 StateMethod = NoState ; 159 ] 160 161 FN_UPDATE_INPUTFIELDS // status(final|play) 162 [ 163 ExecMethod = Execute ; 164 StateMethod = NoState ; 165 ] 166 167 FN_FRAME_TO_ANCHOR // status() 168 [ 169 /*OS: Datentypen unvertraeglich ?? */ 170 ExecMethod = Execute ; 171 StateMethod = NoState ; 172 ] 173 174 FN_GOTO_NEXT_OBJ // status(final|play) 175 [ 176 ExecMethod = Execute ; 177 StateMethod = NoState ; 178 ] 179 180 FN_GOTO_PREV_OBJ // status(final|play) 181 [ 182 ExecMethod = Execute ; 183 StateMethod = NoState ; 184 ] 185 186 FN_GOTO_NEXT_MARK // status(final|play) 187 [ 188 ExecMethod = Execute ; 189 StateMethod = NoState ; 190 ] 191 192 FN_GOTO_PREV_MARK // status(final|play) 193 [ 194 ExecMethod = Execute ; 195 StateMethod = NoState ; 196 ] 197 198 FN_PREV_BOOKMARK // status(final|play) 199 [ 200 ExecMethod = Execute ; 201 StateMethod = NoState ; 202 ] 203 204 FN_NEXT_BOOKMARK // status(final|play) 205 [ 206 ExecMethod = Execute ; 207 StateMethod = NoState ; 208 ] 209 210 SID_GALLERY_FORMATS // status() 211 [ 212 Export = FALSE ; 213 ExecMethod = Execute ; 214 ] 215 216 SID_GALLERY_ENABLE_ADDCOPY 217 [ 218 Export = FALSE; 219 StateMethod = GetState; 220 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 221 ] 222 223 SID_BACKGROUND_COLOR // status() 224 [ 225 ExecMethod = ExecBckCol ; 226 StateMethod = GetBckColState ; 227 Cachable , AutoUpdate ; 228 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 229 ] 230 231 FN_EDIT_REGION // status(final|play) 232 [ 233 ExecMethod = EditRegionDialog ; 234 StateMethod = GetState ; 235 ] 236 237 FN_INSERT_REGION // status() 238 [ 239 ExecMethod = InsertRegionDialog; 240 StateMethod = GetState; 241 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 242 ] 243 244 FN_FORMAT_PAGE_DLG // status(final|play) 245 [ 246 ExecMethod = ExecDlg ; 247 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 248 ] 249 250 FN_FORMAT_PAGE_COLUMN_DLG // status(final|play) 251 [ 252 ExecMethod = ExecDlg ; 253 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 254 ] 255 256 FN_CONVERT_TABLE_TO_TEXT 257 [ 258 ExecMethod = Execute ; 259 StateMethod = GetState ; 260 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 261 ] 262 263 FN_CONVERT_TEXT_TO_TABLE 264 [ 265 ExecMethod = Execute ; 266 StateMethod = GetState ; 267 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 268 ] 269 FN_CONVERT_TEXT_TABLE // status(final|play) 270 [ 271 ExecMethod = Execute ; 272 StateMethod = GetState ; 273 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 274 ] 275 FN_FORMAT_BORDER_DLG // status(final|play) 276 [ 277 ExecMethod = ExecDlg ; 278 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 279 ] 280 281 SID_ATTR_BORDER_INNER // status() 282 [ 283 StateMethod = GetBorderState ; 284 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 285 ] 286 287 SID_ATTR_BORDER_OUTER // status() 288 [ 289 ExecMethod = Execute ; 290 StateMethod = GetBorderState ; 291 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 292 ] 293 294 SID_BORDER_REDUCED_MODE 295 [ 296 StateMethod = GetBorderState ; 297 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 298 ] 299 300 FN_FORMAT_BACKGROUND_DLG // status(final|play) 301 [ 302 ExecMethod = ExecDlg ; 303 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 304 ] 305 306 SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status() 307 [ 308 SfxUInt16Item WatercanStyleModeOnOff 309 ( 310 SfxStringItem Param SID_STYLE_WATERCAN , 311 SfxUInt16Item Family SID_STYLE_FAMILY 312 ) ; 313 ExecMethod = Execute ; 314 StateMethod = StateStyle ; 315 NoRecord; 316 GroupId = GID_TEMPLATE ; 317 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 318 ] 319 320 SID_STYLE_UPDATE_BY_EXAMPLE // status() 321 [ 322 ExecMethod = Execute ; 323 StateMethod = StateStyle ; 324 ] 325 326 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play) 327 [ 328 ExecMethod = Execute ; 329 StateMethod = StateStyle ; 330 FastCall = TRUE; // fuer Macroausfuehrung! 331 ] 332 SID_STYLE_APPLY // status(fina|play) 333 [ 334 ExecMethod = Execute ; 335 StateMethod = StateStyle ; 336 FastCall = TRUE;// fuer Macroausfuehrung! 337 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 338 ] 339 340 SID_STYLE_FAMILY1 // status(fina|play) 341 [ 342 StateMethod = StateStyle ; 343 ] 344 345 SID_STYLE_FAMILY2 // status(fina|play) 346 [ 347 StateMethod = StateStyle ; 348 ] 349 350 SID_STYLE_FAMILY3 // status(fina|play) 351 [ 352 StateMethod = StateStyle ; 353 ] 354 355 SID_STYLE_FAMILY4 // status(fina|play) 356 [ 357 StateMethod = StateStyle ; 358 ] 359 360 SID_STYLE_FAMILY5 // status(fina|play) 361 [ 362 StateMethod = StateStyle ; 363 ] 364 365 //OS: Selection.Escape gibt es zusaetzlich zu Window.Escape 366 367 FN_ESCAPE // status(final|play|rec) 368 [ 369 ExecMethod = Execute ; 370 ] 371 372 SID_IMAP 373 [ 374 ExecMethod = Execute ; 375 StateMethod = GetState ; 376 Toggle = FALSE; 377 ] 378 379 SID_IMAP_EXEC 380 [ 381 ExecMethod = Execute ; 382 StateMethod = GetState ; 383 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 384 ] 385// Methode fuer Rahmen und Objekte 386 FN_TOOL_ANKER 387 [ 388 ExecMethod = Execute ; 389 StateMethod = GetState ; 390 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 391 ] 392 393 FN_TOOL_ANKER_PARAGRAPH 394 [ 395 ExecMethod = Execute ; 396 StateMethod = GetState ; 397 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 398 ] 399 400 FN_TOOL_ANKER_CHAR 401 [ 402 ExecMethod = Execute ; 403 StateMethod = GetState ; 404 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 405 ] 406 407 FN_TOOL_ANKER_AT_CHAR 408 [ 409 ExecMethod = Execute ; 410 StateMethod = GetState ; 411 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 412 ] 413 414 FN_TOOL_ANKER_FRAME 415 [ 416 ExecMethod = Execute ; 417 StateMethod = GetState ; 418 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 419 ] 420 421 FN_UPDATE_ALL_LINKS // status() 422 [ 423 ExecMethod = Execute ; 424 StateMethod = GetState ; 425 ] 426 427/*-----------------22.01.97 09.41------------------- 428// ab hier immer Export = FALSE 429--------------------------------------------------*/ 430 431 FN_FRAME_WRAP // status() 432 [ 433 ExecMethod = Execute ; 434 StateMethod = GetState ; 435 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 436 Export = FALSE; 437 ] 438 439 FN_FRAME_WRAP_IDEAL // status() 440 [ 441 ExecMethod = Execute ; 442 StateMethod = GetState ; 443 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 444 Export = FALSE; 445 ] 446 447 FN_FRAME_NOWRAP // status() 448 [ 449 ExecMethod = Execute ; 450 StateMethod = GetState ; 451 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 452 Export = FALSE; 453 ] 454 455 FN_FRAME_WRAPTHRU // status() 456 [ 457 ExecMethod = Execute ; 458 StateMethod = GetState ; 459 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 460 Export = FALSE; 461 ] 462 463 FN_FRAME_WRAPTHRU_TRANSP // status() 464 [ 465 ExecMethod = Execute ; 466 StateMethod = GetState ; 467 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 468 Export = FALSE; 469 ] 470 471 FN_FRAME_WRAP_CONTOUR // status() 472 [ 473 ExecMethod = Execute ; 474 StateMethod = GetState ; 475 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 476 Export = FALSE; 477 ] 478 479 FN_WRAP_ANCHOR_ONLY // status() 480 [ 481 ExecMethod = Execute ; 482 StateMethod = GetState ; 483 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 484 Export = FALSE; 485 ] 486 487 FN_FRAME_WRAP_LEFT // status() 488 [ 489 ExecMethod = Execute ; 490 StateMethod = GetState ; 491 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 492 Export = FALSE; 493 ] 494 495 FN_FRAME_WRAP_RIGHT // status() 496 [ 497 ExecMethod = Execute ; 498 StateMethod = GetState ; 499 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 500 Export = FALSE; 501 ] 502 503 504 505 SID_GALLERY_BG_BRUSH 506 [ 507 ExecMethod = ExecuteGallery; 508 StateMethod = GetGalleryState; 509 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 510 Export = FALSE; 511 ] 512 SID_ATTR_BORDER_SHADOW // status(final|play) 513 [ 514 ExecMethod = Execute ; 515 StateMethod = GetState ; 516 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 517 ] 518 519 FN_XFORMS_DESIGN_MODE 520 [ 521 ExecMethod = Execute; 522 StateMethod = GetState; 523 ] 524} 525 526