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 */
18
19interface _Annotation
20{
21    FN_DELETE_COMMENT
22    [
23        ExecMethod = NoteExec ;
24        StateMethod = GetNoteState ;
25    ]
26
27    FN_DELETE_COMMENT_THREAD
28    [
29        ExecMethod = NoteExec ;
30        StateMethod = GetNoteState ;
31    ]
32
33    FN_DELETE_NOTE_AUTHOR
34    [
35        ExecMethod = NoteExec ;
36        StateMethod = GetNoteState ;
37    ]
38
39    FN_DELETE_ALL_NOTES
40    [
41        ExecMethod = NoteExec ;
42        StateMethod = GetNoteState ;
43    ]
44
45    FN_FORMAT_ALL_NOTES
46    [
47        ExecMethod = NoteExec ;
48        StateMethod = GetNoteState ;
49    ]
50
51    FN_HIDE_NOTE
52    [
53        ExecMethod = NoteExec ;
54        StateMethod = GetNoteState ;
55    ]
56
57    FN_HIDE_NOTE_AUTHOR
58    [
59        ExecMethod = NoteExec ;
60        StateMethod = GetNoteState ;
61    ]
62
63    FN_HIDE_ALL_NOTES
64    [
65        ExecMethod = NoteExec ;
66        StateMethod = GetNoteState ;
67    ]
68
69    FN_RESOLVE_NOTE
70    [
71        ExecMethod = NoteExec ;
72        StateMethod = GetNoteState ;
73    ]
74
75    FN_RESOLVE_NOTE_THREAD
76    [
77        ExecMethod = NoteExec ;
78        StateMethod = GetNoteState ;
79    ]
80
81    FN_POSTIT
82        [
83                ExecMethod = NoteExec ;
84                StateMethod = GetNoteState ;
85        ]
86
87    FN_REPLY
88    [
89        ExecMethod = NoteExec ;
90        StateMethod = GetNoteState ;
91    ]
92    FN_ESCAPE // api:
93    [
94        ExecMethod = NoteExec ;
95    ]
96
97    SfxVoidItem Cut SID_CUT ( )  // api:
98    [
99        ExecMethod = ExecClpbrd ;
100        StateMethod = StateClpbrd ;
101        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
102    ]
103
104    SID_COPY // api:
105    [
106        ExecMethod = ExecClpbrd ;
107        StateMethod = StateClpbrd ;
108    ]
109
110    SID_PASTE   // api:
111    [
112        ExecMethod = ExecClpbrd ;
113        StateMethod = StateClpbrd ;
114        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
115    ]
116
117    SID_PASTE_UNFORMATTED
118    [
119        ExecMethod = ExecClpbrd ;
120        StateMethod = StateClpbrd ;
121        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
122    ]
123
124    SID_PASTE_SPECIAL  // api:
125    [
126        StateMethod = StateClpbrd ;
127        ExecMethod = ExecClpbrd ;
128        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
129    ]
130
131    SID_CLIPBOARD_FORMAT_ITEMS  // status(final|play)
132    [
133        StateMethod = StateClpbrd ;
134        ExecMethod = ExecClpbrd ;
135        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
136    ]
137
138    SID_SELECTALL  // api:
139    [
140        ExecMethod = Exec ;
141        StateMethod = NoState ;
142    ]
143
144    SID_UNDO // api:
145    [
146        ExecMethod = ExecUndo ;
147        StateMethod = StateUndo ;
148
149        ToolBoxConfig , MenuConfig , AccelConfig;
150    ]
151
152    SID_REDO // api:
153    [
154        ExecMethod = ExecUndo ;
155        StateMethod = StateUndo ;
156
157    ]
158
159    SID_REPEAT // api:
160    [
161        ExecMethod = ExecUndo ;
162        StateMethod = StateUndo ;
163    ]
164    SID_GETUNDOSTRINGS
165    [
166        StateMethod = StateUndo ;
167    ]
168
169    SID_GETREDOSTRINGS
170    [
171        StateMethod = StateUndo ;
172    ]
173
174    FN_FORMAT_RESET  // api:
175    [
176        ExecMethod = Exec ;
177        StateMethod = NoState ;
178        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
179    ]
180
181    FN_FORMAT_FOOTNOTE_DLG // status()
182    [
183        ExecMethod = Exec ;
184    ]
185
186    SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
187    [
188        ExecMethod = Exec ;
189    ]
190
191    FN_WORDCOUNT_DIALOG
192    [
193        ExecMethod = Exec;
194    ]
195
196       FN_NUMBERING_OUTLINE_DLG   // status(final|play)
197    [
198        ExecMethod = Exec ;
199    ]
200
201    SID_CHARMAP // api:
202    [
203        ExecMethod = Exec ;
204        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
205    ]
206
207    SID_EMOJI_CONTROL
208    [
209        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
210    ]
211
212    SID_CHARMAP_CONTROL
213    [
214        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
215    ]
216
217    SID_ATTR_PARA_LRSPACE
218    [
219        ExecMethod = Exec;
220        StateMethod = GetState ;
221    ]
222
223    SID_ATTR_PARA_LEFTSPACE
224    [
225        StateMethod = GetState ;
226    ]
227
228    SID_ATTR_PARA_RIGHTSPACE
229    [
230        StateMethod = GetState ;
231    ]
232
233    SID_ATTR_PARA_FIRSTLINESPACE
234    [
235        StateMethod = GetState ;
236    ]
237
238    SID_ATTR_PARA_LINESPACE
239    [
240        ExecMethod = Exec;
241        StateMethod = GetState ;
242    ]
243
244    SID_ATTR_PARA_ULSPACE
245    [
246        ExecMethod = Exec;
247        StateMethod = GetState ;
248    ]
249
250    SID_ATTR_PARA_ABOVESPACE
251    [
252        StateMethod = GetState ;
253    ]
254
255    SID_ATTR_PARA_BELOWSPACE
256    [
257        StateMethod = GetState ;
258    ]
259
260    SID_PARASPACE_INCREASE
261    [
262        ExecMethod = Exec;
263        StateMethod = GetState;
264        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
265    ]
266    SID_PARASPACE_DECREASE
267    [
268        ExecMethod = Exec;
269        StateMethod = GetState;
270        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
271    ]
272
273    FN_INSERT_STRING
274    [
275            ExecMethod = Exec ;
276            StateMethod = NoState ;
277            DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
278    ]
279
280    SID_ATTR_CHAR_FONT // status()
281    [
282        ExecMethod = Exec;
283        StateMethod = GetState ;
284        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
285    ]
286
287    SID_ATTR_CHAR_FONTHEIGHT // status()
288    [
289        ExecMethod = Exec;
290        StateMethod = GetState ;
291        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
292    ]
293
294    FN_GROW_FONT_SIZE
295    [
296        ExecMethod = Exec;
297        StateMethod = GetState ;
298        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
299    ]
300
301    FN_SHRINK_FONT_SIZE
302    [
303        ExecMethod = Exec;
304        StateMethod = GetState ;
305        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
306    ]
307
308    SID_ATTR_CHAR_COLOR // api:
309    [
310        ExecMethod = Exec;
311        StateMethod = GetState ;
312        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
313    ]
314
315    SID_ATTR_CHAR_BACK_COLOR // api:
316    [
317        ExecMethod = Exec;
318        StateMethod = GetState ;
319        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
320    ]
321
322    SID_CHAR_DLG_EFFECT
323    [
324        ExecMethod = Exec ;
325        StateMethod = GetState ;
326        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
327    ]
328
329    SID_ATTR_CHAR_WEIGHT // api:
330    [
331        ExecMethod = Exec ;
332        StateMethod = GetState ;
333        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
334    ]
335
336    SID_ATTR_CHAR_POSTURE // api:
337    [
338        ExecMethod = Exec ;
339        StateMethod = GetState ;
340        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
341    ]
342
343    SID_ATTR_CHAR_UNDERLINE // api:
344    [
345        ExecMethod = Exec ;
346        StateMethod = GetState ;
347        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
348    ]
349
350    SID_ATTR_CHAR_OVERLINE // api:
351    [
352        ExecMethod = Exec ;
353        StateMethod = GetState ;
354        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
355    ]
356
357    SID_ATTR_CHAR_CONTOUR
358    [
359        ExecMethod = Exec;
360        StateMethod = GetState ;
361        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
362    ]
363
364    SID_ATTR_CHAR_SHADOWED
365    [
366        ExecMethod = Exec;
367        StateMethod = GetState ;
368        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
369    ]
370
371    SID_ATTR_CHAR_STRIKEOUT
372    [
373        ExecMethod = Exec;
374        StateMethod = GetState ;
375        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
376    ]
377
378    SID_ATTR_CHAR_LANGUAGE // status(final|play)
379    [
380        ExecMethod = Execute ;
381        StateMethod = GetState ;
382        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
383    ]
384
385    SID_ATTR_PARA_ADJUST_LEFT // api:
386    [
387        ExecMethod = Exec ;
388        StateMethod = GetState ;
389        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
390    ]
391
392    SID_ATTR_PARA_ADJUST_CENTER // api:
393    [
394        ExecMethod = Exec ;
395        StateMethod = GetState ;
396        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
397    ]
398
399    SID_ATTR_PARA_ADJUST_RIGHT // api:
400    [
401        ExecMethod = Exec ;
402        StateMethod = GetState ;
403        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
404    ]
405
406    SID_ATTR_PARA_ADJUST_BLOCK // api:
407    [
408        ExecMethod = Exec ;
409        StateMethod = GetState ;
410        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
411    ]
412
413    SID_ATTR_PARA_LINESPACE_10 // api:
414    [
415        ExecMethod = Exec ;
416        StateMethod = GetState ;
417        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
418    ]
419
420    SID_ATTR_PARA_LINESPACE_15 // api:
421    [
422        ExecMethod = Exec ;
423        StateMethod = GetState ;
424        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
425    ]
426
427    SID_ATTR_PARA_LINESPACE_20 // api:
428    [
429        ExecMethod = Exec ;
430        StateMethod = GetState ;
431        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
432    ]
433
434    SID_CHAR_DLG  // api:
435    [
436        ExecMethod = Exec ;
437        StateMethod = GetState ;
438        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
439    ]
440
441    SID_PARA_DLG // api:
442    [
443        ExecMethod = Exec ;
444        StateMethod = GetState ;
445        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
446    ]
447
448    FN_SET_SUPER_SCRIPT
449    [
450        ExecMethod = Exec ;
451        StateMethod = GetState ;
452        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
453    ]
454
455    FN_SET_SUB_SCRIPT
456    [
457        ExecMethod = Exec ;
458        StateMethod = GetState ;
459        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
460    ]
461
462    SID_SEARCH_ITEM // status()
463    [
464        ExecMethod = ExecSearch ;
465        StateMethod = StateSearch ;
466    ]
467    FN_REPEAT_SEARCH // status(final|play)
468    [
469        ExecMethod = ExecSearch ;
470    ]
471    FID_SEARCH_NOW // status()
472    [
473        ExecMethod = ExecSearch ;
474    ]
475    SID_SEARCH_OPTIONS // status()
476    [
477        StateMethod = StateSearch ;
478    ]
479    FID_SEARCH_SEARCHSET // status()
480    [
481        ExecMethod = ExecSearch ;
482    ]
483    FID_SEARCH_REPLACESET // status()
484    [
485        ExecMethod = ExecSearch ;
486        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
487    ]
488    FID_SEARCH_ON // status()
489    [
490        ExecMethod = ExecSearch ;
491    ]
492    FID_SEARCH_OFF // status()
493    [
494        ExecMethod = ExecSearch ;
495    ]
496}
497