update credits
[LibreOffice.git] / sw / sdi / drwtxtsh.sdi
blob5e326f771226bef533e58ca4c6c474092ee49a01
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 TextDrawText
21     uuid = "CA0C4280-293D-11D1-89CB-008029E4B0B1"
24     SID_SELECTALL  // api:
25     [
26         ExecMethod = ExecDraw ;
27         StateMethod = NoState ;
28     ]
30     SID_CUT  // api:
31     [
32         ExecMethod = ExecClpbrd ;
33         StateMethod = StateClpbrd ;
34         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
35     ]
37     SID_COPY // api:
38     [
39         ExecMethod = ExecClpbrd ;
40         StateMethod = StateClpbrd ;
41     ]
43     SID_PASTE   // api:
44     [
45         ExecMethod = ExecClpbrd ;
46         StateMethod = StateClpbrd ;
47         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
48     ]
50     SID_PASTE_SPECIAL  // api:
51     [
52         StateMethod = StateClpbrd ;
53         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
54     ]
56         SID_CLIPBOARD_FORMAT_ITEMS  // api:
57         [
58                 StateMethod = StateClpbrd ;
59                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
60         ]
62     FN_ESCAPE // api:
63     [
64         ExecMethod = ExecDraw ;
65     ]
67     SID_UNDO // api:
68     [
69         ExecMethod = ExecUndo ;
70         StateMethod = StateUndo ;
72                 ToolBoxConfig , MenuConfig , AccelConfig;
73     ]
75     SID_REDO // api:
76     [
77         ExecMethod = ExecUndo ;
78         StateMethod = StateUndo ;
79     ]
81     SID_REPEAT // api:
82     [
83         ExecMethod = ExecUndo ;
84         StateMethod = StateUndo ;
85     ]
86     SID_GETUNDOSTRINGS
87     [
88         StateMethod = StateUndo ;
89     ]
91     SID_GETREDOSTRINGS
92     [
93         StateMethod = StateUndo ;
94     ]
96     FN_FORMAT_RESET  // api:
97     [
98         ExecMethod = ExecDraw ;
99         StateMethod = NoState ;
100         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
101     ]
103     SID_CHARMAP // api:
104     [
105         ExecMethod = ExecDraw ;
106         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
107     ]
109     FN_INSERT_STRING
110     [
111             ExecMethod = ExecDraw ;
112             StateMethod = NoState ;
113             DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
114     ]
116     FN_INSERT_SOFT_HYPHEN // status(final|play)
117         [
118                 ExecMethod = ExecDraw ;
119                 StateMethod = NoState ;
120                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
121         ]
122         FN_INSERT_HARDHYPHEN // status()
123         [
124                 ExecMethod = ExecDraw ;
125                 StateMethod = NoState ;
126                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
127         ]
128         FN_INSERT_HARD_SPACE // status(final|play)
129         [
130                 ExecMethod = ExecDraw ;
131                 StateMethod = NoState ;
132                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
133         ]
134     SID_INSERT_RLM
135     [
136                 ExecMethod = ExecDraw ;
137         StateMethod = GetState ;
138         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
139     ]
140     SID_INSERT_LRM
141     [
142         ExecMethod = ExecDraw ;
143         StateMethod = GetState ;
144         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
145     ]
146     SID_INSERT_ZWSP
147     [
148         ExecMethod = ExecDraw ;
149         StateMethod = GetState ;
150         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
151     ]
152     SID_INSERT_ZWNBSP
153     [
154         ExecMethod = ExecDraw ;
155         StateMethod = GetState ;
156         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
157     ]
159     SID_ATTR_CHAR_WEIGHT // api:
160     [
161         ExecMethod = Execute ;
162         StateMethod = GetDrawTxtCtrlState ;
163         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
164     ]
166     SID_ATTR_CHAR_POSTURE // api:
167     [
168         ExecMethod = Execute ;
169         StateMethod = GetDrawTxtCtrlState ;
170         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
171     ]
173     SID_ATTR_CHAR_UNDERLINE // api:
174     [
175         ExecMethod = Execute ;
176         StateMethod = GetDrawTxtCtrlState ;
177         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
178     ]
180     SID_ATTR_CHAR_OVERLINE // api:
181     [
182         ExecMethod = Execute ;
183         StateMethod = GetDrawTxtCtrlState ;
184         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
185     ]
187     SID_ATTR_CHAR_CONTOUR
188     [
189         ExecMethod = Execute ;
190         StateMethod = GetDrawTxtCtrlState ;
191         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
192     ]
194     SID_ATTR_CHAR_SHADOWED
195     [
196         ExecMethod = Execute ;
197         StateMethod = GetDrawTxtCtrlState ;
198         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
199     ]
201     SID_ATTR_CHAR_STRIKEOUT
202     [
203         ExecMethod = Execute ;
204         StateMethod = GetDrawTxtCtrlState ;
205         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
206     ]
208     SID_ATTR_PARA_LRSPACE  //for indent
209     [
210         ExecMethod = Execute ;
211         StateMethod = GetState ;
212     ]
214     SID_ATTR_PARA_LINESPACE // api:
215     [
216         ExecMethod = Execute ;
217         StateMethod = GetState ;
218     ]
220     SID_ATTR_PARA_ULSPACE
221     [
222         ExecMethod = Execute ;
223         StateMethod = GetState ;
224     ]
226     SID_ATTR_PARA_ADJUST_LEFT // api:
227     [
228         ExecMethod = Execute ;
229         StateMethod = GetState ;
230         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
231     ]
233     SID_ATTR_PARA_ADJUST_CENTER // api:
234     [
235         ExecMethod = Execute ;
236         StateMethod = GetState ;
237         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
238     ]
240     SID_ATTR_PARA_ADJUST_RIGHT // api:
241     [
242         ExecMethod = Execute ;
243         StateMethod = GetState ;
244         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
245     ]
247     SID_ATTR_PARA_ADJUST_BLOCK // api:
248     [
249         ExecMethod = Execute ;
250         StateMethod = GetState ;
251         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
252     ]
254     SID_ATTR_PARA_LINESPACE_10 // api:
255     [
256         ExecMethod = Execute ;
257         StateMethod = GetState ;
258         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
259     ]
261     SID_ATTR_PARA_LINESPACE_15 // api:
262     [
263         ExecMethod = Execute ;
264         StateMethod = GetState ;
265         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
266     ]
268     SID_ATTR_PARA_LINESPACE_20 // api:
269     [
270         ExecMethod = Execute ;
271         StateMethod = GetState ;
272         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
273     ]
274     SID_ATTR_PARA_LEFT_TO_RIGHT
275     [
276         ExecMethod = Execute ;
277         StateMethod = GetState ;
278         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
279     ]
280     SID_ATTR_PARA_RIGHT_TO_LEFT
281     [
282         ExecMethod = Execute ;
283         StateMethod = GetState ;
284         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
285     ]
287         SID_TEXTDIRECTION_LEFT_TO_RIGHT
288     [
289         ExecMethod = Execute ;
290         StateMethod = GetState ;
291         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
292     ]
293     SID_TEXTDIRECTION_TOP_TO_BOTTOM
294     [
295         ExecMethod = Execute ;
296         StateMethod = GetState ;
297         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
298     ]
299     SID_VERTICALTEXT_STATE
300     [
301         StateMethod = GetState ;
302         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
303     ]
304     SID_CTLFONT_STATE
305     [
306         StateMethod = GetState ;
307         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
308     ]
309     SID_CHAR_DLG  // api:
310     [
311         ExecMethod = Execute ;
312         StateMethod = GetState ;
313         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
314     ]
316     SID_CHAR_DLG_EFFECT
317     [
318         ExecMethod = Execute ;
319         StateMethod = GetState ;
320         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
321     ]
322     SID_CHAR_DLG_FOR_PARAGRAPH
323     [
324         ExecMethod = Execute ;
325         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
326     ]
328     SID_PARA_DLG // api:
329     [
330         ExecMethod = Execute ;
331         StateMethod = GetState ;
332         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
333     ]
335     FN_SET_SUPER_SCRIPT
336     [
337         ExecMethod = Execute ;
338         StateMethod = GetState ;
339         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
340     ]
342     FN_SET_SUB_SCRIPT
343     [
344         ExecMethod = Execute ;
345         StateMethod = GetState ;
346         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
347     ]
349     SID_FONTWORK  // api:
350     [
351         ExecMethod = ExecFontWork ;
352         StateMethod = StateFontWork ;
353         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
354     ]
357     SID_FORMTEXT_STYLE // api:
358     [
359         ExecMethod = ExecFormText ;
360         StateMethod = GetFormTextState ;
361         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
362     ]
364     SID_FORMTEXT_ADJUST  // api:
365     [
366         ExecMethod = ExecFormText ;
367         StateMethod = GetFormTextState ;
368         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
369     ]
371     SID_FORMTEXT_DISTANCE // api:
372     [
373         ExecMethod = ExecFormText ;
374         StateMethod = GetFormTextState ;
375         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
376     ]
378     SID_FORMTEXT_START  // api:
379     [
380         ExecMethod = ExecFormText ;
381         StateMethod = GetFormTextState ;
382         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
383     ]
386     SID_FORMTEXT_MIRROR // api:
387     [
388         ExecMethod = ExecFormText ;
389         StateMethod = GetFormTextState ;
390         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
391     ]
394     SID_FORMTEXT_HIDEFORM   // api:
395     [
396         ExecMethod = ExecFormText ;
397         StateMethod = GetFormTextState ;
398         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
399     ]
401     SID_FORMTEXT_OUTLINE // api:
402     [
403         ExecMethod = ExecFormText ;
404         StateMethod = GetFormTextState ;
405         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
406     ]
408     SID_FORMTEXT_SHADOW  // api:
409     [
410         ExecMethod = ExecFormText ;
411         StateMethod = GetFormTextState ;
412         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
413     ]
415     SID_FORMTEXT_SHDWCOLOR // api:
416     [
417         ExecMethod = ExecFormText ;
418         StateMethod = GetFormTextState ;
419         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
420     ]
422     SID_FORMTEXT_SHDWXVAL  // api:
423     [
424         ExecMethod = ExecFormText ;
425         StateMethod = GetFormTextState ;
426         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
427     ]
429     SID_FORMTEXT_SHDWYVAL  // api:
430     [
431         ExecMethod = ExecFormText ;
432         StateMethod = GetFormTextState ;
433         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
434     ]
436     SID_FORMTEXT_STDFORM // api:
437     [
438         ExecMethod = ExecFormText ;
439         StateMethod = GetFormTextState ;
440         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
441     ]
443     SID_THESAURUS // api:
444     [
445         ExecMethod = ExecDrawLingu ;
446         StateMethod = GetState ;
447         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
448     ]
450         SID_HANGUL_HANJA_CONVERSION  // api:
451         [
452                 ExecMethod = ExecDrawLingu ;
453                 StateMethod = GetState ;
454                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
455         ]
457         SID_CHINESE_CONVERSION  // api:
458         [
459                 ExecMethod = ExecDrawLingu ;
460                 StateMethod = GetState ;
461                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
462         ]
464     FN_DRAWTEXT_ATTR_DLG
465     [
466         ExecMethod = ExecDraw ;
467         StateMethod = NoState ;
468         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
469     ]
471     SID_AUTOSPELL_CHECK
472     [
473         ExecMethod = Execute;
474         StateMethod = GetDrawTxtCtrlState
475     ]
477     SID_SEARCH_DLG
478     [
479         StateMethod = StateDisableItems
480     ]
482     SID_HYPERLINK_SETLINK  // status()
483     [
484         ExecMethod = Execute ;
485         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
486     ]
488     SID_HYPERLINK_GETLINK // status()
489     [
490         StateMethod = StateInsert ;
491     ]
492     SID_TRANSLITERATE_SENTENCE_CASE
493     [
494         ExecMethod = ExecTransliteration;
495         StateMethod = NoState ;
496         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
497     ]
498     SID_TRANSLITERATE_TITLE_CASE
499     [
500         ExecMethod = ExecTransliteration;
501         StateMethod = NoState ;
502         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
503     ]
504     SID_TRANSLITERATE_TOGGLE_CASE
505     [
506         ExecMethod = ExecTransliteration;
507         StateMethod = NoState ;
508         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
509     ]
510     SID_TRANSLITERATE_ROTATE_CASE
511     [
512         ExecMethod = ExecRotateTransliteration;
513         StateMethod = NoState ;
514         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
515     ]
516     SID_TRANSLITERATE_UPPER
517     [
518         ExecMethod = ExecTransliteration;
519         StateMethod = NoState ;
520         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
521     ]
522     SID_TRANSLITERATE_LOWER
523     [
524         ExecMethod = ExecTransliteration;
525         StateMethod = NoState ;
526         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
527     ]
528     SID_TRANSLITERATE_HALFWIDTH
529     [
530         ExecMethod = ExecTransliteration;
531         StateMethod = GetState ;
532         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
533     ]
534     SID_TRANSLITERATE_FULLWIDTH
535     [
536         ExecMethod = ExecTransliteration;
537         StateMethod = GetState ;
538         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
539     ]
540     SID_TRANSLITERATE_HIRAGANA
541     [
542         ExecMethod = ExecTransliteration;
543         StateMethod = GetState ;
544         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
545     ]
546     SID_TRANSLITERATE_KATAGANA
547     [
548         ExecMethod = ExecTransliteration;
549         StateMethod = GetState ;
550         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
551     ]
553     SID_LANGUAGE_STATUS
554     [
555         ExecMethod = Execute;
556         StateMethod = GetState;
557         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";  // e.g. disable for read-only documents
558     ]
560     SID_THES
561     [
562         ExecMethod = Execute;
563         StateMethod = GetState;
564         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";  // e.g. disable for read-only documents
565     ]
567        FN_FORMAT_FOOTNOTE_DLG // status()
568     [
569         ExecMethod = Execute ;
570     ]
572     SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
573     [
574         ExecMethod = Execute ;
575     ]
577     FN_WORDCOUNT_DIALOG
578     [
579         ExecMethod = Execute;
580     ]
582        FN_NUMBERING_OUTLINE_DLG   // status(final|play)
583     [
584         ExecMethod = Execute ;
585     ]
587     SID_INSERT_GRAPHIC
588     [
589         StateMethod = StateDisableItems ;
590     ]
591     SID_TWAIN_SELECT
592     [
593         StateMethod = StateDisableItems ;
594     ]
596     SID_TWAIN_TRANSFER
597     [
598         StateMethod = StateDisableItems ;
599     ]
601     SID_TABLE_VERT_NONE
602     [
603         ExecMethod = ExecDraw ;
604         StateMethod = GetStatePropPanelAttr ;
605         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
606     ]
607     SID_TABLE_VERT_CENTER
608     [
609         ExecMethod = ExecDraw ;
610         StateMethod = GetStatePropPanelAttr ;
611         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
612     ]
613     SID_TABLE_VERT_BOTTOM
614     [
615         ExecMethod = ExecDraw ;
616         StateMethod = GetStatePropPanelAttr ;
617         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
618     ]
621 interface TextDrawFont
622 [ uuid = "074C35E0-11EF-101D-9757-6E74207A7520"; ]
624     SID_ATTR_CHAR_FONT // status()
625     [
626         ExecMethod = Execute ;
627         StateMethod = GetDrawTxtCtrlState ;
628         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
629     ]
631     SID_ATTR_CHAR_FONTHEIGHT // status()
632     [
633         ExecMethod = Execute ;
634         StateMethod = GetDrawTxtCtrlState ;
635         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
636     ]
638     SID_ATTR_CHAR_COLOR // api:
639     [
640         ExecMethod = Execute ;
641         StateMethod = GetDrawTxtCtrlState ;
642         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
643     ]
644     SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
645     [
646         ExecMethod = Execute ;
647         StateMethod = GetDrawTxtCtrlState ;
648         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
649     ]
650     SID_ATTR_CHAR_RELIEF
651     [
652         ExecMethod = Execute ;
653         StateMethod = GetDrawTxtCtrlState ;
654         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
655     ]
656     SID_ATTR_CHAR_LANGUAGE // status(final|play)
657     [
658         ExecMethod = Execute ;
659         StateMethod = GetDrawTxtCtrlState ;
660         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
661     ]
662     SID_ATTR_CHAR_KERNING // status(final|play)
663     [
664         ExecMethod = Execute ;
665         StateMethod = GetDrawTxtCtrlState ;
666         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
667     ]
668     SID_ATTR_CHAR_AUTOKERN // // status(final|play)
669     [
670         ExecMethod = Execute ;
671         StateMethod = GetDrawTxtCtrlState ;
672         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
673     ]
674     SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
675     [
676         ExecMethod = Execute ;
677         StateMethod = GetDrawTxtCtrlState ;
678         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
679     ]
681     SID_ATTR_CHAR_SCALEWIDTH // status()
682     [
683         ExecMethod = Execute ;
684         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
685     ]
690 shell SwDrawTextShell
692         import TextDrawText[Automation];
693         import TextDrawFont ".DrawFont";