2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 interface TextDraw : TextDrawBase
20 SID_ATTR_LINEEND_STYLE
22 ExecMethod = ExecDrawAttrArgs ;
23 StateMethod = DisableState ;
29 ExecMethod = ExecDrawAttrArgs ;
30 StateMethod = GetDrawAttrState ;
36 ExecMethod = ExecDrawAttrArgs ;
37 StateMethod = GetDrawAttrState ;
44 ExecMethod = ExecDrawAttrArgs ;
45 StateMethod = GetDrawAttrState ;
46 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
51 ExecMethod = ExecDrawAttrArgs ;
52 StateMethod = GetDrawAttrState ;
53 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
56 SID_ATTR_LINE_TRANSPARENCE
59 ExecMethod = ExecDrawAttrArgs ;
60 StateMethod = GetDrawAttrState ;
61 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
67 ExecMethod = ExecDrawAttrArgs ;
68 StateMethod = GetDrawAttrState ;
69 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
75 ExecMethod = ExecDrawAttrArgs ;
76 StateMethod = GetDrawAttrState ;
77 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
82 StateMethod = GetDrawAttrState ;
87 StateMethod = GetDrawAttrState ;
92 StateMethod = GetDrawAttrState ;
97 StateMethod = GetDrawAttrState ;
102 StateMethod = GetDrawAttrState ;
107 StateMethod = GetDrawAttrState ;
112 StateMethod = GetDrawAttrState ;
117 ExecMethod = ExecDrawAttrArgs ;
118 StateMethod = GetDrawAttrState ;
120 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
126 ExecMethod = ExecDrawAttrArgs ;
127 StateMethod = GetDrawAttrState ;
128 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
134 ExecMethod = ExecDrawAttrArgs ;
135 StateMethod = GetDrawAttrState ;
136 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
142 ExecMethod = ExecDrawAttrArgs ;
143 StateMethod = GetDrawAttrState ;
144 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
147 SID_ATTR_FILL_GRADIENT
150 ExecMethod = ExecDrawAttrArgs ;
151 StateMethod = GetDrawAttrState ;
152 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
158 ExecMethod = ExecDrawAttrArgs ;
159 StateMethod = GetDrawAttrState ;
160 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
166 ExecMethod = ExecDrawAttrArgs ;
167 StateMethod = GetDrawAttrState ;
168 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
171 SID_ATTR_FILL_TRANSPARENCE
174 ExecMethod = ExecDrawAttrArgs ;
175 StateMethod = GetDrawAttrState ;
176 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
179 SID_ATTR_FILL_FLOATTRANSPARENCE
182 ExecMethod = ExecDrawAttrArgs ;
183 StateMethod = GetDrawAttrState ;
184 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
189 ExecMethod = ExecDrawDlg ;
190 StateMethod = DisableState ;
195 ExecMethod = ExecDrawDlg ;
196 StateMethod = DisableState ;
201 ExecMethod = ExecDrawDlg ;
202 StateMethod = DisableState ;
207 ExecMethod = ExecDrawDlg ;
208 StateMethod = DisableState ;
213 ExecMethod = Execute ;
214 StateMethod = GetState ;
215 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
220 ExecMethod = Execute ;
221 StateMethod = GetState ;
222 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
228 ExecMethod = Execute ;
229 StateMethod = GetState ;
230 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
236 ExecMethod = Execute ;
237 StateMethod = GetState ;
238 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
243 ExecMethod = Execute ;
244 StateMethod = GetState ;
245 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
250 ExecMethod = Execute ;
251 StateMethod = GetState ;
252 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
257 ExecMethod = Execute ;
258 StateMethod = GetState ;
259 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
264 ExecMethod = Execute ;
265 StateMethod = GetState ;
266 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
271 ExecMethod = Execute ;
272 StateMethod = GetState ;
274 SID_EXTRUSION_TILT_DOWN
276 ExecMethod = Execute ;
277 StateMethod = GetState ;
279 SID_EXTRUSION_TILT_UP
281 ExecMethod = Execute ;
282 StateMethod = GetState ;
284 SID_EXTRUSION_TILT_LEFT
286 ExecMethod = Execute ;
287 StateMethod = GetState ;
289 SID_EXTRUSION_TILT_RIGHT
291 ExecMethod = Execute ;
292 StateMethod = GetState ;
294 SID_EXTRUSION_DEPTH_FLOATER
296 ExecMethod = Execute ;
297 StateMethod = GetState ;
299 SID_EXTRUSION_DEPTH_DIALOG
301 ExecMethod = Execute ;
302 StateMethod = GetState ;
304 SID_EXTRUSION_DIRECTION_FLOATER
306 ExecMethod = Execute ;
307 StateMethod = GetState ;
309 SID_EXTRUSION_LIGHTING_FLOATER
311 ExecMethod = Execute ;
312 StateMethod = GetState ;
314 SID_EXTRUSION_SURFACE_FLOATER
316 ExecMethod = Execute ;
317 StateMethod = GetState ;
319 SID_EXTRUSION_3D_COLOR
321 ExecMethod = Execute ;
322 StateMethod = GetState ;
326 ExecMethod = Execute ;
327 StateMethod = GetState ;
329 SID_EXTRUSION_DIRECTION
331 ExecMethod = Execute ;
332 StateMethod = GetState ;
334 SID_EXTRUSION_PROJECTION
336 ExecMethod = Execute ;
337 StateMethod = GetState ;
339 SID_EXTRUSION_LIGHTING_DIRECTION
341 ExecMethod = Execute ;
342 StateMethod = GetState ;
344 SID_EXTRUSION_LIGHTING_INTENSITY
346 ExecMethod = Execute ;
347 StateMethod = GetState ;
349 SID_EXTRUSION_SURFACE
351 ExecMethod = Execute ;
352 StateMethod = GetState ;
356 ExecMethod = Execute ;
357 StateMethod = GetState ;
359 SID_FONTWORK_SHAPE_TYPE
361 ExecMethod = Execute ;
362 StateMethod = GetState ;
364 SID_FONTWORK_ALIGNMENT_FLOATER
366 ExecMethod = Execute ;
367 StateMethod = GetState ;
369 SID_FONTWORK_CHARACTER_SPACING_FLOATER
371 ExecMethod = Execute ;
372 StateMethod = GetState ;
374 SID_FONTWORK_ALIGNMENT
376 ExecMethod = Execute ;
377 StateMethod = GetState ;
379 SID_FONTWORK_SAME_LETTER_HEIGHTS
381 ExecMethod = Execute ;
382 StateMethod = GetState ;
384 SID_FONTWORK_CHARACTER_SPACING
386 ExecMethod = Execute ;
387 StateMethod = GetState ;
389 SID_FONTWORK_KERN_CHARACTER_PAIRS
391 ExecMethod = Execute ;
392 StateMethod = GetState ;
394 SID_FONTWORK_CHARACTER_SPACING_DIALOG
396 ExecMethod = Execute ;
397 StateMethod = GetState ;
401 // #i123922# Add Exec and State methods for the case where Graphic DrawObjects are selected (SdrGrafObj)
402 ExecMethod = Execute ;
403 StateMethod = GetState ;
407 StateMethod = StateDisableItems ;
412 StateMethod = StateDisableItems ;
416 shell SwDrawShell : SwDrawBaseShell
424 ExecMethod = ExecFormText ;
425 StateMethod = GetFormTextState ;
426 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
431 ExecMethod = ExecFormText ;
432 StateMethod = GetFormTextState ;
433 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
436 SID_FORMTEXT_DISTANCE
438 ExecMethod = ExecFormText ;
439 StateMethod = GetFormTextState ;
440 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
445 ExecMethod = ExecFormText ;
446 StateMethod = GetFormTextState ;
447 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
452 ExecMethod = ExecFormText ;
453 StateMethod = GetFormTextState ;
454 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
457 SID_FORMTEXT_HIDEFORM
459 ExecMethod = ExecFormText ;
460 StateMethod = GetFormTextState ;
461 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
466 ExecMethod = ExecFormText ;
467 StateMethod = GetFormTextState ;
468 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
471 SID_FORMTEXT_SHDWXVAL
473 ExecMethod = ExecFormText ;
474 StateMethod = GetFormTextState ;
475 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
480 ExecMethod = ExecFormText ;
481 StateMethod = GetFormTextState ;
482 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
485 SID_FORMTEXT_SHDWCOLOR
487 ExecMethod = ExecFormText ;
488 StateMethod = GetFormTextState ;
489 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
492 SID_FORMTEXT_SHDWYVAL
494 ExecMethod = ExecFormText ;
495 StateMethod = GetFormTextState ;
496 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
499 FN_FORMAT_FOOTNOTE_DLG // status()
501 ExecMethod = Execute;
504 SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
506 ExecMethod = Execute ;
511 ExecMethod = Execute;
514 FN_NUMBERING_OUTLINE_DLG // status(final|play)
516 ExecMethod = Execute ;
521 ExecMethod = Execute ;
522 StateMethod = GetState ;
523 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
528 ExecMethod = Execute ;
529 StateMethod = GetState ;
530 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";