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";
95 FN_INSERT_NNBSP // status(final|play)
98 StateMethod = NoState ;
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";
126 StateMethod = GetState ;
127 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
130 SID_ATTR_PARA_LEFT_TO_RIGHT
133 StateMethod = GetState ;
134 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
137 SID_ATTR_PARA_RIGHT_TO_LEFT
140 StateMethod = GetState ;
141 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
144 SID_TEXTDIRECTION_LEFT_TO_RIGHT
147 StateMethod = GetState ;
148 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
151 SID_TEXTDIRECTION_TOP_TO_BOTTOM
154 StateMethod = GetState ;
155 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
158 SID_VERTICALTEXT_STATE
160 StateMethod = GetState ;
161 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
166 StateMethod = GetState ;
167 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
170 SID_TRANSLITERATE_SENTENCE_CASE
172 ExecMethod = ExecTransliteration;
173 StateMethod = NoState ;
174 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
177 SID_TRANSLITERATE_TITLE_CASE
179 ExecMethod = ExecTransliteration;
180 StateMethod = NoState ;
181 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
184 SID_TRANSLITERATE_TOGGLE_CASE
186 ExecMethod = ExecTransliteration;
187 StateMethod = NoState ;
188 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
191 SID_TRANSLITERATE_ROTATE_CASE
193 ExecMethod = ExecRotateTransliteration;
194 StateMethod = NoState ;
195 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
198 SID_TRANSLITERATE_UPPER
200 ExecMethod = ExecTransliteration;
201 StateMethod = NoState ;
202 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
205 SID_TRANSLITERATE_LOWER
207 ExecMethod = ExecTransliteration;
208 StateMethod = NoState ;
209 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
212 SID_TRANSLITERATE_HALFWIDTH
214 ExecMethod = ExecTransliteration;
215 StateMethod = GetState ;
216 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
219 SID_TRANSLITERATE_FULLWIDTH
221 ExecMethod = ExecTransliteration;
222 StateMethod = GetState ;
223 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
226 SID_TRANSLITERATE_HIRAGANA
228 ExecMethod = ExecTransliteration;
229 StateMethod = GetState ;
230 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
233 SID_TRANSLITERATE_KATAKANA
235 ExecMethod = ExecTransliteration;
236 StateMethod = GetState ;
237 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
240 SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
243 StateMethod = GetState ;
244 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
250 StateMethod = GetState ;
251 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
254 SID_ATTR_CHAR_LANGUAGE // status(final|play)
257 StateMethod = GetState ;
258 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
261 SID_ATTR_CHAR_KERNING // status(final|play)
264 StateMethod = GetState ;
265 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
268 SID_ATTR_CHAR_AUTOKERN // status(final|play)
271 StateMethod = GetState ;
272 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
275 SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
278 StateMethod = GetState ;
279 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
282 SID_ATTR_CHAR_SCALEWIDTH // status()
285 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
290 StateMethod = StateDisableItems ;
295 StateMethod = StateDisableItems ;
300 StateMethod = StateDisableItems ;
305 StateMethod = StateDisableItems ;
310 StateMethod = StateDisableItems ;
315 StateMethod = StateDisableItems ;
318 SID_STYLE_WATERCAN // status()
320 StateMethod = StateDisableItems ;
323 SID_STYLE_UPDATE_BY_EXAMPLE // status()
325 StateMethod = StateDisableItems ;
328 SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
330 StateMethod = StateDisableItems ;
333 SID_STYLE_APPLY // status(fina|play)
335 StateMethod = StateDisableItems ;
338 SID_STYLE_NEW // ole : no, status : ?
340 StateMethod = StateDisableItems ;
343 SID_STYLE_EDIT // ole : no, status : ?
345 StateMethod = StateDisableItems ;
348 SID_STYLE_DELETE // ole : no, status : ?
350 StateMethod = StateDisableItems ;
355 StateMethod = StateDisableItems ;
360 StateMethod = StateDisableItems ;
365 StateMethod = StateStatusLine ;
370 StateMethod = StateStatusLine ;
375 ExecMethod = ExecLingu ;
376 StateMethod = GetLinguState ;
377 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
382 ExecMethod = ExecLingu ;
383 StateMethod = GetLinguState ;
384 DisableFlags="SfxDisableFlags::SwOnProtectedCursor"; // e.g. disable for read-only documents
389 shell SwAnnotationShell