Impress Remote 1.0.5, tag sdremote-1.0.5
[LibreOffice.git] / sw / sdi / drwtxtsh.sdi
blob0bfb4551ed2e6123a42fd42fc6c2f9cfddb1bc82
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_ADJUST_LEFT // api:
209     [
210         ExecMethod = Execute ;
211         StateMethod = GetState ;
212         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
213     ]
215     SID_ATTR_PARA_ADJUST_CENTER // api:
216     [
217         ExecMethod = Execute ;
218         StateMethod = GetState ;
219         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
220     ]
222     SID_ATTR_PARA_ADJUST_RIGHT // api:
223     [
224         ExecMethod = Execute ;
225         StateMethod = GetState ;
226         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
227     ]
229     SID_ATTR_PARA_ADJUST_BLOCK // api:
230     [
231         ExecMethod = Execute ;
232         StateMethod = GetState ;
233         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
234     ]
236     SID_ATTR_PARA_LINESPACE_10 // api:
237     [
238         ExecMethod = Execute ;
239         StateMethod = GetState ;
240         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
241     ]
243     SID_ATTR_PARA_LINESPACE_15 // api:
244     [
245         ExecMethod = Execute ;
246         StateMethod = GetState ;
247         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
248     ]
250     SID_ATTR_PARA_LINESPACE_20 // api:
251     [
252         ExecMethod = Execute ;
253         StateMethod = GetState ;
254         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
255     ]
256     SID_ATTR_PARA_LEFT_TO_RIGHT
257     [
258         ExecMethod = Execute ;
259         StateMethod = GetState ;
260         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
261     ]
262     SID_ATTR_PARA_RIGHT_TO_LEFT
263     [
264         ExecMethod = Execute ;
265         StateMethod = GetState ;
266         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
267     ]
269         SID_TEXTDIRECTION_LEFT_TO_RIGHT
270     [
271         ExecMethod = Execute ;
272         StateMethod = GetState ;
273         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
274     ]
275     SID_TEXTDIRECTION_TOP_TO_BOTTOM
276     [
277         ExecMethod = Execute ;
278         StateMethod = GetState ;
279         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
280     ]
281     SID_VERTICALTEXT_STATE
282     [
283         StateMethod = GetState ;
284         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
285     ]
286     SID_CTLFONT_STATE
287     [
288         StateMethod = GetState ;
289         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
290     ]
291     SID_CHAR_DLG  // api:
292     [
293         ExecMethod = Execute ;
294         StateMethod = GetState ;
295         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
296     ]
297     SID_CHAR_DLG_FOR_PARAGRAPH
298     [
299         ExecMethod = Execute ;
300         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
301     ]
303     SID_PARA_DLG // api:
304     [
305         ExecMethod = Execute ;
306         StateMethod = GetState ;
307         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
308     ]
310     FN_SET_SUPER_SCRIPT
311     [
312         ExecMethod = Execute ;
313         StateMethod = GetState ;
314         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
315     ]
317     FN_SET_SUB_SCRIPT
318     [
319         ExecMethod = Execute ;
320         StateMethod = GetState ;
321         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
322     ]
324     SID_FONTWORK  // api:
325     [
326         ExecMethod = ExecFontWork ;
327         StateMethod = StateFontWork ;
328         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
329     ]
332     SID_FORMTEXT_STYLE // api:
333     [
334         ExecMethod = ExecFormText ;
335         StateMethod = GetFormTextState ;
336         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
337     ]
339     SID_FORMTEXT_ADJUST  // api:
340     [
341         ExecMethod = ExecFormText ;
342         StateMethod = GetFormTextState ;
343         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
344     ]
346     SID_FORMTEXT_DISTANCE // api:
347     [
348         ExecMethod = ExecFormText ;
349         StateMethod = GetFormTextState ;
350         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
351     ]
353     SID_FORMTEXT_START  // api:
354     [
355         ExecMethod = ExecFormText ;
356         StateMethod = GetFormTextState ;
357         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
358     ]
361     SID_FORMTEXT_MIRROR // api:
362     [
363         ExecMethod = ExecFormText ;
364         StateMethod = GetFormTextState ;
365         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
366     ]
369     SID_FORMTEXT_HIDEFORM   // api:
370     [
371         ExecMethod = ExecFormText ;
372         StateMethod = GetFormTextState ;
373         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
374     ]
376     SID_FORMTEXT_OUTLINE // api:
377     [
378         ExecMethod = ExecFormText ;
379         StateMethod = GetFormTextState ;
380         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
381     ]
383     SID_FORMTEXT_SHADOW  // api:
384     [
385         ExecMethod = ExecFormText ;
386         StateMethod = GetFormTextState ;
387         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
388     ]
390     SID_FORMTEXT_SHDWCOLOR // api:
391     [
392         ExecMethod = ExecFormText ;
393         StateMethod = GetFormTextState ;
394         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
395     ]
397     SID_FORMTEXT_SHDWXVAL  // api:
398     [
399         ExecMethod = ExecFormText ;
400         StateMethod = GetFormTextState ;
401         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
402     ]
404     SID_FORMTEXT_SHDWYVAL  // api:
405     [
406         ExecMethod = ExecFormText ;
407         StateMethod = GetFormTextState ;
408         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
409     ]
411     SID_FORMTEXT_STDFORM // api:
412     [
413         ExecMethod = ExecFormText ;
414         StateMethod = GetFormTextState ;
415         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
416     ]
418     SID_THESAURUS // api:
419     [
420         ExecMethod = ExecDrawLingu ;
421         StateMethod = GetState ;
422         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
423     ]
425         SID_HANGUL_HANJA_CONVERSION  // api:
426         [
427                 ExecMethod = ExecDrawLingu ;
428                 StateMethod = GetState ;
429                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
430         ]
432         SID_CHINESE_CONVERSION  // api:
433         [
434                 ExecMethod = ExecDrawLingu ;
435                 StateMethod = GetState ;
436                 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
437         ]
439     FN_DRAWTEXT_ATTR_DLG
440     [
441         ExecMethod = ExecDraw ;
442         StateMethod = NoState ;
443         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
444     ]
446     SID_AUTOSPELL_CHECK
447     [
448         ExecMethod = Execute;
449         StateMethod = GetDrawTxtCtrlState
450     ]
452     SID_SEARCH_DLG
453     [
454         StateMethod = StateDisableItems
455     ]
457     SID_HYPERLINK_SETLINK  // status()
458     [
459         ExecMethod = Execute ;
460         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
461     ]
463     SID_HYPERLINK_GETLINK // status()
464     [
465         StateMethod = StateInsert ;
466     ]
467     SID_TRANSLITERATE_SENTENCE_CASE
468     [
469         ExecMethod = ExecTransliteration;
470         StateMethod = NoState ;
471         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
472     ]
473     SID_TRANSLITERATE_TITLE_CASE
474     [
475         ExecMethod = ExecTransliteration;
476         StateMethod = NoState ;
477         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
478     ]
479     SID_TRANSLITERATE_TOGGLE_CASE
480     [
481         ExecMethod = ExecTransliteration;
482         StateMethod = NoState ;
483         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
484     ]
485     SID_TRANSLITERATE_ROTATE_CASE
486     [
487         ExecMethod = ExecRotateTransliteration;
488         StateMethod = NoState ;
489         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
490     ]
491     SID_TRANSLITERATE_UPPER
492     [
493         ExecMethod = ExecTransliteration;
494         StateMethod = NoState ;
495         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
496     ]
497     SID_TRANSLITERATE_LOWER
498     [
499         ExecMethod = ExecTransliteration;
500         StateMethod = NoState ;
501         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
502     ]
503     SID_TRANSLITERATE_HALFWIDTH
504     [
505         ExecMethod = ExecTransliteration;
506         StateMethod = GetState ;
507         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
508     ]
509     SID_TRANSLITERATE_FULLWIDTH
510     [
511         ExecMethod = ExecTransliteration;
512         StateMethod = GetState ;
513         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
514     ]
515     SID_TRANSLITERATE_HIRAGANA
516     [
517         ExecMethod = ExecTransliteration;
518         StateMethod = GetState ;
519         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
520     ]
521     SID_TRANSLITERATE_KATAGANA
522     [
523         ExecMethod = ExecTransliteration;
524         StateMethod = GetState ;
525         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
526     ]
528     SID_LANGUAGE_STATUS
529     [
530         ExecMethod = Execute;
531         StateMethod = GetState;
532         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";  // e.g. disable for read-only documents
533     ]
535     SID_THES
536     [
537         ExecMethod = Execute;
538         StateMethod = GetState;
539         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";  // e.g. disable for read-only documents
540     ]
542        FN_FORMAT_FOOTNOTE_DLG // status()
543     [
544         ExecMethod = Execute ;
545     ]
547     SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
548     [
549         ExecMethod = Execute ;
550     ]
552     FN_WORDCOUNT_DIALOG
553     [
554         ExecMethod = Execute;
555     ]
557        FN_NUMBERING_OUTLINE_DLG   // status(final|play)
558     [
559         ExecMethod = Execute ;
560     ]
562     SID_INSERT_GRAPHIC
563     [
564         StateMethod = StateDisableItems ;
565     ]
566     SID_TWAIN_SELECT
567     [
568         StateMethod = StateDisableItems ;
569     ]
571     SID_TWAIN_TRANSFER
572     [
573         StateMethod = StateDisableItems ;
574     ]
577 interface TextDrawFont
578 [ uuid = "074C35E0-11EF-101D-9757-6E74207A7520"; ]
580     SID_ATTR_CHAR_FONT // status()
581     [
582         ExecMethod = Execute ;
583         StateMethod = GetDrawTxtCtrlState ;
584         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
585     ]
587     SID_ATTR_CHAR_FONTHEIGHT // status()
588     [
589         ExecMethod = Execute ;
590         StateMethod = GetDrawTxtCtrlState ;
591         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
592     ]
594     SID_ATTR_CHAR_COLOR // api:
595     [
596         ExecMethod = Execute ;
597         StateMethod = GetDrawTxtCtrlState ;
598         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
599     ]
600     SID_ATTR_CHAR_WORDLINEMODE // status(final|play)
601     [
602         ExecMethod = Execute ;
603         StateMethod = GetDrawTxtCtrlState ;
604         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
605     ]
606     SID_ATTR_CHAR_RELIEF
607     [
608         ExecMethod = Execute ;
609         StateMethod = GetDrawTxtCtrlState ;
610         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
611     ]
612     SID_ATTR_CHAR_LANGUAGE // status(final|play)
613     [
614         ExecMethod = Execute ;
615         StateMethod = GetDrawTxtCtrlState ;
616         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
617     ]
618     SID_ATTR_CHAR_KERNING // status(final|play)
619     [
620         ExecMethod = Execute ;
621         StateMethod = GetDrawTxtCtrlState ;
622         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
623     ]
624     SID_ATTR_CHAR_AUTOKERN // // status(final|play)
625     [
626         ExecMethod = Execute ;
627         StateMethod = GetDrawTxtCtrlState ;
628         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
629     ]
630     SID_ATTR_CHAR_ESCAPEMENT // status(final|play)
631     [
632         ExecMethod = Execute ;
633         StateMethod = GetDrawTxtCtrlState ;
634         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
635     ]
637     SID_ATTR_CHAR_SCALEWIDTH // status()
638     [
639         ExecMethod = Execute ;
640         DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
641     ]
646 shell SwDrawTextShell
648         import TextDrawText[Automation];
649         import TextDrawFont ".DrawFont";