xref: /AOO41X/main/sw/sdi/drawsh.sdi (revision 52f1c2ee1b77392125ca30aec3c767684308e131)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23interface TextDraw : TextDrawBase
24[
25    uuid = "626DE480-111A-101D-9757-6E74207A7520"
26]
27{
28    SID_ATTR_LINEEND_STYLE
29    [
30        SlotType = SfxBoolItem ;
31        ExecMethod = ExecDrawAttrArgs ;
32        StateMethod = DisableState ;
33        Export = FALSE;
34    ]
35
36    SID_ATTR_LINE_START
37    [
38        ExecMethod = ExecDrawAttrArgs ;
39        StateMethod = GetDrawAttrState ;
40        Export = FALSE;
41    ]
42
43    SID_ATTR_LINE_END
44    [
45        ExecMethod = ExecDrawAttrArgs ;
46        StateMethod = GetDrawAttrState ;
47        Export = FALSE;
48    ]
49
50    SID_ATTR_LINE_STYLE
51    [
52        Export = FALSE;
53        ExecMethod = ExecDrawAttrArgs ;
54        StateMethod = GetDrawAttrState ;
55        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
56    ]
57
58    SID_ATTR_LINE_DASH
59    [
60        ExecMethod = ExecDrawAttrArgs ;
61        StateMethod = GetDrawAttrState ;
62        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
63    ]
64
65    SID_ATTR_LINE_TRANSPARENCE
66    [
67        Export = FALSE;
68        ExecMethod = ExecDrawAttrArgs ;
69        StateMethod = GetDrawAttrState ;
70        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
71    ]
72
73    SID_ATTR_LINE_JOINT
74    [
75        Export = FALSE;
76        ExecMethod = ExecDrawAttrArgs ;
77        StateMethod = GetDrawAttrState ;
78        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
79    ]
80
81    SID_ATTR_LINE_CAP
82    [
83        Export = FALSE;
84        ExecMethod = ExecDrawAttrArgs ;
85        StateMethod = GetDrawAttrState ;
86        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
87    ]
88
89    SID_DASH_LIST
90    [
91        StateMethod = GetDrawAttrState ;
92    ]
93
94    SID_LINEEND_LIST
95    [
96        StateMethod = GetDrawAttrState ;
97    ]
98
99    SID_COLOR_TABLE
100    [
101        StateMethod = GetDrawAttrState ;
102    ]
103
104    SID_GRADIENT_LIST
105    [
106        StateMethod = GetDrawAttrState ;
107    ]
108
109    SID_HATCH_LIST
110    [
111        StateMethod = GetDrawAttrState ;
112    ]
113
114    SID_BITMAP_LIST
115    [
116        StateMethod = GetDrawAttrState ;
117    ]
118
119    SID_ATTR_LINE_WIDTH
120    [
121        ExecMethod = ExecDrawAttrArgs ;
122        StateMethod = GetDrawAttrState ;
123        Export = FALSE;
124        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
125    ]
126
127    SID_ATTR_LINE_COLOR
128    [
129        Export = FALSE;
130        ExecMethod = ExecDrawAttrArgs ;
131        StateMethod = GetDrawAttrState ;
132        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
133    ]
134
135    SID_ATTR_FILL_STYLE
136    [
137        Export = FALSE;
138        ExecMethod = ExecDrawAttrArgs ;
139        StateMethod = GetDrawAttrState ;
140        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
141    ]
142
143    SID_ATTR_FILL_COLOR
144    [
145        Export = FALSE;
146        ExecMethod = ExecDrawAttrArgs ;
147        StateMethod = GetDrawAttrState ;
148        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
149    ]
150
151    SID_ATTR_FILL_GRADIENT
152    [
153        Export = FALSE;
154        ExecMethod = ExecDrawAttrArgs ;
155        StateMethod = GetDrawAttrState ;
156        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
157    ]
158
159    SID_ATTR_FILL_HATCH
160    [
161        Export = FALSE;
162        ExecMethod = ExecDrawAttrArgs ;
163        StateMethod = GetDrawAttrState ;
164        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
165    ]
166
167    SID_ATTR_FILL_BITMAP
168    [
169        Export = FALSE;
170        ExecMethod = ExecDrawAttrArgs ;
171        StateMethod = GetDrawAttrState ;
172        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
173    ]
174
175    SID_ATTR_FILL_TRANSPARENCE
176    [
177        Export = FALSE;
178        ExecMethod = ExecDrawAttrArgs ;
179        StateMethod = GetDrawAttrState ;
180        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
181    ]
182
183    SID_ATTR_FILL_FLOATTRANSPARENCE
184    [
185        Export = FALSE;
186        ExecMethod = ExecDrawAttrArgs ;
187        StateMethod = GetDrawAttrState ;
188        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
189    ]
190
191    SID_ATTRIBUTES_LINE
192    [
193        ExecMethod = ExecDrawDlg ;
194        StateMethod = DisableState ;
195    ]
196
197    SID_ATTRIBUTES_AREA
198    [
199        ExecMethod = ExecDrawDlg ;
200        StateMethod = DisableState ;
201    ]
202
203    FN_DRAWTEXT_ATTR_DLG
204    [
205        ExecMethod = ExecDrawDlg ;
206        StateMethod = DisableState ;
207    ]
208
209    SID_FLIP_VERTICAL
210    [
211        ExecMethod = Execute ;
212        StateMethod = GetState ;
213        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
214    ]
215
216    SID_FLIP_HORIZONTAL
217    [
218        ExecMethod = Execute ;
219        StateMethod = GetState ;
220        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
221    ]
222
223    SID_OBJECT_ROTATE
224    [
225        Export = FALSE;
226        ExecMethod = Execute ;
227        StateMethod = GetState ;
228        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
229    ]
230
231    SID_BEZIER_EDIT
232    [
233        Export = FALSE;
234        ExecMethod = Execute ;
235        StateMethod = GetState ;
236        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
237    ]
238
239    SID_FONTWORK
240    [
241        ExecMethod = Execute ;
242        StateMethod = GetState ;
243        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
244    ]
245
246    SID_OBJECT_HELL
247    [
248        ExecMethod = Execute ;
249        StateMethod = GetState ;
250        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
251    ]
252
253    SID_OBJECT_HEAVEN
254    [
255        ExecMethod = Execute ;
256        StateMethod = GetState ;
257        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
258    ]
259
260    FN_TOOL_HIERARCHIE
261    [
262        ExecMethod = Execute ;
263        StateMethod = GetState ;
264        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
265    ]
266
267    SID_EXTRUSION_TOOGLE
268    [
269        ExecMethod = Execute ;
270        StateMethod = GetState ;
271    ]
272    SID_EXTRUSION_TILT_DOWN
273    [
274        ExecMethod = Execute ;
275        StateMethod = GetState ;
276    ]
277    SID_EXTRUSION_TILT_UP
278    [
279        ExecMethod = Execute ;
280        StateMethod = GetState ;
281    ]
282    SID_EXTRUSION_TILT_LEFT
283    [
284        ExecMethod = Execute ;
285        StateMethod = GetState ;
286    ]
287    SID_EXTRUSION_TILT_RIGHT
288    [
289        ExecMethod = Execute ;
290        StateMethod = GetState ;
291    ]
292    SID_EXTRUSION_DEPTH_FLOATER
293    [
294        ExecMethod = Execute ;
295        StateMethod = GetState ;
296    ]
297    SID_EXTRUSION_DEPTH_DIALOG
298    [
299        ExecMethod = Execute ;
300        StateMethod = GetState ;
301    ]
302    SID_EXTRUSION_DIRECTION_FLOATER
303    [
304        ExecMethod = Execute ;
305        StateMethod = GetState ;
306    ]
307    SID_EXTRUSION_LIGHTING_FLOATER
308    [
309        ExecMethod = Execute ;
310        StateMethod = GetState ;
311    ]
312    SID_EXTRUSION_SURFACE_FLOATER
313    [
314        ExecMethod = Execute ;
315        StateMethod = GetState ;
316    ]
317    SID_EXTRUSION_3D_COLOR
318    [
319        ExecMethod = Execute ;
320        StateMethod = GetState ;
321    ]
322    SID_EXTRUSION_DEPTH
323    [
324        ExecMethod = Execute ;
325        StateMethod = GetState ;
326    ]
327    SID_EXTRUSION_DIRECTION
328    [
329        ExecMethod = Execute ;
330        StateMethod = GetState ;
331    ]
332    SID_EXTRUSION_PROJECTION
333    [
334        ExecMethod = Execute ;
335        StateMethod = GetState ;
336    ]
337    SID_EXTRUSION_LIGHTING_DIRECTION
338    [
339        ExecMethod = Execute ;
340        StateMethod = GetState ;
341    ]
342    SID_EXTRUSION_LIGHTING_INTENSITY
343    [
344        ExecMethod = Execute ;
345        StateMethod = GetState ;
346    ]
347    SID_EXTRUSION_SURFACE
348    [
349        ExecMethod = Execute ;
350        StateMethod = GetState ;
351    ]
352    SID_FONTWORK_SHAPE
353    [
354        ExecMethod = Execute ;
355        StateMethod = GetState ;
356    ]
357    SID_FONTWORK_SHAPE_TYPE
358    [
359        ExecMethod = Execute ;
360        StateMethod = GetState ;
361    ]
362    SID_FONTWORK_ALIGNMENT_FLOATER
363    [
364        ExecMethod = Execute ;
365        StateMethod = GetState ;
366    ]
367    SID_FONTWORK_CHARACTER_SPACING_FLOATER
368    [
369        ExecMethod = Execute ;
370        StateMethod = GetState ;
371    ]
372    SID_FONTWORK_ALIGNMENT
373    [
374        ExecMethod = Execute ;
375        StateMethod = GetState ;
376    ]
377    SID_FONTWORK_SAME_LETTER_HEIGHTS
378    [
379        ExecMethod = Execute ;
380        StateMethod = GetState ;
381    ]
382    SID_FONTWORK_CHARACTER_SPACING
383    [
384        ExecMethod = Execute ;
385        StateMethod = GetState ;
386    ]
387    SID_FONTWORK_KERN_CHARACTER_PAIRS
388    [
389        ExecMethod = Execute ;
390        StateMethod = GetState ;
391    ]
392    SID_FONTWORK_CHARACTER_SPACING_DIALOG
393    [
394        ExecMethod = Execute ;
395        StateMethod = GetState ;
396    ]
397    SID_INSERT_GRAPHIC
398    [
399        // #123922# Add Exec and State methods for the case where Graphic DrawObjects are selected (SdrGrafObj)
400        ExecMethod = Execute ;
401        StateMethod = GetState ;
402    ]
403    SID_TWAIN_SELECT
404    [
405        StateMethod = StateDisableItems ;
406    ]
407
408    SID_TWAIN_TRANSFER
409    [
410        StateMethod = StateDisableItems ;
411    ]
412}
413
414shell SwDrawShell : SwDrawBaseShell
415{
416        import TextDraw [Automation];
417
418     // no export
419
420    SID_FORMTEXT_STYLE
421    [
422        ExecMethod = ExecFormText ;
423        StateMethod = GetFormTextState ;
424        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
425    ]
426
427
428    SID_FORMTEXT_ADJUST
429    [
430        ExecMethod = ExecFormText ;
431        StateMethod = GetFormTextState ;
432        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
433    ]
434
435
436    SID_FORMTEXT_DISTANCE
437    [
438        ExecMethod = ExecFormText ;
439        StateMethod = GetFormTextState ;
440        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
441    ]
442
443
444    SID_FORMTEXT_START
445    [
446        ExecMethod = ExecFormText ;
447        StateMethod = GetFormTextState ;
448        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
449    ]
450
451    SID_FORMTEXT_MIRROR
452    [
453        ExecMethod = ExecFormText ;
454        StateMethod = GetFormTextState ;
455        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
456    ]
457
458
459    SID_FORMTEXT_HIDEFORM
460    [
461        ExecMethod = ExecFormText ;
462        StateMethod = GetFormTextState ;
463        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
464    ]
465
466    SID_FORMTEXT_OUTLINE
467    [
468        ExecMethod = ExecFormText ;
469        StateMethod = GetFormTextState ;
470        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
471    ]
472
473    SID_FORMTEXT_SHDWXVAL
474    [
475        ExecMethod = ExecFormText ;
476        StateMethod = GetFormTextState ;
477        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
478    ]
479
480    SID_FORMTEXT_SHADOW
481    [
482        ExecMethod = ExecFormText ;
483        StateMethod = GetFormTextState ;
484        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
485    ]
486
487    SID_FORMTEXT_SHDWCOLOR
488    [
489        ExecMethod = ExecFormText ;
490        StateMethod = GetFormTextState ;
491        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
492    ]
493
494    SID_FORMTEXT_SHDWYVAL
495    [
496        ExecMethod = ExecFormText ;
497        StateMethod = GetFormTextState ;
498        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
499    ]
500
501    FN_FORMAT_FOOTNOTE_DLG // status()
502    [
503        ExecMethod = Execute;
504    ]
505
506    SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
507    [
508        ExecMethod = Execute ;
509    ]
510
511    FN_WORDCOUNT_DIALOG
512    [
513        ExecMethod = Execute;
514    ]
515
516    FN_NUMBERING_OUTLINE_DLG   // status(final|play)
517    [
518        ExecMethod = Execute ;
519    ]
520}
521
522
523