xref: /trunk/main/sw/sdi/drawsh.sdi (revision 8dcb2a100eb78f12871a9e67d867e1bc0c7bdb07)
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 = DisableState ;
40        Export = FALSE;
41    ]
42
43    SID_ATTR_LINE_END
44    [
45        ExecMethod = ExecDrawAttrArgs ;
46        StateMethod = DisableState ;
47        Export = FALSE;
48    ]
49
50    SID_ATTR_TRANSFORM // ole : no, status : ?
51    [
52        ExecMethod = ExecDrawAttrArgs ;
53        StateMethod = DisableState ;
54        Export = FALSE;
55    ]
56
57    // use same as SID_ATTR_LINEEND_STYLE
58    SID_ATTR_TRANSFORM_MIRROR_HORIZONTAL [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
59    SID_ATTR_TRANSFORM_MIRROR_VERTICAL [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
60    SID_ATTR_TRANSFORM_POS_X [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
61    SID_ATTR_TRANSFORM_POS_Y [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
62    SID_ATTR_TRANSFORM_WIDTH [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
63    SID_ATTR_TRANSFORM_HEIGHT [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
64    SID_ATTR_TRANSFORM_ANGLE [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
65    SID_ATTR_TRANSFORM_ROT_X [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
66    SID_ATTR_TRANSFORM_ROT_Y [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
67    SID_ATTR_TRANSFORM_PROTECT_POS [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
68    SID_ATTR_TRANSFORM_PROTECT_SIZE [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
69    SID_ATTR_TRANSFORM_AUTOWIDTH [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
70    SID_ATTR_TRANSFORM_AUTOHEIGHT [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
71    SID_ATTR_TRANSFORM_MATRIX [ ExecMethod = ExecDrawAttrArgs; StateMethod = DisableState; Export = FALSE; ]
72
73    SID_ATTR_LINE_STYLE
74    [
75        Export = FALSE;
76        ExecMethod = ExecDrawAttrArgs ;
77        StateMethod = GetDrawAttrState ;
78        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
79    ]
80
81    SID_ATTR_LINE_DASH
82    [
83        ExecMethod = ExecDrawAttrArgs ;
84        StateMethod = GetDrawAttrState ;
85        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
86    ]
87
88    SID_ATTR_LINE_TRANSPARENCE
89    [
90        Export = FALSE;
91        ExecMethod = ExecDrawAttrArgs ;
92        StateMethod = GetDrawAttrState ;
93        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
94    ]
95
96    SID_ATTR_LINE_JOINT
97    [
98        Export = FALSE;
99        ExecMethod = ExecDrawAttrArgs ;
100        StateMethod = GetDrawAttrState ;
101        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
102    ]
103
104    SID_ATTR_LINE_CAP
105    [
106        Export = FALSE;
107        ExecMethod = ExecDrawAttrArgs ;
108        StateMethod = GetDrawAttrState ;
109        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
110    ]
111
112    SID_DASH_LIST
113    [
114        StateMethod = GetDrawAttrState ;
115    ]
116
117    SID_LINEEND_LIST
118    [
119        StateMethod = GetDrawAttrState ;
120    ]
121
122    SID_COLOR_TABLE
123    [
124        StateMethod = GetDrawAttrState ;
125    ]
126
127    SID_GRADIENT_LIST
128    [
129        StateMethod = GetDrawAttrState ;
130    ]
131
132    SID_HATCH_LIST
133    [
134        StateMethod = GetDrawAttrState ;
135    ]
136
137    SID_BITMAP_LIST
138    [
139        StateMethod = GetDrawAttrState ;
140    ]
141
142    SID_ATTR_LINE_WIDTH
143    [
144        ExecMethod = ExecDrawAttrArgs ;
145        StateMethod = GetDrawAttrState ;
146        Export = FALSE;
147        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
148    ]
149
150    SID_ATTR_LINE_COLOR
151    [
152        Export = FALSE;
153        ExecMethod = ExecDrawAttrArgs ;
154        StateMethod = GetDrawAttrState ;
155        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
156    ]
157
158    SID_ATTR_FILL_STYLE
159    [
160        Export = FALSE;
161        ExecMethod = ExecDrawAttrArgs ;
162        StateMethod = GetDrawAttrState ;
163        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
164    ]
165
166    SID_ATTR_FILL_COLOR
167    [
168        Export = FALSE;
169        ExecMethod = ExecDrawAttrArgs ;
170        StateMethod = GetDrawAttrState ;
171        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
172    ]
173
174    SID_ATTR_FILL_GRADIENT
175    [
176        Export = FALSE;
177        ExecMethod = ExecDrawAttrArgs ;
178        StateMethod = GetDrawAttrState ;
179        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
180    ]
181
182    SID_ATTR_FILL_HATCH
183    [
184        Export = FALSE;
185        ExecMethod = ExecDrawAttrArgs ;
186        StateMethod = GetDrawAttrState ;
187        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
188    ]
189
190    SID_ATTR_FILL_BITMAP
191    [
192        Export = FALSE;
193        ExecMethod = ExecDrawAttrArgs ;
194        StateMethod = GetDrawAttrState ;
195        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
196    ]
197
198    SID_ATTR_FILL_TRANSPARENCE
199    [
200        Export = FALSE;
201        ExecMethod = ExecDrawAttrArgs ;
202        StateMethod = GetDrawAttrState ;
203        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
204    ]
205
206    SID_ATTR_FILL_FLOATTRANSPARENCE
207    [
208        Export = FALSE;
209        ExecMethod = ExecDrawAttrArgs ;
210        StateMethod = GetDrawAttrState ;
211        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
212    ]
213
214    SID_ATTRIBUTES_LINE
215    [
216        ExecMethod = ExecDrawDlg ;
217        StateMethod = DisableState ;
218    ]
219
220    SID_ATTRIBUTES_AREA
221    [
222        ExecMethod = ExecDrawDlg ;
223        StateMethod = DisableState ;
224    ]
225
226    FN_DRAWTEXT_ATTR_DLG
227    [
228        ExecMethod = ExecDrawDlg ;
229        StateMethod = DisableState ;
230    ]
231
232    FN_FLIP_VERT_GRAFIC
233    [
234        ExecMethod = Execute ;
235        StateMethod = GetState ;
236        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
237    ]
238
239    FN_FLIP_HORZ_GRAFIC
240    [
241        ExecMethod = Execute ;
242        StateMethod = GetState ;
243        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
244    ]
245
246    SID_OBJECT_ROTATE
247    [
248        Export = FALSE;
249        ExecMethod = Execute ;
250        StateMethod = GetState ;
251        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
252    ]
253
254    SID_BEZIER_EDIT
255    [
256        Export = FALSE;
257        ExecMethod = Execute ;
258        StateMethod = GetState ;
259        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
260    ]
261
262    SID_FONTWORK
263    [
264        ExecMethod = Execute ;
265        StateMethod = GetState ;
266        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
267    ]
268
269    SID_OBJECT_HELL
270    [
271        ExecMethod = Execute ;
272        StateMethod = GetState ;
273        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
274    ]
275
276    SID_OBJECT_HEAVEN
277    [
278        ExecMethod = Execute ;
279        StateMethod = GetState ;
280        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
281    ]
282
283    FN_TOOL_HIERARCHIE
284    [
285        ExecMethod = Execute ;
286        StateMethod = GetState ;
287        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
288    ]
289
290    SID_EXTRUSION_TOOGLE
291    [
292        ExecMethod = Execute ;
293        StateMethod = GetState ;
294    ]
295    SID_EXTRUSION_TILT_DOWN
296    [
297        ExecMethod = Execute ;
298        StateMethod = GetState ;
299    ]
300    SID_EXTRUSION_TILT_UP
301    [
302        ExecMethod = Execute ;
303        StateMethod = GetState ;
304    ]
305    SID_EXTRUSION_TILT_LEFT
306    [
307        ExecMethod = Execute ;
308        StateMethod = GetState ;
309    ]
310    SID_EXTRUSION_TILT_RIGHT
311    [
312        ExecMethod = Execute ;
313        StateMethod = GetState ;
314    ]
315    SID_EXTRUSION_DEPTH_FLOATER
316    [
317        ExecMethod = Execute ;
318        StateMethod = GetState ;
319    ]
320    SID_EXTRUSION_DEPTH_DIALOG
321    [
322        ExecMethod = Execute ;
323        StateMethod = GetState ;
324    ]
325    SID_EXTRUSION_DIRECTION_FLOATER
326    [
327        ExecMethod = Execute ;
328        StateMethod = GetState ;
329    ]
330    SID_EXTRUSION_LIGHTING_FLOATER
331    [
332        ExecMethod = Execute ;
333        StateMethod = GetState ;
334    ]
335    SID_EXTRUSION_SURFACE_FLOATER
336    [
337        ExecMethod = Execute ;
338        StateMethod = GetState ;
339    ]
340    SID_EXTRUSION_3D_COLOR
341    [
342        ExecMethod = Execute ;
343        StateMethod = GetState ;
344    ]
345    SID_EXTRUSION_DEPTH
346    [
347        ExecMethod = Execute ;
348        StateMethod = GetState ;
349    ]
350    SID_EXTRUSION_DIRECTION
351    [
352        ExecMethod = Execute ;
353        StateMethod = GetState ;
354    ]
355    SID_EXTRUSION_PROJECTION
356    [
357        ExecMethod = Execute ;
358        StateMethod = GetState ;
359    ]
360    SID_EXTRUSION_LIGHTING_DIRECTION
361    [
362        ExecMethod = Execute ;
363        StateMethod = GetState ;
364    ]
365    SID_EXTRUSION_LIGHTING_INTENSITY
366    [
367        ExecMethod = Execute ;
368        StateMethod = GetState ;
369    ]
370    SID_EXTRUSION_SURFACE
371    [
372        ExecMethod = Execute ;
373        StateMethod = GetState ;
374    ]
375    SID_FONTWORK_SHAPE
376    [
377        ExecMethod = Execute ;
378        StateMethod = GetState ;
379    ]
380    SID_FONTWORK_SHAPE_TYPE
381    [
382        ExecMethod = Execute ;
383        StateMethod = GetState ;
384    ]
385    SID_FONTWORK_ALIGNMENT_FLOATER
386    [
387        ExecMethod = Execute ;
388        StateMethod = GetState ;
389    ]
390    SID_FONTWORK_CHARACTER_SPACING_FLOATER
391    [
392        ExecMethod = Execute ;
393        StateMethod = GetState ;
394    ]
395    SID_FONTWORK_ALIGNMENT
396    [
397        ExecMethod = Execute ;
398        StateMethod = GetState ;
399    ]
400    SID_FONTWORK_SAME_LETTER_HEIGHTS
401    [
402        ExecMethod = Execute ;
403        StateMethod = GetState ;
404    ]
405    SID_FONTWORK_CHARACTER_SPACING
406    [
407        ExecMethod = Execute ;
408        StateMethod = GetState ;
409    ]
410    SID_FONTWORK_KERN_CHARACTER_PAIRS
411    [
412        ExecMethod = Execute ;
413        StateMethod = GetState ;
414    ]
415    SID_FONTWORK_CHARACTER_SPACING_DIALOG
416    [
417        ExecMethod = Execute ;
418        StateMethod = GetState ;
419    ]
420    SID_INSERT_GRAPHIC
421    [
422        StateMethod = StateDisableItems ;
423    ]
424    SID_TWAIN_SELECT
425    [
426        StateMethod = StateDisableItems ;
427    ]
428
429    SID_TWAIN_TRANSFER
430    [
431        StateMethod = StateDisableItems ;
432    ]
433}
434
435shell SwDrawShell : SwDrawBaseShell
436{
437        import TextDraw [Automation];
438
439     // no export
440
441    SID_FORMTEXT_STYLE
442    [
443        ExecMethod = ExecFormText ;
444        StateMethod = GetFormTextState ;
445        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
446    ]
447
448
449    SID_FORMTEXT_ADJUST
450    [
451        ExecMethod = ExecFormText ;
452        StateMethod = GetFormTextState ;
453        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
454    ]
455
456
457    SID_FORMTEXT_DISTANCE
458    [
459        ExecMethod = ExecFormText ;
460        StateMethod = GetFormTextState ;
461        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
462    ]
463
464
465    SID_FORMTEXT_START
466    [
467        ExecMethod = ExecFormText ;
468        StateMethod = GetFormTextState ;
469        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
470    ]
471
472    SID_FORMTEXT_MIRROR
473    [
474        ExecMethod = ExecFormText ;
475        StateMethod = GetFormTextState ;
476        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
477    ]
478
479
480    SID_FORMTEXT_HIDEFORM
481    [
482        ExecMethod = ExecFormText ;
483        StateMethod = GetFormTextState ;
484        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
485    ]
486
487    SID_FORMTEXT_OUTLINE
488    [
489        ExecMethod = ExecFormText ;
490        StateMethod = GetFormTextState ;
491        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
492    ]
493
494    SID_FORMTEXT_SHDWXVAL
495    [
496        ExecMethod = ExecFormText ;
497        StateMethod = GetFormTextState ;
498        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
499    ]
500
501    SID_FORMTEXT_SHADOW
502    [
503        ExecMethod = ExecFormText ;
504        StateMethod = GetFormTextState ;
505        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
506    ]
507
508    SID_FORMTEXT_SHDWCOLOR
509    [
510        ExecMethod = ExecFormText ;
511        StateMethod = GetFormTextState ;
512        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
513    ]
514
515    SID_FORMTEXT_SHDWYVAL
516    [
517        ExecMethod = ExecFormText ;
518        StateMethod = GetFormTextState ;
519        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
520    ]
521
522    SID_FORMTEXT_STDFORM
523    [
524        ExecMethod = ExecFormText ;
525        StateMethod = GetFormTextState ;
526        DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
527    ]
528
529    FN_FORMAT_FOOTNOTE_DLG // status()
530    [
531        ExecMethod = Execute;
532    ]
533
534    SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
535    [
536        ExecMethod = Execute ;
537    ]
538
539    FN_WORDCOUNT_DIALOG
540    [
541        ExecMethod = Execute;
542    ]
543
544    FN_NUMBERING_OUTLINE_DLG   // status(final|play)
545    [
546        ExecMethod = Execute ;
547    ]
548}
549
550
551