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 ;
28 ExecMethod = ExecDrawAttrArgs ;
29 StateMethod = GetDrawAttrState ;
34 ExecMethod = ExecDrawAttrArgs ;
35 StateMethod = GetDrawAttrState ;
40 ExecMethod = ExecDrawAttrArgs ;
41 StateMethod = GetDrawAttrState ;
42 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
47 ExecMethod = ExecDrawAttrArgs ;
48 StateMethod = GetDrawAttrState ;
49 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
52 SID_ATTR_LINE_TRANSPARENCE
54 ExecMethod = ExecDrawAttrArgs ;
55 StateMethod = GetDrawAttrState ;
56 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
61 ExecMethod = ExecDrawAttrArgs ;
62 StateMethod = GetDrawAttrState ;
63 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
68 ExecMethod = ExecDrawAttrArgs ;
69 StateMethod = GetDrawAttrState ;
70 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
75 StateMethod = GetDrawAttrState ;
80 StateMethod = GetDrawAttrState ;
85 StateMethod = GetDrawAttrState ;
90 StateMethod = GetDrawAttrState ;
95 StateMethod = GetDrawAttrState ;
100 StateMethod = GetDrawAttrState ;
105 StateMethod = GetDrawAttrState ;
110 ExecMethod = ExecDrawAttrArgs ;
111 StateMethod = GetDrawAttrState ;
112 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
117 ExecMethod = ExecDrawAttrArgs ;
118 StateMethod = GetDrawAttrState ;
119 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
124 ExecMethod = ExecDrawAttrArgs ;
125 StateMethod = GetDrawAttrState ;
126 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
131 ExecMethod = ExecDrawAttrArgs ;
132 StateMethod = GetDrawAttrState ;
133 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
136 SID_ATTR_FILL_GRADIENT
138 ExecMethod = ExecDrawAttrArgs ;
139 StateMethod = GetDrawAttrState ;
140 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
145 ExecMethod = ExecDrawAttrArgs ;
146 StateMethod = GetDrawAttrState ;
147 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
152 ExecMethod = ExecDrawAttrArgs ;
153 StateMethod = GetDrawAttrState ;
154 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
157 SID_ATTR_FILL_TRANSPARENCE
159 ExecMethod = ExecDrawAttrArgs ;
160 StateMethod = GetDrawAttrState ;
161 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
164 SID_ATTR_FILL_FLOATTRANSPARENCE
166 ExecMethod = ExecDrawAttrArgs ;
167 StateMethod = GetDrawAttrState ;
168 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
173 ExecMethod = ExecDrawAttrArgs ;
174 StateMethod = GetDrawAttrState ;
175 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
180 ExecMethod = ExecDrawAttrArgs ;
181 StateMethod = GetDrawAttrState ;
182 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
185 SID_ATTR_GLOW_TRANSPARENCY
187 ExecMethod = ExecDrawAttrArgs ;
188 StateMethod = GetDrawAttrState ;
189 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
192 SID_ATTR_GLOW_TEXT_COLOR
194 ExecMethod = ExecDrawAttrArgs ;
195 StateMethod = GetDrawAttrState ;
196 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
199 SID_ATTR_GLOW_TEXT_RADIUS
201 ExecMethod = ExecDrawAttrArgs ;
202 StateMethod = GetDrawAttrState ;
203 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
206 SID_ATTR_GLOW_TEXT_TRANSPARENCY
208 ExecMethod = ExecDrawAttrArgs ;
209 StateMethod = GetDrawAttrState ;
210 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
213 SID_ATTR_SOFTEDGE_RADIUS
215 ExecMethod = ExecDrawAttrArgs ;
216 StateMethod = GetDrawAttrState ;
217 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
222 ExecMethod = ExecDrawDlg ;
223 StateMethod = DisableState ;
228 ExecMethod = ExecDrawDlg ;
229 StateMethod = DisableState ;
234 ExecMethod = ExecDrawDlg ;
235 StateMethod = DisableState ;
240 ExecMethod = ExecDrawDlg ;
241 StateMethod = DisableState ;
246 ExecMethod = Execute ;
247 StateMethod = GetState ;
248 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
253 ExecMethod = Execute ;
254 StateMethod = GetState ;
255 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
260 ExecMethod = Execute ;
261 StateMethod = GetState ;
262 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
267 ExecMethod = Execute ;
268 StateMethod = GetState ;
269 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
274 ExecMethod = Execute ;
275 StateMethod = GetState ;
276 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
281 ExecMethod = Execute ;
282 StateMethod = GetState ;
283 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
288 ExecMethod = Execute ;
289 StateMethod = GetState ;
290 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
295 ExecMethod = Execute ;
296 StateMethod = GetState ;
297 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
302 ExecMethod = Execute ;
303 StateMethod = GetState ;
305 SID_EXTRUSION_TILT_DOWN
307 ExecMethod = Execute ;
308 StateMethod = GetState ;
310 SID_EXTRUSION_TILT_UP
312 ExecMethod = Execute ;
313 StateMethod = GetState ;
315 SID_EXTRUSION_TILT_LEFT
317 ExecMethod = Execute ;
318 StateMethod = GetState ;
320 SID_EXTRUSION_TILT_RIGHT
322 ExecMethod = Execute ;
323 StateMethod = GetState ;
325 SID_EXTRUSION_DEPTH_FLOATER
327 ExecMethod = Execute ;
328 StateMethod = GetState ;
330 SID_EXTRUSION_DEPTH_DIALOG
332 ExecMethod = Execute ;
333 StateMethod = GetState ;
335 SID_EXTRUSION_DIRECTION_FLOATER
337 ExecMethod = Execute ;
338 StateMethod = GetState ;
340 SID_EXTRUSION_LIGHTING_FLOATER
342 ExecMethod = Execute ;
343 StateMethod = GetState ;
345 SID_EXTRUSION_SURFACE_FLOATER
347 ExecMethod = Execute ;
348 StateMethod = GetState ;
350 SID_EXTRUSION_3D_COLOR
352 ExecMethod = Execute ;
353 StateMethod = GetState ;
357 ExecMethod = Execute ;
358 StateMethod = GetState ;
360 SID_EXTRUSION_DIRECTION
362 ExecMethod = Execute ;
363 StateMethod = GetState ;
365 SID_EXTRUSION_PROJECTION
367 ExecMethod = Execute ;
368 StateMethod = GetState ;
370 SID_EXTRUSION_LIGHTING_DIRECTION
372 ExecMethod = Execute ;
373 StateMethod = GetState ;
375 SID_EXTRUSION_LIGHTING_INTENSITY
377 ExecMethod = Execute ;
378 StateMethod = GetState ;
380 SID_EXTRUSION_SURFACE
382 ExecMethod = Execute ;
383 StateMethod = GetState ;
387 ExecMethod = Execute ;
388 StateMethod = GetState ;
390 SID_FONTWORK_SHAPE_TYPE
392 ExecMethod = Execute ;
393 StateMethod = GetState ;
395 SID_FONTWORK_ALIGNMENT_FLOATER
397 ExecMethod = Execute ;
398 StateMethod = GetState ;
400 SID_FONTWORK_CHARACTER_SPACING_FLOATER
402 ExecMethod = Execute ;
403 StateMethod = GetState ;
405 SID_FONTWORK_ALIGNMENT
407 ExecMethod = Execute ;
408 StateMethod = GetState ;
410 SID_FONTWORK_SAME_LETTER_HEIGHTS
412 ExecMethod = Execute ;
413 StateMethod = GetState ;
415 SID_FONTWORK_CHARACTER_SPACING
417 ExecMethod = Execute ;
418 StateMethod = GetState ;
420 SID_FONTWORK_KERN_CHARACTER_PAIRS
422 ExecMethod = Execute ;
423 StateMethod = GetState ;
425 SID_FONTWORK_CHARACTER_SPACING_DIALOG
427 ExecMethod = Execute ;
428 StateMethod = GetState ;
432 // #i123922# Add Exec and State methods for the case where Graphic DrawObjects are selected (SdrGrafObj)
433 ExecMethod = Execute ;
434 StateMethod = GetState ;
438 StateMethod = StateDisableItems ;
443 StateMethod = StateDisableItems ;
446 SID_ATTR_TEXTCOLUMNS_NUMBER
448 ExecMethod = ExecDrawAttrArgs ;
449 StateMethod = GetDrawAttrState ;
450 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
453 SID_ATTR_TEXTCOLUMNS_SPACING
455 ExecMethod = ExecDrawAttrArgs ;
456 StateMethod = GetDrawAttrState ;
457 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
461 shell SwDrawShell : SwDrawBaseShell
467 ExecMethod = ExecFormText ;
468 StateMethod = GetFormTextState ;
469 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
474 ExecMethod = ExecFormText ;
475 StateMethod = GetFormTextState ;
476 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
479 SID_FORMTEXT_DISTANCE
481 ExecMethod = ExecFormText ;
482 StateMethod = GetFormTextState ;
483 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
488 ExecMethod = ExecFormText ;
489 StateMethod = GetFormTextState ;
490 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
495 ExecMethod = ExecFormText ;
496 StateMethod = GetFormTextState ;
497 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
500 SID_FORMTEXT_HIDEFORM
502 ExecMethod = ExecFormText ;
503 StateMethod = GetFormTextState ;
504 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
509 ExecMethod = ExecFormText ;
510 StateMethod = GetFormTextState ;
511 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
514 SID_FORMTEXT_SHDWXVAL
516 ExecMethod = ExecFormText ;
517 StateMethod = GetFormTextState ;
518 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
523 ExecMethod = ExecFormText ;
524 StateMethod = GetFormTextState ;
525 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
528 SID_FORMTEXT_SHDWCOLOR
530 ExecMethod = ExecFormText ;
531 StateMethod = GetFormTextState ;
532 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
535 SID_FORMTEXT_SHDWYVAL
537 ExecMethod = ExecFormText ;
538 StateMethod = GetFormTextState ;
539 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
542 FN_FORMAT_FOOTNOTE_DLG // status()
544 ExecMethod = Execute;
547 SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
549 ExecMethod = Execute ;
554 ExecMethod = Execute;
557 FN_NUMBERING_OUTLINE_DLG // status(final|play)
559 ExecMethod = Execute ;
564 ExecMethod = Execute ;
565 StateMethod = GetState ;
566 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
571 ExecMethod = Execute ;
572 StateMethod = GetState ;
573 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
576 SID_MOVE_SHAPE_HANDLE
578 ExecMethod = Execute ;