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_SOFTEDGE_RADIUS
194 ExecMethod = ExecDrawAttrArgs ;
195 StateMethod = GetDrawAttrState ;
196 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
201 ExecMethod = ExecDrawDlg ;
202 StateMethod = DisableState ;
207 ExecMethod = ExecDrawDlg ;
208 StateMethod = DisableState ;
213 ExecMethod = ExecDrawDlg ;
214 StateMethod = DisableState ;
219 ExecMethod = ExecDrawDlg ;
220 StateMethod = DisableState ;
225 ExecMethod = Execute ;
226 StateMethod = GetState ;
227 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
232 ExecMethod = Execute ;
233 StateMethod = GetState ;
234 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
239 ExecMethod = Execute ;
240 StateMethod = GetState ;
241 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
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 ;
284 SID_EXTRUSION_TILT_DOWN
286 ExecMethod = Execute ;
287 StateMethod = GetState ;
289 SID_EXTRUSION_TILT_UP
291 ExecMethod = Execute ;
292 StateMethod = GetState ;
294 SID_EXTRUSION_TILT_LEFT
296 ExecMethod = Execute ;
297 StateMethod = GetState ;
299 SID_EXTRUSION_TILT_RIGHT
301 ExecMethod = Execute ;
302 StateMethod = GetState ;
304 SID_EXTRUSION_DEPTH_FLOATER
306 ExecMethod = Execute ;
307 StateMethod = GetState ;
309 SID_EXTRUSION_DEPTH_DIALOG
311 ExecMethod = Execute ;
312 StateMethod = GetState ;
314 SID_EXTRUSION_DIRECTION_FLOATER
316 ExecMethod = Execute ;
317 StateMethod = GetState ;
319 SID_EXTRUSION_LIGHTING_FLOATER
321 ExecMethod = Execute ;
322 StateMethod = GetState ;
324 SID_EXTRUSION_SURFACE_FLOATER
326 ExecMethod = Execute ;
327 StateMethod = GetState ;
329 SID_EXTRUSION_3D_COLOR
331 ExecMethod = Execute ;
332 StateMethod = GetState ;
336 ExecMethod = Execute ;
337 StateMethod = GetState ;
339 SID_EXTRUSION_DIRECTION
341 ExecMethod = Execute ;
342 StateMethod = GetState ;
344 SID_EXTRUSION_PROJECTION
346 ExecMethod = Execute ;
347 StateMethod = GetState ;
349 SID_EXTRUSION_LIGHTING_DIRECTION
351 ExecMethod = Execute ;
352 StateMethod = GetState ;
354 SID_EXTRUSION_LIGHTING_INTENSITY
356 ExecMethod = Execute ;
357 StateMethod = GetState ;
359 SID_EXTRUSION_SURFACE
361 ExecMethod = Execute ;
362 StateMethod = GetState ;
366 ExecMethod = Execute ;
367 StateMethod = GetState ;
369 SID_FONTWORK_SHAPE_TYPE
371 ExecMethod = Execute ;
372 StateMethod = GetState ;
374 SID_FONTWORK_ALIGNMENT_FLOATER
376 ExecMethod = Execute ;
377 StateMethod = GetState ;
379 SID_FONTWORK_CHARACTER_SPACING_FLOATER
381 ExecMethod = Execute ;
382 StateMethod = GetState ;
384 SID_FONTWORK_ALIGNMENT
386 ExecMethod = Execute ;
387 StateMethod = GetState ;
389 SID_FONTWORK_SAME_LETTER_HEIGHTS
391 ExecMethod = Execute ;
392 StateMethod = GetState ;
394 SID_FONTWORK_CHARACTER_SPACING
396 ExecMethod = Execute ;
397 StateMethod = GetState ;
399 SID_FONTWORK_KERN_CHARACTER_PAIRS
401 ExecMethod = Execute ;
402 StateMethod = GetState ;
404 SID_FONTWORK_CHARACTER_SPACING_DIALOG
406 ExecMethod = Execute ;
407 StateMethod = GetState ;
411 // #i123922# Add Exec and State methods for the case where Graphic DrawObjects are selected (SdrGrafObj)
412 ExecMethod = Execute ;
413 StateMethod = GetState ;
417 StateMethod = StateDisableItems ;
422 StateMethod = StateDisableItems ;
425 SID_ATTR_TEXTCOLUMNS_NUMBER
427 ExecMethod = ExecDrawAttrArgs ;
428 StateMethod = GetDrawAttrState ;
429 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
432 SID_ATTR_TEXTCOLUMNS_SPACING
434 ExecMethod = ExecDrawAttrArgs ;
435 StateMethod = GetDrawAttrState ;
436 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
440 shell SwDrawShell : SwDrawBaseShell
446 ExecMethod = ExecFormText ;
447 StateMethod = GetFormTextState ;
448 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
453 ExecMethod = ExecFormText ;
454 StateMethod = GetFormTextState ;
455 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
458 SID_FORMTEXT_DISTANCE
460 ExecMethod = ExecFormText ;
461 StateMethod = GetFormTextState ;
462 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
467 ExecMethod = ExecFormText ;
468 StateMethod = GetFormTextState ;
469 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
474 ExecMethod = ExecFormText ;
475 StateMethod = GetFormTextState ;
476 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
479 SID_FORMTEXT_HIDEFORM
481 ExecMethod = ExecFormText ;
482 StateMethod = GetFormTextState ;
483 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
488 ExecMethod = ExecFormText ;
489 StateMethod = GetFormTextState ;
490 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
493 SID_FORMTEXT_SHDWXVAL
495 ExecMethod = ExecFormText ;
496 StateMethod = GetFormTextState ;
497 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
502 ExecMethod = ExecFormText ;
503 StateMethod = GetFormTextState ;
504 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
507 SID_FORMTEXT_SHDWCOLOR
509 ExecMethod = ExecFormText ;
510 StateMethod = GetFormTextState ;
511 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
514 SID_FORMTEXT_SHDWYVAL
516 ExecMethod = ExecFormText ;
517 StateMethod = GetFormTextState ;
518 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
521 FN_FORMAT_FOOTNOTE_DLG // status()
523 ExecMethod = Execute;
526 SID_OPEN_XML_FILTERSETTINGS // ole : no, status : ?
528 ExecMethod = Execute ;
533 ExecMethod = Execute;
536 FN_NUMBERING_OUTLINE_DLG // status(final|play)
538 ExecMethod = Execute ;
543 ExecMethod = Execute ;
544 StateMethod = GetState ;
545 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
550 ExecMethod = Execute ;
551 StateMethod = GetState ;
552 DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
555 SID_MOVE_SHAPE_HANDLE
557 ExecMethod = Execute ;