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: fmslots.sdi,v $
10 * $Revision: 1.15.212.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 ************************************************************************/
33 uuid = "F38D29A3-9EDA-11d1-AAF5-00A0248A7FBC"
36 SID_FM_CONFIG // ole : no, status : ?
38 ExecMethod = Execute ;
39 StateMethod = GetState ;
43 ExecMethod = Execute ;
44 StateMethod = GetState ;
48 ExecMethod = Execute ;
49 StateMethod = GetState ;
53 ExecMethod = Execute ;
54 StateMethod = GetState ;
58 ExecMethod = Execute ;
59 StateMethod = GetState ;
63 ExecMethod = Execute ;
64 StateMethod = GetState ;
68 ExecMethod = Execute ;
69 StateMethod = GetState ;
73 ExecMethod = Execute ;
74 StateMethod = GetState ;
78 ExecMethod = Execute ;
79 StateMethod = GetState ;
83 ExecMethod = Execute ;
84 StateMethod = GetState ;
88 ExecMethod = Execute ;
89 StateMethod = GetState ;
93 ExecMethod = Execute ;
94 StateMethod = GetState ;
98 ExecMethod = Execute ;
99 StateMethod = GetState ;
103 ExecMethod = Execute ;
104 StateMethod = GetState ;
108 ExecMethod = Execute ;
109 StateMethod = GetState ;
113 ExecMethod = Execute ;
114 StateMethod = GetState ;
118 ExecMethod = Execute ;
119 StateMethod = GetState ;
123 ExecMethod = Execute ;
124 StateMethod = GetState ;
128 ExecMethod = Execute ;
129 StateMethod = GetState ;
131 SID_FM_FORMATTEDFIELD
133 ExecMethod = Execute ;
134 StateMethod = GetState ;
138 ExecMethod = Execute ;
139 StateMethod = GetState ;
143 ExecMethod = Execute ;
144 StateMethod = GetState ;
146 SID_FM_CTL_PROPERTIES
148 ExecMethod = Execute ;
149 StateMethod = GetState ;
153 ExecMethod = Execute ;
154 StateMethod = GetState ;
158 ExecMethod = Execute ;
159 StateMethod = GetState ;
163 ExecMethod = Execute ;
164 StateMethod = GetState ;
168 ExecMethod = Execute ;
169 StateMethod = GetState ;
173 ExecMethod = Execute ;
174 StateMethod = GetState ;
178 ExecMethod = Execute ;
179 StateMethod = GetState ;
181 SID_FM_AUTOCONTROLFOCUS
183 ExecMethod = Execute ;
184 StateMethod = GetState ;
186 SID_FM_SHOW_FMEXPLORER
188 ExecMethod = Execute ;
189 StateMethod = GetState ;
191 SID_FM_SHOW_PROPERTY_BROWSER
193 ExecMethod = Execute ;
194 StateMethod = GetState ;
196 SID_FM_SHOW_DATANAVIGATOR
198 ExecMethod = Execute ;
199 StateMethod = GetState ;
203 ExecMethod = Execute ;
204 StateMethod = GetState ;
208 ExecMethod = Execute ;
209 StateMethod = GetState ;
213 ExecMethod = Execute ;
214 StateMethod = GetState ;
218 ExecMethod = Execute ;
219 StateMethod = GetState ;
223 ExecMethod = Execute ;
224 StateMethod = GetState ;
228 ExecMethod = Execute ;
229 StateMethod = GetState ;
231 SID_FM_RECORD_ABSOLUTE
233 ExecMethod = Execute ;
234 StateMethod = GetState ;
239 SID_FM_RECORD_FROM_TEXT
244 StateMethod = GetState ;
248 ExecMethod = Execute ;
249 StateMethod = GetState ;
253 ExecMethod = Execute ;
254 StateMethod = GetState ;
258 ExecMethod = Execute ;
259 StateMethod = GetState ;
261 SID_FM_REMOVE_FILTER_SORT
263 ExecMethod = Execute ;
264 StateMethod = GetState ;
268 ExecMethod = Execute ;
269 StateMethod = GetState ;
273 ExecMethod = Execute ;
274 StateMethod = GetState ;
278 ExecMethod = Execute ;
279 StateMethod = GetState ;
283 ExecMethod = Execute ;
284 StateMethod = GetState ;
288 ExecMethod = Execute ;
289 StateMethod = GetState ;
293 ExecMethod = Execute ;
294 StateMethod = GetState ;
296 SID_FM_REFRESH_FORM_CONTROL
298 ExecMethod = Execute ;
299 StateMethod = GetState ;
303 ExecMethod = Execute ;
304 StateMethod = GetState ;
306 SID_FM_FILTER_NAVIGATOR
308 ExecMethod = Execute ;
309 StateMethod = GetState ;
313 ExecMethod = Execute ;
314 StateMethod = GetState ;
316 SID_FM_FILTER_EXECUTE
318 ExecMethod = Execute ;
319 StateMethod = GetState ;
321 //--------------------------------------------------------------------------
322 SID_FM_FMEXPLORER_CONTROL
324 StateMethod = GetState ;
326 //--------------------------------------------------------------------------
327 SID_FM_DATANAVIGATOR_CONTROL
329 StateMethod = GetState ;
331 //--------------------------------------------------------------------------
332 SID_FM_FIELDS_CONTROL
334 StateMethod = GetState ;
336 //--------------------------------------------------------------------------
337 SID_FM_PROPERTY_CONTROL
339 StateMethod = GetState ;
341 //--------------------------------------------------------------------------
342 SID_FM_FILTER_NAVIGATOR_CONTROL
344 StateMethod = GetState ;
346 //--------------------------------------------------------------------------
347 SID_FM_SHOW_PROPERTIES
349 StateMethod = GetState ;
350 ExecMethod = Execute ;
355 StateMethod = GetState ;
356 ExecMethod = Execute ;
360 interface FormTextAttributeShell
364 ExecMethod = ExecuteTextAttribute;
365 StateMethod = GetTextAttributeState;
369 ExecMethod = ExecuteTextAttribute;
370 StateMethod = GetTextAttributeState;
374 ExecMethod = ExecuteTextAttribute;
375 StateMethod = GetTextAttributeState;
379 ExecMethod = ExecuteTextAttribute;
380 StateMethod = GetTextAttributeState;
385 ExecMethod = ExecuteTextAttribute;
386 StateMethod = GetTextAttributeState;
388 SID_ATTR_PARA_ADJUST_LEFT
390 ExecMethod = ExecuteTextAttribute;
391 StateMethod = GetTextAttributeState;
393 SID_ATTR_PARA_ADJUST_CENTER
395 ExecMethod = ExecuteTextAttribute;
396 StateMethod = GetTextAttributeState;
398 SID_ATTR_PARA_ADJUST_RIGHT
400 ExecMethod = ExecuteTextAttribute;
401 StateMethod = GetTextAttributeState;
403 SID_ATTR_PARA_ADJUST_BLOCK
405 ExecMethod = ExecuteTextAttribute;
406 StateMethod = GetTextAttributeState;
410 ExecMethod = ExecuteTextAttribute;
411 StateMethod = GetTextAttributeState;
415 ExecMethod = ExecuteTextAttribute;
416 StateMethod = GetTextAttributeState;
418 SID_ATTR_CHAR_UNDERLINE
420 ExecMethod = ExecuteTextAttribute;
421 StateMethod = GetTextAttributeState;
423 SID_ATTR_CHAR_OVERLINE
425 ExecMethod = ExecuteTextAttribute;
426 StateMethod = GetTextAttributeState;
430 ExecMethod = ExecuteTextAttribute;
431 StateMethod = GetTextAttributeState;
433 SID_ATTR_CHAR_POSTURE
435 ExecMethod = ExecuteTextAttribute;
436 StateMethod = GetTextAttributeState;
438 SID_ATTR_CHAR_STRIKEOUT
440 ExecMethod = ExecuteTextAttribute;
441 StateMethod = GetTextAttributeState;
443 SID_ATTR_CHAR_SHADOWED
445 ExecMethod = ExecuteTextAttribute;
446 StateMethod = GetTextAttributeState;
450 ExecMethod = ExecuteTextAttribute;
451 StateMethod = GetTextAttributeState;
455 ExecMethod = ExecuteTextAttribute;
456 StateMethod = GetTextAttributeState;
460 ExecMethod = ExecuteTextAttribute;
461 StateMethod = GetTextAttributeState;
463 SID_ATTR_CHAR_FONTHEIGHT
465 ExecMethod = ExecuteTextAttribute;
466 StateMethod = GetTextAttributeState;
468 SID_ATTR_PARA_LINESPACE_10
470 ExecMethod = ExecuteTextAttribute;
471 StateMethod = GetTextAttributeState;
473 SID_ATTR_PARA_LINESPACE_15
475 ExecMethod = ExecuteTextAttribute;
476 StateMethod = GetTextAttributeState;
478 SID_ATTR_PARA_LINESPACE_20
480 ExecMethod = ExecuteTextAttribute;
481 StateMethod = GetTextAttributeState;
483 SID_ATTR_CHAR_CONTOUR
485 ExecMethod = ExecuteTextAttribute;
486 StateMethod = GetTextAttributeState;
488 SID_CLIPBOARD_FORMAT_ITEMS
490 ExecMethod = ExecuteTextAttribute;
491 StateMethod = GetTextAttributeState;
493 SID_ATTR_CHAR_WORDLINEMODE
495 ExecMethod = ExecuteTextAttribute;
496 StateMethod = GetTextAttributeState;
500 ExecMethod = ExecuteTextAttribute;
501 StateMethod = GetTextAttributeState;
505 ExecMethod = ExecuteTextAttribute;
506 StateMethod = GetTextAttributeState;
508 SID_ATTR_CHAR_ESCAPEMENT
510 ExecMethod = ExecuteTextAttribute;
511 StateMethod = GetTextAttributeState;
513 SID_ATTR_CHAR_SCALEWIDTH
515 ExecMethod = ExecuteTextAttribute;
516 StateMethod = GetTextAttributeState;
518 SID_ATTR_CHAR_KERNING
520 ExecMethod = ExecuteTextAttribute;
521 StateMethod = GetTextAttributeState;
523 SID_ATTR_CHAR_AUTOKERN
525 ExecMethod = ExecuteTextAttribute;
526 StateMethod = GetTextAttributeState;
528 SID_ATTR_CHAR_LANGUAGE
530 ExecMethod = ExecuteTextAttribute;
531 StateMethod = GetTextAttributeState;
533 SID_ATTR_PARA_LINESPACE
535 ExecMethod = ExecuteTextAttribute;
536 StateMethod = GetTextAttributeState;
540 ExecMethod = ExecuteTextAttribute;
541 StateMethod = GetTextAttributeState;
545 ExecMethod = ExecuteTextAttribute;
546 StateMethod = GetTextAttributeState;
548 SID_ATTR_PARA_LEFT_TO_RIGHT
550 ExecMethod = ExecuteTextAttribute;
551 StateMethod = GetTextAttributeState;
553 SID_ATTR_PARA_RIGHT_TO_LEFT
555 ExecMethod = ExecuteTextAttribute;
556 StateMethod = GetTextAttributeState;
560 // the following is a slight hack. Problem is that the form shell needs to translate
561 // slot names/args into URL dispatch names/args. For this, the SfxSlotPool is used
562 // - it provides convinient methods for this. However, the "pool" is not really a
563 // "pool" - it only knows slots, if there is a shell on the dispatcher stack which
564 // which is responsible for this slot.
565 // So, we declare the form shell as responsible for the following slots.
566 SID_ATTR_CHAR_CJK_FONT
568 ExecMethod = ExecuteTextAttribute;
569 StateMethod = GetTextAttributeState;
571 SID_ATTR_CHAR_CTL_FONT
573 ExecMethod = ExecuteTextAttribute;
574 StateMethod = GetTextAttributeState;
576 SID_ATTR_CHAR_CJK_FONTHEIGHT
578 ExecMethod = ExecuteTextAttribute;
579 StateMethod = GetTextAttributeState;
581 SID_ATTR_CHAR_CTL_FONTHEIGHT
583 ExecMethod = ExecuteTextAttribute;
584 StateMethod = GetTextAttributeState;
586 SID_ATTR_CHAR_CJK_WEIGHT
588 ExecMethod = ExecuteTextAttribute;
589 StateMethod = GetTextAttributeState;
591 SID_ATTR_CHAR_CTL_WEIGHT
593 ExecMethod = ExecuteTextAttribute;
594 StateMethod = GetTextAttributeState;
596 SID_ATTR_CHAR_CJK_POSTURE
598 ExecMethod = ExecuteTextAttribute;
599 StateMethod = GetTextAttributeState;
601 SID_ATTR_CHAR_CTL_POSTURE
603 ExecMethod = ExecuteTextAttribute;
604 StateMethod = GetTextAttributeState;
606 SID_ATTR_CHAR_EMPHASISMARK
608 ExecMethod = ExecuteTextAttribute;
609 StateMethod = GetTextAttributeState;
611 SID_ATTR_CHAR_LATIN_FONT
613 ExecMethod = ExecuteTextAttribute;
614 StateMethod = GetTextAttributeState;
616 SID_ATTR_CHAR_LATIN_FONTHEIGHT
618 ExecMethod = ExecuteTextAttribute;
619 StateMethod = GetTextAttributeState;
621 SID_ATTR_CHAR_LATIN_LANGUAGE
623 ExecMethod = ExecuteTextAttribute;
624 StateMethod = GetTextAttributeState;
626 SID_ATTR_CHAR_LATIN_POSTURE
628 ExecMethod = ExecuteTextAttribute;
629 StateMethod = GetTextAttributeState;
631 SID_ATTR_CHAR_LATIN_WEIGHT
633 ExecMethod = ExecuteTextAttribute;
634 StateMethod = GetTextAttributeState;
641 import FormTextAttributeShell;
642 import Form [Automation];
644 SID_FM_CONFIG // ole : no, status : ?
646 ExecMethod = Execute ;
647 StateMethod = GetState ;
651 ExecMethod = Execute ;
652 StateMethod = GetState ;
654 SID_FM_FORM_DESIGN_TOOLS
656 ExecMethod = Execute ;
657 StateMethod = GetState ;
661 ExecMethod = Execute ;
663 SID_FM_GRABCONTROLFOCUS
665 ExecMethod = Execute ;
667 SID_FM_CHANGECONTROLTYPE
669 ExecMethod = Execute ;
670 StateMethod = GetState ;
672 SID_FM_CONVERTTO_EDIT
674 ExecMethod = Execute ;
675 StateMethod = GetState ;
677 SID_FM_CONVERTTO_BUTTON
679 ExecMethod = Execute ;
680 StateMethod = GetState ;
682 SID_FM_CONVERTTO_FIXEDTEXT
684 ExecMethod = Execute ;
685 StateMethod = GetState ;
687 SID_FM_CONVERTTO_LISTBOX
689 ExecMethod = Execute ;
690 StateMethod = GetState ;
692 SID_FM_CONVERTTO_CHECKBOX
694 ExecMethod = Execute ;
695 StateMethod = GetState ;
697 SID_FM_CONVERTTO_RADIOBUTTON
699 ExecMethod = Execute ;
700 StateMethod = GetState ;
702 SID_FM_CONVERTTO_GROUPBOX
704 ExecMethod = Execute ;
705 StateMethod = GetState ;
707 SID_FM_CONVERTTO_COMBOBOX
709 ExecMethod = Execute ;
710 StateMethod = GetState ;
712 SID_FM_CONVERTTO_IMAGEBUTTON
714 ExecMethod = Execute ;
715 StateMethod = GetState ;
717 SID_FM_CONVERTTO_FILECONTROL
719 ExecMethod = Execute ;
720 StateMethod = GetState ;
722 SID_FM_CONVERTTO_DATE
724 ExecMethod = Execute ;
725 StateMethod = GetState ;
727 SID_FM_CONVERTTO_TIME
729 ExecMethod = Execute ;
730 StateMethod = GetState ;
732 SID_FM_CONVERTTO_NUMERIC
734 ExecMethod = Execute ;
735 StateMethod = GetState ;
737 SID_FM_CONVERTTO_CURRENCY
739 ExecMethod = Execute ;
740 StateMethod = GetState ;
742 SID_FM_CONVERTTO_PATTERN
744 ExecMethod = Execute ;
745 StateMethod = GetState ;
747 SID_FM_CONVERTTO_IMAGECONTROL
749 ExecMethod = Execute ;
750 StateMethod = GetState ;
752 SID_FM_CONVERTTO_FORMATTED
754 ExecMethod = Execute ;
755 StateMethod = GetState ;
757 SID_FM_CONVERTTO_SCROLLBAR
759 ExecMethod = Execute ;
760 StateMethod = GetState ;
762 SID_FM_CONVERTTO_SPINBUTTON
764 ExecMethod = Execute ;
765 StateMethod = GetState ;
767 SID_FM_CONVERTTO_NAVIGATIONBAR
769 ExecMethod = Execute ;
770 StateMethod = GetState ;