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