2 * This file is part of the LibreOffice project.
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/.
8 * This file incorporates work covered by the following license notice:
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 .
19 interface Annotation : _Annotation
21 uuid = "CA0C4280-293D-11D1-89CB-008029E4B0B1"
27 ExecMethod = ExecLingu ;
28 StateMethod = GetLinguState ;
29 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
32 SID_HANGUL_HANJA_CONVERSION // api:
34 ExecMethod = ExecLingu ;
35 StateMethod = GetLinguState ;
36 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
39 SID_CHINESE_CONVERSION // api:
41 ExecMethod = ExecLingu ;
42 StateMethod = GetLinguState ;
43 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
48 StateMethod = StateDisableItems ;
53 StateMethod = StateDisableItems ;
58 StateMethod = StateDisableItems ;
64 StateMethod = GetState;
67 SID_HYPERLINK_SETLINK // status()
70 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
72 SID_HYPERLINK_GETLINK // status()
74 StateMethod = StateInsert ;
77 FN_INSERT_SOFT_HYPHEN // status(final|play)
80 StateMethod = NoState ;
81 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
84 FN_INSERT_HARDHYPHEN // status()
87 StateMethod = NoState ;
88 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
91 FN_INSERT_HARD_SPACE // status(final|play)
94 StateMethod = NoState ;
95 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
101 StateMethod = GetState ;
102 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
108 StateMethod = GetState ;
109 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
115 StateMethod = GetState ;
116 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
122 StateMethod = GetState ;
123 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
126 SID_ATTR_PARA_LEFT_TO_RIGHT
129 StateMethod = GetState ;
130 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
133 SID_ATTR_PARA_RIGHT_TO_LEFT
136 StateMethod = GetState ;
137 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
140 SID_TEXTDIRECTION_LEFT_TO_RIGHT
143 StateMethod = GetState ;
144 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
147 SID_TEXTDIRECTION_TOP_TO_BOTTOM
150 StateMethod = GetState ;
151 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
154 SID_VERTICALTEXT_STATE
156 StateMethod = GetState ;
157 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
162 StateMethod = GetState ;
163 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
166 SID_TRANSLITERATE_SENTENCE_CASE
168 ExecMethod = ExecTransliteration;
169 StateMethod = NoState ;
170 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
173 SID_TRANSLITERATE_TITLE_CASE
175 ExecMethod = ExecTransliteration;
176 StateMethod = NoState ;
177 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
180 SID_TRANSLITERATE_TOGGLE_CASE
182 ExecMethod = ExecTransliteration;
183 StateMethod = NoState ;
184 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
187 SID_TRANSLITERATE_ROTATE_CASE
189 ExecMethod = ExecRotateTransliteration;
190 StateMethod = NoState ;
191 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
194 SID_TRANSLITERATE_UPPER
196 ExecMethod = ExecTransliteration;
197 StateMethod = NoState ;
198 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
201 SID_TRANSLITERATE_LOWER
203 ExecMethod = ExecTransliteration;
204 StateMethod = NoState ;
205 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
208 SID_TRANSLITERATE_HALFWIDTH
210 ExecMethod = ExecTransliteration;
211 StateMethod = GetState ;
212 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
215 SID_TRANSLITERATE_FULLWIDTH
217 ExecMethod = ExecTransliteration;
218 StateMethod = GetState ;
219 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
222 SID_TRANSLITERATE_HIRAGANA
224 ExecMethod = ExecTransliteration;
225 StateMethod = GetState ;
226 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
229 SID_TRANSLITERATE_KATAGANA
231 ExecMethod = ExecTransliteration;
232 StateMethod = GetState ;
233 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
236 SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
239 StateMethod = GetState ;
240 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
246 StateMethod = GetState ;
247 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
250 SID_ATTR_CHAR_LANGUAGE // status(final|play)
253 StateMethod = GetState ;
254 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
257 SID_ATTR_CHAR_KERNING // status(final|play)
260 StateMethod = GetState ;
261 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
264 SID_ATTR_CHAR_AUTOKERN // // status(final|play)
267 StateMethod = GetState ;
268 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
271 SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
274 StateMethod = GetState ;
275 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
278 SID_ATTR_CHAR_SCALEWIDTH // status()
281 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
286 StateMethod = StateDisableItems ;
291 StateMethod = StateDisableItems ;
296 StateMethod = StateDisableItems ;
301 StateMethod = StateDisableItems ;
306 StateMethod = StateDisableItems ;
309 SID_STYLE_WATERCAN // status()
311 StateMethod = StateDisableItems ;
314 SID_STYLE_UPDATE_BY_EXAMPLE // status()
316 StateMethod = StateDisableItems ;
319 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
321 StateMethod = StateDisableItems ;
324 SID_STYLE_APPLY // status(fina|play)
326 StateMethod = StateDisableItems ;
329 SID_STYLE_NEW // ole : no, status : ?
331 StateMethod = StateDisableItems ;
334 SID_STYLE_EDIT // ole : no, status : ?
336 StateMethod = StateDisableItems ;
339 SID_STYLE_DELETE // ole : no, status : ?
341 StateMethod = StateDisableItems ;
346 StateMethod = StateDisableItems ;
351 StateMethod = StateDisableItems ;
356 StateMethod = StateStatusLine ;
361 StateMethod = StateStatusLine ;
366 ExecMethod = ExecLingu ;
367 StateMethod = GetLinguState ;
368 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
373 ExecMethod = ExecLingu ;
374 StateMethod = GetLinguState ;
375 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; // e.g. disable for read-only documents
380 shell SwAnnotationShell
382 import Annotation[Automation];