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