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 .
21 SID_FM_CONFIG // ole : no, status : ?
25 ExecMethod = Execute ;
26 StateMethod = GetState ;
30 ExecMethod = Execute ;
31 StateMethod = GetState ;
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 ;
113 SID_FM_FORMATTEDFIELD
115 ExecMethod = Execute ;
116 StateMethod = GetState ;
120 ExecMethod = Execute ;
121 StateMethod = GetState ;
125 ExecMethod = Execute ;
126 StateMethod = GetState ;
128 SID_FM_CTL_PROPERTIES
130 ExecMethod = Execute ;
131 StateMethod = GetState ;
135 ExecMethod = Execute ;
136 StateMethod = GetState ;
140 ExecMethod = Execute ;
141 StateMethod = GetState ;
145 ExecMethod = Execute ;
146 StateMethod = GetState ;
150 ExecMethod = Execute ;
151 StateMethod = GetState ;
155 ExecMethod = Execute ;
156 StateMethod = GetState ;
160 ExecMethod = Execute ;
161 StateMethod = GetState ;
163 SID_FM_AUTOCONTROLFOCUS
165 ExecMethod = Execute ;
166 StateMethod = GetState ;
168 SID_FM_SHOW_FMEXPLORER
170 ExecMethod = Execute ;
171 StateMethod = GetState ;
173 SID_FM_SHOW_PROPERTY_BROWSER
175 ExecMethod = Execute ;
176 StateMethod = GetState ;
178 SID_FM_SHOW_DATANAVIGATOR
180 ExecMethod = Execute ;
181 StateMethod = GetState ;
185 ExecMethod = Execute ;
186 StateMethod = GetState ;
190 ExecMethod = Execute ;
191 StateMethod = GetState ;
195 ExecMethod = Execute ;
196 StateMethod = GetState ;
200 ExecMethod = Execute ;
201 StateMethod = GetState ;
205 ExecMethod = Execute ;
206 StateMethod = GetState ;
210 ExecMethod = Execute ;
211 StateMethod = GetState ;
213 SID_FM_RECORD_ABSOLUTE
215 ExecMethod = Execute ;
216 StateMethod = GetState ;
221 SID_FM_RECORD_FROM_TEXT
226 StateMethod = GetState ;
230 ExecMethod = Execute ;
231 StateMethod = GetState ;
235 ExecMethod = Execute ;
236 StateMethod = GetState ;
240 ExecMethod = Execute ;
241 StateMethod = GetState ;
243 SID_FM_REMOVE_FILTER_SORT
245 ExecMethod = Execute ;
246 StateMethod = GetState ;
250 ExecMethod = Execute ;
251 StateMethod = GetState ;
255 ExecMethod = Execute ;
256 StateMethod = GetState ;
260 ExecMethod = Execute ;
261 StateMethod = GetState ;
265 ExecMethod = Execute ;
266 StateMethod = GetState ;
270 ExecMethod = Execute ;
271 StateMethod = GetState ;
275 ExecMethod = Execute ;
276 StateMethod = GetState ;
278 SID_FM_REFRESH_FORM_CONTROL
280 ExecMethod = Execute ;
281 StateMethod = GetState ;
285 ExecMethod = Execute ;
286 StateMethod = GetState ;
288 SID_FM_FILTER_NAVIGATOR
290 ExecMethod = Execute ;
291 StateMethod = GetState ;
295 ExecMethod = Execute ;
296 StateMethod = GetState ;
298 SID_FM_FILTER_EXECUTE
300 ExecMethod = Execute ;
301 StateMethod = GetState ;
304 SID_FM_FMEXPLORER_CONTROL
306 StateMethod = GetState ;
309 SID_FM_DATANAVIGATOR_CONTROL
311 StateMethod = GetState ;
314 SID_FM_FIELDS_CONTROL
316 StateMethod = GetState ;
319 SID_FM_PROPERTY_CONTROL
321 StateMethod = GetState ;
324 SID_FM_FILTER_NAVIGATOR_CONTROL
326 StateMethod = GetState ;
329 SID_FM_SHOW_PROPERTIES
331 StateMethod = GetState ;
332 ExecMethod = Execute ;
337 StateMethod = GetState ;
338 ExecMethod = Execute ;
342 interface FormTextAttributeShell
346 ExecMethod = ExecuteTextAttribute;
347 StateMethod = GetTextAttributeState;
351 ExecMethod = ExecuteTextAttribute;
352 StateMethod = GetTextAttributeState;
356 ExecMethod = ExecuteTextAttribute;
357 StateMethod = GetTextAttributeState;
361 ExecMethod = ExecuteTextAttribute;
362 StateMethod = GetTextAttributeState;
367 ExecMethod = ExecuteTextAttribute;
368 StateMethod = GetTextAttributeState;
370 SID_ATTR_PARA_ADJUST_LEFT
372 ExecMethod = ExecuteTextAttribute;
373 StateMethod = GetTextAttributeState;
375 SID_ATTR_PARA_ADJUST_CENTER
377 ExecMethod = ExecuteTextAttribute;
378 StateMethod = GetTextAttributeState;
380 SID_ATTR_PARA_ADJUST_RIGHT
382 ExecMethod = ExecuteTextAttribute;
383 StateMethod = GetTextAttributeState;
385 SID_ATTR_PARA_ADJUST_BLOCK
387 ExecMethod = ExecuteTextAttribute;
388 StateMethod = GetTextAttributeState;
392 ExecMethod = ExecuteTextAttribute;
393 StateMethod = GetTextAttributeState;
397 ExecMethod = ExecuteTextAttribute;
398 StateMethod = GetTextAttributeState;
400 SID_ATTR_CHAR_UNDERLINE
402 ExecMethod = ExecuteTextAttribute;
403 StateMethod = GetTextAttributeState;
405 SID_ATTR_CHAR_OVERLINE
407 ExecMethod = ExecuteTextAttribute;
408 StateMethod = GetTextAttributeState;
412 ExecMethod = ExecuteTextAttribute;
413 StateMethod = GetTextAttributeState;
415 SID_ATTR_CHAR_POSTURE
417 ExecMethod = ExecuteTextAttribute;
418 StateMethod = GetTextAttributeState;
420 SID_ATTR_CHAR_STRIKEOUT
422 ExecMethod = ExecuteTextAttribute;
423 StateMethod = GetTextAttributeState;
425 SID_ATTR_CHAR_SHADOWED
427 ExecMethod = ExecuteTextAttribute;
428 StateMethod = GetTextAttributeState;
432 ExecMethod = ExecuteTextAttribute;
433 StateMethod = GetTextAttributeState;
437 ExecMethod = ExecuteTextAttribute;
438 StateMethod = GetTextAttributeState;
442 ExecMethod = ExecuteTextAttribute;
443 StateMethod = GetTextAttributeState;
445 SID_ATTR_CHAR_FONTHEIGHT
447 ExecMethod = ExecuteTextAttribute;
448 StateMethod = GetTextAttributeState;
450 SID_ATTR_PARA_LINESPACE_10
452 ExecMethod = ExecuteTextAttribute;
453 StateMethod = GetTextAttributeState;
455 SID_ATTR_PARA_LINESPACE_15
457 ExecMethod = ExecuteTextAttribute;
458 StateMethod = GetTextAttributeState;
460 SID_ATTR_PARA_LINESPACE_20
462 ExecMethod = ExecuteTextAttribute;
463 StateMethod = GetTextAttributeState;
465 SID_ATTR_CHAR_CONTOUR
467 ExecMethod = ExecuteTextAttribute;
468 StateMethod = GetTextAttributeState;
470 SID_CLIPBOARD_FORMAT_ITEMS
472 ExecMethod = ExecuteTextAttribute;
473 StateMethod = GetTextAttributeState;
475 SID_ATTR_CHAR_WORDLINEMODE
477 ExecMethod = ExecuteTextAttribute;
478 StateMethod = GetTextAttributeState;
482 ExecMethod = ExecuteTextAttribute;
483 StateMethod = GetTextAttributeState;
487 ExecMethod = ExecuteTextAttribute;
488 StateMethod = GetTextAttributeState;
490 SID_ATTR_CHAR_ESCAPEMENT
492 ExecMethod = ExecuteTextAttribute;
493 StateMethod = GetTextAttributeState;
495 SID_ATTR_CHAR_SCALEWIDTH
497 ExecMethod = ExecuteTextAttribute;
498 StateMethod = GetTextAttributeState;
500 SID_ATTR_CHAR_KERNING
502 ExecMethod = ExecuteTextAttribute;
503 StateMethod = GetTextAttributeState;
505 SID_ATTR_CHAR_AUTOKERN
507 ExecMethod = ExecuteTextAttribute;
508 StateMethod = GetTextAttributeState;
510 SID_ATTR_CHAR_LANGUAGE
512 ExecMethod = ExecuteTextAttribute;
513 StateMethod = GetTextAttributeState;
515 SID_ATTR_PARA_LINESPACE
517 ExecMethod = ExecuteTextAttribute;
518 StateMethod = GetTextAttributeState;
522 ExecMethod = ExecuteTextAttribute;
523 StateMethod = GetTextAttributeState;
527 ExecMethod = ExecuteTextAttribute;
528 StateMethod = GetTextAttributeState;
530 SID_ATTR_PARA_LEFT_TO_RIGHT
532 ExecMethod = ExecuteTextAttribute;
533 StateMethod = GetTextAttributeState;
535 SID_ATTR_PARA_RIGHT_TO_LEFT
537 ExecMethod = ExecuteTextAttribute;
538 StateMethod = GetTextAttributeState;
542 // the following is a slight hack. Problem is that the form shell needs to translate
543 // slot names/args into URL dispatch names/args. For this, the SfxSlotPool is used
544 // - it provides convenient methods for this. However, the "pool" is not really a
545 // "pool" - it only knows slots, if there is a shell on the dispatcher stack which
546 // which is responsible for this slot.
547 // So, we declare the form shell as responsible for the following slots.
548 SID_ATTR_CHAR_CJK_FONT
550 ExecMethod = ExecuteTextAttribute;
551 StateMethod = GetTextAttributeState;
553 SID_ATTR_CHAR_CTL_FONT
555 ExecMethod = ExecuteTextAttribute;
556 StateMethod = GetTextAttributeState;
558 SID_ATTR_CHAR_CJK_FONTHEIGHT
560 ExecMethod = ExecuteTextAttribute;
561 StateMethod = GetTextAttributeState;
563 SID_ATTR_CHAR_CTL_FONTHEIGHT
565 ExecMethod = ExecuteTextAttribute;
566 StateMethod = GetTextAttributeState;
568 SID_ATTR_CHAR_CJK_WEIGHT
570 ExecMethod = ExecuteTextAttribute;
571 StateMethod = GetTextAttributeState;
573 SID_ATTR_CHAR_CTL_WEIGHT
575 ExecMethod = ExecuteTextAttribute;
576 StateMethod = GetTextAttributeState;
578 SID_ATTR_CHAR_CJK_POSTURE
580 ExecMethod = ExecuteTextAttribute;
581 StateMethod = GetTextAttributeState;
583 SID_ATTR_CHAR_CTL_POSTURE
585 ExecMethod = ExecuteTextAttribute;
586 StateMethod = GetTextAttributeState;
588 SID_ATTR_CHAR_EMPHASISMARK
590 ExecMethod = ExecuteTextAttribute;
591 StateMethod = GetTextAttributeState;
593 SID_ATTR_CHAR_LATIN_FONT
595 ExecMethod = ExecuteTextAttribute;
596 StateMethod = GetTextAttributeState;
598 SID_ATTR_CHAR_LATIN_FONTHEIGHT
600 ExecMethod = ExecuteTextAttribute;
601 StateMethod = GetTextAttributeState;
603 SID_ATTR_CHAR_LATIN_LANGUAGE
605 ExecMethod = ExecuteTextAttribute;
606 StateMethod = GetTextAttributeState;
608 SID_ATTR_CHAR_LATIN_POSTURE
610 ExecMethod = ExecuteTextAttribute;
611 StateMethod = GetTextAttributeState;
613 SID_ATTR_CHAR_LATIN_WEIGHT
615 ExecMethod = ExecuteTextAttribute;
616 StateMethod = GetTextAttributeState;
623 import FormTextAttributeShell;
626 SID_FM_CONFIG // ole : no, status : ?
628 SID_FM_FORM_DESIGN_TOOLS
630 ExecMethod = Execute ;
631 StateMethod = GetState ;
635 ExecMethod = Execute ;
637 SID_FM_TOGGLECONTROLFOCUS
639 ExecMethod = Execute ;
641 SID_FM_CHANGECONTROLTYPE
643 ExecMethod = Execute ;
644 StateMethod = GetState ;
646 SID_FM_CONVERTTO_EDIT
648 ExecMethod = Execute ;
649 StateMethod = GetState ;
651 SID_FM_CONVERTTO_BUTTON
653 ExecMethod = Execute ;
654 StateMethod = GetState ;
656 SID_FM_CONVERTTO_FIXEDTEXT
658 ExecMethod = Execute ;
659 StateMethod = GetState ;
661 SID_FM_CONVERTTO_LISTBOX
663 ExecMethod = Execute ;
664 StateMethod = GetState ;
666 SID_FM_CONVERTTO_CHECKBOX
668 ExecMethod = Execute ;
669 StateMethod = GetState ;
671 SID_FM_CONVERTTO_RADIOBUTTON
673 ExecMethod = Execute ;
674 StateMethod = GetState ;
676 SID_FM_CONVERTTO_GROUPBOX
678 ExecMethod = Execute ;
679 StateMethod = GetState ;
681 SID_FM_CONVERTTO_COMBOBOX
683 ExecMethod = Execute ;
684 StateMethod = GetState ;
686 SID_FM_CONVERTTO_IMAGEBUTTON
688 ExecMethod = Execute ;
689 StateMethod = GetState ;
691 SID_FM_CONVERTTO_FILECONTROL
693 ExecMethod = Execute ;
694 StateMethod = GetState ;
696 SID_FM_CONVERTTO_DATE
698 ExecMethod = Execute ;
699 StateMethod = GetState ;
701 SID_FM_CONVERTTO_TIME
703 ExecMethod = Execute ;
704 StateMethod = GetState ;
706 SID_FM_CONVERTTO_NUMERIC
708 ExecMethod = Execute ;
709 StateMethod = GetState ;
711 SID_FM_CONVERTTO_CURRENCY
713 ExecMethod = Execute ;
714 StateMethod = GetState ;
716 SID_FM_CONVERTTO_PATTERN
718 ExecMethod = Execute ;
719 StateMethod = GetState ;
721 SID_FM_CONVERTTO_IMAGECONTROL
723 ExecMethod = Execute ;
724 StateMethod = GetState ;
726 SID_FM_CONVERTTO_FORMATTED
728 ExecMethod = Execute ;
729 StateMethod = GetState ;
731 SID_FM_CONVERTTO_SCROLLBAR
733 ExecMethod = Execute ;
734 StateMethod = GetState ;
736 SID_FM_CONVERTTO_SPINBUTTON
738 ExecMethod = Execute ;
739 StateMethod = GetState ;
741 SID_FM_CONVERTTO_NAVIGATIONBAR
743 ExecMethod = Execute ;
744 StateMethod = GetState ;