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 _Annotation 29[ Automation = FALSE; ] 30{ 31 FN_DELETE_COMMENT 32 [ 33 ExecMethod = NoteExec ; 34 StateMethod = GetNoteState ; 35 ] 36 37 FN_DELETE_NOTE_AUTHOR 38 [ 39 ExecMethod = NoteExec ; 40 StateMethod = GetNoteState ; 41 ] 42 43 FN_DELETE_ALL_NOTES 44 [ 45 ExecMethod = NoteExec ; 46 StateMethod = GetNoteState ; 47 ] 48 49 FN_HIDE_NOTE 50 [ 51 ExecMethod = NoteExec ; 52 StateMethod = GetNoteState ; 53 ] 54 55 FN_HIDE_NOTE_AUTHOR 56 [ 57 ExecMethod = NoteExec ; 58 StateMethod = GetNoteState ; 59 ] 60 61 FN_HIDE_ALL_NOTES 62 [ 63 ExecMethod = NoteExec ; 64 StateMethod = GetNoteState ; 65 ] 66 67 FN_POSTIT 68 [ 69 ExecMethod = NoteExec ; 70 StateMethod = GetNoteState ; 71 ] 72 73 FN_REPLY 74 [ 75 ExecMethod = NoteExec ; 76 StateMethod = GetNoteState ; 77 ] 78 FN_ESCAPE // api: 79 [ 80 ExecMethod = NoteExec ; 81 ] 82 83 SfxVoidItem Cut SID_CUT ( ) // api: 84 [ 85 ExecMethod = ExecClpbrd ; 86 StateMethod = StateClpbrd ; 87 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 88 ] 89 90 SID_COPY // api: 91 [ 92 ExecMethod = ExecClpbrd ; 93 StateMethod = StateClpbrd ; 94 ] 95 96 SID_PASTE // api: 97 [ 98 ExecMethod = ExecClpbrd ; 99 StateMethod = StateClpbrd ; 100 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 101 ] 102 103 SID_PASTE_SPECIAL // api: 104 [ 105 StateMethod = StateClpbrd ; 106 ExecMethod = ExecClpbrd ; 107 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 108 ] 109 110 SID_CLIPBOARD_FORMAT_ITEMS // status(final|play) 111 [ 112 StateMethod = StateClpbrd ; 113 ExecMethod = ExecClpbrd ; 114 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 115 ] 116 117 SID_SELECTALL // api: 118 [ 119 ExecMethod = Exec ; 120 StateMethod = NoState ; 121 ] 122 123 SID_UNDO // api: 124 [ 125 ExecMethod = ExecUndo ; 126 StateMethod = StateUndo ; 127 128 ToolBoxConfig , MenuConfig , AccelConfig; 129 ] 130 131 SID_REDO // api: 132 [ 133 ExecMethod = ExecUndo ; 134 StateMethod = StateUndo ; 135 136 ] 137 138 SID_REPEAT // api: 139 [ 140 ExecMethod = ExecUndo ; 141 StateMethod = StateUndo ; 142 ] 143 SID_GETUNDOSTRINGS 144 [ 145 StateMethod = StateUndo ; 146 ] 147 148 SID_GETREDOSTRINGS 149 [ 150 StateMethod = StateUndo ; 151 ] 152 153 FN_FORMAT_RESET // api: 154 [ 155 ExecMethod = Exec ; 156 StateMethod = NoState ; 157 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 158 ] 159 160 FN_FORMAT_FOOTNOTE_DLG // status() 161 [ 162 ExecMethod = Exec ; 163 ] 164 165 SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ? 166 [ 167 ExecMethod = Exec ; 168 ] 169 170 FN_WORDCOUNT_DIALOG 171 [ 172 ExecMethod = Exec; 173 ] 174 175 FN_NUMBERING_OUTLINE_DLG // status(final|play) 176 [ 177 ExecMethod = Exec ; 178 ] 179 180 SID_CHARMAP // api: 181 [ 182 ExecMethod = Exec ; 183 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 184 ] 185 186 FN_INSERT_STRING 187 [ 188 ExecMethod = Exec ; 189 StateMethod = NoState ; 190 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 191 ] 192 193 SID_ATTR_CHAR_FONT // status() 194 [ 195 ExecMethod = Exec; 196 StateMethod = GetState ; 197 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 198 ] 199 200 SID_ATTR_CHAR_FONTHEIGHT // status() 201 [ 202 ExecMethod = Exec; 203 StateMethod = GetState ; 204 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 205 ] 206 207 SID_ATTR_CHAR_COLOR // api: 208 [ 209 ExecMethod = Exec; 210 StateMethod = GetState ; 211 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 212 ] 213 214 SID_ATTR_CHAR_WEIGHT // api: 215 [ 216 ExecMethod = Exec ; 217 StateMethod = GetState ; 218 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 219 ] 220 221 SID_ATTR_CHAR_POSTURE // api: 222 [ 223 ExecMethod = Exec ; 224 StateMethod = GetState ; 225 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 226 ] 227 228 SID_ATTR_CHAR_UNDERLINE // api: 229 [ 230 ExecMethod = Exec ; 231 StateMethod = GetState ; 232 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 233 ] 234 235 SID_ATTR_CHAR_OVERLINE // api: 236 [ 237 ExecMethod = Exec ; 238 StateMethod = GetState ; 239 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 240 ] 241 242 SID_ATTR_CHAR_CONTOUR 243 [ 244 ExecMethod = Exec; 245 StateMethod = GetState ; 246 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 247 ] 248 249 SID_ATTR_CHAR_SHADOWED 250 [ 251 ExecMethod = Exec; 252 StateMethod = GetState ; 253 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 254 ] 255 256 SID_ATTR_CHAR_STRIKEOUT 257 [ 258 ExecMethod = Exec; 259 StateMethod = GetState ; 260 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 261 ] 262 263 SID_ATTR_CHAR_LANGUAGE // status(final|play) 264 [ 265 ExecMethod = Execute ; 266 StateMethod = GetState ; 267 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 268 ] 269 270 SID_ATTR_PARA_ADJUST_LEFT // api: 271 [ 272 ExecMethod = Exec ; 273 StateMethod = GetState ; 274 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 275 ] 276 277 SID_ATTR_PARA_ADJUST_CENTER // api: 278 [ 279 ExecMethod = Exec ; 280 StateMethod = GetState ; 281 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 282 ] 283 284 SID_ATTR_PARA_ADJUST_RIGHT // api: 285 [ 286 ExecMethod = Exec ; 287 StateMethod = GetState ; 288 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 289 ] 290 291 SID_ATTR_PARA_ADJUST_BLOCK // api: 292 [ 293 ExecMethod = Exec ; 294 StateMethod = GetState ; 295 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 296 ] 297 298 SID_ATTR_PARA_LINESPACE_10 // api: 299 [ 300 ExecMethod = Exec ; 301 StateMethod = GetState ; 302 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 303 ] 304 305 SID_ATTR_PARA_LINESPACE_15 // api: 306 [ 307 ExecMethod = Exec ; 308 StateMethod = GetState ; 309 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 310 ] 311 312 SID_ATTR_PARA_LINESPACE_20 // api: 313 [ 314 ExecMethod = Exec ; 315 StateMethod = GetState ; 316 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 317 ] 318 319 SID_CHAR_DLG // api: 320 [ 321 ExecMethod = Exec ; 322 StateMethod = GetState ; 323 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 324 ] 325 326 SID_PARA_DLG // api: 327 [ 328 ExecMethod = Exec ; 329 StateMethod = GetState ; 330 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 331 ] 332 333 FN_SET_SUPER_SCRIPT 334 [ 335 ExecMethod = Exec ; 336 StateMethod = GetState ; 337 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 338 ] 339 340 FN_SET_SUB_SCRIPT 341 [ 342 ExecMethod = Exec ; 343 StateMethod = GetState ; 344 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 345 ] 346 347 SID_SEARCH_ITEM // status() 348 [ 349 ExecMethod = ExecSearch ; 350 StateMethod = StateSearch ; 351 Export = FALSE; 352 ] 353 FN_REPEAT_SEARCH // status(final|play) 354 [ 355 ExecMethod = ExecSearch ; 356 ] 357 FID_SEARCH_NOW // status() 358 [ 359 ExecMethod = ExecSearch ; 360 ] 361 SID_SEARCH_OPTIONS // status() 362 [ 363 StateMethod = StateSearch ; 364 ] 365 FID_SEARCH_SEARCHSET // status() 366 [ 367 ExecMethod = ExecSearch ; 368 ] 369 FID_SEARCH_REPLACESET // status() 370 [ 371 ExecMethod = ExecSearch ; 372 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 373 ] 374 // ab hier Export = FALSE; 375 FID_SEARCH_ON // status() 376 [ 377 ExecMethod = ExecSearch ; 378 Export = FALSE; 379 ] 380 FID_SEARCH_OFF // status() 381 [ 382 ExecMethod = ExecSearch ; 383 Export = FALSE; 384 ] 385} 386