1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweirinterface Form 29*cdf0e10cSrcweir[ 30*cdf0e10cSrcweir uuid = "F38D29A3-9EDA-11d1-AAF5-00A0248A7FBC" 31*cdf0e10cSrcweir] 32*cdf0e10cSrcweir{ 33*cdf0e10cSrcweir SID_FM_CONFIG // ole : no, status : ? 34*cdf0e10cSrcweir [ 35*cdf0e10cSrcweir ExecMethod = Execute ; 36*cdf0e10cSrcweir StateMethod = GetState ; 37*cdf0e10cSrcweir ] 38*cdf0e10cSrcweir SID_FM_PUSHBUTTON 39*cdf0e10cSrcweir [ 40*cdf0e10cSrcweir ExecMethod = Execute ; 41*cdf0e10cSrcweir StateMethod = GetState ; 42*cdf0e10cSrcweir ] 43*cdf0e10cSrcweir SID_FM_RADIOBUTTON 44*cdf0e10cSrcweir [ 45*cdf0e10cSrcweir ExecMethod = Execute ; 46*cdf0e10cSrcweir StateMethod = GetState ; 47*cdf0e10cSrcweir ] 48*cdf0e10cSrcweir SID_FM_CHECKBOX 49*cdf0e10cSrcweir [ 50*cdf0e10cSrcweir ExecMethod = Execute ; 51*cdf0e10cSrcweir StateMethod = GetState ; 52*cdf0e10cSrcweir ] 53*cdf0e10cSrcweir SID_FM_FIXEDTEXT 54*cdf0e10cSrcweir [ 55*cdf0e10cSrcweir ExecMethod = Execute ; 56*cdf0e10cSrcweir StateMethod = GetState ; 57*cdf0e10cSrcweir ] 58*cdf0e10cSrcweir SID_FM_GROUPBOX 59*cdf0e10cSrcweir [ 60*cdf0e10cSrcweir ExecMethod = Execute ; 61*cdf0e10cSrcweir StateMethod = GetState ; 62*cdf0e10cSrcweir ] 63*cdf0e10cSrcweir SID_FM_LISTBOX 64*cdf0e10cSrcweir [ 65*cdf0e10cSrcweir ExecMethod = Execute ; 66*cdf0e10cSrcweir StateMethod = GetState ; 67*cdf0e10cSrcweir ] 68*cdf0e10cSrcweir SID_FM_COMBOBOX 69*cdf0e10cSrcweir [ 70*cdf0e10cSrcweir ExecMethod = Execute ; 71*cdf0e10cSrcweir StateMethod = GetState ; 72*cdf0e10cSrcweir ] 73*cdf0e10cSrcweir SID_FM_NAVIGATIONBAR 74*cdf0e10cSrcweir [ 75*cdf0e10cSrcweir ExecMethod = Execute ; 76*cdf0e10cSrcweir StateMethod = GetState ; 77*cdf0e10cSrcweir ] 78*cdf0e10cSrcweir SID_FM_EDIT 79*cdf0e10cSrcweir [ 80*cdf0e10cSrcweir ExecMethod = Execute ; 81*cdf0e10cSrcweir StateMethod = GetState ; 82*cdf0e10cSrcweir ] 83*cdf0e10cSrcweir SID_FM_DBGRID 84*cdf0e10cSrcweir [ 85*cdf0e10cSrcweir ExecMethod = Execute ; 86*cdf0e10cSrcweir StateMethod = GetState ; 87*cdf0e10cSrcweir ] 88*cdf0e10cSrcweir SID_FM_IMAGEBUTTON 89*cdf0e10cSrcweir [ 90*cdf0e10cSrcweir ExecMethod = Execute ; 91*cdf0e10cSrcweir StateMethod = GetState ; 92*cdf0e10cSrcweir ] 93*cdf0e10cSrcweir SID_FM_IMAGECONTROL 94*cdf0e10cSrcweir [ 95*cdf0e10cSrcweir ExecMethod = Execute ; 96*cdf0e10cSrcweir StateMethod = GetState ; 97*cdf0e10cSrcweir ] 98*cdf0e10cSrcweir SID_FM_FILECONTROL 99*cdf0e10cSrcweir [ 100*cdf0e10cSrcweir ExecMethod = Execute ; 101*cdf0e10cSrcweir StateMethod = GetState ; 102*cdf0e10cSrcweir ] 103*cdf0e10cSrcweir SID_FM_DATEFIELD 104*cdf0e10cSrcweir [ 105*cdf0e10cSrcweir ExecMethod = Execute ; 106*cdf0e10cSrcweir StateMethod = GetState ; 107*cdf0e10cSrcweir ] 108*cdf0e10cSrcweir SID_FM_TIMEFIELD 109*cdf0e10cSrcweir [ 110*cdf0e10cSrcweir ExecMethod = Execute ; 111*cdf0e10cSrcweir StateMethod = GetState ; 112*cdf0e10cSrcweir ] 113*cdf0e10cSrcweir SID_FM_NUMERICFIELD 114*cdf0e10cSrcweir [ 115*cdf0e10cSrcweir ExecMethod = Execute ; 116*cdf0e10cSrcweir StateMethod = GetState ; 117*cdf0e10cSrcweir ] 118*cdf0e10cSrcweir SID_FM_CURRENCYFIELD 119*cdf0e10cSrcweir [ 120*cdf0e10cSrcweir ExecMethod = Execute ; 121*cdf0e10cSrcweir StateMethod = GetState ; 122*cdf0e10cSrcweir ] 123*cdf0e10cSrcweir SID_FM_PATTERNFIELD 124*cdf0e10cSrcweir [ 125*cdf0e10cSrcweir ExecMethod = Execute ; 126*cdf0e10cSrcweir StateMethod = GetState ; 127*cdf0e10cSrcweir ] 128*cdf0e10cSrcweir SID_FM_FORMATTEDFIELD 129*cdf0e10cSrcweir [ 130*cdf0e10cSrcweir ExecMethod = Execute ; 131*cdf0e10cSrcweir StateMethod = GetState ; 132*cdf0e10cSrcweir ] 133*cdf0e10cSrcweir SID_FM_SCROLLBAR 134*cdf0e10cSrcweir [ 135*cdf0e10cSrcweir ExecMethod = Execute ; 136*cdf0e10cSrcweir StateMethod = GetState ; 137*cdf0e10cSrcweir ] 138*cdf0e10cSrcweir SID_FM_SPINBUTTON 139*cdf0e10cSrcweir [ 140*cdf0e10cSrcweir ExecMethod = Execute ; 141*cdf0e10cSrcweir StateMethod = GetState ; 142*cdf0e10cSrcweir ] 143*cdf0e10cSrcweir SID_FM_CTL_PROPERTIES 144*cdf0e10cSrcweir [ 145*cdf0e10cSrcweir ExecMethod = Execute ; 146*cdf0e10cSrcweir StateMethod = GetState ; 147*cdf0e10cSrcweir ] 148*cdf0e10cSrcweir SID_FM_PROPERTIES 149*cdf0e10cSrcweir [ 150*cdf0e10cSrcweir ExecMethod = Execute ; 151*cdf0e10cSrcweir StateMethod = GetState ; 152*cdf0e10cSrcweir ] 153*cdf0e10cSrcweir SID_FM_TAB_DIALOG 154*cdf0e10cSrcweir [ 155*cdf0e10cSrcweir ExecMethod = Execute ; 156*cdf0e10cSrcweir StateMethod = GetState ; 157*cdf0e10cSrcweir ] 158*cdf0e10cSrcweir SID_FM_ADD_FIELD 159*cdf0e10cSrcweir [ 160*cdf0e10cSrcweir ExecMethod = Execute ; 161*cdf0e10cSrcweir StateMethod = GetState ; 162*cdf0e10cSrcweir ] 163*cdf0e10cSrcweir SID_FM_DESIGN_MODE 164*cdf0e10cSrcweir [ 165*cdf0e10cSrcweir ExecMethod = Execute ; 166*cdf0e10cSrcweir StateMethod = GetState ; 167*cdf0e10cSrcweir ] 168*cdf0e10cSrcweir SID_FM_OPEN_READONLY 169*cdf0e10cSrcweir [ 170*cdf0e10cSrcweir ExecMethod = Execute ; 171*cdf0e10cSrcweir StateMethod = GetState ; 172*cdf0e10cSrcweir ] 173*cdf0e10cSrcweir SID_FM_USE_WIZARDS 174*cdf0e10cSrcweir [ 175*cdf0e10cSrcweir ExecMethod = Execute ; 176*cdf0e10cSrcweir StateMethod = GetState ; 177*cdf0e10cSrcweir ] 178*cdf0e10cSrcweir SID_FM_AUTOCONTROLFOCUS 179*cdf0e10cSrcweir [ 180*cdf0e10cSrcweir ExecMethod = Execute ; 181*cdf0e10cSrcweir StateMethod = GetState ; 182*cdf0e10cSrcweir ] 183*cdf0e10cSrcweir SID_FM_SHOW_FMEXPLORER 184*cdf0e10cSrcweir [ 185*cdf0e10cSrcweir ExecMethod = Execute ; 186*cdf0e10cSrcweir StateMethod = GetState ; 187*cdf0e10cSrcweir ] 188*cdf0e10cSrcweir SID_FM_SHOW_PROPERTY_BROWSER 189*cdf0e10cSrcweir [ 190*cdf0e10cSrcweir ExecMethod = Execute ; 191*cdf0e10cSrcweir StateMethod = GetState ; 192*cdf0e10cSrcweir ] 193*cdf0e10cSrcweir SID_FM_SHOW_DATANAVIGATOR 194*cdf0e10cSrcweir [ 195*cdf0e10cSrcweir ExecMethod = Execute ; 196*cdf0e10cSrcweir StateMethod = GetState ; 197*cdf0e10cSrcweir ] 198*cdf0e10cSrcweir SID_FM_RECORD_FIRST 199*cdf0e10cSrcweir [ 200*cdf0e10cSrcweir ExecMethod = Execute ; 201*cdf0e10cSrcweir StateMethod = GetState ; 202*cdf0e10cSrcweir ] 203*cdf0e10cSrcweir SID_FM_RECORD_NEXT 204*cdf0e10cSrcweir [ 205*cdf0e10cSrcweir ExecMethod = Execute ; 206*cdf0e10cSrcweir StateMethod = GetState ; 207*cdf0e10cSrcweir ] 208*cdf0e10cSrcweir SID_FM_RECORD_PREV 209*cdf0e10cSrcweir [ 210*cdf0e10cSrcweir ExecMethod = Execute ; 211*cdf0e10cSrcweir StateMethod = GetState ; 212*cdf0e10cSrcweir ] 213*cdf0e10cSrcweir SID_FM_RECORD_LAST 214*cdf0e10cSrcweir [ 215*cdf0e10cSrcweir ExecMethod = Execute ; 216*cdf0e10cSrcweir StateMethod = GetState ; 217*cdf0e10cSrcweir ] 218*cdf0e10cSrcweir SID_FM_RECORD_NEW 219*cdf0e10cSrcweir [ 220*cdf0e10cSrcweir ExecMethod = Execute ; 221*cdf0e10cSrcweir StateMethod = GetState ; 222*cdf0e10cSrcweir ] 223*cdf0e10cSrcweir SID_FM_RECORD_DELETE 224*cdf0e10cSrcweir [ 225*cdf0e10cSrcweir ExecMethod = Execute ; 226*cdf0e10cSrcweir StateMethod = GetState ; 227*cdf0e10cSrcweir ] 228*cdf0e10cSrcweir SID_FM_RECORD_ABSOLUTE 229*cdf0e10cSrcweir [ 230*cdf0e10cSrcweir ExecMethod = Execute ; 231*cdf0e10cSrcweir StateMethod = GetState ; 232*cdf0e10cSrcweir ] 233*cdf0e10cSrcweir SID_FM_RECORD_TEXT 234*cdf0e10cSrcweir [ 235*cdf0e10cSrcweir ] 236*cdf0e10cSrcweir SID_FM_RECORD_FROM_TEXT 237*cdf0e10cSrcweir [ 238*cdf0e10cSrcweir ] 239*cdf0e10cSrcweir SID_FM_RECORD_TOTAL 240*cdf0e10cSrcweir [ 241*cdf0e10cSrcweir StateMethod = GetState ; 242*cdf0e10cSrcweir ] 243*cdf0e10cSrcweir SID_FM_RECORD_SAVE 244*cdf0e10cSrcweir [ 245*cdf0e10cSrcweir ExecMethod = Execute ; 246*cdf0e10cSrcweir StateMethod = GetState ; 247*cdf0e10cSrcweir ] 248*cdf0e10cSrcweir SID_FM_RECORD_UNDO 249*cdf0e10cSrcweir [ 250*cdf0e10cSrcweir ExecMethod = Execute ; 251*cdf0e10cSrcweir StateMethod = GetState ; 252*cdf0e10cSrcweir ] 253*cdf0e10cSrcweir SID_FM_FORM_FILTERED 254*cdf0e10cSrcweir [ 255*cdf0e10cSrcweir ExecMethod = Execute ; 256*cdf0e10cSrcweir StateMethod = GetState ; 257*cdf0e10cSrcweir ] 258*cdf0e10cSrcweir SID_FM_REMOVE_FILTER_SORT 259*cdf0e10cSrcweir [ 260*cdf0e10cSrcweir ExecMethod = Execute ; 261*cdf0e10cSrcweir StateMethod = GetState ; 262*cdf0e10cSrcweir ] 263*cdf0e10cSrcweir SID_FM_SORTUP 264*cdf0e10cSrcweir [ 265*cdf0e10cSrcweir ExecMethod = Execute ; 266*cdf0e10cSrcweir StateMethod = GetState ; 267*cdf0e10cSrcweir ] 268*cdf0e10cSrcweir SID_FM_SORTDOWN 269*cdf0e10cSrcweir [ 270*cdf0e10cSrcweir ExecMethod = Execute ; 271*cdf0e10cSrcweir StateMethod = GetState ; 272*cdf0e10cSrcweir ] 273*cdf0e10cSrcweir SID_FM_ORDERCRIT 274*cdf0e10cSrcweir [ 275*cdf0e10cSrcweir ExecMethod = Execute ; 276*cdf0e10cSrcweir StateMethod = GetState ; 277*cdf0e10cSrcweir ] 278*cdf0e10cSrcweir SID_FM_FILTER_START 279*cdf0e10cSrcweir [ 280*cdf0e10cSrcweir ExecMethod = Execute ; 281*cdf0e10cSrcweir StateMethod = GetState ; 282*cdf0e10cSrcweir ] 283*cdf0e10cSrcweir SID_FM_AUTOFILTER 284*cdf0e10cSrcweir [ 285*cdf0e10cSrcweir ExecMethod = Execute ; 286*cdf0e10cSrcweir StateMethod = GetState ; 287*cdf0e10cSrcweir ] 288*cdf0e10cSrcweir SID_FM_REFRESH 289*cdf0e10cSrcweir [ 290*cdf0e10cSrcweir ExecMethod = Execute ; 291*cdf0e10cSrcweir StateMethod = GetState ; 292*cdf0e10cSrcweir ] 293*cdf0e10cSrcweir SID_FM_REFRESH_FORM_CONTROL 294*cdf0e10cSrcweir [ 295*cdf0e10cSrcweir ExecMethod = Execute ; 296*cdf0e10cSrcweir StateMethod = GetState ; 297*cdf0e10cSrcweir ] 298*cdf0e10cSrcweir SID_FM_SEARCH 299*cdf0e10cSrcweir [ 300*cdf0e10cSrcweir ExecMethod = Execute ; 301*cdf0e10cSrcweir StateMethod = GetState ; 302*cdf0e10cSrcweir ] 303*cdf0e10cSrcweir SID_FM_FILTER_NAVIGATOR 304*cdf0e10cSrcweir [ 305*cdf0e10cSrcweir ExecMethod = Execute ; 306*cdf0e10cSrcweir StateMethod = GetState ; 307*cdf0e10cSrcweir ] 308*cdf0e10cSrcweir SID_FM_FILTER_EXIT 309*cdf0e10cSrcweir [ 310*cdf0e10cSrcweir ExecMethod = Execute ; 311*cdf0e10cSrcweir StateMethod = GetState ; 312*cdf0e10cSrcweir ] 313*cdf0e10cSrcweir SID_FM_FILTER_EXECUTE 314*cdf0e10cSrcweir [ 315*cdf0e10cSrcweir ExecMethod = Execute ; 316*cdf0e10cSrcweir StateMethod = GetState ; 317*cdf0e10cSrcweir ] 318*cdf0e10cSrcweir //-------------------------------------------------------------------------- 319*cdf0e10cSrcweir SID_FM_FMEXPLORER_CONTROL 320*cdf0e10cSrcweir [ 321*cdf0e10cSrcweir StateMethod = GetState ; 322*cdf0e10cSrcweir ] 323*cdf0e10cSrcweir //-------------------------------------------------------------------------- 324*cdf0e10cSrcweir SID_FM_DATANAVIGATOR_CONTROL 325*cdf0e10cSrcweir [ 326*cdf0e10cSrcweir StateMethod = GetState ; 327*cdf0e10cSrcweir ] 328*cdf0e10cSrcweir //-------------------------------------------------------------------------- 329*cdf0e10cSrcweir SID_FM_FIELDS_CONTROL 330*cdf0e10cSrcweir [ 331*cdf0e10cSrcweir StateMethod = GetState ; 332*cdf0e10cSrcweir ] 333*cdf0e10cSrcweir //-------------------------------------------------------------------------- 334*cdf0e10cSrcweir SID_FM_PROPERTY_CONTROL 335*cdf0e10cSrcweir [ 336*cdf0e10cSrcweir StateMethod = GetState ; 337*cdf0e10cSrcweir ] 338*cdf0e10cSrcweir //-------------------------------------------------------------------------- 339*cdf0e10cSrcweir SID_FM_FILTER_NAVIGATOR_CONTROL 340*cdf0e10cSrcweir [ 341*cdf0e10cSrcweir StateMethod = GetState ; 342*cdf0e10cSrcweir ] 343*cdf0e10cSrcweir //-------------------------------------------------------------------------- 344*cdf0e10cSrcweir SID_FM_SHOW_PROPERTIES 345*cdf0e10cSrcweir [ 346*cdf0e10cSrcweir StateMethod = GetState ; 347*cdf0e10cSrcweir ExecMethod = Execute ; 348*cdf0e10cSrcweir ] 349*cdf0e10cSrcweir 350*cdf0e10cSrcweir SID_FM_VIEW_AS_GRID 351*cdf0e10cSrcweir [ 352*cdf0e10cSrcweir StateMethod = GetState ; 353*cdf0e10cSrcweir ExecMethod = Execute ; 354*cdf0e10cSrcweir ] 355*cdf0e10cSrcweir} 356*cdf0e10cSrcweir 357*cdf0e10cSrcweirinterface FormTextAttributeShell 358*cdf0e10cSrcweir{ 359*cdf0e10cSrcweir SID_CUT 360*cdf0e10cSrcweir [ 361*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 362*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 363*cdf0e10cSrcweir ] 364*cdf0e10cSrcweir SID_COPY 365*cdf0e10cSrcweir [ 366*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 367*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 368*cdf0e10cSrcweir ] 369*cdf0e10cSrcweir SID_PASTE 370*cdf0e10cSrcweir [ 371*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 372*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 373*cdf0e10cSrcweir ] 374*cdf0e10cSrcweir SID_SELECTALL 375*cdf0e10cSrcweir [ 376*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 377*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 378*cdf0e10cSrcweir ] 379*cdf0e10cSrcweir 380*cdf0e10cSrcweir SID_ATTR_PARA_ADJUST 381*cdf0e10cSrcweir [ 382*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 383*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 384*cdf0e10cSrcweir ] 385*cdf0e10cSrcweir SID_ATTR_PARA_ADJUST_LEFT 386*cdf0e10cSrcweir [ 387*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 388*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 389*cdf0e10cSrcweir ] 390*cdf0e10cSrcweir SID_ATTR_PARA_ADJUST_CENTER 391*cdf0e10cSrcweir [ 392*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 393*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 394*cdf0e10cSrcweir ] 395*cdf0e10cSrcweir SID_ATTR_PARA_ADJUST_RIGHT 396*cdf0e10cSrcweir [ 397*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 398*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 399*cdf0e10cSrcweir ] 400*cdf0e10cSrcweir SID_ATTR_PARA_ADJUST_BLOCK 401*cdf0e10cSrcweir [ 402*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 403*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 404*cdf0e10cSrcweir ] 405*cdf0e10cSrcweir SID_SET_SUPER_SCRIPT 406*cdf0e10cSrcweir [ 407*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 408*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 409*cdf0e10cSrcweir ] 410*cdf0e10cSrcweir SID_SET_SUB_SCRIPT 411*cdf0e10cSrcweir [ 412*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 413*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 414*cdf0e10cSrcweir ] 415*cdf0e10cSrcweir SID_ATTR_CHAR_UNDERLINE 416*cdf0e10cSrcweir [ 417*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 418*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 419*cdf0e10cSrcweir ] 420*cdf0e10cSrcweir SID_ATTR_CHAR_OVERLINE 421*cdf0e10cSrcweir [ 422*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 423*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 424*cdf0e10cSrcweir ] 425*cdf0e10cSrcweir SID_ATTR_CHAR_WEIGHT 426*cdf0e10cSrcweir [ 427*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 428*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 429*cdf0e10cSrcweir ] 430*cdf0e10cSrcweir SID_ATTR_CHAR_POSTURE 431*cdf0e10cSrcweir [ 432*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 433*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 434*cdf0e10cSrcweir ] 435*cdf0e10cSrcweir SID_ATTR_CHAR_STRIKEOUT 436*cdf0e10cSrcweir [ 437*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 438*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 439*cdf0e10cSrcweir ] 440*cdf0e10cSrcweir SID_ATTR_CHAR_SHADOWED 441*cdf0e10cSrcweir [ 442*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 443*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 444*cdf0e10cSrcweir ] 445*cdf0e10cSrcweir SID_CHAR_DLG 446*cdf0e10cSrcweir [ 447*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 448*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 449*cdf0e10cSrcweir ] 450*cdf0e10cSrcweir SID_PARA_DLG 451*cdf0e10cSrcweir [ 452*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 453*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 454*cdf0e10cSrcweir ] 455*cdf0e10cSrcweir SID_ATTR_CHAR_FONT 456*cdf0e10cSrcweir [ 457*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 458*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 459*cdf0e10cSrcweir ] 460*cdf0e10cSrcweir SID_ATTR_CHAR_FONTHEIGHT 461*cdf0e10cSrcweir [ 462*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 463*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 464*cdf0e10cSrcweir ] 465*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE_10 466*cdf0e10cSrcweir [ 467*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 468*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 469*cdf0e10cSrcweir ] 470*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE_15 471*cdf0e10cSrcweir [ 472*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 473*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 474*cdf0e10cSrcweir ] 475*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE_20 476*cdf0e10cSrcweir [ 477*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 478*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 479*cdf0e10cSrcweir ] 480*cdf0e10cSrcweir SID_ATTR_CHAR_CONTOUR 481*cdf0e10cSrcweir [ 482*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 483*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 484*cdf0e10cSrcweir ] 485*cdf0e10cSrcweir SID_CLIPBOARD_FORMAT_ITEMS 486*cdf0e10cSrcweir [ 487*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 488*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 489*cdf0e10cSrcweir ] 490*cdf0e10cSrcweir SID_ATTR_CHAR_WORDLINEMODE 491*cdf0e10cSrcweir [ 492*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 493*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 494*cdf0e10cSrcweir ] 495*cdf0e10cSrcweir SID_ATTR_CHAR_COLOR 496*cdf0e10cSrcweir [ 497*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 498*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 499*cdf0e10cSrcweir ] 500*cdf0e10cSrcweir SID_ATTR_CHAR_RELIEF 501*cdf0e10cSrcweir [ 502*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 503*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 504*cdf0e10cSrcweir ] 505*cdf0e10cSrcweir SID_ATTR_CHAR_ESCAPEMENT 506*cdf0e10cSrcweir [ 507*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 508*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 509*cdf0e10cSrcweir ] 510*cdf0e10cSrcweir SID_ATTR_CHAR_SCALEWIDTH 511*cdf0e10cSrcweir [ 512*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 513*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 514*cdf0e10cSrcweir ] 515*cdf0e10cSrcweir SID_ATTR_CHAR_KERNING 516*cdf0e10cSrcweir [ 517*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 518*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 519*cdf0e10cSrcweir ] 520*cdf0e10cSrcweir SID_ATTR_CHAR_AUTOKERN 521*cdf0e10cSrcweir [ 522*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 523*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 524*cdf0e10cSrcweir ] 525*cdf0e10cSrcweir SID_ATTR_CHAR_LANGUAGE 526*cdf0e10cSrcweir [ 527*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 528*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 529*cdf0e10cSrcweir ] 530*cdf0e10cSrcweir SID_ATTR_PARA_LINESPACE 531*cdf0e10cSrcweir [ 532*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 533*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 534*cdf0e10cSrcweir ] 535*cdf0e10cSrcweir SID_ATTR_ULSPACE 536*cdf0e10cSrcweir [ 537*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 538*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 539*cdf0e10cSrcweir ] 540*cdf0e10cSrcweir SID_ATTR_LRSPACE 541*cdf0e10cSrcweir [ 542*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 543*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 544*cdf0e10cSrcweir ] 545*cdf0e10cSrcweir SID_ATTR_PARA_LEFT_TO_RIGHT 546*cdf0e10cSrcweir [ 547*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 548*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 549*cdf0e10cSrcweir ] 550*cdf0e10cSrcweir SID_ATTR_PARA_RIGHT_TO_LEFT 551*cdf0e10cSrcweir [ 552*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 553*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 554*cdf0e10cSrcweir ] 555*cdf0e10cSrcweir 556*cdf0e10cSrcweir /**** <HACK> ****/ 557*cdf0e10cSrcweir // the following is a slight hack. Problem is that the form shell needs to translate 558*cdf0e10cSrcweir // slot names/args into URL dispatch names/args. For this, the SfxSlotPool is used 559*cdf0e10cSrcweir // - it provides convinient methods for this. However, the "pool" is not really a 560*cdf0e10cSrcweir // "pool" - it only knows slots, if there is a shell on the dispatcher stack which 561*cdf0e10cSrcweir // which is responsible for this slot. 562*cdf0e10cSrcweir // So, we declare the form shell as responsible for the following slots. 563*cdf0e10cSrcweir SID_ATTR_CHAR_CJK_FONT 564*cdf0e10cSrcweir [ 565*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 566*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 567*cdf0e10cSrcweir ] 568*cdf0e10cSrcweir SID_ATTR_CHAR_CTL_FONT 569*cdf0e10cSrcweir [ 570*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 571*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 572*cdf0e10cSrcweir ] 573*cdf0e10cSrcweir SID_ATTR_CHAR_CJK_FONTHEIGHT 574*cdf0e10cSrcweir [ 575*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 576*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 577*cdf0e10cSrcweir ] 578*cdf0e10cSrcweir SID_ATTR_CHAR_CTL_FONTHEIGHT 579*cdf0e10cSrcweir [ 580*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 581*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 582*cdf0e10cSrcweir ] 583*cdf0e10cSrcweir SID_ATTR_CHAR_CJK_WEIGHT 584*cdf0e10cSrcweir [ 585*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 586*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 587*cdf0e10cSrcweir ] 588*cdf0e10cSrcweir SID_ATTR_CHAR_CTL_WEIGHT 589*cdf0e10cSrcweir [ 590*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 591*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 592*cdf0e10cSrcweir ] 593*cdf0e10cSrcweir SID_ATTR_CHAR_CJK_POSTURE 594*cdf0e10cSrcweir [ 595*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 596*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 597*cdf0e10cSrcweir ] 598*cdf0e10cSrcweir SID_ATTR_CHAR_CTL_POSTURE 599*cdf0e10cSrcweir [ 600*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 601*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 602*cdf0e10cSrcweir ] 603*cdf0e10cSrcweir SID_ATTR_CHAR_EMPHASISMARK 604*cdf0e10cSrcweir [ 605*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 606*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 607*cdf0e10cSrcweir ] 608*cdf0e10cSrcweir SID_ATTR_CHAR_LATIN_FONT 609*cdf0e10cSrcweir [ 610*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 611*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 612*cdf0e10cSrcweir ] 613*cdf0e10cSrcweir SID_ATTR_CHAR_LATIN_FONTHEIGHT 614*cdf0e10cSrcweir [ 615*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 616*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 617*cdf0e10cSrcweir ] 618*cdf0e10cSrcweir SID_ATTR_CHAR_LATIN_LANGUAGE 619*cdf0e10cSrcweir [ 620*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 621*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 622*cdf0e10cSrcweir ] 623*cdf0e10cSrcweir SID_ATTR_CHAR_LATIN_POSTURE 624*cdf0e10cSrcweir [ 625*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 626*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 627*cdf0e10cSrcweir ] 628*cdf0e10cSrcweir SID_ATTR_CHAR_LATIN_WEIGHT 629*cdf0e10cSrcweir [ 630*cdf0e10cSrcweir ExecMethod = ExecuteTextAttribute; 631*cdf0e10cSrcweir StateMethod = GetTextAttributeState; 632*cdf0e10cSrcweir ] 633*cdf0e10cSrcweir /**** </HACK> ****/ 634*cdf0e10cSrcweir} 635*cdf0e10cSrcweir 636*cdf0e10cSrcweirshell FmFormShell 637*cdf0e10cSrcweir{ 638*cdf0e10cSrcweir import FormTextAttributeShell; 639*cdf0e10cSrcweir import Form [Automation]; 640*cdf0e10cSrcweir 641*cdf0e10cSrcweir SID_FM_CONFIG // ole : no, status : ? 642*cdf0e10cSrcweir [ 643*cdf0e10cSrcweir ExecMethod = Execute ; 644*cdf0e10cSrcweir StateMethod = GetState ; 645*cdf0e10cSrcweir ] 646*cdf0e10cSrcweir SID_FM_MORE_CONTROLS 647*cdf0e10cSrcweir [ 648*cdf0e10cSrcweir ExecMethod = Execute ; 649*cdf0e10cSrcweir StateMethod = GetState ; 650*cdf0e10cSrcweir ] 651*cdf0e10cSrcweir SID_FM_FORM_DESIGN_TOOLS 652*cdf0e10cSrcweir [ 653*cdf0e10cSrcweir ExecMethod = Execute ; 654*cdf0e10cSrcweir StateMethod = GetState ; 655*cdf0e10cSrcweir ] 656*cdf0e10cSrcweir SID_FM_LEAVE_CREATE 657*cdf0e10cSrcweir [ 658*cdf0e10cSrcweir ExecMethod = Execute ; 659*cdf0e10cSrcweir ] 660*cdf0e10cSrcweir SID_FM_TOGGLECONTROLFOCUS 661*cdf0e10cSrcweir [ 662*cdf0e10cSrcweir ExecMethod = Execute ; 663*cdf0e10cSrcweir ] 664*cdf0e10cSrcweir SID_FM_CHANGECONTROLTYPE 665*cdf0e10cSrcweir [ 666*cdf0e10cSrcweir ExecMethod = Execute ; 667*cdf0e10cSrcweir StateMethod = GetState ; 668*cdf0e10cSrcweir ] 669*cdf0e10cSrcweir SID_FM_CONVERTTO_EDIT 670*cdf0e10cSrcweir [ 671*cdf0e10cSrcweir ExecMethod = Execute ; 672*cdf0e10cSrcweir StateMethod = GetState ; 673*cdf0e10cSrcweir ] 674*cdf0e10cSrcweir SID_FM_CONVERTTO_BUTTON 675*cdf0e10cSrcweir [ 676*cdf0e10cSrcweir ExecMethod = Execute ; 677*cdf0e10cSrcweir StateMethod = GetState ; 678*cdf0e10cSrcweir ] 679*cdf0e10cSrcweir SID_FM_CONVERTTO_FIXEDTEXT 680*cdf0e10cSrcweir [ 681*cdf0e10cSrcweir ExecMethod = Execute ; 682*cdf0e10cSrcweir StateMethod = GetState ; 683*cdf0e10cSrcweir ] 684*cdf0e10cSrcweir SID_FM_CONVERTTO_LISTBOX 685*cdf0e10cSrcweir [ 686*cdf0e10cSrcweir ExecMethod = Execute ; 687*cdf0e10cSrcweir StateMethod = GetState ; 688*cdf0e10cSrcweir ] 689*cdf0e10cSrcweir SID_FM_CONVERTTO_CHECKBOX 690*cdf0e10cSrcweir [ 691*cdf0e10cSrcweir ExecMethod = Execute ; 692*cdf0e10cSrcweir StateMethod = GetState ; 693*cdf0e10cSrcweir ] 694*cdf0e10cSrcweir SID_FM_CONVERTTO_RADIOBUTTON 695*cdf0e10cSrcweir [ 696*cdf0e10cSrcweir ExecMethod = Execute ; 697*cdf0e10cSrcweir StateMethod = GetState ; 698*cdf0e10cSrcweir ] 699*cdf0e10cSrcweir SID_FM_CONVERTTO_GROUPBOX 700*cdf0e10cSrcweir [ 701*cdf0e10cSrcweir ExecMethod = Execute ; 702*cdf0e10cSrcweir StateMethod = GetState ; 703*cdf0e10cSrcweir ] 704*cdf0e10cSrcweir SID_FM_CONVERTTO_COMBOBOX 705*cdf0e10cSrcweir [ 706*cdf0e10cSrcweir ExecMethod = Execute ; 707*cdf0e10cSrcweir StateMethod = GetState ; 708*cdf0e10cSrcweir ] 709*cdf0e10cSrcweir SID_FM_CONVERTTO_IMAGEBUTTON 710*cdf0e10cSrcweir [ 711*cdf0e10cSrcweir ExecMethod = Execute ; 712*cdf0e10cSrcweir StateMethod = GetState ; 713*cdf0e10cSrcweir ] 714*cdf0e10cSrcweir SID_FM_CONVERTTO_FILECONTROL 715*cdf0e10cSrcweir [ 716*cdf0e10cSrcweir ExecMethod = Execute ; 717*cdf0e10cSrcweir StateMethod = GetState ; 718*cdf0e10cSrcweir ] 719*cdf0e10cSrcweir SID_FM_CONVERTTO_DATE 720*cdf0e10cSrcweir [ 721*cdf0e10cSrcweir ExecMethod = Execute ; 722*cdf0e10cSrcweir StateMethod = GetState ; 723*cdf0e10cSrcweir ] 724*cdf0e10cSrcweir SID_FM_CONVERTTO_TIME 725*cdf0e10cSrcweir [ 726*cdf0e10cSrcweir ExecMethod = Execute ; 727*cdf0e10cSrcweir StateMethod = GetState ; 728*cdf0e10cSrcweir ] 729*cdf0e10cSrcweir SID_FM_CONVERTTO_NUMERIC 730*cdf0e10cSrcweir [ 731*cdf0e10cSrcweir ExecMethod = Execute ; 732*cdf0e10cSrcweir StateMethod = GetState ; 733*cdf0e10cSrcweir ] 734*cdf0e10cSrcweir SID_FM_CONVERTTO_CURRENCY 735*cdf0e10cSrcweir [ 736*cdf0e10cSrcweir ExecMethod = Execute ; 737*cdf0e10cSrcweir StateMethod = GetState ; 738*cdf0e10cSrcweir ] 739*cdf0e10cSrcweir SID_FM_CONVERTTO_PATTERN 740*cdf0e10cSrcweir [ 741*cdf0e10cSrcweir ExecMethod = Execute ; 742*cdf0e10cSrcweir StateMethod = GetState ; 743*cdf0e10cSrcweir ] 744*cdf0e10cSrcweir SID_FM_CONVERTTO_IMAGECONTROL 745*cdf0e10cSrcweir [ 746*cdf0e10cSrcweir ExecMethod = Execute ; 747*cdf0e10cSrcweir StateMethod = GetState ; 748*cdf0e10cSrcweir ] 749*cdf0e10cSrcweir SID_FM_CONVERTTO_FORMATTED 750*cdf0e10cSrcweir [ 751*cdf0e10cSrcweir ExecMethod = Execute ; 752*cdf0e10cSrcweir StateMethod = GetState ; 753*cdf0e10cSrcweir ] 754*cdf0e10cSrcweir SID_FM_CONVERTTO_SCROLLBAR 755*cdf0e10cSrcweir [ 756*cdf0e10cSrcweir ExecMethod = Execute ; 757*cdf0e10cSrcweir StateMethod = GetState ; 758*cdf0e10cSrcweir ] 759*cdf0e10cSrcweir SID_FM_CONVERTTO_SPINBUTTON 760*cdf0e10cSrcweir [ 761*cdf0e10cSrcweir ExecMethod = Execute ; 762*cdf0e10cSrcweir StateMethod = GetState ; 763*cdf0e10cSrcweir ] 764*cdf0e10cSrcweir SID_FM_CONVERTTO_NAVIGATIONBAR 765*cdf0e10cSrcweir [ 766*cdf0e10cSrcweir ExecMethod = Execute ; 767*cdf0e10cSrcweir StateMethod = GetState ; 768*cdf0e10cSrcweir ] 769*cdf0e10cSrcweir} 770*cdf0e10cSrcweir 771