1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
30 uuid = "F38D29A3-9EDA-11d1-AAF5-00A0248A7FBC"
33 SID_FM_CONFIG // ole : no, status : ?
35 ExecMethod = Execute ;
36 StateMethod = GetState ;
40 ExecMethod = Execute ;
41 StateMethod = GetState ;
45 ExecMethod = Execute ;
46 StateMethod = GetState ;
50 ExecMethod = Execute ;
51 StateMethod = GetState ;
55 ExecMethod = Execute ;
56 StateMethod = GetState ;
60 ExecMethod = Execute ;
61 StateMethod = GetState ;
65 ExecMethod = Execute ;
66 StateMethod = GetState ;
70 ExecMethod = Execute ;
71 StateMethod = GetState ;
75 ExecMethod = Execute ;
76 StateMethod = GetState ;
80 ExecMethod = Execute ;
81 StateMethod = GetState ;
85 ExecMethod = Execute ;
86 StateMethod = GetState ;
90 ExecMethod = Execute ;
91 StateMethod = GetState ;
95 ExecMethod = Execute ;
96 StateMethod = GetState ;
100 ExecMethod = Execute ;
101 StateMethod = GetState ;
105 ExecMethod = Execute ;
106 StateMethod = GetState ;
110 ExecMethod = Execute ;
111 StateMethod = GetState ;
115 ExecMethod = Execute ;
116 StateMethod = GetState ;
120 ExecMethod = Execute ;
121 StateMethod = GetState ;
125 ExecMethod = Execute ;
126 StateMethod = GetState ;
128 SID_FM_FORMATTEDFIELD
130 ExecMethod = Execute ;
131 StateMethod = GetState ;
135 ExecMethod = Execute ;
136 StateMethod = GetState ;
140 ExecMethod = Execute ;
141 StateMethod = GetState ;
143 SID_FM_CTL_PROPERTIES
145 ExecMethod = Execute ;
146 StateMethod = GetState ;
150 ExecMethod = Execute ;
151 StateMethod = GetState ;
155 ExecMethod = Execute ;
156 StateMethod = GetState ;
160 ExecMethod = Execute ;
161 StateMethod = GetState ;
165 ExecMethod = Execute ;
166 StateMethod = GetState ;
170 ExecMethod = Execute ;
171 StateMethod = GetState ;
175 ExecMethod = Execute ;
176 StateMethod = GetState ;
178 SID_FM_AUTOCONTROLFOCUS
180 ExecMethod = Execute ;
181 StateMethod = GetState ;
183 SID_FM_SHOW_FMEXPLORER
185 ExecMethod = Execute ;
186 StateMethod = GetState ;
188 SID_FM_SHOW_PROPERTY_BROWSER
190 ExecMethod = Execute ;
191 StateMethod = GetState ;
193 SID_FM_SHOW_DATANAVIGATOR
195 ExecMethod = Execute ;
196 StateMethod = GetState ;
200 ExecMethod = Execute ;
201 StateMethod = GetState ;
205 ExecMethod = Execute ;
206 StateMethod = GetState ;
210 ExecMethod = Execute ;
211 StateMethod = GetState ;
215 ExecMethod = Execute ;
216 StateMethod = GetState ;
220 ExecMethod = Execute ;
221 StateMethod = GetState ;
225 ExecMethod = Execute ;
226 StateMethod = GetState ;
228 SID_FM_RECORD_ABSOLUTE
230 ExecMethod = Execute ;
231 StateMethod = GetState ;
236 SID_FM_RECORD_FROM_TEXT
241 StateMethod = GetState ;
245 ExecMethod = Execute ;
246 StateMethod = GetState ;
250 ExecMethod = Execute ;
251 StateMethod = GetState ;
255 ExecMethod = Execute ;
256 StateMethod = GetState ;
258 SID_FM_REMOVE_FILTER_SORT
260 ExecMethod = Execute ;
261 StateMethod = GetState ;
265 ExecMethod = Execute ;
266 StateMethod = GetState ;
270 ExecMethod = Execute ;
271 StateMethod = GetState ;
275 ExecMethod = Execute ;
276 StateMethod = GetState ;
280 ExecMethod = Execute ;
281 StateMethod = GetState ;
285 ExecMethod = Execute ;
286 StateMethod = GetState ;
290 ExecMethod = Execute ;
291 StateMethod = GetState ;
293 SID_FM_REFRESH_FORM_CONTROL
295 ExecMethod = Execute ;
296 StateMethod = GetState ;
300 ExecMethod = Execute ;
301 StateMethod = GetState ;
303 SID_FM_FILTER_NAVIGATOR
305 ExecMethod = Execute ;
306 StateMethod = GetState ;
310 ExecMethod = Execute ;
311 StateMethod = GetState ;
313 SID_FM_FILTER_EXECUTE
315 ExecMethod = Execute ;
316 StateMethod = GetState ;
318 //--------------------------------------------------------------------------
319 SID_FM_FMEXPLORER_CONTROL
321 StateMethod = GetState ;
323 //--------------------------------------------------------------------------
324 SID_FM_DATANAVIGATOR_CONTROL
326 StateMethod = GetState ;
328 //--------------------------------------------------------------------------
329 SID_FM_FIELDS_CONTROL
331 StateMethod = GetState ;
333 //--------------------------------------------------------------------------
334 SID_FM_PROPERTY_CONTROL
336 StateMethod = GetState ;
338 //--------------------------------------------------------------------------
339 SID_FM_FILTER_NAVIGATOR_CONTROL
341 StateMethod = GetState ;
343 //--------------------------------------------------------------------------
344 SID_FM_SHOW_PROPERTIES
346 StateMethod = GetState ;
347 ExecMethod = Execute ;
352 StateMethod = GetState ;
353 ExecMethod = Execute ;
357 interface FormTextAttributeShell
361 ExecMethod = ExecuteTextAttribute;
362 StateMethod = GetTextAttributeState;
366 ExecMethod = ExecuteTextAttribute;
367 StateMethod = GetTextAttributeState;
371 ExecMethod = ExecuteTextAttribute;
372 StateMethod = GetTextAttributeState;
376 ExecMethod = ExecuteTextAttribute;
377 StateMethod = GetTextAttributeState;
382 ExecMethod = ExecuteTextAttribute;
383 StateMethod = GetTextAttributeState;
385 SID_ATTR_PARA_ADJUST_LEFT
387 ExecMethod = ExecuteTextAttribute;
388 StateMethod = GetTextAttributeState;
390 SID_ATTR_PARA_ADJUST_CENTER
392 ExecMethod = ExecuteTextAttribute;
393 StateMethod = GetTextAttributeState;
395 SID_ATTR_PARA_ADJUST_RIGHT
397 ExecMethod = ExecuteTextAttribute;
398 StateMethod = GetTextAttributeState;
400 SID_ATTR_PARA_ADJUST_BLOCK
402 ExecMethod = ExecuteTextAttribute;
403 StateMethod = GetTextAttributeState;
407 ExecMethod = ExecuteTextAttribute;
408 StateMethod = GetTextAttributeState;
412 ExecMethod = ExecuteTextAttribute;
413 StateMethod = GetTextAttributeState;
415 SID_ATTR_CHAR_UNDERLINE
417 ExecMethod = ExecuteTextAttribute;
418 StateMethod = GetTextAttributeState;
420 SID_ATTR_CHAR_OVERLINE
422 ExecMethod = ExecuteTextAttribute;
423 StateMethod = GetTextAttributeState;
427 ExecMethod = ExecuteTextAttribute;
428 StateMethod = GetTextAttributeState;
430 SID_ATTR_CHAR_POSTURE
432 ExecMethod = ExecuteTextAttribute;
433 StateMethod = GetTextAttributeState;
435 SID_ATTR_CHAR_STRIKEOUT
437 ExecMethod = ExecuteTextAttribute;
438 StateMethod = GetTextAttributeState;
440 SID_ATTR_CHAR_SHADOWED
442 ExecMethod = ExecuteTextAttribute;
443 StateMethod = GetTextAttributeState;
447 ExecMethod = ExecuteTextAttribute;
448 StateMethod = GetTextAttributeState;
452 ExecMethod = ExecuteTextAttribute;
453 StateMethod = GetTextAttributeState;
457 ExecMethod = ExecuteTextAttribute;
458 StateMethod = GetTextAttributeState;
460 SID_ATTR_CHAR_FONTHEIGHT
462 ExecMethod = ExecuteTextAttribute;
463 StateMethod = GetTextAttributeState;
465 SID_ATTR_PARA_LINESPACE_10
467 ExecMethod = ExecuteTextAttribute;
468 StateMethod = GetTextAttributeState;
470 SID_ATTR_PARA_LINESPACE_15
472 ExecMethod = ExecuteTextAttribute;
473 StateMethod = GetTextAttributeState;
475 SID_ATTR_PARA_LINESPACE_20
477 ExecMethod = ExecuteTextAttribute;
478 StateMethod = GetTextAttributeState;
480 SID_ATTR_CHAR_CONTOUR
482 ExecMethod = ExecuteTextAttribute;
483 StateMethod = GetTextAttributeState;
485 SID_CLIPBOARD_FORMAT_ITEMS
487 ExecMethod = ExecuteTextAttribute;
488 StateMethod = GetTextAttributeState;
490 SID_ATTR_CHAR_WORDLINEMODE
492 ExecMethod = ExecuteTextAttribute;
493 StateMethod = GetTextAttributeState;
497 ExecMethod = ExecuteTextAttribute;
498 StateMethod = GetTextAttributeState;
502 ExecMethod = ExecuteTextAttribute;
503 StateMethod = GetTextAttributeState;
505 SID_ATTR_CHAR_ESCAPEMENT
507 ExecMethod = ExecuteTextAttribute;
508 StateMethod = GetTextAttributeState;
510 SID_ATTR_CHAR_SCALEWIDTH
512 ExecMethod = ExecuteTextAttribute;
513 StateMethod = GetTextAttributeState;
515 SID_ATTR_CHAR_KERNING
517 ExecMethod = ExecuteTextAttribute;
518 StateMethod = GetTextAttributeState;
520 SID_ATTR_CHAR_AUTOKERN
522 ExecMethod = ExecuteTextAttribute;
523 StateMethod = GetTextAttributeState;
525 SID_ATTR_CHAR_LANGUAGE
527 ExecMethod = ExecuteTextAttribute;
528 StateMethod = GetTextAttributeState;
530 SID_ATTR_PARA_LINESPACE
532 ExecMethod = ExecuteTextAttribute;
533 StateMethod = GetTextAttributeState;
537 ExecMethod = ExecuteTextAttribute;
538 StateMethod = GetTextAttributeState;
542 ExecMethod = ExecuteTextAttribute;
543 StateMethod = GetTextAttributeState;
545 SID_ATTR_PARA_LEFT_TO_RIGHT
547 ExecMethod = ExecuteTextAttribute;
548 StateMethod = GetTextAttributeState;
550 SID_ATTR_PARA_RIGHT_TO_LEFT
552 ExecMethod = ExecuteTextAttribute;
553 StateMethod = GetTextAttributeState;
557 // the following is a slight hack. Problem is that the form shell needs to translate
558 // slot names/args into URL dispatch names/args. For this, the SfxSlotPool is used
559 // - it provides convinient methods for this. However, the "pool" is not really a
560 // "pool" - it only knows slots, if there is a shell on the dispatcher stack which
561 // which is responsible for this slot.
562 // So, we declare the form shell as responsible for the following slots.
563 SID_ATTR_CHAR_CJK_FONT
565 ExecMethod = ExecuteTextAttribute;
566 StateMethod = GetTextAttributeState;
568 SID_ATTR_CHAR_CTL_FONT
570 ExecMethod = ExecuteTextAttribute;
571 StateMethod = GetTextAttributeState;
573 SID_ATTR_CHAR_CJK_FONTHEIGHT
575 ExecMethod = ExecuteTextAttribute;
576 StateMethod = GetTextAttributeState;
578 SID_ATTR_CHAR_CTL_FONTHEIGHT
580 ExecMethod = ExecuteTextAttribute;
581 StateMethod = GetTextAttributeState;
583 SID_ATTR_CHAR_CJK_WEIGHT
585 ExecMethod = ExecuteTextAttribute;
586 StateMethod = GetTextAttributeState;
588 SID_ATTR_CHAR_CTL_WEIGHT
590 ExecMethod = ExecuteTextAttribute;
591 StateMethod = GetTextAttributeState;
593 SID_ATTR_CHAR_CJK_POSTURE
595 ExecMethod = ExecuteTextAttribute;
596 StateMethod = GetTextAttributeState;
598 SID_ATTR_CHAR_CTL_POSTURE
600 ExecMethod = ExecuteTextAttribute;
601 StateMethod = GetTextAttributeState;
603 SID_ATTR_CHAR_EMPHASISMARK
605 ExecMethod = ExecuteTextAttribute;
606 StateMethod = GetTextAttributeState;
608 SID_ATTR_CHAR_LATIN_FONT
610 ExecMethod = ExecuteTextAttribute;
611 StateMethod = GetTextAttributeState;
613 SID_ATTR_CHAR_LATIN_FONTHEIGHT
615 ExecMethod = ExecuteTextAttribute;
616 StateMethod = GetTextAttributeState;
618 SID_ATTR_CHAR_LATIN_LANGUAGE
620 ExecMethod = ExecuteTextAttribute;
621 StateMethod = GetTextAttributeState;
623 SID_ATTR_CHAR_LATIN_POSTURE
625 ExecMethod = ExecuteTextAttribute;
626 StateMethod = GetTextAttributeState;
628 SID_ATTR_CHAR_LATIN_WEIGHT
630 ExecMethod = ExecuteTextAttribute;
631 StateMethod = GetTextAttributeState;
638 import FormTextAttributeShell;
639 import Form [Automation];
641 SID_FM_CONFIG // ole : no, status : ?
643 ExecMethod = Execute ;
644 StateMethod = GetState ;
648 ExecMethod = Execute ;
649 StateMethod = GetState ;
651 SID_FM_FORM_DESIGN_TOOLS
653 ExecMethod = Execute ;
654 StateMethod = GetState ;
658 ExecMethod = Execute ;
660 SID_FM_TOGGLECONTROLFOCUS
662 ExecMethod = Execute ;
664 SID_FM_CHANGECONTROLTYPE
666 ExecMethod = Execute ;
667 StateMethod = GetState ;
669 SID_FM_CONVERTTO_EDIT
671 ExecMethod = Execute ;
672 StateMethod = GetState ;
674 SID_FM_CONVERTTO_BUTTON
676 ExecMethod = Execute ;
677 StateMethod = GetState ;
679 SID_FM_CONVERTTO_FIXEDTEXT
681 ExecMethod = Execute ;
682 StateMethod = GetState ;
684 SID_FM_CONVERTTO_LISTBOX
686 ExecMethod = Execute ;
687 StateMethod = GetState ;
689 SID_FM_CONVERTTO_CHECKBOX
691 ExecMethod = Execute ;
692 StateMethod = GetState ;
694 SID_FM_CONVERTTO_RADIOBUTTON
696 ExecMethod = Execute ;
697 StateMethod = GetState ;
699 SID_FM_CONVERTTO_GROUPBOX
701 ExecMethod = Execute ;
702 StateMethod = GetState ;
704 SID_FM_CONVERTTO_COMBOBOX
706 ExecMethod = Execute ;
707 StateMethod = GetState ;
709 SID_FM_CONVERTTO_IMAGEBUTTON
711 ExecMethod = Execute ;
712 StateMethod = GetState ;
714 SID_FM_CONVERTTO_FILECONTROL
716 ExecMethod = Execute ;
717 StateMethod = GetState ;
719 SID_FM_CONVERTTO_DATE
721 ExecMethod = Execute ;
722 StateMethod = GetState ;
724 SID_FM_CONVERTTO_TIME
726 ExecMethod = Execute ;
727 StateMethod = GetState ;
729 SID_FM_CONVERTTO_NUMERIC
731 ExecMethod = Execute ;
732 StateMethod = GetState ;
734 SID_FM_CONVERTTO_CURRENCY
736 ExecMethod = Execute ;
737 StateMethod = GetState ;
739 SID_FM_CONVERTTO_PATTERN
741 ExecMethod = Execute ;
742 StateMethod = GetState ;
744 SID_FM_CONVERTTO_IMAGECONTROL
746 ExecMethod = Execute ;
747 StateMethod = GetState ;
749 SID_FM_CONVERTTO_FORMATTED
751 ExecMethod = Execute ;
752 StateMethod = GetState ;
754 SID_FM_CONVERTTO_SCROLLBAR
756 ExecMethod = Execute ;
757 StateMethod = GetState ;
759 SID_FM_CONVERTTO_SPINBUTTON
761 ExecMethod = Execute ;
762 StateMethod = GetState ;
764 SID_FM_CONVERTTO_NAVIGATIONBAR
766 ExecMethod = Execute ;
767 StateMethod = GetState ;