1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: drawsh.sdi,v $
10 * $Revision: 1.9.190.2 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 interface TextDraw : TextDrawBase
32 uuid = "626DE480-111A-101D-9757-6E74207A7520"
35 SID_ATTR_LINEEND_STYLE
37 SlotType = SfxBoolItem ;
38 ExecMethod = ExecDrawAttrArgs ;
39 StateMethod = DisableState ;
46 ExecMethod = ExecDrawAttrArgs ;
47 StateMethod = GetDrawAttrState ;
48 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
53 ExecMethod = ExecDrawAttrArgs ;
54 StateMethod = GetDrawAttrState ;
55 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
60 StateMethod = GetDrawAttrState ;
65 StateMethod = GetDrawAttrState ;
70 StateMethod = GetDrawAttrState ;
75 StateMethod = GetDrawAttrState ;
80 StateMethod = GetDrawAttrState ;
85 StateMethod = GetDrawAttrState ;
90 ExecMethod = ExecDrawAttrArgs ;
91 StateMethod = GetDrawAttrState ;
93 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
99 ExecMethod = ExecDrawAttrArgs ;
100 StateMethod = GetDrawAttrState ;
101 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
107 ExecMethod = ExecDrawAttrArgs ;
108 StateMethod = GetDrawAttrState ;
109 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
115 ExecMethod = ExecDrawAttrArgs ;
116 StateMethod = GetDrawAttrState ;
117 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
120 SID_ATTR_FILL_GRADIENT
123 ExecMethod = ExecDrawAttrArgs ;
124 StateMethod = GetDrawAttrState ;
125 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
131 ExecMethod = ExecDrawAttrArgs ;
132 StateMethod = GetDrawAttrState ;
133 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
139 ExecMethod = ExecDrawAttrArgs ;
140 StateMethod = GetDrawAttrState ;
141 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
146 ExecMethod = ExecDrawDlg ;
147 StateMethod = DisableState ;
152 ExecMethod = ExecDrawDlg ;
153 StateMethod = DisableState ;
158 ExecMethod = ExecDrawDlg ;
159 StateMethod = DisableState ;
164 ExecMethod = Execute ;
165 StateMethod = GetState ;
166 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
171 ExecMethod = Execute ;
172 StateMethod = GetState ;
173 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
179 ExecMethod = Execute ;
180 StateMethod = GetState ;
181 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
187 ExecMethod = Execute ;
188 StateMethod = GetState ;
189 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
194 ExecMethod = Execute ;
195 StateMethod = GetState ;
196 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
201 ExecMethod = Execute ;
202 StateMethod = GetState ;
203 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
208 ExecMethod = Execute ;
209 StateMethod = GetState ;
210 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
215 ExecMethod = Execute ;
216 StateMethod = GetState ;
217 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
222 ExecMethod = Execute ;
223 StateMethod = GetState ;
225 SID_EXTRUSION_TILT_DOWN
227 ExecMethod = Execute ;
228 StateMethod = GetState ;
230 SID_EXTRUSION_TILT_UP
232 ExecMethod = Execute ;
233 StateMethod = GetState ;
235 SID_EXTRUSION_TILT_LEFT
237 ExecMethod = Execute ;
238 StateMethod = GetState ;
240 SID_EXTRUSION_TILT_RIGHT
242 ExecMethod = Execute ;
243 StateMethod = GetState ;
245 SID_EXTRUSION_DEPTH_FLOATER
247 ExecMethod = Execute ;
248 StateMethod = GetState ;
250 SID_EXTRUSION_DEPTH_DIALOG
252 ExecMethod = Execute ;
253 StateMethod = GetState ;
255 SID_EXTRUSION_DIRECTION_FLOATER
257 ExecMethod = Execute ;
258 StateMethod = GetState ;
260 SID_EXTRUSION_LIGHTING_FLOATER
262 ExecMethod = Execute ;
263 StateMethod = GetState ;
265 SID_EXTRUSION_SURFACE_FLOATER
267 ExecMethod = Execute ;
268 StateMethod = GetState ;
270 SID_EXTRUSION_3D_COLOR
272 ExecMethod = Execute ;
273 StateMethod = GetState ;
277 ExecMethod = Execute ;
278 StateMethod = GetState ;
280 SID_EXTRUSION_DIRECTION
282 ExecMethod = Execute ;
283 StateMethod = GetState ;
285 SID_EXTRUSION_PROJECTION
287 ExecMethod = Execute ;
288 StateMethod = GetState ;
290 SID_EXTRUSION_LIGHTING_DIRECTION
292 ExecMethod = Execute ;
293 StateMethod = GetState ;
295 SID_EXTRUSION_LIGHTING_INTENSITY
297 ExecMethod = Execute ;
298 StateMethod = GetState ;
300 SID_EXTRUSION_SURFACE
302 ExecMethod = Execute ;
303 StateMethod = GetState ;
307 ExecMethod = Execute ;
308 StateMethod = GetState ;
310 SID_FONTWORK_SHAPE_TYPE
312 ExecMethod = Execute ;
313 StateMethod = GetState ;
315 SID_FONTWORK_ALIGNMENT_FLOATER
317 ExecMethod = Execute ;
318 StateMethod = GetState ;
320 SID_FONTWORK_CHARACTER_SPACING_FLOATER
322 ExecMethod = Execute ;
323 StateMethod = GetState ;
325 SID_FONTWORK_ALIGNMENT
327 ExecMethod = Execute ;
328 StateMethod = GetState ;
330 SID_FONTWORK_SAME_LETTER_HEIGHTS
332 ExecMethod = Execute ;
333 StateMethod = GetState ;
335 SID_FONTWORK_CHARACTER_SPACING
337 ExecMethod = Execute ;
338 StateMethod = GetState ;
340 SID_FONTWORK_KERN_CHARACTER_PAIRS
342 ExecMethod = Execute ;
343 StateMethod = GetState ;
345 SID_FONTWORK_CHARACTER_SPACING_DIALOG
347 ExecMethod = Execute ;
348 StateMethod = GetState ;
352 StateMethod = StateDisableItems ;
356 StateMethod = StateDisableItems ;
361 StateMethod = StateDisableItems ;
365 shell SwDrawShell : SwDrawBaseShell
367 import TextDraw [Automation];
373 ExecMethod = ExecFormText ;
374 StateMethod = GetFormTextState ;
375 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
381 ExecMethod = ExecFormText ;
382 StateMethod = GetFormTextState ;
383 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
387 SID_FORMTEXT_DISTANCE
389 ExecMethod = ExecFormText ;
390 StateMethod = GetFormTextState ;
391 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
397 ExecMethod = ExecFormText ;
398 StateMethod = GetFormTextState ;
399 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
404 ExecMethod = ExecFormText ;
405 StateMethod = GetFormTextState ;
406 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
410 SID_FORMTEXT_HIDEFORM
412 ExecMethod = ExecFormText ;
413 StateMethod = GetFormTextState ;
414 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
419 ExecMethod = ExecFormText ;
420 StateMethod = GetFormTextState ;
421 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
424 SID_FORMTEXT_SHDWXVAL
426 ExecMethod = ExecFormText ;
427 StateMethod = GetFormTextState ;
428 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
433 ExecMethod = ExecFormText ;
434 StateMethod = GetFormTextState ;
435 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
438 SID_FORMTEXT_SHDWCOLOR
440 ExecMethod = ExecFormText ;
441 StateMethod = GetFormTextState ;
442 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
445 SID_FORMTEXT_SHDWYVAL
447 ExecMethod = ExecFormText ;
448 StateMethod = GetFormTextState ;
449 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
454 ExecMethod = ExecFormText ;
455 StateMethod = GetFormTextState ;
456 DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
459 FN_FORMAT_FOOTNOTE_DLG // status()
461 ExecMethod = Execute;
464 SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
466 ExecMethod = Execute ;
471 ExecMethod = Execute;
474 FN_NUMBERING_OUTLINE_DLG // status(final|play)
476 ExecMethod = Execute ;