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
24 ExecMethod = ExecLingu ;
25 StateMethod = GetLinguState ;
26 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
29 SID_HANGUL_HANJA_CONVERSION // api:
31 ExecMethod = ExecLingu ;
32 StateMethod = GetLinguState ;
33 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
36 SID_CHINESE_CONVERSION // api:
38 ExecMethod = ExecLingu ;
39 StateMethod = GetLinguState ;
40 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
45 StateMethod = StateDisableItems ;
50 StateMethod = StateDisableItems ;
55 StateMethod = StateDisableItems ;
61 StateMethod = GetState;
64 SID_HYPERLINK_SETLINK // status()
67 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
69 SID_HYPERLINK_GETLINK // status()
71 StateMethod = StateInsert ;
74 FN_INSERT_SOFT_HYPHEN // status(final|play)
77 StateMethod = NoState ;
78 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
81 FN_INSERT_HARDHYPHEN // status()
84 StateMethod = NoState ;
85 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
88 FN_INSERT_HARD_SPACE // status(final|play)
91 StateMethod = NoState ;
92 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
98 StateMethod = GetState ;
99 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
105 StateMethod = GetState ;
106 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
112 StateMethod = GetState ;
113 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
119 StateMethod = GetState ;
120 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
123 SID_ATTR_PARA_LEFT_TO_RIGHT
126 StateMethod = GetState ;
127 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
130 SID_ATTR_PARA_RIGHT_TO_LEFT
133 StateMethod = GetState ;
134 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
137 SID_TEXTDIRECTION_LEFT_TO_RIGHT
140 StateMethod = GetState ;
141 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
144 SID_TEXTDIRECTION_TOP_TO_BOTTOM
147 StateMethod = GetState ;
148 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
151 SID_VERTICALTEXT_STATE
153 StateMethod = GetState ;
154 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
159 StateMethod = GetState ;
160 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
163 SID_TRANSLITERATE_SENTENCE_CASE
165 ExecMethod = ExecTransliteration;
166 StateMethod = NoState ;
167 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
170 SID_TRANSLITERATE_TITLE_CASE
172 ExecMethod = ExecTransliteration;
173 StateMethod = NoState ;
174 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
177 SID_TRANSLITERATE_TOGGLE_CASE
179 ExecMethod = ExecTransliteration;
180 StateMethod = NoState ;
181 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
184 SID_TRANSLITERATE_ROTATE_CASE
186 ExecMethod = ExecRotateTransliteration;
187 StateMethod = NoState ;
188 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
191 SID_TRANSLITERATE_UPPER
193 ExecMethod = ExecTransliteration;
194 StateMethod = NoState ;
195 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
198 SID_TRANSLITERATE_LOWER
200 ExecMethod = ExecTransliteration;
201 StateMethod = NoState ;
202 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
205 SID_TRANSLITERATE_HALFWIDTH
207 ExecMethod = ExecTransliteration;
208 StateMethod = GetState ;
209 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
212 SID_TRANSLITERATE_FULLWIDTH
214 ExecMethod = ExecTransliteration;
215 StateMethod = GetState ;
216 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
219 SID_TRANSLITERATE_HIRAGANA
221 ExecMethod = ExecTransliteration;
222 StateMethod = GetState ;
223 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
226 SID_TRANSLITERATE_KATAGANA
228 ExecMethod = ExecTransliteration;
229 StateMethod = GetState ;
230 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
233 SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
236 StateMethod = GetState ;
237 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
243 StateMethod = GetState ;
244 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
247 SID_ATTR_CHAR_LANGUAGE // status(final|play)
250 StateMethod = GetState ;
251 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
254 SID_ATTR_CHAR_KERNING // status(final|play)
257 StateMethod = GetState ;
258 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
261 SID_ATTR_CHAR_AUTOKERN // status(final|play)
264 StateMethod = GetState ;
265 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
268 SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
271 StateMethod = GetState ;
272 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
275 SID_ATTR_CHAR_SCALEWIDTH // status()
278 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
283 StateMethod = StateDisableItems ;
288 StateMethod = StateDisableItems ;
293 StateMethod = StateDisableItems ;
298 StateMethod = StateDisableItems ;
303 StateMethod = StateDisableItems ;
308 StateMethod = StateDisableItems ;
311 SID_STYLE_WATERCAN // status()
313 StateMethod = StateDisableItems ;
316 SID_STYLE_UPDATE_BY_EXAMPLE // status()
318 StateMethod = StateDisableItems ;
321 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
323 StateMethod = StateDisableItems ;
326 SID_STYLE_APPLY // status(fina|play)
328 StateMethod = StateDisableItems ;
331 SID_STYLE_NEW // ole : no, status : ?
333 StateMethod = StateDisableItems ;
336 SID_STYLE_EDIT // ole : no, status : ?
338 StateMethod = StateDisableItems ;
341 SID_STYLE_DELETE // ole : no, status : ?
343 StateMethod = StateDisableItems ;
348 StateMethod = StateDisableItems ;
353 StateMethod = StateDisableItems ;
358 StateMethod = StateStatusLine ;
363 StateMethod = StateStatusLine ;
368 ExecMethod = ExecLingu ;
369 StateMethod = GetLinguState ;
370 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
375 ExecMethod = ExecLingu ;
376 StateMethod = GetLinguState ;
377 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents
382 shell SwAnnotationShell