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