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 : _Annotation 29[ 30 uuid = "CA0C4280-293D-11D1-89CB-008029E4B0B1" 31] 32{ 33 34 SID_THESAURUS // api: 35 [ 36 ExecMethod = ExecLingu ; 37 StateMethod = GetLinguState ; 38 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 39 ] 40 41 SID_HANGUL_HANJA_CONVERSION // api: 42 [ 43 ExecMethod = ExecLingu ; 44 StateMethod = GetLinguState ; 45 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 46 ] 47 48 SID_CHINESE_CONVERSION // api: 49 [ 50 ExecMethod = ExecLingu ; 51 StateMethod = GetLinguState ; 52 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 53 ] 54 55 SID_STYLE_CATALOG // ole(no) api(play/rec) 56 [ 57 StateMethod = StateDisableItems ; 58 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 59 ] 60 61 SID_TWAIN_SELECT 62 [ 63 StateMethod = StateDisableItems ; 64 ] 65 66 SID_TWAIN_TRANSFER 67 [ 68 StateMethod = StateDisableItems ; 69 ] 70 71 SID_INSERT_GRAPHIC 72 [ 73 StateMethod = StateDisableItems ; 74 ] 75 76 SID_AUTOSPELL_CHECK 77 [ 78 ExecMethod = Exec; 79 StateMethod = GetState; 80 ] 81 82 SID_HYPERLINK_SETLINK // status() 83 [ 84 ExecMethod = Exec ; 85 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 86 ] 87 SID_HYPERLINK_GETLINK // status() 88 [ 89 StateMethod = StateInsert ; 90 ] 91 92 FN_INSERT_SOFT_HYPHEN // status(final|play) 93 [ 94 ExecMethod = Exec ; 95 StateMethod = NoState ; 96 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 97 ] 98 99 FN_INSERT_HARDHYPHEN // status() 100 [ 101 ExecMethod = Exec ; 102 StateMethod = NoState ; 103 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 104 ] 105 106 FN_INSERT_HARD_SPACE // status(final|play) 107 [ 108 ExecMethod = Exec ; 109 StateMethod = NoState ; 110 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 111 ] 112 113 SID_INSERT_RLM 114 [ 115 ExecMethod = Exec ; 116 StateMethod = GetState ; 117 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 118 ] 119 120 SID_INSERT_LRM 121 [ 122 ExecMethod = Exec ; 123 StateMethod = GetState ; 124 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 125 ] 126 127 SID_INSERT_ZWSP 128 [ 129 ExecMethod = Exec ; 130 StateMethod = GetState ; 131 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 132 ] 133 134 SID_INSERT_ZWNBSP 135 [ 136 ExecMethod = Exec ; 137 StateMethod = GetState ; 138 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 139 ] 140 141 SID_ATTR_PARA_LEFT_TO_RIGHT 142 [ 143 ExecMethod = Exec ; 144 StateMethod = GetState ; 145 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 146 ] 147 148 SID_ATTR_PARA_RIGHT_TO_LEFT 149 [ 150 ExecMethod = Exec ; 151 StateMethod = GetState ; 152 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 153 ] 154 155 SID_TEXTDIRECTION_LEFT_TO_RIGHT 156 [ 157 ExecMethod = Exec ; 158 StateMethod = GetState ; 159 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 160 ] 161 162 SID_TEXTDIRECTION_TOP_TO_BOTTOM 163 [ 164 ExecMethod = Exec ; 165 StateMethod = GetState ; 166 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 167 ] 168 169 SID_VERTICALTEXT_STATE 170 [ 171 StateMethod = GetState ; 172 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 173 ] 174 175 SID_CTLFONT_STATE 176 [ 177 StateMethod = GetState ; 178 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 179 ] 180 181 SID_TRANSLITERATE_SENTENCE_CASE 182 [ 183 ExecMethod = ExecTransliteration; 184 StateMethod = NoState ; 185 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 186 ] 187 188 SID_TRANSLITERATE_TITLE_CASE 189 [ 190 ExecMethod = ExecTransliteration; 191 StateMethod = NoState ; 192 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 193 ] 194 195 SID_TRANSLITERATE_TOGGLE_CASE 196 [ 197 ExecMethod = ExecTransliteration; 198 StateMethod = NoState ; 199 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 200 ] 201 202 SID_TRANSLITERATE_UPPER 203 [ 204 ExecMethod = ExecTransliteration; 205 StateMethod = NoState ; 206 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 207 ] 208 209 SID_TRANSLITERATE_LOWER 210 [ 211 ExecMethod = ExecTransliteration; 212 StateMethod = NoState ; 213 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 214 ] 215 216 SID_TRANSLITERATE_HALFWIDTH 217 [ 218 ExecMethod = ExecTransliteration; 219 StateMethod = GetState ; 220 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 221 ] 222 223 SID_TRANSLITERATE_FULLWIDTH 224 [ 225 ExecMethod = ExecTransliteration; 226 StateMethod = GetState ; 227 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 228 ] 229 230 SID_TRANSLITERATE_HIRAGANA 231 [ 232 ExecMethod = ExecTransliteration; 233 StateMethod = GetState ; 234 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 235 ] 236 237 SID_TRANSLITERATE_KATAGANA 238 [ 239 ExecMethod = ExecTransliteration; 240 StateMethod = GetState ; 241 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 242 ] 243 244 SID_ATTR_CHAR_WORDLINEMODE // status(final|play) 245 [ 246 ExecMethod = Exec ; 247 StateMethod = GetState ; 248 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 249 ] 250 251 SID_ATTR_CHAR_RELIEF 252 [ 253 ExecMethod = Exec ; 254 StateMethod = GetState ; 255 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 256 ] 257 258 SID_ATTR_CHAR_LANGUAGE // status(final|play) 259 [ 260 ExecMethod = Exec ; 261 StateMethod = GetState ; 262 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 263 ] 264 265 SID_ATTR_CHAR_KERNING // status(final|play) 266 [ 267 ExecMethod = Exec ; 268 StateMethod = GetState ; 269 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 270 ] 271 272 SID_ATTR_CHAR_AUTOKERN // // status(final|play) 273 [ 274 ExecMethod = Exec ; 275 StateMethod = GetState ; 276 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 277 ] 278 279 SID_ATTR_CHAR_ESCAPEMENT // status(final|play) 280 [ 281 ExecMethod = Exec ; 282 StateMethod = GetState ; 283 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 284 ] 285 286 SID_ATTR_CHAR_SCALEWIDTH // status() 287 [ 288 ExecMethod = Exec ; 289 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 290 ] 291 292 SID_STYLE_FAMILY1 293 [ 294 StateMethod = StateDisableItems ; 295 ] 296 297 SID_STYLE_FAMILY2 298 [ 299 StateMethod = StateDisableItems ; 300 ] 301 302 SID_STYLE_FAMILY3 303 [ 304 StateMethod = StateDisableItems ; 305 ] 306 307 SID_STYLE_FAMILY4 308 [ 309 StateMethod = StateDisableItems ; 310 ] 311 312 SID_STYLE_FAMILY5 313 [ 314 StateMethod = StateDisableItems ; 315 ] 316 317 SID_STYLE_WATERCAN // status() 318 [ 319 StateMethod = StateDisableItems ; 320 ] 321 322 SID_STYLE_UPDATE_BY_EXAMPLE // status() 323 [ 324 StateMethod = StateDisableItems ; 325 ] 326 327 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play) 328 [ 329 StateMethod = StateDisableItems ; 330 ] 331 332 SID_STYLE_APPLY // status(fina|play) 333 [ 334 StateMethod = StateDisableItems ; 335 ] 336 337 SID_STYLE_NEW // ole : no, status : ? 338 [ 339 StateMethod = StateDisableItems ; 340 ] 341 342 SID_STYLE_EDIT // ole : no, status : ? 343 [ 344 StateMethod = StateDisableItems ; 345 ] 346 347 SID_STYLE_DELETE // ole : no, status : ? 348 [ 349 StateMethod = StateDisableItems ; 350 ] 351 FN_STAT_SELMODE 352 [ 353 StateMethod = StateStatusLine ; 354 ] 355 356 FN_STAT_TEMPLATE 357 [ 358 StateMethod = StateStatusLine ; 359 ] 360 361 SID_LANGUAGE_STATUS 362 [ 363 ExecMethod = ExecLingu ; 364 StateMethod = GetLinguState ; 365 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; 366 ] 367 368 SID_THES 369 [ 370 ExecMethod = ExecLingu ; 371 StateMethod = GetLinguState ; 372 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents 373 ] 374 375} 376 377shell SwAnnotationShell 378{ 379 import Annotation[Automation]; 380} 381