tdf#154703 docx export framePr: export xAlign/yAlign
[LibreOffice.git] / sw / sdi / annotsh.sdi
blob3d11cd67a60e9d3da05b6d2a6e1db55983462428
1 /*
2  * This file is part of the LibreOffice project.
3  *
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/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
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 .
17  */
19 interface Annotation : _Annotation
22     SID_THESAURUS // api:
23     [
24         ExecMethod = ExecLingu ;
25         StateMethod = GetLinguState ;
26         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
27     ]
29     SID_HANGUL_HANJA_CONVERSION  // api:
30     [
31         ExecMethod = ExecLingu ;
32         StateMethod = GetLinguState ;
33         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
34     ]
36     SID_CHINESE_CONVERSION  // api:
37     [
38         ExecMethod = ExecLingu ;
39         StateMethod = GetLinguState ;
40         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
41     ]
43     SID_TWAIN_SELECT
44     [
45         StateMethod = StateDisableItems ;
46     ]
48     SID_TWAIN_TRANSFER
49     [
50         StateMethod = StateDisableItems ;
51     ]
53      SID_INSERT_GRAPHIC
54     [
55         StateMethod = StateDisableItems ;
56     ]
58     SID_AUTOSPELL_CHECK
59     [
60         ExecMethod = Exec;
61         StateMethod = GetState;
62     ]
64     SID_HYPERLINK_SETLINK  // status()
65     [
66         ExecMethod = Exec ;
67         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
68     ]
69     SID_HYPERLINK_GETLINK // status()
70     [
71         StateMethod = StateInsert ;
72     ]
74     FN_INSERT_SOFT_HYPHEN // status(final|play)
75     [
76         ExecMethod = Exec ;
77         StateMethod = NoState ;
78         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
79     ]
81     FN_INSERT_HARDHYPHEN // status()
82     [
83         ExecMethod = Exec ;
84         StateMethod = NoState ;
85         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
86     ]
88     FN_INSERT_HARD_SPACE // status(final|play)
89     [
90         ExecMethod = Exec ;
91         StateMethod = NoState ;
92         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
93     ]
95     FN_INSERT_NNBSP // status(final|play)
96     [
97         ExecMethod = Exec ;
98         StateMethod = NoState ;
99         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
100     ]
102     SID_INSERT_RLM
103     [
104         ExecMethod = Exec ;
105         StateMethod = GetState ;
106         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
107     ]
109     SID_INSERT_LRM
110     [
111         ExecMethod = Exec ;
112         StateMethod = GetState ;
113         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
114     ]
116     SID_INSERT_ZWSP
117     [
118         ExecMethod = Exec ;
119         StateMethod = GetState ;
120         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
121     ]
123     SID_INSERT_WJ
124     [
125         ExecMethod = Exec ;
126         StateMethod = GetState ;
127         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
128     ]
130     SID_ATTR_PARA_LEFT_TO_RIGHT
131     [
132         ExecMethod = Exec ;
133         StateMethod = GetState ;
134         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
135     ]
137     SID_ATTR_PARA_RIGHT_TO_LEFT
138     [
139         ExecMethod = Exec ;
140         StateMethod = GetState ;
141         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
142     ]
144     SID_TEXTDIRECTION_LEFT_TO_RIGHT
145     [
146         ExecMethod = Exec ;
147         StateMethod = GetState ;
148         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
149     ]
151     SID_TEXTDIRECTION_TOP_TO_BOTTOM
152     [
153         ExecMethod = Exec ;
154         StateMethod = GetState ;
155         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
156     ]
158     SID_VERTICALTEXT_STATE
159     [
160         StateMethod = GetState ;
161         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
162     ]
164     SID_CTLFONT_STATE
165     [
166         StateMethod = GetState ;
167         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
168     ]
170     SID_TRANSLITERATE_SENTENCE_CASE
171     [
172         ExecMethod = ExecTransliteration;
173         StateMethod = NoState ;
174         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
175     ]
177     SID_TRANSLITERATE_TITLE_CASE
178     [
179         ExecMethod = ExecTransliteration;
180         StateMethod = NoState ;
181         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
182     ]
184     SID_TRANSLITERATE_TOGGLE_CASE
185     [
186         ExecMethod = ExecTransliteration;
187         StateMethod = NoState ;
188         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
189     ]
191     SID_TRANSLITERATE_ROTATE_CASE
192     [
193         ExecMethod = ExecRotateTransliteration;
194         StateMethod = NoState ;
195         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
196     ]
198     SID_TRANSLITERATE_UPPER
199     [
200         ExecMethod = ExecTransliteration;
201         StateMethod = NoState ;
202         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
203     ]
205     SID_TRANSLITERATE_LOWER
206     [
207         ExecMethod = ExecTransliteration;
208         StateMethod = NoState ;
209         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
210     ]
212     SID_TRANSLITERATE_HALFWIDTH
213     [
214         ExecMethod = ExecTransliteration;
215         StateMethod = GetState ;
216         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
217     ]
219     SID_TRANSLITERATE_FULLWIDTH
220     [
221         ExecMethod = ExecTransliteration;
222         StateMethod = GetState ;
223         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
224     ]
226     SID_TRANSLITERATE_HIRAGANA
227     [
228         ExecMethod = ExecTransliteration;
229         StateMethod = GetState ;
230         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
231     ]
233     SID_TRANSLITERATE_KATAKANA
234     [
235         ExecMethod = ExecTransliteration;
236         StateMethod = GetState ;
237         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
238     ]
240     SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
241     [
242         ExecMethod = Exec ;
243         StateMethod = GetState ;
244         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
245     ]
247     SID_ATTR_CHAR_RELIEF
248     [
249         ExecMethod = Exec ;
250         StateMethod = GetState ;
251         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
252     ]
254     SID_ATTR_CHAR_LANGUAGE // status(final|play)
255     [
256         ExecMethod = Exec ;
257         StateMethod = GetState ;
258         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
259     ]
261     SID_ATTR_CHAR_KERNING // status(final|play)
262     [
263         ExecMethod = Exec ;
264         StateMethod = GetState ;
265         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
266     ]
268     SID_ATTR_CHAR_AUTOKERN // status(final|play)
269     [
270         ExecMethod = Exec ;
271         StateMethod = GetState ;
272         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
273     ]
275     SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
276     [
277         ExecMethod = Exec ;
278         StateMethod = GetState ;
279         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
280     ]
282     SID_ATTR_CHAR_SCALEWIDTH // status()
283     [
284         ExecMethod = Exec ;
285         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
286     ]
288     SID_STYLE_FAMILY1
289     [
290         StateMethod = StateDisableItems ;
291     ]
293     SID_STYLE_FAMILY2
294     [
295         StateMethod = StateDisableItems ;
296     ]
298     SID_STYLE_FAMILY3
299     [
300         StateMethod = StateDisableItems ;
301     ]
303     SID_STYLE_FAMILY4
304     [
305         StateMethod = StateDisableItems ;
306     ]
308     SID_STYLE_FAMILY5
309     [
310         StateMethod = StateDisableItems ;
311     ]
313     SID_STYLE_FAMILY6
314     [
315         StateMethod = StateDisableItems ;
316     ]
318     SID_STYLE_WATERCAN // status()
319     [
320         StateMethod = StateDisableItems ;
321     ]
323     SID_STYLE_UPDATE_BY_EXAMPLE // status()
324     [
325         StateMethod = StateDisableItems ;
326     ]
328     SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
329     [
330         StateMethod = StateDisableItems ;
331     ]
333     SID_STYLE_APPLY // status(fina|play)
334     [
335         StateMethod = StateDisableItems ;
336     ]
338     SID_STYLE_NEW // ole : no, status : ?
339     [
340         StateMethod = StateDisableItems ;
341     ]
343     SID_STYLE_EDIT // ole : no, status : ?
344     [
345         StateMethod = StateDisableItems ;
346     ]
348     SID_STYLE_DELETE // ole : no, status : ?
349     [
350         StateMethod = StateDisableItems ;
351     ]
353     SID_STYLE_HIDE
354     [
355         StateMethod = StateDisableItems ;
356     ]
358     SID_STYLE_SHOW
359     [
360         StateMethod = StateDisableItems ;
361     ]
363     FN_STAT_SELMODE
364     [
365         StateMethod = StateStatusLine ;
366     ]
368     FN_STAT_TEMPLATE
369     [
370         StateMethod = StateStatusLine ;
371     ]
373     SID_LANGUAGE_STATUS
374     [
375         ExecMethod = ExecLingu ;
376         StateMethod = GetLinguState ;
377         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
378     ]
380     SID_THES
381     [
382         ExecMethod = ExecLingu ;
383         StateMethod = GetLinguState ;
384         DisableFlags="SfxDisableFlags::SwOnProtectedCursor";  // e.g. disable for read-only documents
385     ]
389 shell SwAnnotationShell
391     import Annotation;