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