MFC vc++ 写 word 文件,msword.cpp文件(2)

msword.h文件在这里

MFC vc++ 写 word 文件,msword.h文件

msword.cpp文件前半部分在这里

MFC vc++ 写 word 文件,msword.cpp文件(1)

下面是msword.cpp文件后半部分

5

   1 /////////////////////////////////////////////////////////////////////////////
   2 // MailingLabel properties
   3 
   4 /////////////////////////////////////////////////////////////////////////////
   5 // MailingLabel operations
   6 
   7 LPDISPATCH MailingLabel::GetApplication()
   8 {
   9     LPDISPATCH result;
  10     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  11     return result;
  12 }
  13 
  14 long MailingLabel::GetCreator()
  15 {
  16     long result;
  17     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  18     return result;
  19 }
  20 
  21 LPDISPATCH MailingLabel::GetParent()
  22 {
  23     LPDISPATCH result;
  24     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  25     return result;
  26 }
  27 
  28 BOOL MailingLabel::GetDefaultPrintBarCode()
  29 {
  30     BOOL result;
  31     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  32     return result;
  33 }
  34 
  35 void MailingLabel::SetDefaultPrintBarCode(BOOL bNewValue)
  36 {
  37     static BYTE parms[] =
  38         VTS_BOOL;
  39     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  40         bNewValue);
  41 }
  42 
  43 long MailingLabel::GetDefaultLaserTray()
  44 {
  45     long result;
  46     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  47     return result;
  48 }
  49 
  50 void MailingLabel::SetDefaultLaserTray(long nNewValue)
  51 {
  52     static BYTE parms[] =
  53         VTS_I4;
  54     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  55         nNewValue);
  56 }
  57 
  58 LPDISPATCH MailingLabel::GetCustomLabels()
  59 {
  60     LPDISPATCH result;
  61     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  62     return result;
  63 }
  64 
  65 CString MailingLabel::GetDefaultLabelName()
  66 {
  67     CString result;
  68     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  69     return result;
  70 }
  71 
  72 void MailingLabel::SetDefaultLabelName(LPCTSTR lpszNewValue)
  73 {
  74     static BYTE parms[] =
  75         VTS_BSTR;
  76     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  77         lpszNewValue);
  78 }
  79 
  80 void MailingLabel::LabelOptions()
  81 {
  82     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  83 }
  84 
  85 LPDISPATCH MailingLabel::CreateNewDocument(VARIANT* Name, VARIANT* Address, VARIANT* AutoText, VARIANT* ExtractAddress, VARIANT* LaserTray, VARIANT* PrintEPostageLabel, VARIANT* Vertical)
  86 {
  87     LPDISPATCH result;
  88     static BYTE parms[] =
  89         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
  90     InvokeHelper(0x68, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  91         Name, Address, AutoText, ExtractAddress, LaserTray, PrintEPostageLabel, Vertical);
  92     return result;
  93 }
  94 
  95 void MailingLabel::PrintOut(VARIANT* Name, VARIANT* Address, VARIANT* ExtractAddress, VARIANT* LaserTray, VARIANT* SingleLabel, VARIANT* Row, VARIANT* Column, VARIANT* PrintEPostageLabel, VARIANT* Vertical)
  96 {
  97     static BYTE parms[] =
  98         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
  99     InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 100         Name, Address, ExtractAddress, LaserTray, SingleLabel, Row, Column, PrintEPostageLabel, Vertical);
 101 }
 102 
 103 BOOL MailingLabel::GetVertical()
 104 {
 105     BOOL result;
 106     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 107     return result;
 108 }
 109 
 110 void MailingLabel::SetVertical(BOOL bNewValue)
 111 {
 112     static BYTE parms[] =
 113         VTS_BOOL;
 114     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 115         bNewValue);
 116 }
 117 
 118 
 119 /////////////////////////////////////////////////////////////////////////////
 120 // CustomLabels properties
 121 
 122 /////////////////////////////////////////////////////////////////////////////
 123 // CustomLabels operations
 124 
 125 LPDISPATCH CustomLabels::GetApplication()
 126 {
 127     LPDISPATCH result;
 128     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 129     return result;
 130 }
 131 
 132 long CustomLabels::GetCreator()
 133 {
 134     long result;
 135     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 136     return result;
 137 }
 138 
 139 LPDISPATCH CustomLabels::GetParent()
 140 {
 141     LPDISPATCH result;
 142     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 143     return result;
 144 }
 145 
 146 LPUNKNOWN CustomLabels::Get_NewEnum()
 147 {
 148     LPUNKNOWN result;
 149     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 150     return result;
 151 }
 152 
 153 long CustomLabels::GetCount()
 154 {
 155     long result;
 156     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 157     return result;
 158 }
 159 
 160 LPDISPATCH CustomLabels::Item(VARIANT* Index)
 161 {
 162     LPDISPATCH result;
 163     static BYTE parms[] =
 164         VTS_PVARIANT;
 165     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 166         Index);
 167     return result;
 168 }
 169 
 170 LPDISPATCH CustomLabels::Add(LPCTSTR Name, VARIANT* DotMatrix)
 171 {
 172     LPDISPATCH result;
 173     static BYTE parms[] =
 174         VTS_BSTR VTS_PVARIANT;
 175     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 176         Name, DotMatrix);
 177     return result;
 178 }
 179 
 180 
 181 /////////////////////////////////////////////////////////////////////////////
 182 // CustomLabel properties
 183 
 184 /////////////////////////////////////////////////////////////////////////////
 185 // CustomLabel operations
 186 
 187 LPDISPATCH CustomLabel::GetApplication()
 188 {
 189     LPDISPATCH result;
 190     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 191     return result;
 192 }
 193 
 194 long CustomLabel::GetCreator()
 195 {
 196     long result;
 197     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 198     return result;
 199 }
 200 
 201 LPDISPATCH CustomLabel::GetParent()
 202 {
 203     LPDISPATCH result;
 204     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 205     return result;
 206 }
 207 
 208 long CustomLabel::GetIndex()
 209 {
 210     long result;
 211     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 212     return result;
 213 }
 214 
 215 CString CustomLabel::GetName()
 216 {
 217     CString result;
 218     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 219     return result;
 220 }
 221 
 222 void CustomLabel::SetName(LPCTSTR lpszNewValue)
 223 {
 224     static BYTE parms[] =
 225         VTS_BSTR;
 226     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 227         lpszNewValue);
 228 }
 229 
 230 float CustomLabel::GetTopMargin()
 231 {
 232     float result;
 233     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 234     return result;
 235 }
 236 
 237 void CustomLabel::SetTopMargin(float newValue)
 238 {
 239     static BYTE parms[] =
 240         VTS_R4;
 241     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 242         newValue);
 243 }
 244 
 245 float CustomLabel::GetSideMargin()
 246 {
 247     float result;
 248     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 249     return result;
 250 }
 251 
 252 void CustomLabel::SetSideMargin(float newValue)
 253 {
 254     static BYTE parms[] =
 255         VTS_R4;
 256     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 257         newValue);
 258 }
 259 
 260 float CustomLabel::GetHeight()
 261 {
 262     float result;
 263     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 264     return result;
 265 }
 266 
 267 void CustomLabel::SetHeight(float newValue)
 268 {
 269     static BYTE parms[] =
 270         VTS_R4;
 271     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 272         newValue);
 273 }
 274 
 275 float CustomLabel::GetWidth()
 276 {
 277     float result;
 278     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 279     return result;
 280 }
 281 
 282 void CustomLabel::SetWidth(float newValue)
 283 {
 284     static BYTE parms[] =
 285         VTS_R4;
 286     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 287         newValue);
 288 }
 289 
 290 float CustomLabel::GetVerticalPitch()
 291 {
 292     float result;
 293     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 294     return result;
 295 }
 296 
 297 void CustomLabel::SetVerticalPitch(float newValue)
 298 {
 299     static BYTE parms[] =
 300         VTS_R4;
 301     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 302         newValue);
 303 }
 304 
 305 float CustomLabel::GetHorizontalPitch()
 306 {
 307     float result;
 308     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 309     return result;
 310 }
 311 
 312 void CustomLabel::SetHorizontalPitch(float newValue)
 313 {
 314     static BYTE parms[] =
 315         VTS_R4;
 316     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 317         newValue);
 318 }
 319 
 320 long CustomLabel::GetNumberAcross()
 321 {
 322     long result;
 323     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 324     return result;
 325 }
 326 
 327 void CustomLabel::SetNumberAcross(long nNewValue)
 328 {
 329     static BYTE parms[] =
 330         VTS_I4;
 331     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 332         nNewValue);
 333 }
 334 
 335 long CustomLabel::GetNumberDown()
 336 {
 337     long result;
 338     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 339     return result;
 340 }
 341 
 342 void CustomLabel::SetNumberDown(long nNewValue)
 343 {
 344     static BYTE parms[] =
 345         VTS_I4;
 346     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 347         nNewValue);
 348 }
 349 
 350 BOOL CustomLabel::GetDotMatrix()
 351 {
 352     BOOL result;
 353     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 354     return result;
 355 }
 356 
 357 long CustomLabel::GetPageSize()
 358 {
 359     long result;
 360     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 361     return result;
 362 }
 363 
 364 void CustomLabel::SetPageSize(long nNewValue)
 365 {
 366     static BYTE parms[] =
 367         VTS_I4;
 368     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 369         nNewValue);
 370 }
 371 
 372 BOOL CustomLabel::GetValid()
 373 {
 374     BOOL result;
 375     InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 376     return result;
 377 }
 378 
 379 void CustomLabel::Delete()
 380 {
 381     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 382 }
 383 
 384 
 385 /////////////////////////////////////////////////////////////////////////////
 386 // TablesOfContents properties
 387 
 388 /////////////////////////////////////////////////////////////////////////////
 389 // TablesOfContents operations
 390 
 391 LPDISPATCH TablesOfContents::GetApplication()
 392 {
 393     LPDISPATCH result;
 394     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 395     return result;
 396 }
 397 
 398 long TablesOfContents::GetCreator()
 399 {
 400     long result;
 401     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 402     return result;
 403 }
 404 
 405 LPDISPATCH TablesOfContents::GetParent()
 406 {
 407     LPDISPATCH result;
 408     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 409     return result;
 410 }
 411 
 412 LPUNKNOWN TablesOfContents::Get_NewEnum()
 413 {
 414     LPUNKNOWN result;
 415     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 416     return result;
 417 }
 418 
 419 long TablesOfContents::GetCount()
 420 {
 421     long result;
 422     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 423     return result;
 424 }
 425 
 426 long TablesOfContents::GetFormat()
 427 {
 428     long result;
 429     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 430     return result;
 431 }
 432 
 433 void TablesOfContents::SetFormat(long nNewValue)
 434 {
 435     static BYTE parms[] =
 436         VTS_I4;
 437     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 438         nNewValue);
 439 }
 440 
 441 LPDISPATCH TablesOfContents::Item(long Index)
 442 {
 443     LPDISPATCH result;
 444     static BYTE parms[] =
 445         VTS_I4;
 446     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 447         Index);
 448     return result;
 449 }
 450 
 451 LPDISPATCH TablesOfContents::MarkEntry(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* TableID, VARIANT* Level)
 452 {
 453     LPDISPATCH result;
 454     static BYTE parms[] =
 455         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
 456     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 457         Range, Entry, EntryAutoText, TableID, Level);
 458     return result;
 459 }
 460 
 461 LPDISPATCH TablesOfContents::Add(LPDISPATCH Range, VARIANT* UseHeadingStyles, VARIANT* UpperHeadingLevel, VARIANT* LowerHeadingLevel, VARIANT* UseFields, VARIANT* TableID, VARIANT* RightAlignPageNumbers, VARIANT* IncludePageNumbers, VARIANT* AddedStyles,
 462     VARIANT* UseHyperlinks, VARIANT* HidePageNumbersInWeb, VARIANT* UseOutlineLevels)
 463 {
 464     LPDISPATCH result;
 465     static BYTE parms[] =
 466         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
 467     InvokeHelper(0x67, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 468         Range, UseHeadingStyles, UpperHeadingLevel, LowerHeadingLevel, UseFields, TableID, RightAlignPageNumbers, IncludePageNumbers, AddedStyles, UseHyperlinks, HidePageNumbersInWeb, UseOutlineLevels);
 469     return result;
 470 }
 471 
 472 
 473 /////////////////////////////////////////////////////////////////////////////
 474 // TableOfContents properties
 475 
 476 /////////////////////////////////////////////////////////////////////////////
 477 // TableOfContents operations
 478 
 479 LPDISPATCH TableOfContents::GetApplication()
 480 {
 481     LPDISPATCH result;
 482     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 483     return result;
 484 }
 485 
 486 long TableOfContents::GetCreator()
 487 {
 488     long result;
 489     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 490     return result;
 491 }
 492 
 493 LPDISPATCH TableOfContents::GetParent()
 494 {
 495     LPDISPATCH result;
 496     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 497     return result;
 498 }
 499 
 500 BOOL TableOfContents::GetUseHeadingStyles()
 501 {
 502     BOOL result;
 503     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 504     return result;
 505 }
 506 
 507 void TableOfContents::SetUseHeadingStyles(BOOL bNewValue)
 508 {
 509     static BYTE parms[] =
 510         VTS_BOOL;
 511     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 512         bNewValue);
 513 }
 514 
 515 BOOL TableOfContents::GetUseFields()
 516 {
 517     BOOL result;
 518     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 519     return result;
 520 }
 521 
 522 void TableOfContents::SetUseFields(BOOL bNewValue)
 523 {
 524     static BYTE parms[] =
 525         VTS_BOOL;
 526     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 527         bNewValue);
 528 }
 529 
 530 long TableOfContents::GetUpperHeadingLevel()
 531 {
 532     long result;
 533     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 534     return result;
 535 }
 536 
 537 void TableOfContents::SetUpperHeadingLevel(long nNewValue)
 538 {
 539     static BYTE parms[] =
 540         VTS_I4;
 541     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 542         nNewValue);
 543 }
 544 
 545 long TableOfContents::GetLowerHeadingLevel()
 546 {
 547     long result;
 548     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 549     return result;
 550 }
 551 
 552 void TableOfContents::SetLowerHeadingLevel(long nNewValue)
 553 {
 554     static BYTE parms[] =
 555         VTS_I4;
 556     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 557         nNewValue);
 558 }
 559 
 560 CString TableOfContents::GetTableID()
 561 {
 562     CString result;
 563     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 564     return result;
 565 }
 566 
 567 void TableOfContents::SetTableID(LPCTSTR lpszNewValue)
 568 {
 569     static BYTE parms[] =
 570         VTS_BSTR;
 571     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 572         lpszNewValue);
 573 }
 574 
 575 LPDISPATCH TableOfContents::GetHeadingStyles()
 576 {
 577     LPDISPATCH result;
 578     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 579     return result;
 580 }
 581 
 582 BOOL TableOfContents::GetRightAlignPageNumbers()
 583 {
 584     BOOL result;
 585     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 586     return result;
 587 }
 588 
 589 void TableOfContents::SetRightAlignPageNumbers(BOOL bNewValue)
 590 {
 591     static BYTE parms[] =
 592         VTS_BOOL;
 593     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 594         bNewValue);
 595 }
 596 
 597 BOOL TableOfContents::GetIncludePageNumbers()
 598 {
 599     BOOL result;
 600     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 601     return result;
 602 }
 603 
 604 void TableOfContents::SetIncludePageNumbers(BOOL bNewValue)
 605 {
 606     static BYTE parms[] =
 607         VTS_BOOL;
 608     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 609         bNewValue);
 610 }
 611 
 612 LPDISPATCH TableOfContents::GetRange()
 613 {
 614     LPDISPATCH result;
 615     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 616     return result;
 617 }
 618 
 619 long TableOfContents::GetTabLeader()
 620 {
 621     long result;
 622     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 623     return result;
 624 }
 625 
 626 void TableOfContents::SetTabLeader(long nNewValue)
 627 {
 628     static BYTE parms[] =
 629         VTS_I4;
 630     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 631         nNewValue);
 632 }
 633 
 634 void TableOfContents::Delete()
 635 {
 636     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 637 }
 638 
 639 void TableOfContents::UpdatePageNumbers()
 640 {
 641     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 642 }
 643 
 644 void TableOfContents::Update()
 645 {
 646     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 647 }
 648 
 649 BOOL TableOfContents::GetUseHyperlinks()
 650 {
 651     BOOL result;
 652     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 653     return result;
 654 }
 655 
 656 void TableOfContents::SetUseHyperlinks(BOOL bNewValue)
 657 {
 658     static BYTE parms[] =
 659         VTS_BOOL;
 660     InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 661         bNewValue);
 662 }
 663 
 664 BOOL TableOfContents::GetHidePageNumbersInWeb()
 665 {
 666     BOOL result;
 667     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 668     return result;
 669 }
 670 
 671 void TableOfContents::SetHidePageNumbersInWeb(BOOL bNewValue)
 672 {
 673     static BYTE parms[] =
 674         VTS_BOOL;
 675     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 676         bNewValue);
 677 }
 678 
 679 
 680 /////////////////////////////////////////////////////////////////////////////
 681 // TablesOfAuthorities properties
 682 
 683 /////////////////////////////////////////////////////////////////////////////
 684 // TablesOfAuthorities operations
 685 
 686 LPDISPATCH TablesOfAuthorities::GetApplication()
 687 {
 688     LPDISPATCH result;
 689     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 690     return result;
 691 }
 692 
 693 long TablesOfAuthorities::GetCreator()
 694 {
 695     long result;
 696     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 697     return result;
 698 }
 699 
 700 LPDISPATCH TablesOfAuthorities::GetParent()
 701 {
 702     LPDISPATCH result;
 703     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 704     return result;
 705 }
 706 
 707 LPUNKNOWN TablesOfAuthorities::Get_NewEnum()
 708 {
 709     LPUNKNOWN result;
 710     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 711     return result;
 712 }
 713 
 714 long TablesOfAuthorities::GetCount()
 715 {
 716     long result;
 717     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 718     return result;
 719 }
 720 
 721 long TablesOfAuthorities::GetFormat()
 722 {
 723     long result;
 724     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 725     return result;
 726 }
 727 
 728 void TablesOfAuthorities::SetFormat(long nNewValue)
 729 {
 730     static BYTE parms[] =
 731         VTS_I4;
 732     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 733         nNewValue);
 734 }
 735 
 736 LPDISPATCH TablesOfAuthorities::Item(long Index)
 737 {
 738     LPDISPATCH result;
 739     static BYTE parms[] =
 740         VTS_I4;
 741     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 742         Index);
 743     return result;
 744 }
 745 
 746 LPDISPATCH TablesOfAuthorities::Add(LPDISPATCH Range, VARIANT* Category, VARIANT* Bookmark, VARIANT* Passim, VARIANT* KeepEntryFormatting, VARIANT* Separator, VARIANT* IncludeSequenceName, VARIANT* EntrySeparator, VARIANT* PageRangeSeparator,
 747     VARIANT* IncludeCategoryHeader, VARIANT* PageNumberSeparator)
 748 {
 749     LPDISPATCH result;
 750     static BYTE parms[] =
 751         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
 752     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 753         Range, Category, Bookmark, Passim, KeepEntryFormatting, Separator, IncludeSequenceName, EntrySeparator, PageRangeSeparator, IncludeCategoryHeader, PageNumberSeparator);
 754     return result;
 755 }
 756 
 757 void TablesOfAuthorities::NextCitation(LPCTSTR ShortCitation)
 758 {
 759     static BYTE parms[] =
 760         VTS_BSTR;
 761     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 762         ShortCitation);
 763 }
 764 
 765 LPDISPATCH TablesOfAuthorities::MarkCitation(LPDISPATCH Range, LPCTSTR ShortCitation, VARIANT* LongCitation, VARIANT* LongCitationAutoText, VARIANT* Category)
 766 {
 767     LPDISPATCH result;
 768     static BYTE parms[] =
 769         VTS_DISPATCH VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
 770     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 771         Range, ShortCitation, LongCitation, LongCitationAutoText, Category);
 772     return result;
 773 }
 774 
 775 void TablesOfAuthorities::MarkAllCitations(LPCTSTR ShortCitation, VARIANT* LongCitation, VARIANT* LongCitationAutoText, VARIANT* Category)
 776 {
 777     static BYTE parms[] =
 778         VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
 779     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 780         ShortCitation, LongCitation, LongCitationAutoText, Category);
 781 }
 782 
 783 
 784 /////////////////////////////////////////////////////////////////////////////
 785 // TableOfAuthorities properties
 786 
 787 /////////////////////////////////////////////////////////////////////////////
 788 // TableOfAuthorities operations
 789 
 790 LPDISPATCH TableOfAuthorities::GetApplication()
 791 {
 792     LPDISPATCH result;
 793     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 794     return result;
 795 }
 796 
 797 long TableOfAuthorities::GetCreator()
 798 {
 799     long result;
 800     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 801     return result;
 802 }
 803 
 804 LPDISPATCH TableOfAuthorities::GetParent()
 805 {
 806     LPDISPATCH result;
 807     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 808     return result;
 809 }
 810 
 811 BOOL TableOfAuthorities::GetPassim()
 812 {
 813     BOOL result;
 814     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 815     return result;
 816 }
 817 
 818 void TableOfAuthorities::SetPassim(BOOL bNewValue)
 819 {
 820     static BYTE parms[] =
 821         VTS_BOOL;
 822     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 823         bNewValue);
 824 }
 825 
 826 BOOL TableOfAuthorities::GetKeepEntryFormatting()
 827 {
 828     BOOL result;
 829     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 830     return result;
 831 }
 832 
 833 void TableOfAuthorities::SetKeepEntryFormatting(BOOL bNewValue)
 834 {
 835     static BYTE parms[] =
 836         VTS_BOOL;
 837     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 838         bNewValue);
 839 }
 840 
 841 long TableOfAuthorities::GetCategory()
 842 {
 843     long result;
 844     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 845     return result;
 846 }
 847 
 848 void TableOfAuthorities::SetCategory(long nNewValue)
 849 {
 850     static BYTE parms[] =
 851         VTS_I4;
 852     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 853         nNewValue);
 854 }
 855 
 856 CString TableOfAuthorities::GetBookmark()
 857 {
 858     CString result;
 859     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 860     return result;
 861 }
 862 
 863 void TableOfAuthorities::SetBookmark(LPCTSTR lpszNewValue)
 864 {
 865     static BYTE parms[] =
 866         VTS_BSTR;
 867     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 868         lpszNewValue);
 869 }
 870 
 871 CString TableOfAuthorities::GetSeparator()
 872 {
 873     CString result;
 874     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 875     return result;
 876 }
 877 
 878 void TableOfAuthorities::SetSeparator(LPCTSTR lpszNewValue)
 879 {
 880     static BYTE parms[] =
 881         VTS_BSTR;
 882     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 883         lpszNewValue);
 884 }
 885 
 886 CString TableOfAuthorities::GetIncludeSequenceName()
 887 {
 888     CString result;
 889     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 890     return result;
 891 }
 892 
 893 void TableOfAuthorities::SetIncludeSequenceName(LPCTSTR lpszNewValue)
 894 {
 895     static BYTE parms[] =
 896         VTS_BSTR;
 897     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 898         lpszNewValue);
 899 }
 900 
 901 CString TableOfAuthorities::GetEntrySeparator()
 902 {
 903     CString result;
 904     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 905     return result;
 906 }
 907 
 908 void TableOfAuthorities::SetEntrySeparator(LPCTSTR lpszNewValue)
 909 {
 910     static BYTE parms[] =
 911         VTS_BSTR;
 912     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 913         lpszNewValue);
 914 }
 915 
 916 CString TableOfAuthorities::GetPageRangeSeparator()
 917 {
 918     CString result;
 919     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 920     return result;
 921 }
 922 
 923 void TableOfAuthorities::SetPageRangeSeparator(LPCTSTR lpszNewValue)
 924 {
 925     static BYTE parms[] =
 926         VTS_BSTR;
 927     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 928         lpszNewValue);
 929 }
 930 
 931 BOOL TableOfAuthorities::GetIncludeCategoryHeader()
 932 {
 933     BOOL result;
 934     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 935     return result;
 936 }
 937 
 938 void TableOfAuthorities::SetIncludeCategoryHeader(BOOL bNewValue)
 939 {
 940     static BYTE parms[] =
 941         VTS_BOOL;
 942     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 943         bNewValue);
 944 }
 945 
 946 CString TableOfAuthorities::GetPageNumberSeparator()
 947 {
 948     CString result;
 949     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 950     return result;
 951 }
 952 
 953 void TableOfAuthorities::SetPageNumberSeparator(LPCTSTR lpszNewValue)
 954 {
 955     static BYTE parms[] =
 956         VTS_BSTR;
 957     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 958         lpszNewValue);
 959 }
 960 
 961 LPDISPATCH TableOfAuthorities::GetRange()
 962 {
 963     LPDISPATCH result;
 964     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 965     return result;
 966 }
 967 
 968 long TableOfAuthorities::GetTabLeader()
 969 {
 970     long result;
 971     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 972     return result;
 973 }
 974 
 975 void TableOfAuthorities::SetTabLeader(long nNewValue)
 976 {
 977     static BYTE parms[] =
 978         VTS_I4;
 979     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 980         nNewValue);
 981 }
 982 
 983 void TableOfAuthorities::Delete()
 984 {
 985     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 986 }
 987 
 988 void TableOfAuthorities::Update()
 989 {
 990     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 991 }
 992 
 993 
 994 /////////////////////////////////////////////////////////////////////////////
 995 // Dialogs properties
 996 
 997 /////////////////////////////////////////////////////////////////////////////
 998 // Dialogs operations
 999 
1000 LPDISPATCH Dialogs::GetApplication()
1001 {
1002     LPDISPATCH result;
1003     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1004     return result;
1005 }
1006 
1007 long Dialogs::GetCreator()
1008 {
1009     long result;
1010     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1011     return result;
1012 }
1013 
1014 LPDISPATCH Dialogs::GetParent()
1015 {
1016     LPDISPATCH result;
1017     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1018     return result;
1019 }
1020 
1021 LPUNKNOWN Dialogs::Get_NewEnum()
1022 {
1023     LPUNKNOWN result;
1024     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1025     return result;
1026 }
1027 
1028 long Dialogs::GetCount()
1029 {
1030     long result;
1031     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1032     return result;
1033 }
1034 
1035 LPDISPATCH Dialogs::Item(long Index)
1036 {
1037     LPDISPATCH result;
1038     static BYTE parms[] =
1039         VTS_I4;
1040     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1041         Index);
1042     return result;
1043 }
1044 
1045 
1046 /////////////////////////////////////////////////////////////////////////////
1047 // Dialog properties
1048 
1049 /////////////////////////////////////////////////////////////////////////////
1050 // Dialog operations
1051 
1052 LPDISPATCH Dialog::GetApplication()
1053 {
1054     LPDISPATCH result;
1055     InvokeHelper(0x7d03, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1056     return result;
1057 }
1058 
1059 long Dialog::GetCreator()
1060 {
1061     long result;
1062     InvokeHelper(0x7d04, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1063     return result;
1064 }
1065 
1066 LPDISPATCH Dialog::GetParent()
1067 {
1068     LPDISPATCH result;
1069     InvokeHelper(0x7d05, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1070     return result;
1071 }
1072 
1073 long Dialog::GetDefaultTab()
1074 {
1075     long result;
1076     InvokeHelper(0x7d02, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1077     return result;
1078 }
1079 
1080 void Dialog::SetDefaultTab(long nNewValue)
1081 {
1082     static BYTE parms[] =
1083         VTS_I4;
1084     InvokeHelper(0x7d02, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1085         nNewValue);
1086 }
1087 
1088 long Dialog::GetType()
1089 {
1090     long result;
1091     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1092     return result;
1093 }
1094 
1095 long Dialog::Show(VARIANT* TimeOut)
1096 {
1097     long result;
1098     static BYTE parms[] =
1099         VTS_PVARIANT;
1100     InvokeHelper(0x150, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
1101         TimeOut);
1102     return result;
1103 }
1104 
1105 long Dialog::Display(VARIANT* TimeOut)
1106 {
1107     long result;
1108     static BYTE parms[] =
1109         VTS_PVARIANT;
1110     InvokeHelper(0x152, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
1111         TimeOut);
1112     return result;
1113 }
1114 
1115 void Dialog::Execute()
1116 {
1117     InvokeHelper(0x7d01, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1118 }
1119 
1120 void Dialog::Update()
1121 {
1122     InvokeHelper(0x12e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1123 }
1124 
1125 CString Dialog::GetCommandName()
1126 {
1127     CString result;
1128     InvokeHelper(0x7d06, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1129     return result;
1130 }
1131 
1132 
1133 /////////////////////////////////////////////////////////////////////////////
1134 // PageSetup properties
1135 
1136 /////////////////////////////////////////////////////////////////////////////
1137 // PageSetup operations
1138 
1139 LPDISPATCH PageSetup::GetApplication()
1140 {
1141     LPDISPATCH result;
1142     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1143     return result;
1144 }
1145 
1146 long PageSetup::GetCreator()
1147 {
1148     long result;
1149     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1150     return result;
1151 }
1152 
1153 LPDISPATCH PageSetup::GetParent()
1154 {
1155     LPDISPATCH result;
1156     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1157     return result;
1158 }
1159 
1160 float PageSetup::GetTopMargin()
1161 {
1162     float result;
1163     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1164     return result;
1165 }
1166 
1167 void PageSetup::SetTopMargin(float newValue)
1168 {
1169     static BYTE parms[] =
1170         VTS_R4;
1171     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1172         newValue);
1173 }
1174 
1175 float PageSetup::GetBottomMargin()
1176 {
1177     float result;
1178     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1179     return result;
1180 }
1181 
1182 void PageSetup::SetBottomMargin(float newValue)
1183 {
1184     static BYTE parms[] =
1185         VTS_R4;
1186     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1187         newValue);
1188 }
1189 
1190 float PageSetup::GetLeftMargin()
1191 {
1192     float result;
1193     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1194     return result;
1195 }
1196 
1197 void PageSetup::SetLeftMargin(float newValue)
1198 {
1199     static BYTE parms[] =
1200         VTS_R4;
1201     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1202         newValue);
1203 }
1204 
1205 float PageSetup::GetRightMargin()
1206 {
1207     float result;
1208     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1209     return result;
1210 }
1211 
1212 void PageSetup::SetRightMargin(float newValue)
1213 {
1214     static BYTE parms[] =
1215         VTS_R4;
1216     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1217         newValue);
1218 }
1219 
1220 float PageSetup::GetGutter()
1221 {
1222     float result;
1223     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1224     return result;
1225 }
1226 
1227 void PageSetup::SetGutter(float newValue)
1228 {
1229     static BYTE parms[] =
1230         VTS_R4;
1231     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1232         newValue);
1233 }
1234 
1235 float PageSetup::GetPageWidth()
1236 {
1237     float result;
1238     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1239     return result;
1240 }
1241 
1242 void PageSetup::SetPageWidth(float newValue)
1243 {
1244     static BYTE parms[] =
1245         VTS_R4;
1246     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1247         newValue);
1248 }
1249 
1250 float PageSetup::GetPageHeight()
1251 {
1252     float result;
1253     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1254     return result;
1255 }
1256 
1257 void PageSetup::SetPageHeight(float newValue)
1258 {
1259     static BYTE parms[] =
1260         VTS_R4;
1261     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1262         newValue);
1263 }
1264 
1265 long PageSetup::GetOrientation()
1266 {
1267     long result;
1268     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1269     return result;
1270 }
1271 
1272 void PageSetup::SetOrientation(long nNewValue)
1273 {
1274     static BYTE parms[] =
1275         VTS_I4;
1276     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1277         nNewValue);
1278 }
1279 
1280 long PageSetup::GetFirstPageTray()
1281 {
1282     long result;
1283     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1284     return result;
1285 }
1286 
1287 void PageSetup::SetFirstPageTray(long nNewValue)
1288 {
1289     static BYTE parms[] =
1290         VTS_I4;
1291     InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1292         nNewValue);
1293 }
1294 
1295 long PageSetup::GetOtherPagesTray()
1296 {
1297     long result;
1298     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1299     return result;
1300 }
1301 
1302 void PageSetup::SetOtherPagesTray(long nNewValue)
1303 {
1304     static BYTE parms[] =
1305         VTS_I4;
1306     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1307         nNewValue);
1308 }
1309 
1310 long PageSetup::GetVerticalAlignment()
1311 {
1312     long result;
1313     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1314     return result;
1315 }
1316 
1317 void PageSetup::SetVerticalAlignment(long nNewValue)
1318 {
1319     static BYTE parms[] =
1320         VTS_I4;
1321     InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1322         nNewValue);
1323 }
1324 
1325 long PageSetup::GetMirrorMargins()
1326 {
1327     long result;
1328     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1329     return result;
1330 }
1331 
1332 void PageSetup::SetMirrorMargins(long nNewValue)
1333 {
1334     static BYTE parms[] =
1335         VTS_I4;
1336     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1337         nNewValue);
1338 }
1339 
1340 float PageSetup::GetHeaderDistance()
1341 {
1342     float result;
1343     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1344     return result;
1345 }
1346 
1347 void PageSetup::SetHeaderDistance(float newValue)
1348 {
1349     static BYTE parms[] =
1350         VTS_R4;
1351     InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1352         newValue);
1353 }
1354 
1355 float PageSetup::GetFooterDistance()
1356 {
1357     float result;
1358     InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1359     return result;
1360 }
1361 
1362 void PageSetup::SetFooterDistance(float newValue)
1363 {
1364     static BYTE parms[] =
1365         VTS_R4;
1366     InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1367         newValue);
1368 }
1369 
1370 long PageSetup::GetSectionStart()
1371 {
1372     long result;
1373     InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1374     return result;
1375 }
1376 
1377 void PageSetup::SetSectionStart(long nNewValue)
1378 {
1379     static BYTE parms[] =
1380         VTS_I4;
1381     InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1382         nNewValue);
1383 }
1384 
1385 long PageSetup::GetOddAndEvenPagesHeaderFooter()
1386 {
1387     long result;
1388     InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1389     return result;
1390 }
1391 
1392 void PageSetup::SetOddAndEvenPagesHeaderFooter(long nNewValue)
1393 {
1394     static BYTE parms[] =
1395         VTS_I4;
1396     InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1397         nNewValue);
1398 }
1399 
1400 long PageSetup::GetDifferentFirstPageHeaderFooter()
1401 {
1402     long result;
1403     InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1404     return result;
1405 }
1406 
1407 void PageSetup::SetDifferentFirstPageHeaderFooter(long nNewValue)
1408 {
1409     static BYTE parms[] =
1410         VTS_I4;
1411     InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1412         nNewValue);
1413 }
1414 
1415 long PageSetup::GetSuppressEndnotes()
1416 {
1417     long result;
1418     InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1419     return result;
1420 }
1421 
1422 void PageSetup::SetSuppressEndnotes(long nNewValue)
1423 {
1424     static BYTE parms[] =
1425         VTS_I4;
1426     InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1427         nNewValue);
1428 }
1429 
1430 LPDISPATCH PageSetup::GetLineNumbering()
1431 {
1432     LPDISPATCH result;
1433     InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1434     return result;
1435 }
1436 
1437 void PageSetup::SetLineNumbering(LPDISPATCH newValue)
1438 {
1439     static BYTE parms[] =
1440         VTS_DISPATCH;
1441     InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1442         newValue);
1443 }
1444 
1445 LPDISPATCH PageSetup::GetTextColumns()
1446 {
1447     LPDISPATCH result;
1448     InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1449     return result;
1450 }
1451 
1452 void PageSetup::SetTextColumns(LPDISPATCH newValue)
1453 {
1454     static BYTE parms[] =
1455         VTS_DISPATCH;
1456     InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1457         newValue);
1458 }
1459 
1460 long PageSetup::GetPaperSize()
1461 {
1462     long result;
1463     InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1464     return result;
1465 }
1466 
1467 void PageSetup::SetPaperSize(long nNewValue)
1468 {
1469     static BYTE parms[] =
1470         VTS_I4;
1471     InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1472         nNewValue);
1473 }
1474 
1475 BOOL PageSetup::GetTwoPagesOnOne()
1476 {
1477     BOOL result;
1478     InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1479     return result;
1480 }
1481 
1482 void PageSetup::SetTwoPagesOnOne(BOOL bNewValue)
1483 {
1484     static BYTE parms[] =
1485         VTS_BOOL;
1486     InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1487         bNewValue);
1488 }
1489 
1490 float PageSetup::GetCharsLine()
1491 {
1492     float result;
1493     InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1494     return result;
1495 }
1496 
1497 void PageSetup::SetCharsLine(float newValue)
1498 {
1499     static BYTE parms[] =
1500         VTS_R4;
1501     InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1502         newValue);
1503 }
1504 
1505 float PageSetup::GetLinesPage()
1506 {
1507     float result;
1508     InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1509     return result;
1510 }
1511 
1512 void PageSetup::SetLinesPage(float newValue)
1513 {
1514     static BYTE parms[] =
1515         VTS_R4;
1516     InvokeHelper(0x7c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1517         newValue);
1518 }
1519 
1520 BOOL PageSetup::GetShowGrid()
1521 {
1522     BOOL result;
1523     InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1524     return result;
1525 }
1526 
1527 void PageSetup::SetShowGrid(BOOL bNewValue)
1528 {
1529     static BYTE parms[] =
1530         VTS_BOOL;
1531     InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1532         bNewValue);
1533 }
1534 
1535 void PageSetup::TogglePortrait()
1536 {
1537     InvokeHelper(0xc9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1538 }
1539 
1540 void PageSetup::SetAsTemplateDefault()
1541 {
1542     InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1543 }
1544 
1545 long PageSetup::GetGutterStyle()
1546 {
1547     long result;
1548     InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1549     return result;
1550 }
1551 
1552 void PageSetup::SetGutterStyle(long nNewValue)
1553 {
1554     static BYTE parms[] =
1555         VTS_I4;
1556     InvokeHelper(0x81, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1557         nNewValue);
1558 }
1559 
1560 long PageSetup::GetSectionDirection()
1561 {
1562     long result;
1563     InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1564     return result;
1565 }
1566 
1567 void PageSetup::SetSectionDirection(long nNewValue)
1568 {
1569     static BYTE parms[] =
1570         VTS_I4;
1571     InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1572         nNewValue);
1573 }
1574 
1575 long PageSetup::GetLayoutMode()
1576 {
1577     long result;
1578     InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1579     return result;
1580 }
1581 
1582 void PageSetup::SetLayoutMode(long nNewValue)
1583 {
1584     static BYTE parms[] =
1585         VTS_I4;
1586     InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1587         nNewValue);
1588 }
1589 
1590 long PageSetup::GetGutterPos()
1591 {
1592     long result;
1593     InvokeHelper(0x4c6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1594     return result;
1595 }
1596 
1597 void PageSetup::SetGutterPos(long nNewValue)
1598 {
1599     static BYTE parms[] =
1600         VTS_I4;
1601     InvokeHelper(0x4c6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1602         nNewValue);
1603 }
1604 
1605 BOOL PageSetup::GetBookFoldPrinting()
1606 {
1607     BOOL result;
1608     InvokeHelper(0x4c7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1609     return result;
1610 }
1611 
1612 void PageSetup::SetBookFoldPrinting(BOOL bNewValue)
1613 {
1614     static BYTE parms[] =
1615         VTS_BOOL;
1616     InvokeHelper(0x4c7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1617         bNewValue);
1618 }
1619 
1620 BOOL PageSetup::GetBookFoldRevPrinting()
1621 {
1622     BOOL result;
1623     InvokeHelper(0x4c8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1624     return result;
1625 }
1626 
1627 void PageSetup::SetBookFoldRevPrinting(BOOL bNewValue)
1628 {
1629     static BYTE parms[] =
1630         VTS_BOOL;
1631     InvokeHelper(0x4c8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1632         bNewValue);
1633 }
1634 
1635 long PageSetup::GetBookFoldPrintingSheets()
1636 {
1637     long result;
1638     InvokeHelper(0x4c9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1639     return result;
1640 }
1641 
1642 void PageSetup::SetBookFoldPrintingSheets(long nNewValue)
1643 {
1644     static BYTE parms[] =
1645         VTS_I4;
1646     InvokeHelper(0x4c9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1647         nNewValue);
1648 }
1649 
1650 
1651 /////////////////////////////////////////////////////////////////////////////
1652 // LineNumbering properties
1653 
1654 /////////////////////////////////////////////////////////////////////////////
1655 // LineNumbering operations
1656 
1657 LPDISPATCH LineNumbering::GetApplication()
1658 {
1659     LPDISPATCH result;
1660     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1661     return result;
1662 }
1663 
1664 long LineNumbering::GetCreator()
1665 {
1666     long result;
1667     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1668     return result;
1669 }
1670 
1671 LPDISPATCH LineNumbering::GetParent()
1672 {
1673     LPDISPATCH result;
1674     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1675     return result;
1676 }
1677 
1678 long LineNumbering::GetRestartMode()
1679 {
1680     long result;
1681     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1682     return result;
1683 }
1684 
1685 void LineNumbering::SetRestartMode(long nNewValue)
1686 {
1687     static BYTE parms[] =
1688         VTS_I4;
1689     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1690         nNewValue);
1691 }
1692 
1693 long LineNumbering::GetStartingNumber()
1694 {
1695     long result;
1696     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1697     return result;
1698 }
1699 
1700 void LineNumbering::SetStartingNumber(long nNewValue)
1701 {
1702     static BYTE parms[] =
1703         VTS_I4;
1704     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1705         nNewValue);
1706 }
1707 
1708 float LineNumbering::GetDistanceFromText()
1709 {
1710     float result;
1711     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1712     return result;
1713 }
1714 
1715 void LineNumbering::SetDistanceFromText(float newValue)
1716 {
1717     static BYTE parms[] =
1718         VTS_R4;
1719     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1720         newValue);
1721 }
1722 
1723 long LineNumbering::GetCountBy()
1724 {
1725     long result;
1726     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1727     return result;
1728 }
1729 
1730 void LineNumbering::SetCountBy(long nNewValue)
1731 {
1732     static BYTE parms[] =
1733         VTS_I4;
1734     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1735         nNewValue);
1736 }
1737 
1738 long LineNumbering::GetActive()
1739 {
1740     long result;
1741     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1742     return result;
1743 }
1744 
1745 void LineNumbering::SetActive(long nNewValue)
1746 {
1747     static BYTE parms[] =
1748         VTS_I4;
1749     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1750         nNewValue);
1751 }
1752 
1753 
1754 /////////////////////////////////////////////////////////////////////////////
1755 // TextColumns properties
1756 
1757 /////////////////////////////////////////////////////////////////////////////
1758 // TextColumns operations
1759 
1760 LPUNKNOWN TextColumns::Get_NewEnum()
1761 {
1762     LPUNKNOWN result;
1763     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1764     return result;
1765 }
1766 
1767 long TextColumns::GetCount()
1768 {
1769     long result;
1770     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1771     return result;
1772 }
1773 
1774 LPDISPATCH TextColumns::GetApplication()
1775 {
1776     LPDISPATCH result;
1777     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1778     return result;
1779 }
1780 
1781 long TextColumns::GetCreator()
1782 {
1783     long result;
1784     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1785     return result;
1786 }
1787 
1788 LPDISPATCH TextColumns::GetParent()
1789 {
1790     LPDISPATCH result;
1791     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1792     return result;
1793 }
1794 
1795 long TextColumns::GetEvenlySpaced()
1796 {
1797     long result;
1798     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1799     return result;
1800 }
1801 
1802 void TextColumns::SetEvenlySpaced(long nNewValue)
1803 {
1804     static BYTE parms[] =
1805         VTS_I4;
1806     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1807         nNewValue);
1808 }
1809 
1810 long TextColumns::GetLineBetween()
1811 {
1812     long result;
1813     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1814     return result;
1815 }
1816 
1817 void TextColumns::SetLineBetween(long nNewValue)
1818 {
1819     static BYTE parms[] =
1820         VTS_I4;
1821     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1822         nNewValue);
1823 }
1824 
1825 float TextColumns::GetWidth()
1826 {
1827     float result;
1828     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1829     return result;
1830 }
1831 
1832 void TextColumns::SetWidth(float newValue)
1833 {
1834     static BYTE parms[] =
1835         VTS_R4;
1836     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1837         newValue);
1838 }
1839 
1840 float TextColumns::GetSpacing()
1841 {
1842     float result;
1843     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1844     return result;
1845 }
1846 
1847 void TextColumns::SetSpacing(float newValue)
1848 {
1849     static BYTE parms[] =
1850         VTS_R4;
1851     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1852         newValue);
1853 }
1854 
1855 LPDISPATCH TextColumns::Item(long Index)
1856 {
1857     LPDISPATCH result;
1858     static BYTE parms[] =
1859         VTS_I4;
1860     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1861         Index);
1862     return result;
1863 }
1864 
1865 LPDISPATCH TextColumns::Add(VARIANT* Width, VARIANT* Spacing, VARIANT* EvenlySpaced)
1866 {
1867     LPDISPATCH result;
1868     static BYTE parms[] =
1869         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
1870     InvokeHelper(0xc9, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1871         Width, Spacing, EvenlySpaced);
1872     return result;
1873 }
1874 
1875 void TextColumns::SetCount(long NumColumns)
1876 {
1877     static BYTE parms[] =
1878         VTS_I4;
1879     InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1880         NumColumns);
1881 }
1882 
1883 long TextColumns::GetFlowDirection()
1884 {
1885     long result;
1886     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1887     return result;
1888 }
1889 
1890 void TextColumns::SetFlowDirection(long nNewValue)
1891 {
1892     static BYTE parms[] =
1893         VTS_I4;
1894     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1895         nNewValue);
1896 }
1897 
1898 
1899 /////////////////////////////////////////////////////////////////////////////
1900 // TextColumn properties
1901 
1902 /////////////////////////////////////////////////////////////////////////////
1903 // TextColumn operations
1904 
1905 LPDISPATCH TextColumn::GetApplication()
1906 {
1907     LPDISPATCH result;
1908     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1909     return result;
1910 }
1911 
1912 long TextColumn::GetCreator()
1913 {
1914     long result;
1915     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1916     return result;
1917 }
1918 
1919 LPDISPATCH TextColumn::GetParent()
1920 {
1921     LPDISPATCH result;
1922     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1923     return result;
1924 }
1925 
1926 float TextColumn::GetWidth()
1927 {
1928     float result;
1929     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1930     return result;
1931 }
1932 
1933 void TextColumn::SetWidth(float newValue)
1934 {
1935     static BYTE parms[] =
1936         VTS_R4;
1937     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1938         newValue);
1939 }
1940 
1941 float TextColumn::GetSpaceAfter()
1942 {
1943     float result;
1944     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1945     return result;
1946 }
1947 
1948 void TextColumn::SetSpaceAfter(float newValue)
1949 {
1950     static BYTE parms[] =
1951         VTS_R4;
1952     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1953         newValue);
1954 }
1955 
1956 
1957 /////////////////////////////////////////////////////////////////////////////
1958 // Selection properties
1959 
1960 /////////////////////////////////////////////////////////////////////////////
1961 // Selection operations
1962 
1963 CString Selection::GetText()
1964 {
1965     CString result;
1966     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1967     return result;
1968 }
1969 
1970 void Selection::SetText(LPCTSTR lpszNewValue)
1971 {
1972     static BYTE parms[] =
1973         VTS_BSTR;
1974     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1975         lpszNewValue);
1976 }
1977 
1978 LPDISPATCH Selection::GetFormattedText()
1979 {
1980     LPDISPATCH result;
1981     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1982     return result;
1983 }
1984 
1985 void Selection::SetFormattedText(LPDISPATCH newValue)
1986 {
1987     static BYTE parms[] =
1988         VTS_DISPATCH;
1989     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1990         newValue);
1991 }
1992 
1993 long Selection::GetStart()
1994 {
1995     long result;
1996     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1997     return result;
1998 }
1999 
2000 void Selection::SetStart(long nNewValue)
2001 {
2002     static BYTE parms[] =
2003         VTS_I4;
2004     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2005         nNewValue);
2006 }
2007 
2008 long Selection::GetEnd()
2009 {
2010     long result;
2011     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2012     return result;
2013 }
2014 
2015 void Selection::SetEnd(long nNewValue)
2016 {
2017     static BYTE parms[] =
2018         VTS_I4;
2019     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2020         nNewValue);
2021 }
2022 
2023 LPDISPATCH Selection::GetFont()
2024 {
2025     LPDISPATCH result;
2026     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2027     return result;
2028 }
2029 
2030 void Selection::SetFont(LPDISPATCH newValue)
2031 {
2032     static BYTE parms[] =
2033         VTS_DISPATCH;
2034     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2035         newValue);
2036 }
2037 
2038 long Selection::GetType()
2039 {
2040     long result;
2041     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2042     return result;
2043 }
2044 
2045 long Selection::GetStoryType()
2046 {
2047     long result;
2048     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2049     return result;
2050 }
2051 
2052 VARIANT Selection::GetStyle()
2053 {
2054     VARIANT result;
2055     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
2056     return result;
2057 }
2058 
2059 void Selection::SetStyle(VARIANT* newValue)
2060 {
2061     static BYTE parms[] =
2062         VTS_PVARIANT;
2063     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2064         newValue);
2065 }
2066 
2067 LPDISPATCH Selection::GetTables()
2068 {
2069     LPDISPATCH result;
2070     InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2071     return result;
2072 }
2073 
2074 LPDISPATCH Selection::GetWords()
2075 {
2076     LPDISPATCH result;
2077     InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2078     return result;
2079 }
2080 
2081 LPDISPATCH Selection::GetSentences()
2082 {
2083     LPDISPATCH result;
2084     InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2085     return result;
2086 }
2087 
2088 LPDISPATCH Selection::GetCharacters()
2089 {
2090     LPDISPATCH result;
2091     InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2092     return result;
2093 }
2094 
2095 LPDISPATCH Selection::GetFootnotes()
2096 {
2097     LPDISPATCH result;
2098     InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2099     return result;
2100 }
2101 
2102 LPDISPATCH Selection::GetEndnotes()
2103 {
2104     LPDISPATCH result;
2105     InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2106     return result;
2107 }
2108 
2109 LPDISPATCH Selection::GetComments()
2110 {
2111     LPDISPATCH result;
2112     InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2113     return result;
2114 }
2115 
2116 LPDISPATCH Selection::GetCells()
2117 {
2118     LPDISPATCH result;
2119     InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2120     return result;
2121 }
2122 
2123 LPDISPATCH Selection::GetSections()
2124 {
2125     LPDISPATCH result;
2126     InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2127     return result;
2128 }
2129 
2130 LPDISPATCH Selection::GetParagraphs()
2131 {
2132     LPDISPATCH result;
2133     InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2134     return result;
2135 }
2136 
2137 LPDISPATCH Selection::GetBorders()
2138 {
2139     LPDISPATCH result;
2140     InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2141     return result;
2142 }
2143 
2144 void Selection::SetBorders(LPDISPATCH newValue)
2145 {
2146     static BYTE parms[] =
2147         VTS_DISPATCH;
2148     InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2149         newValue);
2150 }
2151 
2152 LPDISPATCH Selection::GetShading()
2153 {
2154     LPDISPATCH result;
2155     InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2156     return result;
2157 }
2158 
2159 LPDISPATCH Selection::GetFields()
2160 {
2161     LPDISPATCH result;
2162     InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2163     return result;
2164 }
2165 
2166 LPDISPATCH Selection::GetFormFields()
2167 {
2168     LPDISPATCH result;
2169     InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2170     return result;
2171 }
2172 
2173 LPDISPATCH Selection::GetFrames()
2174 {
2175     LPDISPATCH result;
2176     InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2177     return result;
2178 }
2179 
2180 LPDISPATCH Selection::GetParagraphFormat()
2181 {
2182     LPDISPATCH result;
2183     InvokeHelper(0x44e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2184     return result;
2185 }
2186 
2187 void Selection::SetParagraphFormat(LPDISPATCH newValue)
2188 {
2189     static BYTE parms[] =
2190         VTS_DISPATCH;
2191     InvokeHelper(0x44e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2192         newValue);
2193 }
2194 
2195 LPDISPATCH Selection::GetPageSetup()
2196 {
2197     LPDISPATCH result;
2198     InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2199     return result;
2200 }
2201 
2202 void Selection::SetPageSetup(LPDISPATCH newValue)
2203 {
2204     static BYTE parms[] =
2205         VTS_DISPATCH;
2206     InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2207         newValue);
2208 }
2209 
2210 LPDISPATCH Selection::GetBookmarks()
2211 {
2212     LPDISPATCH result;
2213     InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2214     return result;
2215 }
2216 
2217 long Selection::GetStoryLength()
2218 {
2219     long result;
2220     InvokeHelper(0x98, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2221     return result;
2222 }
2223 
2224 long Selection::GetLanguageID()
2225 {
2226     long result;
2227     InvokeHelper(0x99, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2228     return result;
2229 }
2230 
2231 void Selection::SetLanguageID(long nNewValue)
2232 {
2233     static BYTE parms[] =
2234         VTS_I4;
2235     InvokeHelper(0x99, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2236         nNewValue);
2237 }
2238 
2239 long Selection::GetLanguageIDFarEast()
2240 {
2241     long result;
2242     InvokeHelper(0x9a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2243     return result;
2244 }
2245 
2246 void Selection::SetLanguageIDFarEast(long nNewValue)
2247 {
2248     static BYTE parms[] =
2249         VTS_I4;
2250     InvokeHelper(0x9a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2251         nNewValue);
2252 }
2253 
2254 long Selection::GetLanguageIDOther()
2255 {
2256     long result;
2257     InvokeHelper(0x9b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2258     return result;
2259 }
2260 
2261 void Selection::SetLanguageIDOther(long nNewValue)
2262 {
2263     static BYTE parms[] =
2264         VTS_I4;
2265     InvokeHelper(0x9b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2266         nNewValue);
2267 }
2268 
2269 LPDISPATCH Selection::GetHyperlinks()
2270 {
2271     LPDISPATCH result;
2272     InvokeHelper(0x9c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2273     return result;
2274 }
2275 
2276 LPDISPATCH Selection::GetColumns()
2277 {
2278     LPDISPATCH result;
2279     InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2280     return result;
2281 }
2282 
2283 LPDISPATCH Selection::GetRows()
2284 {
2285     LPDISPATCH result;
2286     InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2287     return result;
2288 }
2289 
2290 LPDISPATCH Selection::GetHeaderFooter()
2291 {
2292     LPDISPATCH result;
2293     InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2294     return result;
2295 }
2296 
2297 BOOL Selection::GetIsEndOfRowMark()
2298 {
2299     BOOL result;
2300     InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2301     return result;
2302 }
2303 
2304 long Selection::GetBookmarkID()
2305 {
2306     long result;
2307     InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2308     return result;
2309 }
2310 
2311 long Selection::GetPreviousBookmarkID()
2312 {
2313     long result;
2314     InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2315     return result;
2316 }
2317 
2318 LPDISPATCH Selection::GetFind()
2319 {
2320     LPDISPATCH result;
2321     InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2322     return result;
2323 }
2324 
2325 LPDISPATCH Selection::GetRange()
2326 {
2327     LPDISPATCH result;
2328     InvokeHelper(0x190, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2329     return result;
2330 }
2331 
2332 VARIANT Selection::GetInformation(long Type)
2333 {
2334     VARIANT result;
2335     static BYTE parms[] =
2336         VTS_I4;
2337     InvokeHelper(0x191, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
2338         Type);
2339     return result;
2340 }
2341 
2342 long Selection::GetFlags()
2343 {
2344     long result;
2345     InvokeHelper(0x192, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2346     return result;
2347 }
2348 
2349 void Selection::SetFlags(long nNewValue)
2350 {
2351     static BYTE parms[] =
2352         VTS_I4;
2353     InvokeHelper(0x192, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2354         nNewValue);
2355 }
2356 
2357 BOOL Selection::GetActive()
2358 {
2359     BOOL result;
2360     InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2361     return result;
2362 }
2363 
2364 BOOL Selection::GetStartIsActive()
2365 {
2366     BOOL result;
2367     InvokeHelper(0x194, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2368     return result;
2369 }
2370 
2371 void Selection::SetStartIsActive(BOOL bNewValue)
2372 {
2373     static BYTE parms[] =
2374         VTS_BOOL;
2375     InvokeHelper(0x194, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2376         bNewValue);
2377 }
2378 
2379 BOOL Selection::GetIPAtEndOfLine()
2380 {
2381     BOOL result;
2382     InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2383     return result;
2384 }
2385 
2386 BOOL Selection::GetExtendMode()
2387 {
2388     BOOL result;
2389     InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2390     return result;
2391 }
2392 
2393 void Selection::SetExtendMode(BOOL bNewValue)
2394 {
2395     static BYTE parms[] =
2396         VTS_BOOL;
2397     InvokeHelper(0x196, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2398         bNewValue);
2399 }
2400 
2401 BOOL Selection::GetColumnSelectMode()
2402 {
2403     BOOL result;
2404     InvokeHelper(0x197, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2405     return result;
2406 }
2407 
2408 void Selection::SetColumnSelectMode(BOOL bNewValue)
2409 {
2410     static BYTE parms[] =
2411         VTS_BOOL;
2412     InvokeHelper(0x197, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2413         bNewValue);
2414 }
2415 
2416 long Selection::GetOrientation()
2417 {
2418     long result;
2419     InvokeHelper(0x19a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2420     return result;
2421 }
2422 
2423 void Selection::SetOrientation(long nNewValue)
2424 {
2425     static BYTE parms[] =
2426         VTS_I4;
2427     InvokeHelper(0x19a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2428         nNewValue);
2429 }
2430 
2431 LPDISPATCH Selection::GetInlineShapes()
2432 {
2433     LPDISPATCH result;
2434     InvokeHelper(0x19b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2435     return result;
2436 }
2437 
2438 LPDISPATCH Selection::GetApplication()
2439 {
2440     LPDISPATCH result;
2441     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2442     return result;
2443 }
2444 
2445 long Selection::GetCreator()
2446 {
2447     long result;
2448     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2449     return result;
2450 }
2451 
2452 LPDISPATCH Selection::GetParent()
2453 {
2454     LPDISPATCH result;
2455     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2456     return result;
2457 }
2458 
2459 LPDISPATCH Selection::GetDocument()
2460 {
2461     LPDISPATCH result;
2462     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2463     return result;
2464 }
2465 
2466 LPDISPATCH Selection::GetShapeRange()
2467 {
2468     LPDISPATCH result;
2469     InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2470     return result;
2471 }
2472 
2473 void Selection::Select()
2474 {
2475     InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2476 }
2477 
2478 void Selection::SetRange(long Start, long End)
2479 {
2480     static BYTE parms[] =
2481         VTS_I4 VTS_I4;
2482     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2483         Start, End);
2484 }
2485 
2486 void Selection::Collapse(VARIANT* Direction)
2487 {
2488     static BYTE parms[] =
2489         VTS_PVARIANT;
2490     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2491         Direction);
2492 }
2493 
2494 void Selection::InsertBefore(LPCTSTR Text)
2495 {
2496     static BYTE parms[] =
2497         VTS_BSTR;
2498     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2499         Text);
2500 }
2501 
2502 void Selection::InsertAfter(LPCTSTR Text)
2503 {
2504     static BYTE parms[] =
2505         VTS_BSTR;
2506     InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2507         Text);
2508 }
2509 
2510 LPDISPATCH Selection::Next(VARIANT* Unit, VARIANT* Count)
2511 {
2512     LPDISPATCH result;
2513     static BYTE parms[] =
2514         VTS_PVARIANT VTS_PVARIANT;
2515     InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2516         Unit, Count);
2517     return result;
2518 }
2519 
2520 LPDISPATCH Selection::Previous(VARIANT* Unit, VARIANT* Count)
2521 {
2522     LPDISPATCH result;
2523     static BYTE parms[] =
2524         VTS_PVARIANT VTS_PVARIANT;
2525     InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2526         Unit, Count);
2527     return result;
2528 }
2529 
2530 long Selection::StartOf(VARIANT* Unit, VARIANT* Extend)
2531 {
2532     long result;
2533     static BYTE parms[] =
2534         VTS_PVARIANT VTS_PVARIANT;
2535     InvokeHelper(0x6b, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2536         Unit, Extend);
2537     return result;
2538 }
2539 
2540 long Selection::EndOf(VARIANT* Unit, VARIANT* Extend)
2541 {
2542     long result;
2543     static BYTE parms[] =
2544         VTS_PVARIANT VTS_PVARIANT;
2545     InvokeHelper(0x6c, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2546         Unit, Extend);
2547     return result;
2548 }
2549 
2550 long Selection::Move(VARIANT* Unit, VARIANT* Count)
2551 {
2552     long result;
2553     static BYTE parms[] =
2554         VTS_PVARIANT VTS_PVARIANT;
2555     InvokeHelper(0x6d, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2556         Unit, Count);
2557     return result;
2558 }
2559 
2560 long Selection::MoveStart(VARIANT* Unit, VARIANT* Count)
2561 {
2562     long result;
2563     static BYTE parms[] =
2564         VTS_PVARIANT VTS_PVARIANT;
2565     InvokeHelper(0x6e, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2566         Unit, Count);
2567     return result;
2568 }
2569 
2570 long Selection::MoveEnd(VARIANT* Unit, VARIANT* Count)
2571 {
2572     long result;
2573     static BYTE parms[] =
2574         VTS_PVARIANT VTS_PVARIANT;
2575     InvokeHelper(0x6f, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2576         Unit, Count);
2577     return result;
2578 }
2579 
2580 long Selection::MoveWhile(VARIANT* Cset, VARIANT* Count)
2581 {
2582     long result;
2583     static BYTE parms[] =
2584         VTS_PVARIANT VTS_PVARIANT;
2585     InvokeHelper(0x70, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2586         Cset, Count);
2587     return result;
2588 }
2589 
2590 long Selection::MoveStartWhile(VARIANT* Cset, VARIANT* Count)
2591 {
2592     long result;
2593     static BYTE parms[] =
2594         VTS_PVARIANT VTS_PVARIANT;
2595     InvokeHelper(0x71, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2596         Cset, Count);
2597     return result;
2598 }
2599 
2600 long Selection::MoveEndWhile(VARIANT* Cset, VARIANT* Count)
2601 {
2602     long result;
2603     static BYTE parms[] =
2604         VTS_PVARIANT VTS_PVARIANT;
2605     InvokeHelper(0x72, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2606         Cset, Count);
2607     return result;
2608 }
2609 
2610 long Selection::MoveUntil(VARIANT* Cset, VARIANT* Count)
2611 {
2612     long result;
2613     static BYTE parms[] =
2614         VTS_PVARIANT VTS_PVARIANT;
2615     InvokeHelper(0x73, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2616         Cset, Count);
2617     return result;
2618 }
2619 
2620 long Selection::MoveStartUntil(VARIANT* Cset, VARIANT* Count)
2621 {
2622     long result;
2623     static BYTE parms[] =
2624         VTS_PVARIANT VTS_PVARIANT;
2625     InvokeHelper(0x74, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2626         Cset, Count);
2627     return result;
2628 }
2629 
2630 long Selection::MoveEndUntil(VARIANT* Cset, VARIANT* Count)
2631 {
2632     long result;
2633     static BYTE parms[] =
2634         VTS_PVARIANT VTS_PVARIANT;
2635     InvokeHelper(0x75, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2636         Cset, Count);
2637     return result;
2638 }
2639 
2640 void Selection::Cut()
2641 {
2642     InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2643 }
2644 
2645 void Selection::Copy()
2646 {
2647     InvokeHelper(0x78, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2648 }
2649 
2650 void Selection::Paste()
2651 {
2652     InvokeHelper(0x79, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2653 }
2654 
2655 void Selection::InsertBreak(VARIANT* Type)
2656 {
2657     static BYTE parms[] =
2658         VTS_PVARIANT;
2659     InvokeHelper(0x7a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2660         Type);
2661 }
2662 
2663 void Selection::InsertFile(LPCTSTR FileName, VARIANT* Range, VARIANT* ConfirmConversions, VARIANT* Link, VARIANT* Attachment)
2664 {
2665     static BYTE parms[] =
2666         VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2667     InvokeHelper(0x7b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2668         FileName, Range, ConfirmConversions, Link, Attachment);
2669 }
2670 
2671 BOOL Selection::InStory(LPDISPATCH Range)
2672 {
2673     BOOL result;
2674     static BYTE parms[] =
2675         VTS_DISPATCH;
2676     InvokeHelper(0x7d, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
2677         Range);
2678     return result;
2679 }
2680 
2681 BOOL Selection::InRange(LPDISPATCH Range)
2682 {
2683     BOOL result;
2684     static BYTE parms[] =
2685         VTS_DISPATCH;
2686     InvokeHelper(0x7e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
2687         Range);
2688     return result;
2689 }
2690 
2691 long Selection::Delete(VARIANT* Unit, VARIANT* Count)
2692 {
2693     long result;
2694     static BYTE parms[] =
2695         VTS_PVARIANT VTS_PVARIANT;
2696     InvokeHelper(0x7f, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2697         Unit, Count);
2698     return result;
2699 }
2700 
2701 long Selection::Expand(VARIANT* Unit)
2702 {
2703     long result;
2704     static BYTE parms[] =
2705         VTS_PVARIANT;
2706     InvokeHelper(0x81, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2707         Unit);
2708     return result;
2709 }
2710 
2711 void Selection::InsertParagraph()
2712 {
2713     InvokeHelper(0xa0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2714 }
2715 
2716 void Selection::InsertParagraphAfter()
2717 {
2718     InvokeHelper(0xa1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2719 }
2720 
2721 void Selection::InsertSymbol(long CharacterNumber, VARIANT* Font, VARIANT* Unicode, VARIANT* Bias)
2722 {
2723     static BYTE parms[] =
2724         VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2725     InvokeHelper(0xa4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2726         CharacterNumber, Font, Unicode, Bias);
2727 }
2728 
2729 void Selection::CopyAsPicture()
2730 {
2731     InvokeHelper(0xa7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2732 }
2733 
2734 void Selection::SortAscending()
2735 {
2736     InvokeHelper(0xa9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2737 }
2738 
2739 void Selection::SortDescending()
2740 {
2741     InvokeHelper(0xaa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2742 }
2743 
2744 BOOL Selection::IsEqual(LPDISPATCH Range)
2745 {
2746     BOOL result;
2747     static BYTE parms[] =
2748         VTS_DISPATCH;
2749     InvokeHelper(0xab, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
2750         Range);
2751     return result;
2752 }
2753 
2754 float Selection::Calculate()
2755 {
2756     float result;
2757     InvokeHelper(0xac, DISPATCH_METHOD, VT_R4, (void*)&result, NULL);
2758     return result;
2759 }
2760 
2761 LPDISPATCH Selection::GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name)
2762 {
2763     LPDISPATCH result;
2764     static BYTE parms[] =
2765         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2766     InvokeHelper(0xad, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2767         What, Which, Count, Name);
2768     return result;
2769 }
2770 
2771 LPDISPATCH Selection::GoToNext(long What)
2772 {
2773     LPDISPATCH result;
2774     static BYTE parms[] =
2775         VTS_I4;
2776     InvokeHelper(0xae, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2777         What);
2778     return result;
2779 }
2780 
2781 LPDISPATCH Selection::GoToPrevious(long What)
2782 {
2783     LPDISPATCH result;
2784     static BYTE parms[] =
2785         VTS_I4;
2786     InvokeHelper(0xaf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2787         What);
2788     return result;
2789 }
2790 
2791 void Selection::PasteSpecial(VARIANT* IconIndex, VARIANT* Link, VARIANT* Placement, VARIANT* DisplayAsIcon, VARIANT* DataType, VARIANT* IconFileName, VARIANT* IconLabel)
2792 {
2793     static BYTE parms[] =
2794         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2795     InvokeHelper(0xb0, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2796         IconIndex, Link, Placement, DisplayAsIcon, DataType, IconFileName, IconLabel);
2797 }
2798 
2799 LPDISPATCH Selection::PreviousField()
2800 {
2801     LPDISPATCH result;
2802     InvokeHelper(0xb1, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2803     return result;
2804 }
2805 
2806 LPDISPATCH Selection::NextField()
2807 {
2808     LPDISPATCH result;
2809     InvokeHelper(0xb2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2810     return result;
2811 }
2812 
2813 void Selection::InsertParagraphBefore()
2814 {
2815     InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2816 }
2817 
2818 void Selection::InsertCells(VARIANT* ShiftCells)
2819 {
2820     static BYTE parms[] =
2821         VTS_PVARIANT;
2822     InvokeHelper(0xd6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2823         ShiftCells);
2824 }
2825 
2826 void Selection::Extend(VARIANT* Character)
2827 {
2828     static BYTE parms[] =
2829         VTS_PVARIANT;
2830     InvokeHelper(0x12c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2831         Character);
2832 }
2833 
2834 void Selection::Shrink()
2835 {
2836     InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2837 }
2838 
2839 long Selection::MoveLeft(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
2840 {
2841     long result;
2842     static BYTE parms[] =
2843         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2844     InvokeHelper(0x1f4, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2845         Unit, Count, Extend);
2846     return result;
2847 }
2848 
2849 long Selection::MoveRight(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
2850 {
2851     long result;
2852     static BYTE parms[] =
2853         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2854     InvokeHelper(0x1f5, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2855         Unit, Count, Extend);
2856     return result;
2857 }
2858 
2859 long Selection::MoveUp(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
2860 {
2861     long result;
2862     static BYTE parms[] =
2863         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2864     InvokeHelper(0x1f6, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2865         Unit, Count, Extend);
2866     return result;
2867 }
2868 
2869 long Selection::MoveDown(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
2870 {
2871     long result;
2872     static BYTE parms[] =
2873         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2874     InvokeHelper(0x1f7, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2875         Unit, Count, Extend);
2876     return result;
2877 }
2878 
2879 long Selection::HomeKey(VARIANT* Unit, VARIANT* Extend)
2880 {
2881     long result;
2882     static BYTE parms[] =
2883         VTS_PVARIANT VTS_PVARIANT;
2884     InvokeHelper(0x1f8, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2885         Unit, Extend);
2886     return result;
2887 }
2888 
2889 long Selection::EndKey(VARIANT* Unit, VARIANT* Extend)
2890 {
2891     long result;
2892     static BYTE parms[] =
2893         VTS_PVARIANT VTS_PVARIANT;
2894     InvokeHelper(0x1f9, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
2895         Unit, Extend);
2896     return result;
2897 }
2898 
2899 void Selection::EscapeKey()
2900 {
2901     InvokeHelper(0x1fa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2902 }
2903 
2904 void Selection::TypeText(LPCTSTR Text)
2905 {
2906     static BYTE parms[] =
2907         VTS_BSTR;
2908     InvokeHelper(0x1fb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2909         Text);
2910 }
2911 
2912 void Selection::CopyFormat()
2913 {
2914     InvokeHelper(0x1fd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2915 }
2916 
2917 void Selection::PasteFormat()
2918 {
2919     InvokeHelper(0x1fe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2920 }
2921 
2922 void Selection::TypeParagraph()
2923 {
2924     InvokeHelper(0x200, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2925 }
2926 
2927 void Selection::TypeBackspace()
2928 {
2929     InvokeHelper(0x201, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2930 }
2931 
2932 void Selection::NextSubdocument()
2933 {
2934     InvokeHelper(0x202, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2935 }
2936 
2937 void Selection::PreviousSubdocument()
2938 {
2939     InvokeHelper(0x203, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2940 }
2941 
2942 void Selection::SelectColumn()
2943 {
2944     InvokeHelper(0x204, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2945 }
2946 
2947 void Selection::SelectCurrentFont()
2948 {
2949     InvokeHelper(0x205, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2950 }
2951 
2952 void Selection::SelectCurrentAlignment()
2953 {
2954     InvokeHelper(0x206, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2955 }
2956 
2957 void Selection::SelectCurrentSpacing()
2958 {
2959     InvokeHelper(0x207, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2960 }
2961 
2962 void Selection::SelectCurrentIndent()
2963 {
2964     InvokeHelper(0x208, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2965 }
2966 
2967 void Selection::SelectCurrentTabs()
2968 {
2969     InvokeHelper(0x209, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2970 }
2971 
2972 void Selection::SelectCurrentColor()
2973 {
2974     InvokeHelper(0x20a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2975 }
2976 
2977 void Selection::CreateTextbox()
2978 {
2979     InvokeHelper(0x20b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2980 }
2981 
2982 void Selection::WholeStory()
2983 {
2984     InvokeHelper(0x20c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2985 }
2986 
2987 void Selection::SelectRow()
2988 {
2989     InvokeHelper(0x20d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2990 }
2991 
2992 void Selection::SplitTable()
2993 {
2994     InvokeHelper(0x20e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2995 }
2996 
2997 void Selection::InsertRows(VARIANT* NumRows)
2998 {
2999     static BYTE parms[] =
3000         VTS_PVARIANT;
3001     InvokeHelper(0x210, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3002         NumRows);
3003 }
3004 
3005 void Selection::InsertColumns()
3006 {
3007     InvokeHelper(0x211, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3008 }
3009 
3010 void Selection::InsertFormula(VARIANT* Formula, VARIANT* NumberFormat)
3011 {
3012     static BYTE parms[] =
3013         VTS_PVARIANT VTS_PVARIANT;
3014     InvokeHelper(0x212, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3015         Formula, NumberFormat);
3016 }
3017 
3018 LPDISPATCH Selection::NextRevision(VARIANT* Wrap)
3019 {
3020     LPDISPATCH result;
3021     static BYTE parms[] =
3022         VTS_PVARIANT;
3023     InvokeHelper(0x213, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3024         Wrap);
3025     return result;
3026 }
3027 
3028 LPDISPATCH Selection::PreviousRevision(VARIANT* Wrap)
3029 {
3030     LPDISPATCH result;
3031     static BYTE parms[] =
3032         VTS_PVARIANT;
3033     InvokeHelper(0x214, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3034         Wrap);
3035     return result;
3036 }
3037 
3038 void Selection::PasteAsNestedTable()
3039 {
3040     InvokeHelper(0x215, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3041 }
3042 
3043 LPDISPATCH Selection::CreateAutoTextEntry(LPCTSTR Name, LPCTSTR StyleName)
3044 {
3045     LPDISPATCH result;
3046     static BYTE parms[] =
3047         VTS_BSTR VTS_BSTR;
3048     InvokeHelper(0x216, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3049         Name, StyleName);
3050     return result;
3051 }
3052 
3053 void Selection::DetectLanguage()
3054 {
3055     InvokeHelper(0x217, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3056 }
3057 
3058 void Selection::SelectCell()
3059 {
3060     InvokeHelper(0x218, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3061 }
3062 
3063 void Selection::InsertRowsBelow(VARIANT* NumRows)
3064 {
3065     static BYTE parms[] =
3066         VTS_PVARIANT;
3067     InvokeHelper(0x219, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3068         NumRows);
3069 }
3070 
3071 void Selection::InsertColumnsRight()
3072 {
3073     InvokeHelper(0x21a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3074 }
3075 
3076 void Selection::InsertRowsAbove(VARIANT* NumRows)
3077 {
3078     static BYTE parms[] =
3079         VTS_PVARIANT;
3080     InvokeHelper(0x21b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3081         NumRows);
3082 }
3083 
3084 void Selection::RtlRun()
3085 {
3086     InvokeHelper(0x258, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3087 }
3088 
3089 void Selection::LtrRun()
3090 {
3091     InvokeHelper(0x259, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3092 }
3093 
3094 void Selection::BoldRun()
3095 {
3096     InvokeHelper(0x25a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3097 }
3098 
3099 void Selection::ItalicRun()
3100 {
3101     InvokeHelper(0x25b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3102 }
3103 
3104 void Selection::RtlPara()
3105 {
3106     InvokeHelper(0x25d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3107 }
3108 
3109 void Selection::LtrPara()
3110 {
3111     InvokeHelper(0x25e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3112 }
3113 
3114 void Selection::InsertDateTime(VARIANT* DateTimeFormat, VARIANT* InsertAsField, VARIANT* InsertAsFullWidth, VARIANT* DateLanguage, VARIANT* CalendarType)
3115 {
3116     static BYTE parms[] =
3117         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3118     InvokeHelper(0x1bc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3119         DateTimeFormat, InsertAsField, InsertAsFullWidth, DateLanguage, CalendarType);
3120 }
3121 
3122 LPDISPATCH Selection::ConvertToTable(VARIANT* Separator, VARIANT* NumRows, VARIANT* NumColumns, VARIANT* InitialColumnWidth, VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor,
3123     VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit, VARIANT* AutoFitBehavior, VARIANT* DefaultTableBehavior)
3124 {
3125     LPDISPATCH result;
3126     static BYTE parms[] =
3127         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3128     InvokeHelper(0x1c9, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3129         Separator, NumRows, NumColumns, InitialColumnWidth, Format, ApplyBorders, ApplyShading, ApplyFont, ApplyColor, ApplyHeadingRows, ApplyLastRow, ApplyFirstColumn, ApplyLastColumn, AutoFit, AutoFitBehavior, DefaultTableBehavior);
3130     return result;
3131 }
3132 
3133 long Selection::GetNoProofing()
3134 {
3135     long result;
3136     InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3137     return result;
3138 }
3139 
3140 void Selection::SetNoProofing(long nNewValue)
3141 {
3142     static BYTE parms[] =
3143         VTS_I4;
3144     InvokeHelper(0x3ed, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3145         nNewValue);
3146 }
3147 
3148 LPDISPATCH Selection::GetTopLevelTables()
3149 {
3150     LPDISPATCH result;
3151     InvokeHelper(0x3ee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3152     return result;
3153 }
3154 
3155 BOOL Selection::GetLanguageDetected()
3156 {
3157     BOOL result;
3158     InvokeHelper(0x3ef, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3159     return result;
3160 }
3161 
3162 void Selection::SetLanguageDetected(BOOL bNewValue)
3163 {
3164     static BYTE parms[] =
3165         VTS_BOOL;
3166     InvokeHelper(0x3ef, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3167         bNewValue);
3168 }
3169 
3170 float Selection::GetFitTextWidth()
3171 {
3172     float result;
3173     InvokeHelper(0x3f0, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3174     return result;
3175 }
3176 
3177 void Selection::SetFitTextWidth(float newValue)
3178 {
3179     static BYTE parms[] =
3180         VTS_R4;
3181     InvokeHelper(0x3f0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3182         newValue);
3183 }
3184 
3185 void Selection::ClearFormatting()
3186 {
3187     InvokeHelper(0x3f1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3188 }
3189 
3190 void Selection::PasteAppendTable()
3191 {
3192     InvokeHelper(0x3f2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3193 }
3194 
3195 LPDISPATCH Selection::GetHTMLDivisions()
3196 {
3197     LPDISPATCH result;
3198     InvokeHelper(0x3f3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3199     return result;
3200 }
3201 
3202 LPDISPATCH Selection::GetSmartTags()
3203 {
3204     LPDISPATCH result;
3205     InvokeHelper(0x3f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3206     return result;
3207 }
3208 
3209 LPDISPATCH Selection::GetChildShapeRange()
3210 {
3211     LPDISPATCH result;
3212     InvokeHelper(0x3fd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3213     return result;
3214 }
3215 
3216 BOOL Selection::GetHasChildShapeRange()
3217 {
3218     BOOL result;
3219     InvokeHelper(0x3fe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3220     return result;
3221 }
3222 
3223 LPDISPATCH Selection::GetFootnoteOptions()
3224 {
3225     LPDISPATCH result;
3226     InvokeHelper(0x400, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3227     return result;
3228 }
3229 
3230 LPDISPATCH Selection::GetEndnoteOptions()
3231 {
3232     LPDISPATCH result;
3233     InvokeHelper(0x401, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3234     return result;
3235 }
3236 
3237 void Selection::ToggleCharacterCode()
3238 {
3239     InvokeHelper(0x3f4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3240 }
3241 
3242 void Selection::PasteAndFormat(long Type)
3243 {
3244     static BYTE parms[] =
3245         VTS_I4;
3246     InvokeHelper(0x3f5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3247         Type);
3248 }
3249 
3250 void Selection::PasteExcelTable(BOOL LinkedToExcel, BOOL WordFormatting, BOOL RTF)
3251 {
3252     static BYTE parms[] =
3253         VTS_BOOL VTS_BOOL VTS_BOOL;
3254     InvokeHelper(0x3f6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3255         LinkedToExcel, WordFormatting, RTF);
3256 }
3257 
3258 void Selection::ShrinkDiscontiguousSelection()
3259 {
3260     InvokeHelper(0x3fb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3261 }
3262 
3263 void Selection::InsertStyleSeparator()
3264 {
3265     InvokeHelper(0x3fc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3266 }
3267 
3268 void Selection::Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3,
3269     VARIANT* SortColumn, VARIANT* Separator, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID, VARIANT* SubFieldNumber,
3270     VARIANT* SubFieldNumber2, VARIANT* SubFieldNumber3)
3271 {
3272     static BYTE parms[] =
3273         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
3274         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3275     InvokeHelper(0x3ff, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3276         ExcludeHeader, FieldNumber, SortFieldType, SortOrder, FieldNumber2, SortFieldType2, SortOrder2, FieldNumber3, SortFieldType3, SortOrder3, SortColumn, Separator, CaseSensitive, BidiSort, IgnoreThe, IgnoreKashida, IgnoreDiacritics,
3277         IgnoreHe, LanguageID, SubFieldNumber, SubFieldNumber2, SubFieldNumber3);
3278 }
3279 
3280 LPDISPATCH Selection::GetXMLNodes()
3281 {
3282     LPDISPATCH result;
3283     InvokeHelper(0x136, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3284     return result;
3285 }
3286 
3287 LPDISPATCH Selection::GetXMLParentNode()
3288 {
3289     LPDISPATCH result;
3290     InvokeHelper(0x137, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3291     return result;
3292 }
3293 
3294 LPDISPATCH Selection::GetEditors()
3295 {
3296     LPDISPATCH result;
3297     InvokeHelper(0x139, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3298     return result;
3299 }
3300 
3301 CString Selection::GetXml(BOOL DataOnly)
3302 {
3303     CString result;
3304     static BYTE parms[] =
3305         VTS_BOOL;
3306     InvokeHelper(0x13a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
3307         DataOnly);
3308     return result;
3309 }
3310 
3311 VARIANT Selection::GetEnhMetaFileBits()
3312 {
3313     VARIANT result;
3314     InvokeHelper(0x13b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
3315     return result;
3316 }
3317 
3318 LPDISPATCH Selection::GoToEditableRange(VARIANT* EditorID)
3319 {
3320     LPDISPATCH result;
3321     static BYTE parms[] =
3322         VTS_PVARIANT;
3323     InvokeHelper(0x403, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3324         EditorID);
3325     return result;
3326 }
3327 
3328 void Selection::InsertXML(LPCTSTR XML, VARIANT* Transform)
3329 {
3330     static BYTE parms[] =
3331         VTS_BSTR VTS_PVARIANT;
3332     InvokeHelper(0x404, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3333         XML, Transform);
3334 }
3335 
3336 void Selection::InsertCaption(VARIANT* Label, VARIANT* Title, VARIANT* TitleAutoText, VARIANT* Position, VARIANT* ExcludeLabel)
3337 {
3338     static BYTE parms[] =
3339         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3340     InvokeHelper(0x1a1, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3341         Label, Title, TitleAutoText, Position, ExcludeLabel);
3342 }
3343 
3344 void Selection::InsertCrossReference(VARIANT* ReferenceType, long ReferenceKind, VARIANT* ReferenceItem, VARIANT* InsertAsHyperlink, VARIANT* IncludePosition, VARIANT* SeparateNumbers, VARIANT* SeparatorString)
3345 {
3346     static BYTE parms[] =
3347         VTS_PVARIANT VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3348     InvokeHelper(0x1a2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3349         ReferenceType, ReferenceKind, ReferenceItem, InsertAsHyperlink, IncludePosition, SeparateNumbers, SeparatorString);
3350 }
3351 
3352 
3353 /////////////////////////////////////////////////////////////////////////////
3354 // TablesOfAuthoritiesCategories properties
3355 
3356 /////////////////////////////////////////////////////////////////////////////
3357 // TablesOfAuthoritiesCategories operations
3358 
3359 LPDISPATCH TablesOfAuthoritiesCategories::GetApplication()
3360 {
3361     LPDISPATCH result;
3362     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3363     return result;
3364 }
3365 
3366 long TablesOfAuthoritiesCategories::GetCreator()
3367 {
3368     long result;
3369     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3370     return result;
3371 }
3372 
3373 LPDISPATCH TablesOfAuthoritiesCategories::GetParent()
3374 {
3375     LPDISPATCH result;
3376     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3377     return result;
3378 }
3379 
3380 LPUNKNOWN TablesOfAuthoritiesCategories::Get_NewEnum()
3381 {
3382     LPUNKNOWN result;
3383     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3384     return result;
3385 }
3386 
3387 long TablesOfAuthoritiesCategories::GetCount()
3388 {
3389     long result;
3390     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3391     return result;
3392 }
3393 
3394 LPDISPATCH TablesOfAuthoritiesCategories::Item(VARIANT* Index)
3395 {
3396     LPDISPATCH result;
3397     static BYTE parms[] =
3398         VTS_PVARIANT;
3399     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3400         Index);
3401     return result;
3402 }
3403 
3404 
3405 /////////////////////////////////////////////////////////////////////////////
3406 // TableOfAuthoritiesCategory properties
3407 
3408 /////////////////////////////////////////////////////////////////////////////
3409 // TableOfAuthoritiesCategory operations
3410 
3411 LPDISPATCH TableOfAuthoritiesCategory::GetApplication()
3412 {
3413     LPDISPATCH result;
3414     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3415     return result;
3416 }
3417 
3418 long TableOfAuthoritiesCategory::GetCreator()
3419 {
3420     long result;
3421     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3422     return result;
3423 }
3424 
3425 LPDISPATCH TableOfAuthoritiesCategory::GetParent()
3426 {
3427     LPDISPATCH result;
3428     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3429     return result;
3430 }
3431 
3432 CString TableOfAuthoritiesCategory::GetName()
3433 {
3434     CString result;
3435     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3436     return result;
3437 }
3438 
3439 void TableOfAuthoritiesCategory::SetName(LPCTSTR lpszNewValue)
3440 {
3441     static BYTE parms[] =
3442         VTS_BSTR;
3443     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3444         lpszNewValue);
3445 }
3446 
3447 long TableOfAuthoritiesCategory::GetIndex()
3448 {
3449     long result;
3450     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3451     return result;
3452 }
3453 
3454 
3455 /////////////////////////////////////////////////////////////////////////////
3456 // CaptionLabels properties
3457 
3458 /////////////////////////////////////////////////////////////////////////////
3459 // CaptionLabels operations
3460 
3461 LPDISPATCH CaptionLabels::GetApplication()
3462 {
3463     LPDISPATCH result;
3464     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3465     return result;
3466 }
3467 
3468 long CaptionLabels::GetCreator()
3469 {
3470     long result;
3471     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3472     return result;
3473 }
3474 
3475 LPDISPATCH CaptionLabels::GetParent()
3476 {
3477     LPDISPATCH result;
3478     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3479     return result;
3480 }
3481 
3482 LPUNKNOWN CaptionLabels::Get_NewEnum()
3483 {
3484     LPUNKNOWN result;
3485     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3486     return result;
3487 }
3488 
3489 long CaptionLabels::GetCount()
3490 {
3491     long result;
3492     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3493     return result;
3494 }
3495 
3496 LPDISPATCH CaptionLabels::Item(VARIANT* Index)
3497 {
3498     LPDISPATCH result;
3499     static BYTE parms[] =
3500         VTS_PVARIANT;
3501     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3502         Index);
3503     return result;
3504 }
3505 
3506 LPDISPATCH CaptionLabels::Add(LPCTSTR Name)
3507 {
3508     LPDISPATCH result;
3509     static BYTE parms[] =
3510         VTS_BSTR;
3511     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3512         Name);
3513     return result;
3514 }
3515 
3516 
3517 /////////////////////////////////////////////////////////////////////////////
3518 // CaptionLabel properties
3519 
3520 /////////////////////////////////////////////////////////////////////////////
3521 // CaptionLabel operations
3522 
3523 LPDISPATCH CaptionLabel::GetApplication()
3524 {
3525     LPDISPATCH result;
3526     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3527     return result;
3528 }
3529 
3530 long CaptionLabel::GetCreator()
3531 {
3532     long result;
3533     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3534     return result;
3535 }
3536 
3537 LPDISPATCH CaptionLabel::GetParent()
3538 {
3539     LPDISPATCH result;
3540     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3541     return result;
3542 }
3543 
3544 CString CaptionLabel::GetName()
3545 {
3546     CString result;
3547     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3548     return result;
3549 }
3550 
3551 BOOL CaptionLabel::GetBuiltIn()
3552 {
3553     BOOL result;
3554     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3555     return result;
3556 }
3557 
3558 long CaptionLabel::GetId()
3559 {
3560     long result;
3561     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3562     return result;
3563 }
3564 
3565 BOOL CaptionLabel::GetIncludeChapterNumber()
3566 {
3567     BOOL result;
3568     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3569     return result;
3570 }
3571 
3572 void CaptionLabel::SetIncludeChapterNumber(BOOL bNewValue)
3573 {
3574     static BYTE parms[] =
3575         VTS_BOOL;
3576     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3577         bNewValue);
3578 }
3579 
3580 long CaptionLabel::GetNumberStyle()
3581 {
3582     long result;
3583     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3584     return result;
3585 }
3586 
3587 void CaptionLabel::SetNumberStyle(long nNewValue)
3588 {
3589     static BYTE parms[] =
3590         VTS_I4;
3591     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3592         nNewValue);
3593 }
3594 
3595 long CaptionLabel::GetChapterStyleLevel()
3596 {
3597     long result;
3598     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3599     return result;
3600 }
3601 
3602 void CaptionLabel::SetChapterStyleLevel(long nNewValue)
3603 {
3604     static BYTE parms[] =
3605         VTS_I4;
3606     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3607         nNewValue);
3608 }
3609 
3610 long CaptionLabel::GetSeparator()
3611 {
3612     long result;
3613     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3614     return result;
3615 }
3616 
3617 void CaptionLabel::SetSeparator(long nNewValue)
3618 {
3619     static BYTE parms[] =
3620         VTS_I4;
3621     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3622         nNewValue);
3623 }
3624 
3625 long CaptionLabel::GetPosition()
3626 {
3627     long result;
3628     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3629     return result;
3630 }
3631 
3632 void CaptionLabel::SetPosition(long nNewValue)
3633 {
3634     static BYTE parms[] =
3635         VTS_I4;
3636     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3637         nNewValue);
3638 }
3639 
3640 void CaptionLabel::Delete()
3641 {
3642     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3643 }
3644 
3645 
3646 /////////////////////////////////////////////////////////////////////////////
3647 // AutoCaptions properties
3648 
3649 /////////////////////////////////////////////////////////////////////////////
3650 // AutoCaptions operations
3651 
3652 LPDISPATCH AutoCaptions::GetApplication()
3653 {
3654     LPDISPATCH result;
3655     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3656     return result;
3657 }
3658 
3659 long AutoCaptions::GetCreator()
3660 {
3661     long result;
3662     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3663     return result;
3664 }
3665 
3666 LPDISPATCH AutoCaptions::GetParent()
3667 {
3668     LPDISPATCH result;
3669     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3670     return result;
3671 }
3672 
3673 LPUNKNOWN AutoCaptions::Get_NewEnum()
3674 {
3675     LPUNKNOWN result;
3676     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3677     return result;
3678 }
3679 
3680 long AutoCaptions::GetCount()
3681 {
3682     long result;
3683     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3684     return result;
3685 }
3686 
3687 LPDISPATCH AutoCaptions::Item(VARIANT* Index)
3688 {
3689     LPDISPATCH result;
3690     static BYTE parms[] =
3691         VTS_PVARIANT;
3692     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3693         Index);
3694     return result;
3695 }
3696 
3697 void AutoCaptions::CancelAutoInsert()
3698 {
3699     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3700 }
3701 
3702 
3703 /////////////////////////////////////////////////////////////////////////////
3704 // AutoCaption properties
3705 
3706 /////////////////////////////////////////////////////////////////////////////
3707 // AutoCaption operations
3708 
3709 LPDISPATCH AutoCaption::GetApplication()
3710 {
3711     LPDISPATCH result;
3712     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3713     return result;
3714 }
3715 
3716 long AutoCaption::GetCreator()
3717 {
3718     long result;
3719     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3720     return result;
3721 }
3722 
3723 LPDISPATCH AutoCaption::GetParent()
3724 {
3725     LPDISPATCH result;
3726     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3727     return result;
3728 }
3729 
3730 CString AutoCaption::GetName()
3731 {
3732     CString result;
3733     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3734     return result;
3735 }
3736 
3737 BOOL AutoCaption::GetAutoInsert()
3738 {
3739     BOOL result;
3740     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3741     return result;
3742 }
3743 
3744 void AutoCaption::SetAutoInsert(BOOL bNewValue)
3745 {
3746     static BYTE parms[] =
3747         VTS_BOOL;
3748     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3749         bNewValue);
3750 }
3751 
3752 long AutoCaption::GetIndex()
3753 {
3754     long result;
3755     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3756     return result;
3757 }
3758 
3759 VARIANT AutoCaption::GetCaptionLabel()
3760 {
3761     VARIANT result;
3762     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
3763     return result;
3764 }
3765 
3766 void AutoCaption::SetCaptionLabel(VARIANT* newValue)
3767 {
3768     static BYTE parms[] =
3769         VTS_PVARIANT;
3770     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3771         newValue);
3772 }
3773 
3774 
3775 /////////////////////////////////////////////////////////////////////////////
3776 // Indexes properties
3777 
3778 /////////////////////////////////////////////////////////////////////////////
3779 // Indexes operations
3780 
3781 LPDISPATCH Indexes::GetApplication()
3782 {
3783     LPDISPATCH result;
3784     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3785     return result;
3786 }
3787 
3788 long Indexes::GetCreator()
3789 {
3790     long result;
3791     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3792     return result;
3793 }
3794 
3795 LPDISPATCH Indexes::GetParent()
3796 {
3797     LPDISPATCH result;
3798     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3799     return result;
3800 }
3801 
3802 LPUNKNOWN Indexes::Get_NewEnum()
3803 {
3804     LPUNKNOWN result;
3805     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3806     return result;
3807 }
3808 
3809 long Indexes::GetCount()
3810 {
3811     long result;
3812     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3813     return result;
3814 }
3815 
3816 long Indexes::GetFormat()
3817 {
3818     long result;
3819     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3820     return result;
3821 }
3822 
3823 void Indexes::SetFormat(long nNewValue)
3824 {
3825     static BYTE parms[] =
3826         VTS_I4;
3827     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3828         nNewValue);
3829 }
3830 
3831 LPDISPATCH Indexes::Item(long Index)
3832 {
3833     LPDISPATCH result;
3834     static BYTE parms[] =
3835         VTS_I4;
3836     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3837         Index);
3838     return result;
3839 }
3840 
3841 LPDISPATCH Indexes::MarkEntry(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* CrossReference, VARIANT* CrossReferenceAutoText, VARIANT* BookmarkName, VARIANT* Bold, VARIANT* Italic, VARIANT* Reading)
3842 {
3843     LPDISPATCH result;
3844     static BYTE parms[] =
3845         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3846     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3847         Range, Entry, EntryAutoText, CrossReference, CrossReferenceAutoText, BookmarkName, Bold, Italic, Reading);
3848     return result;
3849 }
3850 
3851 void Indexes::MarkAllEntries(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* CrossReference, VARIANT* CrossReferenceAutoText, VARIANT* BookmarkName, VARIANT* Bold, VARIANT* Italic)
3852 {
3853     static BYTE parms[] =
3854         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3855     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3856         Range, Entry, EntryAutoText, CrossReference, CrossReferenceAutoText, BookmarkName, Bold, Italic);
3857 }
3858 
3859 void Indexes::AutoMarkEntries(LPCTSTR ConcordanceFileName)
3860 {
3861     static BYTE parms[] =
3862         VTS_BSTR;
3863     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3864         ConcordanceFileName);
3865 }
3866 
3867 LPDISPATCH Indexes::Add(LPDISPATCH Range, VARIANT* HeadingSeparator, VARIANT* RightAlignPageNumbers, VARIANT* Type, VARIANT* NumberOfColumns, VARIANT* AccentedLetters, VARIANT* SortBy, VARIANT* IndexLanguage)
3868 {
3869     LPDISPATCH result;
3870     static BYTE parms[] =
3871         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
3872     InvokeHelper(0x68, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3873         Range, HeadingSeparator, RightAlignPageNumbers, Type, NumberOfColumns, AccentedLetters, SortBy, IndexLanguage);
3874     return result;
3875 }
3876 
3877 
3878 /////////////////////////////////////////////////////////////////////////////
3879 // Index properties
3880 
3881 /////////////////////////////////////////////////////////////////////////////
3882 // Index operations
3883 
3884 LPDISPATCH Index::GetApplication()
3885 {
3886     LPDISPATCH result;
3887     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3888     return result;
3889 }
3890 
3891 long Index::GetCreator()
3892 {
3893     long result;
3894     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3895     return result;
3896 }
3897 
3898 LPDISPATCH Index::GetParent()
3899 {
3900     LPDISPATCH result;
3901     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3902     return result;
3903 }
3904 
3905 long Index::GetHeadingSeparator()
3906 {
3907     long result;
3908     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3909     return result;
3910 }
3911 
3912 void Index::SetHeadingSeparator(long nNewValue)
3913 {
3914     static BYTE parms[] =
3915         VTS_I4;
3916     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3917         nNewValue);
3918 }
3919 
3920 BOOL Index::GetRightAlignPageNumbers()
3921 {
3922     BOOL result;
3923     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3924     return result;
3925 }
3926 
3927 void Index::SetRightAlignPageNumbers(BOOL bNewValue)
3928 {
3929     static BYTE parms[] =
3930         VTS_BOOL;
3931     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3932         bNewValue);
3933 }
3934 
3935 long Index::GetType()
3936 {
3937     long result;
3938     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3939     return result;
3940 }
3941 
3942 void Index::SetType(long nNewValue)
3943 {
3944     static BYTE parms[] =
3945         VTS_I4;
3946     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3947         nNewValue);
3948 }
3949 
3950 long Index::GetNumberOfColumns()
3951 {
3952     long result;
3953     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3954     return result;
3955 }
3956 
3957 void Index::SetNumberOfColumns(long nNewValue)
3958 {
3959     static BYTE parms[] =
3960         VTS_I4;
3961     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3962         nNewValue);
3963 }
3964 
3965 LPDISPATCH Index::GetRange()
3966 {
3967     LPDISPATCH result;
3968     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3969     return result;
3970 }
3971 
3972 long Index::GetTabLeader()
3973 {
3974     long result;
3975     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3976     return result;
3977 }
3978 
3979 void Index::SetTabLeader(long nNewValue)
3980 {
3981     static BYTE parms[] =
3982         VTS_I4;
3983     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3984         nNewValue);
3985 }
3986 
3987 BOOL Index::GetAccentedLetters()
3988 {
3989     BOOL result;
3990     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3991     return result;
3992 }
3993 
3994 void Index::SetAccentedLetters(BOOL bNewValue)
3995 {
3996     static BYTE parms[] =
3997         VTS_BOOL;
3998     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3999         bNewValue);
4000 }
4001 
4002 long Index::GetSortBy()
4003 {
4004     long result;
4005     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4006     return result;
4007 }
4008 
4009 void Index::SetSortBy(long nNewValue)
4010 {
4011     static BYTE parms[] =
4012         VTS_I4;
4013     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4014         nNewValue);
4015 }
4016 
4017 long Index::GetFilter()
4018 {
4019     long result;
4020     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4021     return result;
4022 }
4023 
4024 void Index::SetFilter(long nNewValue)
4025 {
4026     static BYTE parms[] =
4027         VTS_I4;
4028     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4029         nNewValue);
4030 }
4031 
4032 void Index::Delete()
4033 {
4034     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4035 }
4036 
4037 void Index::Update()
4038 {
4039     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4040 }
4041 
4042 long Index::GetIndexLanguage()
4043 {
4044     long result;
4045     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4046     return result;
4047 }
4048 
4049 void Index::SetIndexLanguage(long nNewValue)
4050 {
4051     static BYTE parms[] =
4052         VTS_I4;
4053     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4054         nNewValue);
4055 }
4056 
4057 
4058 /////////////////////////////////////////////////////////////////////////////
4059 // AddIn properties
4060 
4061 /////////////////////////////////////////////////////////////////////////////
4062 // AddIn operations
4063 
4064 LPDISPATCH AddIn::GetApplication()
4065 {
4066     LPDISPATCH result;
4067     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4068     return result;
4069 }
4070 
4071 long AddIn::GetCreator()
4072 {
4073     long result;
4074     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4075     return result;
4076 }
4077 
4078 LPDISPATCH AddIn::GetParent()
4079 {
4080     LPDISPATCH result;
4081     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4082     return result;
4083 }
4084 
4085 CString AddIn::GetName()
4086 {
4087     CString result;
4088     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4089     return result;
4090 }
4091 
4092 long AddIn::GetIndex()
4093 {
4094     long result;
4095     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4096     return result;
4097 }
4098 
4099 CString AddIn::GetPath()
4100 {
4101     CString result;
4102     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4103     return result;
4104 }
4105 
4106 BOOL AddIn::GetInstalled()
4107 {
4108     BOOL result;
4109     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4110     return result;
4111 }
4112 
4113 void AddIn::SetInstalled(BOOL bNewValue)
4114 {
4115     static BYTE parms[] =
4116         VTS_BOOL;
4117     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4118         bNewValue);
4119 }
4120 
4121 BOOL AddIn::GetCompiled()
4122 {
4123     BOOL result;
4124     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4125     return result;
4126 }
4127 
4128 BOOL AddIn::GetAutoload()
4129 {
4130     BOOL result;
4131     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4132     return result;
4133 }
4134 
4135 void AddIn::Delete()
4136 {
4137     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4138 }
4139 
4140 
4141 /////////////////////////////////////////////////////////////////////////////
4142 // AddIns properties
4143 
4144 /////////////////////////////////////////////////////////////////////////////
4145 // AddIns operations
4146 
4147 LPDISPATCH AddIns::GetApplication()
4148 {
4149     LPDISPATCH result;
4150     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4151     return result;
4152 }
4153 
4154 long AddIns::GetCreator()
4155 {
4156     long result;
4157     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4158     return result;
4159 }
4160 
4161 LPDISPATCH AddIns::GetParent()
4162 {
4163     LPDISPATCH result;
4164     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4165     return result;
4166 }
4167 
4168 LPUNKNOWN AddIns::Get_NewEnum()
4169 {
4170     LPUNKNOWN result;
4171     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4172     return result;
4173 }
4174 
4175 long AddIns::GetCount()
4176 {
4177     long result;
4178     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4179     return result;
4180 }
4181 
4182 LPDISPATCH AddIns::Item(VARIANT* Index)
4183 {
4184     LPDISPATCH result;
4185     static BYTE parms[] =
4186         VTS_PVARIANT;
4187     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4188         Index);
4189     return result;
4190 }
4191 
4192 LPDISPATCH AddIns::Add(LPCTSTR FileName, VARIANT* Install)
4193 {
4194     LPDISPATCH result;
4195     static BYTE parms[] =
4196         VTS_BSTR VTS_PVARIANT;
4197     InvokeHelper(0x2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4198         FileName, Install);
4199     return result;
4200 }
4201 
4202 void AddIns::Unload(BOOL RemoveFromList)
4203 {
4204     static BYTE parms[] =
4205         VTS_BOOL;
4206     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4207         RemoveFromList);
4208 }
4209 
4210 
4211 /////////////////////////////////////////////////////////////////////////////
4212 // Revisions properties
4213 
4214 /////////////////////////////////////////////////////////////////////////////
4215 // Revisions operations
4216 
4217 LPDISPATCH Revisions::GetApplication()
4218 {
4219     LPDISPATCH result;
4220     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4221     return result;
4222 }
4223 
4224 long Revisions::GetCreator()
4225 {
4226     long result;
4227     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4228     return result;
4229 }
4230 
4231 LPDISPATCH Revisions::GetParent()
4232 {
4233     LPDISPATCH result;
4234     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4235     return result;
4236 }
4237 
4238 LPUNKNOWN Revisions::Get_NewEnum()
4239 {
4240     LPUNKNOWN result;
4241     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4242     return result;
4243 }
4244 
4245 long Revisions::GetCount()
4246 {
4247     long result;
4248     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4249     return result;
4250 }
4251 
4252 LPDISPATCH Revisions::Item(long Index)
4253 {
4254     LPDISPATCH result;
4255     static BYTE parms[] =
4256         VTS_I4;
4257     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4258         Index);
4259     return result;
4260 }
4261 
4262 void Revisions::AcceptAll()
4263 {
4264     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4265 }
4266 
4267 void Revisions::RejectAll()
4268 {
4269     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4270 }
4271 
4272 
4273 /////////////////////////////////////////////////////////////////////////////
4274 // Revision properties
4275 
4276 /////////////////////////////////////////////////////////////////////////////
4277 // Revision operations
4278 
4279 LPDISPATCH Revision::GetApplication()
4280 {
4281     LPDISPATCH result;
4282     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4283     return result;
4284 }
4285 
4286 long Revision::GetCreator()
4287 {
4288     long result;
4289     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4290     return result;
4291 }
4292 
4293 LPDISPATCH Revision::GetParent()
4294 {
4295     LPDISPATCH result;
4296     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4297     return result;
4298 }
4299 
4300 CString Revision::GetAuthor()
4301 {
4302     CString result;
4303     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4304     return result;
4305 }
4306 
4307 DATE Revision::GetDate()
4308 {
4309     DATE result;
4310     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
4311     return result;
4312 }
4313 
4314 LPDISPATCH Revision::GetRange()
4315 {
4316     LPDISPATCH result;
4317     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4318     return result;
4319 }
4320 
4321 long Revision::GetType()
4322 {
4323     long result;
4324     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4325     return result;
4326 }
4327 
4328 long Revision::GetIndex()
4329 {
4330     long result;
4331     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4332     return result;
4333 }
4334 
4335 void Revision::Accept()
4336 {
4337     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4338 }
4339 
4340 void Revision::Reject()
4341 {
4342     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4343 }
4344 
4345 LPDISPATCH Revision::GetStyle()
4346 {
4347     LPDISPATCH result;
4348     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4349     return result;
4350 }
4351 
4352 CString Revision::GetFormatDescription()
4353 {
4354     CString result;
4355     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4356     return result;
4357 }
4358 
4359 
4360 /////////////////////////////////////////////////////////////////////////////
4361 // Task properties
4362 
4363 /////////////////////////////////////////////////////////////////////////////
4364 // Task operations
4365 
4366 LPDISPATCH Task::GetApplication()
4367 {
4368     LPDISPATCH result;
4369     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4370     return result;
4371 }
4372 
4373 long Task::GetCreator()
4374 {
4375     long result;
4376     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4377     return result;
4378 }
4379 
4380 LPDISPATCH Task::GetParent()
4381 {
4382     LPDISPATCH result;
4383     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4384     return result;
4385 }
4386 
4387 CString Task::GetName()
4388 {
4389     CString result;
4390     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4391     return result;
4392 }
4393 
4394 long Task::GetLeft()
4395 {
4396     long result;
4397     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4398     return result;
4399 }
4400 
4401 void Task::SetLeft(long nNewValue)
4402 {
4403     static BYTE parms[] =
4404         VTS_I4;
4405     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4406         nNewValue);
4407 }
4408 
4409 long Task::GetTop()
4410 {
4411     long result;
4412     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4413     return result;
4414 }
4415 
4416 void Task::SetTop(long nNewValue)
4417 {
4418     static BYTE parms[] =
4419         VTS_I4;
4420     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4421         nNewValue);
4422 }
4423 
4424 long Task::GetWidth()
4425 {
4426     long result;
4427     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4428     return result;
4429 }
4430 
4431 void Task::SetWidth(long nNewValue)
4432 {
4433     static BYTE parms[] =
4434         VTS_I4;
4435     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4436         nNewValue);
4437 }
4438 
4439 long Task::GetHeight()
4440 {
4441     long result;
4442     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4443     return result;
4444 }
4445 
4446 void Task::SetHeight(long nNewValue)
4447 {
4448     static BYTE parms[] =
4449         VTS_I4;
4450     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4451         nNewValue);
4452 }
4453 
4454 long Task::GetWindowState()
4455 {
4456     long result;
4457     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4458     return result;
4459 }
4460 
4461 void Task::SetWindowState(long nNewValue)
4462 {
4463     static BYTE parms[] =
4464         VTS_I4;
4465     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4466         nNewValue);
4467 }
4468 
4469 BOOL Task::GetVisible()
4470 {
4471     BOOL result;
4472     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4473     return result;
4474 }
4475 
4476 void Task::SetVisible(BOOL bNewValue)
4477 {
4478     static BYTE parms[] =
4479         VTS_BOOL;
4480     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4481         bNewValue);
4482 }
4483 
4484 void Task::Activate(VARIANT* Wait)
4485 {
4486     static BYTE parms[] =
4487         VTS_PVARIANT;
4488     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4489         Wait);
4490 }
4491 
4492 void Task::Close()
4493 {
4494     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4495 }
4496 
4497 void Task::Move(long Left, long Top)
4498 {
4499     static BYTE parms[] =
4500         VTS_I4 VTS_I4;
4501     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4502         Left, Top);
4503 }
4504 
4505 void Task::Resize(long Width, long Height)
4506 {
4507     static BYTE parms[] =
4508         VTS_I4 VTS_I4;
4509     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4510         Width, Height);
4511 }
4512 
4513 void Task::SendWindowMessage(long Message, long wParam, long lParam)
4514 {
4515     static BYTE parms[] =
4516         VTS_I4 VTS_I4 VTS_I4;
4517     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4518         Message, wParam, lParam);
4519 }
4520 
4521 
4522 /////////////////////////////////////////////////////////////////////////////
4523 // Tasks properties
4524 
4525 /////////////////////////////////////////////////////////////////////////////
4526 // Tasks operations
4527 
4528 LPDISPATCH Tasks::GetApplication()
4529 {
4530     LPDISPATCH result;
4531     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4532     return result;
4533 }
4534 
4535 long Tasks::GetCreator()
4536 {
4537     long result;
4538     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4539     return result;
4540 }
4541 
4542 LPDISPATCH Tasks::GetParent()
4543 {
4544     LPDISPATCH result;
4545     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4546     return result;
4547 }
4548 
4549 LPUNKNOWN Tasks::Get_NewEnum()
4550 {
4551     LPUNKNOWN result;
4552     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4553     return result;
4554 }
4555 
4556 long Tasks::GetCount()
4557 {
4558     long result;
4559     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4560     return result;
4561 }
4562 
4563 LPDISPATCH Tasks::Item(VARIANT* Index)
4564 {
4565     LPDISPATCH result;
4566     static BYTE parms[] =
4567         VTS_PVARIANT;
4568     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4569         Index);
4570     return result;
4571 }
4572 
4573 BOOL Tasks::Exists(LPCTSTR Name)
4574 {
4575     BOOL result;
4576     static BYTE parms[] =
4577         VTS_BSTR;
4578     InvokeHelper(0x2, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
4579         Name);
4580     return result;
4581 }
4582 
4583 void Tasks::ExitWindows_()
4584 {
4585     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4586 }
4587 
4588 
4589 /////////////////////////////////////////////////////////////////////////////
4590 // HeadersFooters properties
4591 
4592 /////////////////////////////////////////////////////////////////////////////
4593 // HeadersFooters operations
4594 
4595 LPDISPATCH HeadersFooters::GetApplication()
4596 {
4597     LPDISPATCH result;
4598     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4599     return result;
4600 }
4601 
4602 long HeadersFooters::GetCreator()
4603 {
4604     long result;
4605     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4606     return result;
4607 }
4608 
4609 LPDISPATCH HeadersFooters::GetParent()
4610 {
4611     LPDISPATCH result;
4612     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4613     return result;
4614 }
4615 
4616 LPUNKNOWN HeadersFooters::Get_NewEnum()
4617 {
4618     LPUNKNOWN result;
4619     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4620     return result;
4621 }
4622 
4623 long HeadersFooters::GetCount()
4624 {
4625     long result;
4626     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4627     return result;
4628 }
4629 
4630 LPDISPATCH HeadersFooters::Item(long Index)
4631 {
4632     LPDISPATCH result;
4633     static BYTE parms[] =
4634         VTS_I4;
4635     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4636         Index);
4637     return result;
4638 }
4639 
4640 
4641 /////////////////////////////////////////////////////////////////////////////
4642 // HeaderFooter properties
4643 
4644 /////////////////////////////////////////////////////////////////////////////
4645 // HeaderFooter operations
4646 
4647 LPDISPATCH HeaderFooter::GetApplication()
4648 {
4649     LPDISPATCH result;
4650     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4651     return result;
4652 }
4653 
4654 long HeaderFooter::GetCreator()
4655 {
4656     long result;
4657     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4658     return result;
4659 }
4660 
4661 LPDISPATCH HeaderFooter::GetParent()
4662 {
4663     LPDISPATCH result;
4664     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4665     return result;
4666 }
4667 
4668 LPDISPATCH HeaderFooter::GetRange()
4669 {
4670     LPDISPATCH result;
4671     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4672     return result;
4673 }
4674 
4675 long HeaderFooter::GetIndex()
4676 {
4677     long result;
4678     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4679     return result;
4680 }
4681 
4682 BOOL HeaderFooter::GetIsHeader()
4683 {
4684     BOOL result;
4685     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4686     return result;
4687 }
4688 
4689 BOOL HeaderFooter::GetExists()
4690 {
4691     BOOL result;
4692     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4693     return result;
4694 }
4695 
4696 void HeaderFooter::SetExists(BOOL bNewValue)
4697 {
4698     static BYTE parms[] =
4699         VTS_BOOL;
4700     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4701         bNewValue);
4702 }
4703 
4704 LPDISPATCH HeaderFooter::GetPageNumbers()
4705 {
4706     LPDISPATCH result;
4707     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4708     return result;
4709 }
4710 
4711 BOOL HeaderFooter::GetLinkToPrevious()
4712 {
4713     BOOL result;
4714     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4715     return result;
4716 }
4717 
4718 void HeaderFooter::SetLinkToPrevious(BOOL bNewValue)
4719 {
4720     static BYTE parms[] =
4721         VTS_BOOL;
4722     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4723         bNewValue);
4724 }
4725 
4726 LPDISPATCH HeaderFooter::GetShapes()
4727 {
4728     LPDISPATCH result;
4729     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4730     return result;
4731 }
4732 
4733 
4734 /////////////////////////////////////////////////////////////////////////////
4735 // PageNumbers properties
4736 
4737 /////////////////////////////////////////////////////////////////////////////
4738 // PageNumbers operations
4739 
4740 LPDISPATCH PageNumbers::GetApplication()
4741 {
4742     LPDISPATCH result;
4743     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4744     return result;
4745 }
4746 
4747 long PageNumbers::GetCreator()
4748 {
4749     long result;
4750     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4751     return result;
4752 }
4753 
4754 LPDISPATCH PageNumbers::GetParent()
4755 {
4756     LPDISPATCH result;
4757     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4758     return result;
4759 }
4760 
4761 LPUNKNOWN PageNumbers::Get_NewEnum()
4762 {
4763     LPUNKNOWN result;
4764     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4765     return result;
4766 }
4767 
4768 long PageNumbers::GetCount()
4769 {
4770     long result;
4771     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4772     return result;
4773 }
4774 
4775 long PageNumbers::GetNumberStyle()
4776 {
4777     long result;
4778     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4779     return result;
4780 }
4781 
4782 void PageNumbers::SetNumberStyle(long nNewValue)
4783 {
4784     static BYTE parms[] =
4785         VTS_I4;
4786     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4787         nNewValue);
4788 }
4789 
4790 BOOL PageNumbers::GetIncludeChapterNumber()
4791 {
4792     BOOL result;
4793     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4794     return result;
4795 }
4796 
4797 void PageNumbers::SetIncludeChapterNumber(BOOL bNewValue)
4798 {
4799     static BYTE parms[] =
4800         VTS_BOOL;
4801     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4802         bNewValue);
4803 }
4804 
4805 long PageNumbers::GetHeadingLevelForChapter()
4806 {
4807     long result;
4808     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4809     return result;
4810 }
4811 
4812 void PageNumbers::SetHeadingLevelForChapter(long nNewValue)
4813 {
4814     static BYTE parms[] =
4815         VTS_I4;
4816     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4817         nNewValue);
4818 }
4819 
4820 long PageNumbers::GetChapterPageSeparator()
4821 {
4822     long result;
4823     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4824     return result;
4825 }
4826 
4827 void PageNumbers::SetChapterPageSeparator(long nNewValue)
4828 {
4829     static BYTE parms[] =
4830         VTS_I4;
4831     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4832         nNewValue);
4833 }
4834 
4835 BOOL PageNumbers::GetRestartNumberingAtSection()
4836 {
4837     BOOL result;
4838     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4839     return result;
4840 }
4841 
4842 void PageNumbers::SetRestartNumberingAtSection(BOOL bNewValue)
4843 {
4844     static BYTE parms[] =
4845         VTS_BOOL;
4846     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4847         bNewValue);
4848 }
4849 
4850 long PageNumbers::GetStartingNumber()
4851 {
4852     long result;
4853     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4854     return result;
4855 }
4856 
4857 void PageNumbers::SetStartingNumber(long nNewValue)
4858 {
4859     static BYTE parms[] =
4860         VTS_I4;
4861     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4862         nNewValue);
4863 }
4864 
4865 BOOL PageNumbers::GetShowFirstPageNumber()
4866 {
4867     BOOL result;
4868     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4869     return result;
4870 }
4871 
4872 void PageNumbers::SetShowFirstPageNumber(BOOL bNewValue)
4873 {
4874     static BYTE parms[] =
4875         VTS_BOOL;
4876     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4877         bNewValue);
4878 }
4879 
4880 LPDISPATCH PageNumbers::Item(long Index)
4881 {
4882     LPDISPATCH result;
4883     static BYTE parms[] =
4884         VTS_I4;
4885     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4886         Index);
4887     return result;
4888 }
4889 
4890 LPDISPATCH PageNumbers::Add(VARIANT* PageNumberAlignment, VARIANT* FirstPage)
4891 {
4892     LPDISPATCH result;
4893     static BYTE parms[] =
4894         VTS_PVARIANT VTS_PVARIANT;
4895     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4896         PageNumberAlignment, FirstPage);
4897     return result;
4898 }
4899 
4900 BOOL PageNumbers::GetDoubleQuote()
4901 {
4902     BOOL result;
4903     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4904     return result;
4905 }
4906 
4907 void PageNumbers::SetDoubleQuote(BOOL bNewValue)
4908 {
4909     static BYTE parms[] =
4910         VTS_BOOL;
4911     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4912         bNewValue);
4913 }
4914 
4915 
4916 /////////////////////////////////////////////////////////////////////////////
4917 // PageNumber properties
4918 
4919 /////////////////////////////////////////////////////////////////////////////
4920 // PageNumber operations
4921 
4922 LPDISPATCH PageNumber::GetApplication()
4923 {
4924     LPDISPATCH result;
4925     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4926     return result;
4927 }
4928 
4929 long PageNumber::GetCreator()
4930 {
4931     long result;
4932     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4933     return result;
4934 }
4935 
4936 LPDISPATCH PageNumber::GetParent()
4937 {
4938     LPDISPATCH result;
4939     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4940     return result;
4941 }
4942 
4943 long PageNumber::GetIndex()
4944 {
4945     long result;
4946     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4947     return result;
4948 }
4949 
4950 long PageNumber::GetAlignment()
4951 {
4952     long result;
4953     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4954     return result;
4955 }
4956 
4957 void PageNumber::SetAlignment(long nNewValue)
4958 {
4959     static BYTE parms[] =
4960         VTS_I4;
4961     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4962         nNewValue);
4963 }
4964 
4965 void PageNumber::Select()
4966 {
4967     InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4968 }
4969 
4970 void PageNumber::Copy()
4971 {
4972     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4973 }
4974 
4975 void PageNumber::Cut()
4976 {
4977     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4978 }
4979 
4980 void PageNumber::Delete()
4981 {
4982     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4983 }
4984 
4985 
4986 /////////////////////////////////////////////////////////////////////////////
4987 // Subdocuments properties
4988 
4989 /////////////////////////////////////////////////////////////////////////////
4990 // Subdocuments operations
4991 
4992 LPDISPATCH Subdocuments::GetApplication()
4993 {
4994     LPDISPATCH result;
4995     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4996     return result;
4997 }
4998 
4999 long Subdocuments::GetCreator()
5000 {
5001     long result;
5002     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5003     return result;
5004 }
5005 
5006 LPDISPATCH Subdocuments::GetParent()
5007 {
5008     LPDISPATCH result;
5009     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5010     return result;
5011 }
5012 
5013 long Subdocuments::GetCount()
5014 {
5015     long result;
5016     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5017     return result;
5018 }
5019 
5020 LPUNKNOWN Subdocuments::Get_NewEnum()
5021 {
5022     LPUNKNOWN result;
5023     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5024     return result;
5025 }
5026 
5027 BOOL Subdocuments::GetExpanded()
5028 {
5029     BOOL result;
5030     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5031     return result;
5032 }
5033 
5034 void Subdocuments::SetExpanded(BOOL bNewValue)
5035 {
5036     static BYTE parms[] =
5037         VTS_BOOL;
5038     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5039         bNewValue);
5040 }
5041 
5042 LPDISPATCH Subdocuments::Item(long Index)
5043 {
5044     LPDISPATCH result;
5045     static BYTE parms[] =
5046         VTS_I4;
5047     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5048         Index);
5049     return result;
5050 }
5051 
5052 LPDISPATCH Subdocuments::AddFromFile(VARIANT* Name, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, VARIANT* WritePasswordTemplate)
5053 {
5054     LPDISPATCH result;
5055     static BYTE parms[] =
5056         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
5057     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5058         Name, ConfirmConversions, ReadOnly, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate);
5059     return result;
5060 }
5061 
5062 LPDISPATCH Subdocuments::AddFromRange(LPDISPATCH Range)
5063 {
5064     LPDISPATCH result;
5065     static BYTE parms[] =
5066         VTS_DISPATCH;
5067     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5068         Range);
5069     return result;
5070 }
5071 
5072 void Subdocuments::Merge(VARIANT* FirstSubdocument, VARIANT* LastSubdocument)
5073 {
5074     static BYTE parms[] =
5075         VTS_PVARIANT VTS_PVARIANT;
5076     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5077         FirstSubdocument, LastSubdocument);
5078 }
5079 
5080 void Subdocuments::Delete()
5081 {
5082     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5083 }
5084 
5085 void Subdocuments::Select()
5086 {
5087     InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5088 }
View Code

6

   1 /////////////////////////////////////////////////////////////////////////////
   2 // Subdocument properties
   3 
   4 /////////////////////////////////////////////////////////////////////////////
   5 // Subdocument operations
   6 
   7 LPDISPATCH Subdocument::GetApplication()
   8 {
   9     LPDISPATCH result;
  10     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  11     return result;
  12 }
  13 
  14 long Subdocument::GetCreator()
  15 {
  16     long result;
  17     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  18     return result;
  19 }
  20 
  21 LPDISPATCH Subdocument::GetParent()
  22 {
  23     LPDISPATCH result;
  24     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  25     return result;
  26 }
  27 
  28 BOOL Subdocument::GetLocked()
  29 {
  30     BOOL result;
  31     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  32     return result;
  33 }
  34 
  35 void Subdocument::SetLocked(BOOL bNewValue)
  36 {
  37     static BYTE parms[] =
  38         VTS_BOOL;
  39     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  40         bNewValue);
  41 }
  42 
  43 LPDISPATCH Subdocument::GetRange()
  44 {
  45     LPDISPATCH result;
  46     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  47     return result;
  48 }
  49 
  50 CString Subdocument::GetName()
  51 {
  52     CString result;
  53     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  54     return result;
  55 }
  56 
  57 CString Subdocument::GetPath()
  58 {
  59     CString result;
  60     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  61     return result;
  62 }
  63 
  64 BOOL Subdocument::GetHasFile()
  65 {
  66     BOOL result;
  67     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  68     return result;
  69 }
  70 
  71 long Subdocument::GetLevel()
  72 {
  73     long result;
  74     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  75     return result;
  76 }
  77 
  78 void Subdocument::Delete()
  79 {
  80     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  81 }
  82 
  83 void Subdocument::Split(LPDISPATCH Range)
  84 {
  85     static BYTE parms[] =
  86         VTS_DISPATCH;
  87     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  88         Range);
  89 }
  90 
  91 LPDISPATCH Subdocument::Open()
  92 {
  93     LPDISPATCH result;
  94     InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
  95     return result;
  96 }
  97 
  98 
  99 /////////////////////////////////////////////////////////////////////////////
 100 // HeadingStyles properties
 101 
 102 /////////////////////////////////////////////////////////////////////////////
 103 // HeadingStyles operations
 104 
 105 LPDISPATCH HeadingStyles::GetApplication()
 106 {
 107     LPDISPATCH result;
 108     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 109     return result;
 110 }
 111 
 112 long HeadingStyles::GetCreator()
 113 {
 114     long result;
 115     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 116     return result;
 117 }
 118 
 119 LPDISPATCH HeadingStyles::GetParent()
 120 {
 121     LPDISPATCH result;
 122     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 123     return result;
 124 }
 125 
 126 LPUNKNOWN HeadingStyles::Get_NewEnum()
 127 {
 128     LPUNKNOWN result;
 129     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 130     return result;
 131 }
 132 
 133 long HeadingStyles::GetCount()
 134 {
 135     long result;
 136     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 137     return result;
 138 }
 139 
 140 LPDISPATCH HeadingStyles::Item(long Index)
 141 {
 142     LPDISPATCH result;
 143     static BYTE parms[] =
 144         VTS_I4;
 145     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 146         Index);
 147     return result;
 148 }
 149 
 150 LPDISPATCH HeadingStyles::Add(VARIANT* Style, short Level)
 151 {
 152     LPDISPATCH result;
 153     static BYTE parms[] =
 154         VTS_PVARIANT VTS_I2;
 155     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 156         Style, Level);
 157     return result;
 158 }
 159 
 160 
 161 /////////////////////////////////////////////////////////////////////////////
 162 // HeadingStyle properties
 163 
 164 /////////////////////////////////////////////////////////////////////////////
 165 // HeadingStyle operations
 166 
 167 LPDISPATCH HeadingStyle::GetApplication()
 168 {
 169     LPDISPATCH result;
 170     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 171     return result;
 172 }
 173 
 174 long HeadingStyle::GetCreator()
 175 {
 176     long result;
 177     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 178     return result;
 179 }
 180 
 181 LPDISPATCH HeadingStyle::GetParent()
 182 {
 183     LPDISPATCH result;
 184     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 185     return result;
 186 }
 187 
 188 VARIANT HeadingStyle::GetStyle()
 189 {
 190     VARIANT result;
 191     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
 192     return result;
 193 }
 194 
 195 void HeadingStyle::SetStyle(VARIANT* newValue)
 196 {
 197     static BYTE parms[] =
 198         VTS_PVARIANT;
 199     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 200         newValue);
 201 }
 202 
 203 short HeadingStyle::GetLevel()
 204 {
 205     short result;
 206     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
 207     return result;
 208 }
 209 
 210 void HeadingStyle::SetLevel(short nNewValue)
 211 {
 212     static BYTE parms[] =
 213         VTS_I2;
 214     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 215         nNewValue);
 216 }
 217 
 218 void HeadingStyle::Delete()
 219 {
 220     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 221 }
 222 
 223 
 224 /////////////////////////////////////////////////////////////////////////////
 225 // StoryRanges properties
 226 
 227 /////////////////////////////////////////////////////////////////////////////
 228 // StoryRanges operations
 229 
 230 LPUNKNOWN StoryRanges::Get_NewEnum()
 231 {
 232     LPUNKNOWN result;
 233     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 234     return result;
 235 }
 236 
 237 long StoryRanges::GetCount()
 238 {
 239     long result;
 240     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 241     return result;
 242 }
 243 
 244 LPDISPATCH StoryRanges::GetApplication()
 245 {
 246     LPDISPATCH result;
 247     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 248     return result;
 249 }
 250 
 251 long StoryRanges::GetCreator()
 252 {
 253     long result;
 254     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 255     return result;
 256 }
 257 
 258 LPDISPATCH StoryRanges::GetParent()
 259 {
 260     LPDISPATCH result;
 261     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 262     return result;
 263 }
 264 
 265 LPDISPATCH StoryRanges::Item(long Index)
 266 {
 267     LPDISPATCH result;
 268     static BYTE parms[] =
 269         VTS_I4;
 270     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 271         Index);
 272     return result;
 273 }
 274 
 275 
 276 /////////////////////////////////////////////////////////////////////////////
 277 // ListLevel properties
 278 
 279 /////////////////////////////////////////////////////////////////////////////
 280 // ListLevel operations
 281 
 282 long ListLevel::GetIndex()
 283 {
 284     long result;
 285     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 286     return result;
 287 }
 288 
 289 CString ListLevel::GetNumberFormat()
 290 {
 291     CString result;
 292     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 293     return result;
 294 }
 295 
 296 void ListLevel::SetNumberFormat(LPCTSTR lpszNewValue)
 297 {
 298     static BYTE parms[] =
 299         VTS_BSTR;
 300     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 301         lpszNewValue);
 302 }
 303 
 304 long ListLevel::GetTrailingCharacter()
 305 {
 306     long result;
 307     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 308     return result;
 309 }
 310 
 311 void ListLevel::SetTrailingCharacter(long nNewValue)
 312 {
 313     static BYTE parms[] =
 314         VTS_I4;
 315     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 316         nNewValue);
 317 }
 318 
 319 long ListLevel::GetNumberStyle()
 320 {
 321     long result;
 322     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 323     return result;
 324 }
 325 
 326 void ListLevel::SetNumberStyle(long nNewValue)
 327 {
 328     static BYTE parms[] =
 329         VTS_I4;
 330     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 331         nNewValue);
 332 }
 333 
 334 float ListLevel::GetNumberPosition()
 335 {
 336     float result;
 337     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 338     return result;
 339 }
 340 
 341 void ListLevel::SetNumberPosition(float newValue)
 342 {
 343     static BYTE parms[] =
 344         VTS_R4;
 345     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 346         newValue);
 347 }
 348 
 349 long ListLevel::GetAlignment()
 350 {
 351     long result;
 352     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 353     return result;
 354 }
 355 
 356 void ListLevel::SetAlignment(long nNewValue)
 357 {
 358     static BYTE parms[] =
 359         VTS_I4;
 360     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 361         nNewValue);
 362 }
 363 
 364 float ListLevel::GetTextPosition()
 365 {
 366     float result;
 367     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 368     return result;
 369 }
 370 
 371 void ListLevel::SetTextPosition(float newValue)
 372 {
 373     static BYTE parms[] =
 374         VTS_R4;
 375     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 376         newValue);
 377 }
 378 
 379 float ListLevel::GetTabPosition()
 380 {
 381     float result;
 382     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 383     return result;
 384 }
 385 
 386 void ListLevel::SetTabPosition(float newValue)
 387 {
 388     static BYTE parms[] =
 389         VTS_R4;
 390     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 391         newValue);
 392 }
 393 
 394 long ListLevel::GetStartAt()
 395 {
 396     long result;
 397     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 398     return result;
 399 }
 400 
 401 void ListLevel::SetStartAt(long nNewValue)
 402 {
 403     static BYTE parms[] =
 404         VTS_I4;
 405     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 406         nNewValue);
 407 }
 408 
 409 CString ListLevel::GetLinkedStyle()
 410 {
 411     CString result;
 412     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 413     return result;
 414 }
 415 
 416 void ListLevel::SetLinkedStyle(LPCTSTR lpszNewValue)
 417 {
 418     static BYTE parms[] =
 419         VTS_BSTR;
 420     InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 421         lpszNewValue);
 422 }
 423 
 424 LPDISPATCH ListLevel::GetFont()
 425 {
 426     LPDISPATCH result;
 427     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 428     return result;
 429 }
 430 
 431 void ListLevel::SetFont(LPDISPATCH newValue)
 432 {
 433     static BYTE parms[] =
 434         VTS_DISPATCH;
 435     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 436         newValue);
 437 }
 438 
 439 LPDISPATCH ListLevel::GetApplication()
 440 {
 441     LPDISPATCH result;
 442     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 443     return result;
 444 }
 445 
 446 long ListLevel::GetCreator()
 447 {
 448     long result;
 449     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 450     return result;
 451 }
 452 
 453 LPDISPATCH ListLevel::GetParent()
 454 {
 455     LPDISPATCH result;
 456     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 457     return result;
 458 }
 459 
 460 long ListLevel::GetResetOnHigher()
 461 {
 462     long result;
 463     InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 464     return result;
 465 }
 466 
 467 void ListLevel::SetResetOnHigher(long nNewValue)
 468 {
 469     static BYTE parms[] =
 470         VTS_I4;
 471     InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 472         nNewValue);
 473 }
 474 
 475 LPDISPATCH ListLevel::GetPictureBullet()
 476 {
 477     LPDISPATCH result;
 478     InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 479     return result;
 480 }
 481 
 482 LPDISPATCH ListLevel::ApplyPictureBullet(LPCTSTR FileName)
 483 {
 484     LPDISPATCH result;
 485     static BYTE parms[] =
 486         VTS_BSTR;
 487     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 488         FileName);
 489     return result;
 490 }
 491 
 492 
 493 /////////////////////////////////////////////////////////////////////////////
 494 // ListLevels properties
 495 
 496 /////////////////////////////////////////////////////////////////////////////
 497 // ListLevels operations
 498 
 499 LPUNKNOWN ListLevels::Get_NewEnum()
 500 {
 501     LPUNKNOWN result;
 502     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 503     return result;
 504 }
 505 
 506 long ListLevels::GetCount()
 507 {
 508     long result;
 509     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 510     return result;
 511 }
 512 
 513 LPDISPATCH ListLevels::GetApplication()
 514 {
 515     LPDISPATCH result;
 516     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 517     return result;
 518 }
 519 
 520 long ListLevels::GetCreator()
 521 {
 522     long result;
 523     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 524     return result;
 525 }
 526 
 527 LPDISPATCH ListLevels::GetParent()
 528 {
 529     LPDISPATCH result;
 530     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 531     return result;
 532 }
 533 
 534 LPDISPATCH ListLevels::Item(long Index)
 535 {
 536     LPDISPATCH result;
 537     static BYTE parms[] =
 538         VTS_I4;
 539     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 540         Index);
 541     return result;
 542 }
 543 
 544 
 545 /////////////////////////////////////////////////////////////////////////////
 546 // ListTemplate properties
 547 
 548 /////////////////////////////////////////////////////////////////////////////
 549 // ListTemplate operations
 550 
 551 LPDISPATCH ListTemplate::GetApplication()
 552 {
 553     LPDISPATCH result;
 554     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 555     return result;
 556 }
 557 
 558 long ListTemplate::GetCreator()
 559 {
 560     long result;
 561     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 562     return result;
 563 }
 564 
 565 LPDISPATCH ListTemplate::GetParent()
 566 {
 567     LPDISPATCH result;
 568     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 569     return result;
 570 }
 571 
 572 BOOL ListTemplate::GetOutlineNumbered()
 573 {
 574     BOOL result;
 575     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 576     return result;
 577 }
 578 
 579 void ListTemplate::SetOutlineNumbered(BOOL bNewValue)
 580 {
 581     static BYTE parms[] =
 582         VTS_BOOL;
 583     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 584         bNewValue);
 585 }
 586 
 587 CString ListTemplate::GetName()
 588 {
 589     CString result;
 590     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 591     return result;
 592 }
 593 
 594 void ListTemplate::SetName(LPCTSTR lpszNewValue)
 595 {
 596     static BYTE parms[] =
 597         VTS_BSTR;
 598     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 599         lpszNewValue);
 600 }
 601 
 602 LPDISPATCH ListTemplate::GetListLevels()
 603 {
 604     LPDISPATCH result;
 605     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 606     return result;
 607 }
 608 
 609 LPDISPATCH ListTemplate::Convert(VARIANT* Level)
 610 {
 611     LPDISPATCH result;
 612     static BYTE parms[] =
 613         VTS_PVARIANT;
 614     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 615         Level);
 616     return result;
 617 }
 618 
 619 
 620 /////////////////////////////////////////////////////////////////////////////
 621 // ListTemplates properties
 622 
 623 /////////////////////////////////////////////////////////////////////////////
 624 // ListTemplates operations
 625 
 626 LPUNKNOWN ListTemplates::Get_NewEnum()
 627 {
 628     LPUNKNOWN result;
 629     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 630     return result;
 631 }
 632 
 633 long ListTemplates::GetCount()
 634 {
 635     long result;
 636     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 637     return result;
 638 }
 639 
 640 LPDISPATCH ListTemplates::GetApplication()
 641 {
 642     LPDISPATCH result;
 643     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 644     return result;
 645 }
 646 
 647 long ListTemplates::GetCreator()
 648 {
 649     long result;
 650     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 651     return result;
 652 }
 653 
 654 LPDISPATCH ListTemplates::GetParent()
 655 {
 656     LPDISPATCH result;
 657     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 658     return result;
 659 }
 660 
 661 LPDISPATCH ListTemplates::Item(VARIANT* Index)
 662 {
 663     LPDISPATCH result;
 664     static BYTE parms[] =
 665         VTS_PVARIANT;
 666     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 667         Index);
 668     return result;
 669 }
 670 
 671 LPDISPATCH ListTemplates::Add(VARIANT* OutlineNumbered, VARIANT* Name)
 672 {
 673     LPDISPATCH result;
 674     static BYTE parms[] =
 675         VTS_PVARIANT VTS_PVARIANT;
 676     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 677         OutlineNumbered, Name);
 678     return result;
 679 }
 680 
 681 
 682 /////////////////////////////////////////////////////////////////////////////
 683 // ListParagraphs properties
 684 
 685 /////////////////////////////////////////////////////////////////////////////
 686 // ListParagraphs operations
 687 
 688 LPUNKNOWN ListParagraphs::Get_NewEnum()
 689 {
 690     LPUNKNOWN result;
 691     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 692     return result;
 693 }
 694 
 695 long ListParagraphs::GetCount()
 696 {
 697     long result;
 698     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 699     return result;
 700 }
 701 
 702 LPDISPATCH ListParagraphs::GetApplication()
 703 {
 704     LPDISPATCH result;
 705     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 706     return result;
 707 }
 708 
 709 long ListParagraphs::GetCreator()
 710 {
 711     long result;
 712     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 713     return result;
 714 }
 715 
 716 LPDISPATCH ListParagraphs::GetParent()
 717 {
 718     LPDISPATCH result;
 719     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 720     return result;
 721 }
 722 
 723 LPDISPATCH ListParagraphs::Item(long Index)
 724 {
 725     LPDISPATCH result;
 726     static BYTE parms[] =
 727         VTS_I4;
 728     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 729         Index);
 730     return result;
 731 }
 732 
 733 
 734 /////////////////////////////////////////////////////////////////////////////
 735 // List properties
 736 
 737 /////////////////////////////////////////////////////////////////////////////
 738 // List operations
 739 
 740 LPDISPATCH List::GetRange()
 741 {
 742     LPDISPATCH result;
 743     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 744     return result;
 745 }
 746 
 747 LPDISPATCH List::GetListParagraphs()
 748 {
 749     LPDISPATCH result;
 750     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 751     return result;
 752 }
 753 
 754 BOOL List::GetSingleListTemplate()
 755 {
 756     BOOL result;
 757     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 758     return result;
 759 }
 760 
 761 LPDISPATCH List::GetApplication()
 762 {
 763     LPDISPATCH result;
 764     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 765     return result;
 766 }
 767 
 768 long List::GetCreator()
 769 {
 770     long result;
 771     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 772     return result;
 773 }
 774 
 775 LPDISPATCH List::GetParent()
 776 {
 777     LPDISPATCH result;
 778     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 779     return result;
 780 }
 781 
 782 void List::ConvertNumbersToText(VARIANT* NumberType)
 783 {
 784     static BYTE parms[] =
 785         VTS_PVARIANT;
 786     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 787         NumberType);
 788 }
 789 
 790 void List::RemoveNumbers(VARIANT* NumberType)
 791 {
 792     static BYTE parms[] =
 793         VTS_PVARIANT;
 794     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 795         NumberType);
 796 }
 797 
 798 long List::CountNumberedItems(VARIANT* NumberType, VARIANT* Level)
 799 {
 800     long result;
 801     static BYTE parms[] =
 802         VTS_PVARIANT VTS_PVARIANT;
 803     InvokeHelper(0x67, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
 804         NumberType, Level);
 805     return result;
 806 }
 807 
 808 long List::CanContinuePreviousList(LPDISPATCH ListTemplate)
 809 {
 810     long result;
 811     static BYTE parms[] =
 812         VTS_DISPATCH;
 813     InvokeHelper(0x69, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
 814         ListTemplate);
 815     return result;
 816 }
 817 
 818 void List::ApplyListTemplate(LPDISPATCH ListTemplate, VARIANT* ContinuePreviousList, VARIANT* DefaultListBehavior)
 819 {
 820     static BYTE parms[] =
 821         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT;
 822     InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 823         ListTemplate, ContinuePreviousList, DefaultListBehavior);
 824 }
 825 
 826 CString List::GetStyleName()
 827 {
 828     CString result;
 829     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 830     return result;
 831 }
 832 
 833 
 834 /////////////////////////////////////////////////////////////////////////////
 835 // Lists properties
 836 
 837 /////////////////////////////////////////////////////////////////////////////
 838 // Lists operations
 839 
 840 LPUNKNOWN Lists::Get_NewEnum()
 841 {
 842     LPUNKNOWN result;
 843     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 844     return result;
 845 }
 846 
 847 long Lists::GetCount()
 848 {
 849     long result;
 850     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 851     return result;
 852 }
 853 
 854 LPDISPATCH Lists::GetApplication()
 855 {
 856     LPDISPATCH result;
 857     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 858     return result;
 859 }
 860 
 861 long Lists::GetCreator()
 862 {
 863     long result;
 864     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 865     return result;
 866 }
 867 
 868 LPDISPATCH Lists::GetParent()
 869 {
 870     LPDISPATCH result;
 871     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 872     return result;
 873 }
 874 
 875 LPDISPATCH Lists::Item(long Index)
 876 {
 877     LPDISPATCH result;
 878     static BYTE parms[] =
 879         VTS_I4;
 880     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 881         Index);
 882     return result;
 883 }
 884 
 885 
 886 /////////////////////////////////////////////////////////////////////////////
 887 // ListGallery properties
 888 
 889 /////////////////////////////////////////////////////////////////////////////
 890 // ListGallery operations
 891 
 892 LPDISPATCH ListGallery::GetListTemplates()
 893 {
 894     LPDISPATCH result;
 895     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 896     return result;
 897 }
 898 
 899 LPDISPATCH ListGallery::GetApplication()
 900 {
 901     LPDISPATCH result;
 902     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 903     return result;
 904 }
 905 
 906 long ListGallery::GetCreator()
 907 {
 908     long result;
 909     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 910     return result;
 911 }
 912 
 913 LPDISPATCH ListGallery::GetParent()
 914 {
 915     LPDISPATCH result;
 916     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 917     return result;
 918 }
 919 
 920 BOOL ListGallery::GetModified(long Index)
 921 {
 922     BOOL result;
 923     static BYTE parms[] =
 924         VTS_I4;
 925     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
 926         Index);
 927     return result;
 928 }
 929 
 930 void ListGallery::Reset(long Index)
 931 {
 932     static BYTE parms[] =
 933         VTS_I4;
 934     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 935         Index);
 936 }
 937 
 938 
 939 /////////////////////////////////////////////////////////////////////////////
 940 // ListGalleries properties
 941 
 942 /////////////////////////////////////////////////////////////////////////////
 943 // ListGalleries operations
 944 
 945 LPUNKNOWN ListGalleries::Get_NewEnum()
 946 {
 947     LPUNKNOWN result;
 948     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 949     return result;
 950 }
 951 
 952 long ListGalleries::GetCount()
 953 {
 954     long result;
 955     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 956     return result;
 957 }
 958 
 959 LPDISPATCH ListGalleries::GetApplication()
 960 {
 961     LPDISPATCH result;
 962     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 963     return result;
 964 }
 965 
 966 long ListGalleries::GetCreator()
 967 {
 968     long result;
 969     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 970     return result;
 971 }
 972 
 973 LPDISPATCH ListGalleries::GetParent()
 974 {
 975     LPDISPATCH result;
 976     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 977     return result;
 978 }
 979 
 980 LPDISPATCH ListGalleries::Item(long Index)
 981 {
 982     LPDISPATCH result;
 983     static BYTE parms[] =
 984         VTS_I4;
 985     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 986         Index);
 987     return result;
 988 }
 989 
 990 
 991 /////////////////////////////////////////////////////////////////////////////
 992 // KeyBindings properties
 993 
 994 /////////////////////////////////////////////////////////////////////////////
 995 // KeyBindings operations
 996 
 997 LPDISPATCH KeyBindings::GetApplication()
 998 {
 999     LPDISPATCH result;
1000     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1001     return result;
1002 }
1003 
1004 long KeyBindings::GetCreator()
1005 {
1006     long result;
1007     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1008     return result;
1009 }
1010 
1011 LPDISPATCH KeyBindings::GetParent()
1012 {
1013     LPDISPATCH result;
1014     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1015     return result;
1016 }
1017 
1018 LPUNKNOWN KeyBindings::Get_NewEnum()
1019 {
1020     LPUNKNOWN result;
1021     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1022     return result;
1023 }
1024 
1025 long KeyBindings::GetCount()
1026 {
1027     long result;
1028     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1029     return result;
1030 }
1031 
1032 LPDISPATCH KeyBindings::GetContext()
1033 {
1034     LPDISPATCH result;
1035     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1036     return result;
1037 }
1038 
1039 LPDISPATCH KeyBindings::Item(long Index)
1040 {
1041     LPDISPATCH result;
1042     static BYTE parms[] =
1043         VTS_I4;
1044     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1045         Index);
1046     return result;
1047 }
1048 
1049 LPDISPATCH KeyBindings::Add(long KeyCategory, LPCTSTR Command, long KeyCode, VARIANT* KeyCode2, VARIANT* CommandParameter)
1050 {
1051     LPDISPATCH result;
1052     static BYTE parms[] =
1053         VTS_I4 VTS_BSTR VTS_I4 VTS_PVARIANT VTS_PVARIANT;
1054     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1055         KeyCategory, Command, KeyCode, KeyCode2, CommandParameter);
1056     return result;
1057 }
1058 
1059 void KeyBindings::ClearAll()
1060 {
1061     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1062 }
1063 
1064 LPDISPATCH KeyBindings::Key(long KeyCode, VARIANT* KeyCode2)
1065 {
1066     LPDISPATCH result;
1067     static BYTE parms[] =
1068         VTS_I4 VTS_PVARIANT;
1069     InvokeHelper(0x6e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1070         KeyCode, KeyCode2);
1071     return result;
1072 }
1073 
1074 
1075 /////////////////////////////////////////////////////////////////////////////
1076 // KeysBoundTo properties
1077 
1078 /////////////////////////////////////////////////////////////////////////////
1079 // KeysBoundTo operations
1080 
1081 LPDISPATCH KeysBoundTo::GetApplication()
1082 {
1083     LPDISPATCH result;
1084     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1085     return result;
1086 }
1087 
1088 long KeysBoundTo::GetCreator()
1089 {
1090     long result;
1091     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1092     return result;
1093 }
1094 
1095 LPDISPATCH KeysBoundTo::GetParent()
1096 {
1097     LPDISPATCH result;
1098     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1099     return result;
1100 }
1101 
1102 LPUNKNOWN KeysBoundTo::Get_NewEnum()
1103 {
1104     LPUNKNOWN result;
1105     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1106     return result;
1107 }
1108 
1109 long KeysBoundTo::GetCount()
1110 {
1111     long result;
1112     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1113     return result;
1114 }
1115 
1116 long KeysBoundTo::GetKeyCategory()
1117 {
1118     long result;
1119     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1120     return result;
1121 }
1122 
1123 CString KeysBoundTo::GetCommand()
1124 {
1125     CString result;
1126     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1127     return result;
1128 }
1129 
1130 CString KeysBoundTo::GetCommandParameter()
1131 {
1132     CString result;
1133     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1134     return result;
1135 }
1136 
1137 LPDISPATCH KeysBoundTo::GetContext()
1138 {
1139     LPDISPATCH result;
1140     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1141     return result;
1142 }
1143 
1144 LPDISPATCH KeysBoundTo::Item(long Index)
1145 {
1146     LPDISPATCH result;
1147     static BYTE parms[] =
1148         VTS_I4;
1149     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1150         Index);
1151     return result;
1152 }
1153 
1154 LPDISPATCH KeysBoundTo::Key(long KeyCode, VARIANT* KeyCode2)
1155 {
1156     LPDISPATCH result;
1157     static BYTE parms[] =
1158         VTS_I4 VTS_PVARIANT;
1159     InvokeHelper(0x1, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1160         KeyCode, KeyCode2);
1161     return result;
1162 }
1163 
1164 
1165 /////////////////////////////////////////////////////////////////////////////
1166 // KeyBinding properties
1167 
1168 /////////////////////////////////////////////////////////////////////////////
1169 // KeyBinding operations
1170 
1171 LPDISPATCH KeyBinding::GetApplication()
1172 {
1173     LPDISPATCH result;
1174     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1175     return result;
1176 }
1177 
1178 long KeyBinding::GetCreator()
1179 {
1180     long result;
1181     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1182     return result;
1183 }
1184 
1185 LPDISPATCH KeyBinding::GetParent()
1186 {
1187     LPDISPATCH result;
1188     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1189     return result;
1190 }
1191 
1192 CString KeyBinding::GetCommand()
1193 {
1194     CString result;
1195     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1196     return result;
1197 }
1198 
1199 CString KeyBinding::GetKeyString()
1200 {
1201     CString result;
1202     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1203     return result;
1204 }
1205 
1206 BOOL KeyBinding::GetProtected()
1207 {
1208     BOOL result;
1209     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1210     return result;
1211 }
1212 
1213 long KeyBinding::GetKeyCategory()
1214 {
1215     long result;
1216     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1217     return result;
1218 }
1219 
1220 long KeyBinding::GetKeyCode()
1221 {
1222     long result;
1223     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1224     return result;
1225 }
1226 
1227 long KeyBinding::GetKeyCode2()
1228 {
1229     long result;
1230     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1231     return result;
1232 }
1233 
1234 CString KeyBinding::GetCommandParameter()
1235 {
1236     CString result;
1237     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1238     return result;
1239 }
1240 
1241 LPDISPATCH KeyBinding::GetContext()
1242 {
1243     LPDISPATCH result;
1244     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1245     return result;
1246 }
1247 
1248 void KeyBinding::Clear()
1249 {
1250     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1251 }
1252 
1253 void KeyBinding::Disable()
1254 {
1255     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1256 }
1257 
1258 void KeyBinding::Execute()
1259 {
1260     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1261 }
1262 
1263 void KeyBinding::Rebind(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter)
1264 {
1265     static BYTE parms[] =
1266         VTS_I4 VTS_BSTR VTS_PVARIANT;
1267     InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1268         KeyCategory, Command, CommandParameter);
1269 }
1270 
1271 
1272 /////////////////////////////////////////////////////////////////////////////
1273 // FileConverter properties
1274 
1275 /////////////////////////////////////////////////////////////////////////////
1276 // FileConverter operations
1277 
1278 LPDISPATCH FileConverter::GetApplication()
1279 {
1280     LPDISPATCH result;
1281     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1282     return result;
1283 }
1284 
1285 long FileConverter::GetCreator()
1286 {
1287     long result;
1288     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1289     return result;
1290 }
1291 
1292 LPDISPATCH FileConverter::GetParent()
1293 {
1294     LPDISPATCH result;
1295     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1296     return result;
1297 }
1298 
1299 CString FileConverter::GetFormatName()
1300 {
1301     CString result;
1302     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1303     return result;
1304 }
1305 
1306 CString FileConverter::GetClassName()
1307 {
1308     CString result;
1309     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1310     return result;
1311 }
1312 
1313 long FileConverter::GetSaveFormat()
1314 {
1315     long result;
1316     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1317     return result;
1318 }
1319 
1320 long FileConverter::GetOpenFormat()
1321 {
1322     long result;
1323     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1324     return result;
1325 }
1326 
1327 BOOL FileConverter::GetCanSave()
1328 {
1329     BOOL result;
1330     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1331     return result;
1332 }
1333 
1334 BOOL FileConverter::GetCanOpen()
1335 {
1336     BOOL result;
1337     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1338     return result;
1339 }
1340 
1341 CString FileConverter::GetPath()
1342 {
1343     CString result;
1344     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1345     return result;
1346 }
1347 
1348 CString FileConverter::GetName()
1349 {
1350     CString result;
1351     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1352     return result;
1353 }
1354 
1355 CString FileConverter::GetExtensions()
1356 {
1357     CString result;
1358     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1359     return result;
1360 }
1361 
1362 
1363 /////////////////////////////////////////////////////////////////////////////
1364 // FileConverters properties
1365 
1366 /////////////////////////////////////////////////////////////////////////////
1367 // FileConverters operations
1368 
1369 LPDISPATCH FileConverters::GetApplication()
1370 {
1371     LPDISPATCH result;
1372     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1373     return result;
1374 }
1375 
1376 long FileConverters::GetCreator()
1377 {
1378     long result;
1379     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1380     return result;
1381 }
1382 
1383 LPDISPATCH FileConverters::GetParent()
1384 {
1385     LPDISPATCH result;
1386     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1387     return result;
1388 }
1389 
1390 long FileConverters::GetCount()
1391 {
1392     long result;
1393     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1394     return result;
1395 }
1396 
1397 LPUNKNOWN FileConverters::Get_NewEnum()
1398 {
1399     LPUNKNOWN result;
1400     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1401     return result;
1402 }
1403 
1404 long FileConverters::GetConvertMacWordChevrons()
1405 {
1406     long result;
1407     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1408     return result;
1409 }
1410 
1411 void FileConverters::SetConvertMacWordChevrons(long nNewValue)
1412 {
1413     static BYTE parms[] =
1414         VTS_I4;
1415     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1416         nNewValue);
1417 }
1418 
1419 LPDISPATCH FileConverters::Item(VARIANT* Index)
1420 {
1421     LPDISPATCH result;
1422     static BYTE parms[] =
1423         VTS_PVARIANT;
1424     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1425         Index);
1426     return result;
1427 }
1428 
1429 
1430 /////////////////////////////////////////////////////////////////////////////
1431 // SynonymInfo properties
1432 
1433 /////////////////////////////////////////////////////////////////////////////
1434 // SynonymInfo operations
1435 
1436 LPDISPATCH SynonymInfo::GetApplication()
1437 {
1438     LPDISPATCH result;
1439     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1440     return result;
1441 }
1442 
1443 long SynonymInfo::GetCreator()
1444 {
1445     long result;
1446     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1447     return result;
1448 }
1449 
1450 LPDISPATCH SynonymInfo::GetParent()
1451 {
1452     LPDISPATCH result;
1453     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1454     return result;
1455 }
1456 
1457 CString SynonymInfo::GetWord()
1458 {
1459     CString result;
1460     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1461     return result;
1462 }
1463 
1464 BOOL SynonymInfo::GetFound()
1465 {
1466     BOOL result;
1467     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1468     return result;
1469 }
1470 
1471 long SynonymInfo::GetMeaningCount()
1472 {
1473     long result;
1474     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1475     return result;
1476 }
1477 
1478 VARIANT SynonymInfo::GetMeaningList()
1479 {
1480     VARIANT result;
1481     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
1482     return result;
1483 }
1484 
1485 VARIANT SynonymInfo::GetPartOfSpeechList()
1486 {
1487     VARIANT result;
1488     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
1489     return result;
1490 }
1491 
1492 VARIANT SynonymInfo::GetSynonymList(VARIANT* Meaning)
1493 {
1494     VARIANT result;
1495     static BYTE parms[] =
1496         VTS_PVARIANT;
1497     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
1498         Meaning);
1499     return result;
1500 }
1501 
1502 VARIANT SynonymInfo::GetAntonymList()
1503 {
1504     VARIANT result;
1505     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
1506     return result;
1507 }
1508 
1509 VARIANT SynonymInfo::GetRelatedExpressionList()
1510 {
1511     VARIANT result;
1512     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
1513     return result;
1514 }
1515 
1516 VARIANT SynonymInfo::GetRelatedWordList()
1517 {
1518     VARIANT result;
1519     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
1520     return result;
1521 }
1522 
1523 
1524 /////////////////////////////////////////////////////////////////////////////
1525 // Hyperlinks properties
1526 
1527 /////////////////////////////////////////////////////////////////////////////
1528 // Hyperlinks operations
1529 
1530 LPDISPATCH Hyperlinks::GetApplication()
1531 {
1532     LPDISPATCH result;
1533     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1534     return result;
1535 }
1536 
1537 long Hyperlinks::GetCreator()
1538 {
1539     long result;
1540     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1541     return result;
1542 }
1543 
1544 LPDISPATCH Hyperlinks::GetParent()
1545 {
1546     LPDISPATCH result;
1547     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1548     return result;
1549 }
1550 
1551 long Hyperlinks::GetCount()
1552 {
1553     long result;
1554     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1555     return result;
1556 }
1557 
1558 LPUNKNOWN Hyperlinks::Get_NewEnum()
1559 {
1560     LPUNKNOWN result;
1561     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1562     return result;
1563 }
1564 
1565 LPDISPATCH Hyperlinks::Item(VARIANT* Index)
1566 {
1567     LPDISPATCH result;
1568     static BYTE parms[] =
1569         VTS_PVARIANT;
1570     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1571         Index);
1572     return result;
1573 }
1574 
1575 LPDISPATCH Hyperlinks::Add(LPDISPATCH Anchor, VARIANT* Address, VARIANT* SubAddress, VARIANT* ScreenTip, VARIANT* TextToDisplay, VARIANT* Target)
1576 {
1577     LPDISPATCH result;
1578     static BYTE parms[] =
1579         VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
1580     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1581         Anchor, Address, SubAddress, ScreenTip, TextToDisplay, Target);
1582     return result;
1583 }
1584 
1585 
1586 /////////////////////////////////////////////////////////////////////////////
1587 // Hyperlink properties
1588 
1589 /////////////////////////////////////////////////////////////////////////////
1590 // Hyperlink operations
1591 
1592 LPDISPATCH Hyperlink::GetApplication()
1593 {
1594     LPDISPATCH result;
1595     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1596     return result;
1597 }
1598 
1599 long Hyperlink::GetCreator()
1600 {
1601     long result;
1602     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1603     return result;
1604 }
1605 
1606 LPDISPATCH Hyperlink::GetParent()
1607 {
1608     LPDISPATCH result;
1609     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1610     return result;
1611 }
1612 
1613 CString Hyperlink::GetName()
1614 {
1615     CString result;
1616     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1617     return result;
1618 }
1619 
1620 long Hyperlink::GetType()
1621 {
1622     long result;
1623     InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1624     return result;
1625 }
1626 
1627 LPDISPATCH Hyperlink::GetRange()
1628 {
1629     LPDISPATCH result;
1630     InvokeHelper(0x3ee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1631     return result;
1632 }
1633 
1634 LPDISPATCH Hyperlink::GetShape()
1635 {
1636     LPDISPATCH result;
1637     InvokeHelper(0x3ef, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1638     return result;
1639 }
1640 
1641 BOOL Hyperlink::GetExtraInfoRequired()
1642 {
1643     BOOL result;
1644     InvokeHelper(0x3f1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1645     return result;
1646 }
1647 
1648 void Hyperlink::Delete()
1649 {
1650     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1651 }
1652 
1653 void Hyperlink::Follow(VARIANT* NewWindow, VARIANT* AddHistory, VARIANT* ExtraInfo, VARIANT* Method, VARIANT* HeaderInfo)
1654 {
1655     static BYTE parms[] =
1656         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
1657     InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1658         NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo);
1659 }
1660 
1661 void Hyperlink::AddToFavorites()
1662 {
1663     InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1664 }
1665 
1666 void Hyperlink::CreateNewDocument(LPCTSTR FileName, BOOL EditNow, BOOL Overwrite)
1667 {
1668     static BYTE parms[] =
1669         VTS_BSTR VTS_BOOL VTS_BOOL;
1670     InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1671         FileName, EditNow, Overwrite);
1672 }
1673 
1674 CString Hyperlink::GetAddress()
1675 {
1676     CString result;
1677     InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1678     return result;
1679 }
1680 
1681 void Hyperlink::SetAddress(LPCTSTR lpszNewValue)
1682 {
1683     static BYTE parms[] =
1684         VTS_BSTR;
1685     InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1686         lpszNewValue);
1687 }
1688 
1689 CString Hyperlink::GetSubAddress()
1690 {
1691     CString result;
1692     InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1693     return result;
1694 }
1695 
1696 void Hyperlink::SetSubAddress(LPCTSTR lpszNewValue)
1697 {
1698     static BYTE parms[] =
1699         VTS_BSTR;
1700     InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1701         lpszNewValue);
1702 }
1703 
1704 CString Hyperlink::GetEmailSubject()
1705 {
1706     CString result;
1707     InvokeHelper(0x3f2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1708     return result;
1709 }
1710 
1711 void Hyperlink::SetEmailSubject(LPCTSTR lpszNewValue)
1712 {
1713     static BYTE parms[] =
1714         VTS_BSTR;
1715     InvokeHelper(0x3f2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1716         lpszNewValue);
1717 }
1718 
1719 CString Hyperlink::GetScreenTip()
1720 {
1721     CString result;
1722     InvokeHelper(0x3f3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1723     return result;
1724 }
1725 
1726 void Hyperlink::SetScreenTip(LPCTSTR lpszNewValue)
1727 {
1728     static BYTE parms[] =
1729         VTS_BSTR;
1730     InvokeHelper(0x3f3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1731         lpszNewValue);
1732 }
1733 
1734 CString Hyperlink::GetTextToDisplay()
1735 {
1736     CString result;
1737     InvokeHelper(0x3f4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1738     return result;
1739 }
1740 
1741 void Hyperlink::SetTextToDisplay(LPCTSTR lpszNewValue)
1742 {
1743     static BYTE parms[] =
1744         VTS_BSTR;
1745     InvokeHelper(0x3f4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1746         lpszNewValue);
1747 }
1748 
1749 CString Hyperlink::GetTarget()
1750 {
1751     CString result;
1752     InvokeHelper(0x3f5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1753     return result;
1754 }
1755 
1756 void Hyperlink::SetTarget(LPCTSTR lpszNewValue)
1757 {
1758     static BYTE parms[] =
1759         VTS_BSTR;
1760     InvokeHelper(0x3f5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1761         lpszNewValue);
1762 }
1763 
1764 
1765 /////////////////////////////////////////////////////////////////////////////
1766 // Shapes properties
1767 
1768 /////////////////////////////////////////////////////////////////////////////
1769 // Shapes operations
1770 
1771 LPDISPATCH Shapes::GetApplication()
1772 {
1773     LPDISPATCH result;
1774     InvokeHelper(0x1f40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1775     return result;
1776 }
1777 
1778 long Shapes::GetCreator()
1779 {
1780     long result;
1781     InvokeHelper(0x1f41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1782     return result;
1783 }
1784 
1785 LPDISPATCH Shapes::GetParent()
1786 {
1787     LPDISPATCH result;
1788     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1789     return result;
1790 }
1791 
1792 long Shapes::GetCount()
1793 {
1794     long result;
1795     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1796     return result;
1797 }
1798 
1799 LPUNKNOWN Shapes::Get_NewEnum()
1800 {
1801     LPUNKNOWN result;
1802     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1803     return result;
1804 }
1805 
1806 LPDISPATCH Shapes::Item(VARIANT* Index)
1807 {
1808     LPDISPATCH result;
1809     static BYTE parms[] =
1810         VTS_PVARIANT;
1811     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1812         Index);
1813     return result;
1814 }
1815 
1816 LPDISPATCH Shapes::AddCallout(long Type, float Left, float Top, float Width, float Height, VARIANT* Anchor)
1817 {
1818     LPDISPATCH result;
1819     static BYTE parms[] =
1820         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1821     InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1822         Type, Left, Top, Width, Height, Anchor);
1823     return result;
1824 }
1825 
1826 LPDISPATCH Shapes::AddCurve(VARIANT* SafeArrayOfPoints, VARIANT* Anchor)
1827 {
1828     LPDISPATCH result;
1829     static BYTE parms[] =
1830         VTS_PVARIANT VTS_PVARIANT;
1831     InvokeHelper(0xc, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1832         SafeArrayOfPoints, Anchor);
1833     return result;
1834 }
1835 
1836 LPDISPATCH Shapes::AddLabel(long Orientation, float Left, float Top, float Width, float Height, VARIANT* Anchor)
1837 {
1838     LPDISPATCH result;
1839     static BYTE parms[] =
1840         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1841     InvokeHelper(0xd, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1842         Orientation, Left, Top, Width, Height, Anchor);
1843     return result;
1844 }
1845 
1846 LPDISPATCH Shapes::AddLine(float BeginX, float BeginY, float EndX, float EndY, VARIANT* Anchor)
1847 {
1848     LPDISPATCH result;
1849     static BYTE parms[] =
1850         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1851     InvokeHelper(0xe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1852         BeginX, BeginY, EndX, EndY, Anchor);
1853     return result;
1854 }
1855 
1856 LPDISPATCH Shapes::AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height, VARIANT* Anchor)
1857 {
1858     LPDISPATCH result;
1859     static BYTE parms[] =
1860         VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
1861     InvokeHelper(0xf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1862         FileName, LinkToFile, SaveWithDocument, Left, Top, Width, Height, Anchor);
1863     return result;
1864 }
1865 
1866 LPDISPATCH Shapes::AddPolyline(VARIANT* SafeArrayOfPoints, VARIANT* Anchor)
1867 {
1868     LPDISPATCH result;
1869     static BYTE parms[] =
1870         VTS_PVARIANT VTS_PVARIANT;
1871     InvokeHelper(0x10, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1872         SafeArrayOfPoints, Anchor);
1873     return result;
1874 }
1875 
1876 LPDISPATCH Shapes::AddShape(long Type, float Left, float Top, float Width, float Height, VARIANT* Anchor)
1877 {
1878     LPDISPATCH result;
1879     static BYTE parms[] =
1880         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1881     InvokeHelper(0x11, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1882         Type, Left, Top, Width, Height, Anchor);
1883     return result;
1884 }
1885 
1886 LPDISPATCH Shapes::AddTextEffect(long PresetTextEffect, LPCTSTR Text, LPCTSTR FontName, float FontSize, long FontBold, long FontItalic, float Left, float Top, VARIANT* Anchor)
1887 {
1888     LPDISPATCH result;
1889     static BYTE parms[] =
1890         VTS_I4 VTS_BSTR VTS_BSTR VTS_R4 VTS_I4 VTS_I4 VTS_R4 VTS_R4 VTS_PVARIANT;
1891     InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1892         PresetTextEffect, Text, FontName, FontSize, FontBold, FontItalic, Left, Top, Anchor);
1893     return result;
1894 }
1895 
1896 LPDISPATCH Shapes::AddTextbox(long Orientation, float Left, float Top, float Width, float Height, VARIANT* Anchor)
1897 {
1898     LPDISPATCH result;
1899     static BYTE parms[] =
1900         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1901     InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1902         Orientation, Left, Top, Width, Height, Anchor);
1903     return result;
1904 }
1905 
1906 LPDISPATCH Shapes::BuildFreeform(long EditingType, float X1, float Y1)
1907 {
1908     LPDISPATCH result;
1909     static BYTE parms[] =
1910         VTS_I4 VTS_R4 VTS_R4;
1911     InvokeHelper(0x14, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1912         EditingType, X1, Y1);
1913     return result;
1914 }
1915 
1916 LPDISPATCH Shapes::Range(VARIANT* Index)
1917 {
1918     LPDISPATCH result;
1919     static BYTE parms[] =
1920         VTS_PVARIANT;
1921     InvokeHelper(0x15, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1922         Index);
1923     return result;
1924 }
1925 
1926 void Shapes::SelectAll()
1927 {
1928     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1929 }
1930 
1931 LPDISPATCH Shapes::AddOLEObject(VARIANT* ClassType, VARIANT* FileName, VARIANT* LinkToFile, VARIANT* DisplayAsIcon, VARIANT* IconFileName, VARIANT* IconIndex, VARIANT* IconLabel, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height,
1932     VARIANT* Anchor)
1933 {
1934     LPDISPATCH result;
1935     static BYTE parms[] =
1936         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
1937     InvokeHelper(0x18, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1938         ClassType, FileName, LinkToFile, DisplayAsIcon, IconFileName, IconIndex, IconLabel, Left, Top, Width, Height, Anchor);
1939     return result;
1940 }
1941 
1942 LPDISPATCH Shapes::AddOLEControl(VARIANT* ClassType, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height, VARIANT* Anchor)
1943 {
1944     LPDISPATCH result;
1945     static BYTE parms[] =
1946         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
1947     InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1948         ClassType, Left, Top, Width, Height, Anchor);
1949     return result;
1950 }
1951 
1952 LPDISPATCH Shapes::AddDiagram(long Type, float Left, float Top, float Width, float Height, VARIANT* Anchor)
1953 {
1954     LPDISPATCH result;
1955     static BYTE parms[] =
1956         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1957     InvokeHelper(0x17, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1958         Type, Left, Top, Width, Height, Anchor);
1959     return result;
1960 }
1961 
1962 LPDISPATCH Shapes::AddCanvas(float Left, float Top, float Width, float Height, VARIANT* Anchor)
1963 {
1964     LPDISPATCH result;
1965     static BYTE parms[] =
1966         VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_PVARIANT;
1967     InvokeHelper(0x19, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1968         Left, Top, Width, Height, Anchor);
1969     return result;
1970 }
1971 
1972 
1973 /////////////////////////////////////////////////////////////////////////////
1974 // ShapeRange properties
1975 
1976 /////////////////////////////////////////////////////////////////////////////
1977 // ShapeRange operations
1978 
1979 LPDISPATCH ShapeRange::GetApplication()
1980 {
1981     LPDISPATCH result;
1982     InvokeHelper(0x1f40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1983     return result;
1984 }
1985 
1986 long ShapeRange::GetCreator()
1987 {
1988     long result;
1989     InvokeHelper(0x1f41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1990     return result;
1991 }
1992 
1993 LPDISPATCH ShapeRange::GetParent()
1994 {
1995     LPDISPATCH result;
1996     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1997     return result;
1998 }
1999 
2000 long ShapeRange::GetCount()
2001 {
2002     long result;
2003     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2004     return result;
2005 }
2006 
2007 LPUNKNOWN ShapeRange::Get_NewEnum()
2008 {
2009     LPUNKNOWN result;
2010     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2011     return result;
2012 }
2013 
2014 LPDISPATCH ShapeRange::GetAdjustments()
2015 {
2016     LPDISPATCH result;
2017     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2018     return result;
2019 }
2020 
2021 long ShapeRange::GetAutoShapeType()
2022 {
2023     long result;
2024     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2025     return result;
2026 }
2027 
2028 void ShapeRange::SetAutoShapeType(long nNewValue)
2029 {
2030     static BYTE parms[] =
2031         VTS_I4;
2032     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2033         nNewValue);
2034 }
2035 
2036 LPDISPATCH ShapeRange::GetCallout()
2037 {
2038     LPDISPATCH result;
2039     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2040     return result;
2041 }
2042 
2043 LPDISPATCH ShapeRange::GetFill()
2044 {
2045     LPDISPATCH result;
2046     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2047     return result;
2048 }
2049 
2050 LPDISPATCH ShapeRange::GetGroupItems()
2051 {
2052     LPDISPATCH result;
2053     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2054     return result;
2055 }
2056 
2057 float ShapeRange::GetHeight()
2058 {
2059     float result;
2060     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2061     return result;
2062 }
2063 
2064 void ShapeRange::SetHeight(float newValue)
2065 {
2066     static BYTE parms[] =
2067         VTS_R4;
2068     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2069         newValue);
2070 }
2071 
2072 long ShapeRange::GetHorizontalFlip()
2073 {
2074     long result;
2075     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2076     return result;
2077 }
2078 
2079 float ShapeRange::GetLeft()
2080 {
2081     float result;
2082     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2083     return result;
2084 }
2085 
2086 void ShapeRange::SetLeft(float newValue)
2087 {
2088     static BYTE parms[] =
2089         VTS_R4;
2090     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2091         newValue);
2092 }
2093 
2094 LPDISPATCH ShapeRange::GetLine()
2095 {
2096     LPDISPATCH result;
2097     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2098     return result;
2099 }
2100 
2101 long ShapeRange::GetLockAspectRatio()
2102 {
2103     long result;
2104     InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2105     return result;
2106 }
2107 
2108 void ShapeRange::SetLockAspectRatio(long nNewValue)
2109 {
2110     static BYTE parms[] =
2111         VTS_I4;
2112     InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2113         nNewValue);
2114 }
2115 
2116 CString ShapeRange::GetName()
2117 {
2118     CString result;
2119     InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2120     return result;
2121 }
2122 
2123 void ShapeRange::SetName(LPCTSTR lpszNewValue)
2124 {
2125     static BYTE parms[] =
2126         VTS_BSTR;
2127     InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2128         lpszNewValue);
2129 }
2130 
2131 LPDISPATCH ShapeRange::GetNodes()
2132 {
2133     LPDISPATCH result;
2134     InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2135     return result;
2136 }
2137 
2138 float ShapeRange::GetRotation()
2139 {
2140     float result;
2141     InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2142     return result;
2143 }
2144 
2145 void ShapeRange::SetRotation(float newValue)
2146 {
2147     static BYTE parms[] =
2148         VTS_R4;
2149     InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2150         newValue);
2151 }
2152 
2153 LPDISPATCH ShapeRange::GetPictureFormat()
2154 {
2155     LPDISPATCH result;
2156     InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2157     return result;
2158 }
2159 
2160 LPDISPATCH ShapeRange::GetShadow()
2161 {
2162     LPDISPATCH result;
2163     InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2164     return result;
2165 }
2166 
2167 LPDISPATCH ShapeRange::GetTextEffect()
2168 {
2169     LPDISPATCH result;
2170     InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2171     return result;
2172 }
2173 
2174 LPDISPATCH ShapeRange::GetTextFrame()
2175 {
2176     LPDISPATCH result;
2177     InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2178     return result;
2179 }
2180 
2181 LPDISPATCH ShapeRange::GetThreeD()
2182 {
2183     LPDISPATCH result;
2184     InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2185     return result;
2186 }
2187 
2188 float ShapeRange::GetTop()
2189 {
2190     float result;
2191     InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2192     return result;
2193 }
2194 
2195 void ShapeRange::SetTop(float newValue)
2196 {
2197     static BYTE parms[] =
2198         VTS_R4;
2199     InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2200         newValue);
2201 }
2202 
2203 long ShapeRange::GetType()
2204 {
2205     long result;
2206     InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2207     return result;
2208 }
2209 
2210 long ShapeRange::GetVerticalFlip()
2211 {
2212     long result;
2213     InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2214     return result;
2215 }
2216 
2217 VARIANT ShapeRange::GetVertices()
2218 {
2219     VARIANT result;
2220     InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
2221     return result;
2222 }
2223 
2224 long ShapeRange::GetVisible()
2225 {
2226     long result;
2227     InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2228     return result;
2229 }
2230 
2231 void ShapeRange::SetVisible(long nNewValue)
2232 {
2233     static BYTE parms[] =
2234         VTS_I4;
2235     InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2236         nNewValue);
2237 }
2238 
2239 float ShapeRange::GetWidth()
2240 {
2241     float result;
2242     InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2243     return result;
2244 }
2245 
2246 void ShapeRange::SetWidth(float newValue)
2247 {
2248     static BYTE parms[] =
2249         VTS_R4;
2250     InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2251         newValue);
2252 }
2253 
2254 long ShapeRange::GetZOrderPosition()
2255 {
2256     long result;
2257     InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2258     return result;
2259 }
2260 
2261 LPDISPATCH ShapeRange::GetHyperlink()
2262 {
2263     LPDISPATCH result;
2264     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2265     return result;
2266 }
2267 
2268 long ShapeRange::GetRelativeHorizontalPosition()
2269 {
2270     long result;
2271     InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2272     return result;
2273 }
2274 
2275 void ShapeRange::SetRelativeHorizontalPosition(long nNewValue)
2276 {
2277     static BYTE parms[] =
2278         VTS_I4;
2279     InvokeHelper(0x12c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2280         nNewValue);
2281 }
2282 
2283 long ShapeRange::GetRelativeVerticalPosition()
2284 {
2285     long result;
2286     InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2287     return result;
2288 }
2289 
2290 void ShapeRange::SetRelativeVerticalPosition(long nNewValue)
2291 {
2292     static BYTE parms[] =
2293         VTS_I4;
2294     InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2295         nNewValue);
2296 }
2297 
2298 long ShapeRange::GetLockAnchor()
2299 {
2300     long result;
2301     InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2302     return result;
2303 }
2304 
2305 void ShapeRange::SetLockAnchor(long nNewValue)
2306 {
2307     static BYTE parms[] =
2308         VTS_I4;
2309     InvokeHelper(0x12e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2310         nNewValue);
2311 }
2312 
2313 LPDISPATCH ShapeRange::GetWrapFormat()
2314 {
2315     LPDISPATCH result;
2316     InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2317     return result;
2318 }
2319 
2320 LPDISPATCH ShapeRange::GetAnchor()
2321 {
2322     LPDISPATCH result;
2323     InvokeHelper(0x130, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2324     return result;
2325 }
2326 
2327 LPDISPATCH ShapeRange::Item(VARIANT* Index)
2328 {
2329     LPDISPATCH result;
2330     static BYTE parms[] =
2331         VTS_PVARIANT;
2332     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2333         Index);
2334     return result;
2335 }
2336 
2337 void ShapeRange::Align(long Align, long RelativeTo)
2338 {
2339     static BYTE parms[] =
2340         VTS_I4 VTS_I4;
2341     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2342         Align, RelativeTo);
2343 }
2344 
2345 void ShapeRange::Apply()
2346 {
2347     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2348 }
2349 
2350 void ShapeRange::Delete()
2351 {
2352     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2353 }
2354 
2355 void ShapeRange::Distribute(long Distribute, long RelativeTo)
2356 {
2357     static BYTE parms[] =
2358         VTS_I4 VTS_I4;
2359     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2360         Distribute, RelativeTo);
2361 }
2362 
2363 LPDISPATCH ShapeRange::Duplicate()
2364 {
2365     LPDISPATCH result;
2366     InvokeHelper(0xe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2367     return result;
2368 }
2369 
2370 void ShapeRange::Flip(long FlipCmd)
2371 {
2372     static BYTE parms[] =
2373         VTS_I4;
2374     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2375         FlipCmd);
2376 }
2377 
2378 void ShapeRange::IncrementLeft(float Increment)
2379 {
2380     static BYTE parms[] =
2381         VTS_R4;
2382     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2383         Increment);
2384 }
2385 
2386 void ShapeRange::IncrementRotation(float Increment)
2387 {
2388     static BYTE parms[] =
2389         VTS_R4;
2390     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2391         Increment);
2392 }
2393 
2394 void ShapeRange::IncrementTop(float Increment)
2395 {
2396     static BYTE parms[] =
2397         VTS_R4;
2398     InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2399         Increment);
2400 }
2401 
2402 LPDISPATCH ShapeRange::Group()
2403 {
2404     LPDISPATCH result;
2405     InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2406     return result;
2407 }
2408 
2409 void ShapeRange::PickUp()
2410 {
2411     InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2412 }
2413 
2414 LPDISPATCH ShapeRange::Regroup()
2415 {
2416     LPDISPATCH result;
2417     InvokeHelper(0x15, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2418     return result;
2419 }
2420 
2421 void ShapeRange::ScaleHeight(float Factor, long RelativeToOriginalSize, long Scale)
2422 {
2423     static BYTE parms[] =
2424         VTS_R4 VTS_I4 VTS_I4;
2425     InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2426         Factor, RelativeToOriginalSize, Scale);
2427 }
2428 
2429 void ShapeRange::ScaleWidth(float Factor, long RelativeToOriginalSize, long Scale)
2430 {
2431     static BYTE parms[] =
2432         VTS_R4 VTS_I4 VTS_I4;
2433     InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2434         Factor, RelativeToOriginalSize, Scale);
2435 }
2436 
2437 void ShapeRange::Select(VARIANT* Replace)
2438 {
2439     static BYTE parms[] =
2440         VTS_PVARIANT;
2441     InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2442         Replace);
2443 }
2444 
2445 void ShapeRange::SetShapesDefaultProperties()
2446 {
2447     InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2448 }
2449 
2450 LPDISPATCH ShapeRange::Ungroup()
2451 {
2452     LPDISPATCH result;
2453     InvokeHelper(0x1b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2454     return result;
2455 }
2456 
2457 void ShapeRange::ZOrder(long ZOrderCmd)
2458 {
2459     static BYTE parms[] =
2460         VTS_I4;
2461     InvokeHelper(0x1c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2462         ZOrderCmd);
2463 }
2464 
2465 LPDISPATCH ShapeRange::ConvertToFrame()
2466 {
2467     LPDISPATCH result;
2468     InvokeHelper(0x1d, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2469     return result;
2470 }
2471 
2472 LPDISPATCH ShapeRange::ConvertToInlineShape()
2473 {
2474     LPDISPATCH result;
2475     InvokeHelper(0x1e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
2476     return result;
2477 }
2478 
2479 void ShapeRange::Activate()
2480 {
2481     InvokeHelper(0x32, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2482 }
2483 
2484 CString ShapeRange::GetAlternativeText()
2485 {
2486     CString result;
2487     InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2488     return result;
2489 }
2490 
2491 void ShapeRange::SetAlternativeText(LPCTSTR lpszNewValue)
2492 {
2493     static BYTE parms[] =
2494         VTS_BSTR;
2495     InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2496         lpszNewValue);
2497 }
2498 
2499 long ShapeRange::GetHasDiagram()
2500 {
2501     long result;
2502     InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2503     return result;
2504 }
2505 
2506 LPDISPATCH ShapeRange::GetDiagram()
2507 {
2508     LPDISPATCH result;
2509     InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2510     return result;
2511 }
2512 
2513 long ShapeRange::GetHasDiagramNode()
2514 {
2515     long result;
2516     InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2517     return result;
2518 }
2519 
2520 LPDISPATCH ShapeRange::GetDiagramNode()
2521 {
2522     LPDISPATCH result;
2523     InvokeHelper(0x87, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2524     return result;
2525 }
2526 
2527 long ShapeRange::GetChild()
2528 {
2529     long result;
2530     InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2531     return result;
2532 }
2533 
2534 LPDISPATCH ShapeRange::GetParentGroup()
2535 {
2536     LPDISPATCH result;
2537     InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2538     return result;
2539 }
2540 
2541 LPDISPATCH ShapeRange::GetCanvasItems()
2542 {
2543     LPDISPATCH result;
2544     InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2545     return result;
2546 }
2547 
2548 long ShapeRange::GetId()
2549 {
2550     long result;
2551     InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2552     return result;
2553 }
2554 
2555 void ShapeRange::CanvasCropLeft(float Increment)
2556 {
2557     static BYTE parms[] =
2558         VTS_R4;
2559     InvokeHelper(0x8c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2560         Increment);
2561 }
2562 
2563 void ShapeRange::CanvasCropTop(float Increment)
2564 {
2565     static BYTE parms[] =
2566         VTS_R4;
2567     InvokeHelper(0x8d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2568         Increment);
2569 }
2570 
2571 void ShapeRange::CanvasCropRight(float Increment)
2572 {
2573     static BYTE parms[] =
2574         VTS_R4;
2575     InvokeHelper(0x8e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2576         Increment);
2577 }
2578 
2579 void ShapeRange::CanvasCropBottom(float Increment)
2580 {
2581     static BYTE parms[] =
2582         VTS_R4;
2583     InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2584         Increment);
2585 }
2586 
2587 long ShapeRange::GetLayoutInCell()
2588 {
2589     long result;
2590     InvokeHelper(0x91, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2591     return result;
2592 }
2593 
2594 void ShapeRange::SetLayoutInCell(long nNewValue)
2595 {
2596     static BYTE parms[] =
2597         VTS_I4;
2598     InvokeHelper(0x91, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2599         nNewValue);
2600 }
2601 
2602 
2603 /////////////////////////////////////////////////////////////////////////////
2604 // GroupShapes properties
2605 
2606 /////////////////////////////////////////////////////////////////////////////
2607 // GroupShapes operations
2608 
2609 LPDISPATCH GroupShapes::GetApplication()
2610 {
2611     LPDISPATCH result;
2612     InvokeHelper(0x1f40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2613     return result;
2614 }
2615 
2616 long GroupShapes::GetCreator()
2617 {
2618     long result;
2619     InvokeHelper(0x1f41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2620     return result;
2621 }
2622 
2623 LPDISPATCH GroupShapes::GetParent()
2624 {
2625     LPDISPATCH result;
2626     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2627     return result;
2628 }
2629 
2630 long GroupShapes::GetCount()
2631 {
2632     long result;
2633     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2634     return result;
2635 }
2636 
2637 LPUNKNOWN GroupShapes::Get_NewEnum()
2638 {
2639     LPUNKNOWN result;
2640     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2641     return result;
2642 }
2643 
2644 LPDISPATCH GroupShapes::Item(VARIANT* Index)
2645 {
2646     LPDISPATCH result;
2647     static BYTE parms[] =
2648         VTS_PVARIANT;
2649     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2650         Index);
2651     return result;
2652 }
2653 
2654 LPDISPATCH GroupShapes::Range(VARIANT* Index)
2655 {
2656     LPDISPATCH result;
2657     static BYTE parms[] =
2658         VTS_PVARIANT;
2659     InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2660         Index);
2661     return result;
2662 }
2663 
2664 
2665 /////////////////////////////////////////////////////////////////////////////
2666 // Shape properties
2667 
2668 /////////////////////////////////////////////////////////////////////////////
2669 // Shape operations
2670 
2671 LPDISPATCH Shape::GetApplication()
2672 {
2673     LPDISPATCH result;
2674     InvokeHelper(0x1f40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2675     return result;
2676 }
2677 
2678 long Shape::GetCreator()
2679 {
2680     long result;
2681     InvokeHelper(0x1f41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2682     return result;
2683 }
2684 
2685 LPDISPATCH Shape::GetParent()
2686 {
2687     LPDISPATCH result;
2688     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2689     return result;
2690 }
2691 
2692 LPDISPATCH Shape::GetAdjustments()
2693 {
2694     LPDISPATCH result;
2695     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2696     return result;
2697 }
2698 
2699 long Shape::GetAutoShapeType()
2700 {
2701     long result;
2702     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2703     return result;
2704 }
2705 
2706 void Shape::SetAutoShapeType(long nNewValue)
2707 {
2708     static BYTE parms[] =
2709         VTS_I4;
2710     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2711         nNewValue);
2712 }
2713 
2714 LPDISPATCH Shape::GetCallout()
2715 {
2716     LPDISPATCH result;
2717     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2718     return result;
2719 }
2720 
2721 LPDISPATCH Shape::GetFill()
2722 {
2723     LPDISPATCH result;
2724     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2725     return result;
2726 }
2727 
2728 LPDISPATCH Shape::GetGroupItems()
2729 {
2730     LPDISPATCH result;
2731     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2732     return result;
2733 }
2734 
2735 float Shape::GetHeight()
2736 {
2737     float result;
2738     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2739     return result;
2740 }
2741 
2742 void Shape::SetHeight(float newValue)
2743 {
2744     static BYTE parms[] =
2745         VTS_R4;
2746     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2747         newValue);
2748 }
2749 
2750 long Shape::GetHorizontalFlip()
2751 {
2752     long result;
2753     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2754     return result;
2755 }
2756 
2757 float Shape::GetLeft()
2758 {
2759     float result;
2760     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2761     return result;
2762 }
2763 
2764 void Shape::SetLeft(float newValue)
2765 {
2766     static BYTE parms[] =
2767         VTS_R4;
2768     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2769         newValue);
2770 }
2771 
2772 LPDISPATCH Shape::GetLine()
2773 {
2774     LPDISPATCH result;
2775     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2776     return result;
2777 }
2778 
2779 long Shape::GetLockAspectRatio()
2780 {
2781     long result;
2782     InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2783     return result;
2784 }
2785 
2786 void Shape::SetLockAspectRatio(long nNewValue)
2787 {
2788     static BYTE parms[] =
2789         VTS_I4;
2790     InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2791         nNewValue);
2792 }
2793 
2794 CString Shape::GetName()
2795 {
2796     CString result;
2797     InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2798     return result;
2799 }
2800 
2801 void Shape::SetName(LPCTSTR lpszNewValue)
2802 {
2803     static BYTE parms[] =
2804         VTS_BSTR;
2805     InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2806         lpszNewValue);
2807 }
2808 
2809 LPDISPATCH Shape::GetNodes()
2810 {
2811     LPDISPATCH result;
2812     InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2813     return result;
2814 }
2815 
2816 float Shape::GetRotation()
2817 {
2818     float result;
2819     InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2820     return result;
2821 }
2822 
2823 void Shape::SetRotation(float newValue)
2824 {
2825     static BYTE parms[] =
2826         VTS_R4;
2827     InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2828         newValue);
2829 }
2830 
2831 LPDISPATCH Shape::GetPictureFormat()
2832 {
2833     LPDISPATCH result;
2834     InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2835     return result;
2836 }
2837 
2838 LPDISPATCH Shape::GetShadow()
2839 {
2840     LPDISPATCH result;
2841     InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2842     return result;
2843 }
2844 
2845 LPDISPATCH Shape::GetTextEffect()
2846 {
2847     LPDISPATCH result;
2848     InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2849     return result;
2850 }
2851 
2852 LPDISPATCH Shape::GetTextFrame()
2853 {
2854     LPDISPATCH result;
2855     InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2856     return result;
2857 }
2858 
2859 LPDISPATCH Shape::GetThreeD()
2860 {
2861     LPDISPATCH result;
2862     InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2863     return result;
2864 }
2865 
2866 float Shape::GetTop()
2867 {
2868     float result;
2869     InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2870     return result;
2871 }
2872 
2873 void Shape::SetTop(float newValue)
2874 {
2875     static BYTE parms[] =
2876         VTS_R4;
2877     InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2878         newValue);
2879 }
2880 
2881 long Shape::GetType()
2882 {
2883     long result;
2884     InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2885     return result;
2886 }
2887 
2888 long Shape::GetVerticalFlip()
2889 {
2890     long result;
2891     InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2892     return result;
2893 }
2894 
2895 VARIANT Shape::GetVertices()
2896 {
2897     VARIANT result;
2898     InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
2899     return result;
2900 }
2901 
2902 long Shape::GetVisible()
2903 {
2904     long result;
2905     InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2906     return result;
2907 }
2908 
2909 void Shape::SetVisible(long nNewValue)
2910 {
2911     static BYTE parms[] =
2912         VTS_I4;
2913     InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2914         nNewValue);
2915 }
2916 
2917 float Shape::GetWidth()
2918 {
2919     float result;
2920     InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2921     return result;
2922 }
2923 
2924 void Shape::SetWidth(float newValue)
2925 {
2926     static BYTE parms[] =
2927         VTS_R4;
2928     InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2929         newValue);
2930 }
2931 
2932 long Shape::GetZOrderPosition()
2933 {
2934     long result;
2935     InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2936     return result;
2937 }
2938 
2939 LPDISPATCH Shape::GetHyperlink()
2940 {
2941     LPDISPATCH result;
2942     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2943     return result;
2944 }
2945 
2946 long Shape::GetRelativeHorizontalPosition()
2947 {
2948     long result;
2949     InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2950     return result;
2951 }
2952 
2953 void Shape::SetRelativeHorizontalPosition(long nNewValue)
2954 {
2955     static BYTE parms[] =
2956         VTS_I4;
2957     InvokeHelper(0x12c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2958         nNewValue);
2959 }
2960 
2961 long Shape::GetRelativeVerticalPosition()
2962 {
2963     long result;
2964     InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2965     return result;
2966 }
2967 
2968 void Shape::SetRelativeVerticalPosition(long nNewValue)
2969 {
2970     static BYTE parms[] =
2971         VTS_I4;
2972     InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2973         nNewValue);
2974 }
2975 
2976 long Shape::GetLockAnchor()
2977 {
2978     long result;
2979     InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2980     return result;
2981 }
2982 
2983 void Shape::SetLockAnchor(long nNewValue)
2984 {
2985     static BYTE parms[] =
2986         VTS_I4;
2987     InvokeHelper(0x12e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2988         nNewValue);
2989 }
2990 
2991 LPDISPATCH Shape::GetWrapFormat()
2992 {
2993     LPDISPATCH result;
2994     InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2995     return result;
2996 }
2997 
2998 LPDISPATCH Shape::GetOLEFormat()
2999 {
3000     LPDISPATCH result;
3001     InvokeHelper(0x1f4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3002     return result;
3003 }
3004 
3005 LPDISPATCH Shape::GetAnchor()
3006 {
3007     LPDISPATCH result;
3008     InvokeHelper(0x1f5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3009     return result;
3010 }
3011 
3012 LPDISPATCH Shape::GetLinkFormat()
3013 {
3014     LPDISPATCH result;
3015     InvokeHelper(0x1f6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3016     return result;
3017 }
3018 
3019 void Shape::Apply()
3020 {
3021     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3022 }
3023 
3024 void Shape::Delete()
3025 {
3026     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3027 }
3028 
3029 LPDISPATCH Shape::Duplicate()
3030 {
3031     LPDISPATCH result;
3032     InvokeHelper(0xc, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3033     return result;
3034 }
3035 
3036 void Shape::Flip(long FlipCmd)
3037 {
3038     static BYTE parms[] =
3039         VTS_I4;
3040     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3041         FlipCmd);
3042 }
3043 
3044 void Shape::IncrementLeft(float Increment)
3045 {
3046     static BYTE parms[] =
3047         VTS_R4;
3048     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3049         Increment);
3050 }
3051 
3052 void Shape::IncrementRotation(float Increment)
3053 {
3054     static BYTE parms[] =
3055         VTS_R4;
3056     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3057         Increment);
3058 }
3059 
3060 void Shape::IncrementTop(float Increment)
3061 {
3062     static BYTE parms[] =
3063         VTS_R4;
3064     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3065         Increment);
3066 }
3067 
3068 void Shape::PickUp()
3069 {
3070     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3071 }
3072 
3073 void Shape::ScaleHeight(float Factor, long RelativeToOriginalSize, long Scale)
3074 {
3075     static BYTE parms[] =
3076         VTS_R4 VTS_I4 VTS_I4;
3077     InvokeHelper(0x13, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3078         Factor, RelativeToOriginalSize, Scale);
3079 }
3080 
3081 void Shape::ScaleWidth(float Factor, long RelativeToOriginalSize, long Scale)
3082 {
3083     static BYTE parms[] =
3084         VTS_R4 VTS_I4 VTS_I4;
3085     InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3086         Factor, RelativeToOriginalSize, Scale);
3087 }
3088 
3089 void Shape::Select(VARIANT* Replace)
3090 {
3091     static BYTE parms[] =
3092         VTS_PVARIANT;
3093     InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3094         Replace);
3095 }
3096 
3097 void Shape::SetShapesDefaultProperties()
3098 {
3099     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3100 }
3101 
3102 LPDISPATCH Shape::Ungroup()
3103 {
3104     LPDISPATCH result;
3105     InvokeHelper(0x17, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3106     return result;
3107 }
3108 
3109 void Shape::ZOrder(long ZOrderCmd)
3110 {
3111     static BYTE parms[] =
3112         VTS_I4;
3113     InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3114         ZOrderCmd);
3115 }
3116 
3117 LPDISPATCH Shape::ConvertToInlineShape()
3118 {
3119     LPDISPATCH result;
3120     InvokeHelper(0x19, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3121     return result;
3122 }
3123 
3124 LPDISPATCH Shape::ConvertToFrame()
3125 {
3126     LPDISPATCH result;
3127     InvokeHelper(0x1d, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3128     return result;
3129 }
3130 
3131 void Shape::Activate()
3132 {
3133     InvokeHelper(0x32, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3134 }
3135 
3136 CString Shape::GetAlternativeText()
3137 {
3138     CString result;
3139     InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3140     return result;
3141 }
3142 
3143 void Shape::SetAlternativeText(LPCTSTR lpszNewValue)
3144 {
3145     static BYTE parms[] =
3146         VTS_BSTR;
3147     InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3148         lpszNewValue);
3149 }
3150 
3151 LPDISPATCH Shape::GetScript()
3152 {
3153     LPDISPATCH result;
3154     InvokeHelper(0x1f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3155     return result;
3156 }
3157 
3158 long Shape::GetHasDiagram()
3159 {
3160     long result;
3161     InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3162     return result;
3163 }
3164 
3165 LPDISPATCH Shape::GetDiagram()
3166 {
3167     LPDISPATCH result;
3168     InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3169     return result;
3170 }
3171 
3172 long Shape::GetHasDiagramNode()
3173 {
3174     long result;
3175     InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3176     return result;
3177 }
3178 
3179 LPDISPATCH Shape::GetDiagramNode()
3180 {
3181     LPDISPATCH result;
3182     InvokeHelper(0x87, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3183     return result;
3184 }
3185 
3186 long Shape::GetChild()
3187 {
3188     long result;
3189     InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3190     return result;
3191 }
3192 
3193 LPDISPATCH Shape::GetParentGroup()
3194 {
3195     LPDISPATCH result;
3196     InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3197     return result;
3198 }
3199 
3200 LPDISPATCH Shape::GetCanvasItems()
3201 {
3202     LPDISPATCH result;
3203     InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3204     return result;
3205 }
3206 
3207 long Shape::GetId()
3208 {
3209     long result;
3210     InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3211     return result;
3212 }
3213 
3214 void Shape::CanvasCropLeft(float Increment)
3215 {
3216     static BYTE parms[] =
3217         VTS_R4;
3218     InvokeHelper(0x8c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3219         Increment);
3220 }
3221 
3222 void Shape::CanvasCropTop(float Increment)
3223 {
3224     static BYTE parms[] =
3225         VTS_R4;
3226     InvokeHelper(0x8d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3227         Increment);
3228 }
3229 
3230 void Shape::CanvasCropRight(float Increment)
3231 {
3232     static BYTE parms[] =
3233         VTS_R4;
3234     InvokeHelper(0x8e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3235         Increment);
3236 }
3237 
3238 void Shape::CanvasCropBottom(float Increment)
3239 {
3240     static BYTE parms[] =
3241         VTS_R4;
3242     InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3243         Increment);
3244 }
3245 
3246 long Shape::GetLayoutInCell()
3247 {
3248     long result;
3249     InvokeHelper(0x91, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3250     return result;
3251 }
3252 
3253 void Shape::SetLayoutInCell(long nNewValue)
3254 {
3255     static BYTE parms[] =
3256         VTS_I4;
3257     InvokeHelper(0x91, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3258         nNewValue);
3259 }
3260 
3261 
3262 /////////////////////////////////////////////////////////////////////////////
3263 // TextFrame properties
3264 
3265 /////////////////////////////////////////////////////////////////////////////
3266 // TextFrame operations
3267 
3268 LPDISPATCH TextFrame::GetApplication()
3269 {
3270     LPDISPATCH result;
3271     InvokeHelper(0x1f40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3272     return result;
3273 }
3274 
3275 long TextFrame::GetCreator()
3276 {
3277     long result;
3278     InvokeHelper(0x1f41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3279     return result;
3280 }
3281 
3282 LPDISPATCH TextFrame::GetParent()
3283 {
3284     LPDISPATCH result;
3285     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3286     return result;
3287 }
3288 
3289 float TextFrame::GetMarginBottom()
3290 {
3291     float result;
3292     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3293     return result;
3294 }
3295 
3296 void TextFrame::SetMarginBottom(float newValue)
3297 {
3298     static BYTE parms[] =
3299         VTS_R4;
3300     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3301         newValue);
3302 }
3303 
3304 float TextFrame::GetMarginLeft()
3305 {
3306     float result;
3307     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3308     return result;
3309 }
3310 
3311 void TextFrame::SetMarginLeft(float newValue)
3312 {
3313     static BYTE parms[] =
3314         VTS_R4;
3315     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3316         newValue);
3317 }
3318 
3319 float TextFrame::GetMarginRight()
3320 {
3321     float result;
3322     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3323     return result;
3324 }
3325 
3326 void TextFrame::SetMarginRight(float newValue)
3327 {
3328     static BYTE parms[] =
3329         VTS_R4;
3330     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3331         newValue);
3332 }
3333 
3334 float TextFrame::GetMarginTop()
3335 {
3336     float result;
3337     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3338     return result;
3339 }
3340 
3341 void TextFrame::SetMarginTop(float newValue)
3342 {
3343     static BYTE parms[] =
3344         VTS_R4;
3345     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3346         newValue);
3347 }
3348 
3349 long TextFrame::GetOrientation()
3350 {
3351     long result;
3352     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3353     return result;
3354 }
3355 
3356 void TextFrame::SetOrientation(long nNewValue)
3357 {
3358     static BYTE parms[] =
3359         VTS_I4;
3360     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3361         nNewValue);
3362 }
3363 
3364 LPDISPATCH TextFrame::GetTextRange()
3365 {
3366     LPDISPATCH result;
3367     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3368     return result;
3369 }
3370 
3371 LPDISPATCH TextFrame::GetContainingRange()
3372 {
3373     LPDISPATCH result;
3374     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3375     return result;
3376 }
3377 
3378 LPDISPATCH TextFrame::GetNext()
3379 {
3380     LPDISPATCH result;
3381     InvokeHelper(0x1389, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3382     return result;
3383 }
3384 
3385 void TextFrame::SetNext(LPDISPATCH newValue)
3386 {
3387     static BYTE parms[] =
3388         VTS_DISPATCH;
3389     InvokeHelper(0x1389, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3390         newValue);
3391 }
3392 
3393 LPDISPATCH TextFrame::GetPrevious()
3394 {
3395     LPDISPATCH result;
3396     InvokeHelper(0x138a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3397     return result;
3398 }
3399 
3400 void TextFrame::SetPrevious(LPDISPATCH newValue)
3401 {
3402     static BYTE parms[] =
3403         VTS_DISPATCH;
3404     InvokeHelper(0x138a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3405         newValue);
3406 }
3407 
3408 BOOL TextFrame::GetOverflowing()
3409 {
3410     BOOL result;
3411     InvokeHelper(0x138b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3412     return result;
3413 }
3414 
3415 long TextFrame::GetHasText()
3416 {
3417     long result;
3418     InvokeHelper(0x1390, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3419     return result;
3420 }
3421 
3422 void TextFrame::BreakForwardLink()
3423 {
3424     InvokeHelper(0x138c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3425 }
3426 
3427 BOOL TextFrame::ValidLinkTarget(LPDISPATCH TargetTextFrame)
3428 {
3429     BOOL result;
3430     static BYTE parms[] =
3431         VTS_DISPATCH;
3432     InvokeHelper(0x138e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
3433         TargetTextFrame);
3434     return result;
3435 }
3436 
3437 long TextFrame::GetAutoSize()
3438 {
3439     long result;
3440     InvokeHelper(0x1391, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3441     return result;
3442 }
3443 
3444 void TextFrame::SetAutoSize(long nNewValue)
3445 {
3446     static BYTE parms[] =
3447         VTS_I4;
3448     InvokeHelper(0x1391, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3449         nNewValue);
3450 }
3451 
3452 long TextFrame::GetWordWrap()
3453 {
3454     long result;
3455     InvokeHelper(0x1392, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3456     return result;
3457 }
3458 
3459 void TextFrame::SetWordWrap(long nNewValue)
3460 {
3461     static BYTE parms[] =
3462         VTS_I4;
3463     InvokeHelper(0x1392, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3464         nNewValue);
3465 }
3466 
3467 
3468 /////////////////////////////////////////////////////////////////////////////
3469 // _LetterContent properties
3470 
3471 /////////////////////////////////////////////////////////////////////////////
3472 // _LetterContent operations
3473 
3474 LPDISPATCH _LetterContent::GetApplication()
3475 {
3476     LPDISPATCH result;
3477     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3478     return result;
3479 }
3480 
3481 long _LetterContent::GetCreator()
3482 {
3483     long result;
3484     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3485     return result;
3486 }
3487 
3488 LPDISPATCH _LetterContent::GetParent()
3489 {
3490     LPDISPATCH result;
3491     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3492     return result;
3493 }
3494 
3495 LPDISPATCH _LetterContent::GetDuplicate()
3496 {
3497     LPDISPATCH result;
3498     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3499     return result;
3500 }
3501 
3502 CString _LetterContent::GetDateFormat()
3503 {
3504     CString result;
3505     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3506     return result;
3507 }
3508 
3509 void _LetterContent::SetDateFormat(LPCTSTR lpszNewValue)
3510 {
3511     static BYTE parms[] =
3512         VTS_BSTR;
3513     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3514         lpszNewValue);
3515 }
3516 
3517 BOOL _LetterContent::GetIncludeHeaderFooter()
3518 {
3519     BOOL result;
3520     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3521     return result;
3522 }
3523 
3524 void _LetterContent::SetIncludeHeaderFooter(BOOL bNewValue)
3525 {
3526     static BYTE parms[] =
3527         VTS_BOOL;
3528     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3529         bNewValue);
3530 }
3531 
3532 CString _LetterContent::GetPageDesign()
3533 {
3534     CString result;
3535     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3536     return result;
3537 }
3538 
3539 void _LetterContent::SetPageDesign(LPCTSTR lpszNewValue)
3540 {
3541     static BYTE parms[] =
3542         VTS_BSTR;
3543     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3544         lpszNewValue);
3545 }
3546 
3547 long _LetterContent::GetLetterStyle()
3548 {
3549     long result;
3550     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3551     return result;
3552 }
3553 
3554 void _LetterContent::SetLetterStyle(long nNewValue)
3555 {
3556     static BYTE parms[] =
3557         VTS_I4;
3558     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3559         nNewValue);
3560 }
3561 
3562 BOOL _LetterContent::GetLetterhead()
3563 {
3564     BOOL result;
3565     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3566     return result;
3567 }
3568 
3569 void _LetterContent::SetLetterhead(BOOL bNewValue)
3570 {
3571     static BYTE parms[] =
3572         VTS_BOOL;
3573     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3574         bNewValue);
3575 }
3576 
3577 long _LetterContent::GetLetterheadLocation()
3578 {
3579     long result;
3580     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3581     return result;
3582 }
3583 
3584 void _LetterContent::SetLetterheadLocation(long nNewValue)
3585 {
3586     static BYTE parms[] =
3587         VTS_I4;
3588     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3589         nNewValue);
3590 }
3591 
3592 float _LetterContent::GetLetterheadSize()
3593 {
3594     float result;
3595     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3596     return result;
3597 }
3598 
3599 void _LetterContent::SetLetterheadSize(float newValue)
3600 {
3601     static BYTE parms[] =
3602         VTS_R4;
3603     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3604         newValue);
3605 }
3606 
3607 CString _LetterContent::GetRecipientName()
3608 {
3609     CString result;
3610     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3611     return result;
3612 }
3613 
3614 void _LetterContent::SetRecipientName(LPCTSTR lpszNewValue)
3615 {
3616     static BYTE parms[] =
3617         VTS_BSTR;
3618     InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3619         lpszNewValue);
3620 }
3621 
3622 CString _LetterContent::GetRecipientAddress()
3623 {
3624     CString result;
3625     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3626     return result;
3627 }
3628 
3629 void _LetterContent::SetRecipientAddress(LPCTSTR lpszNewValue)
3630 {
3631     static BYTE parms[] =
3632         VTS_BSTR;
3633     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3634         lpszNewValue);
3635 }
3636 
3637 CString _LetterContent::GetSalutation()
3638 {
3639     CString result;
3640     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3641     return result;
3642 }
3643 
3644 void _LetterContent::SetSalutation(LPCTSTR lpszNewValue)
3645 {
3646     static BYTE parms[] =
3647         VTS_BSTR;
3648     InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3649         lpszNewValue);
3650 }
3651 
3652 long _LetterContent::GetSalutationType()
3653 {
3654     long result;
3655     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3656     return result;
3657 }
3658 
3659 void _LetterContent::SetSalutationType(long nNewValue)
3660 {
3661     static BYTE parms[] =
3662         VTS_I4;
3663     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3664         nNewValue);
3665 }
3666 
3667 CString _LetterContent::GetRecipientReference()
3668 {
3669     CString result;
3670     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3671     return result;
3672 }
3673 
3674 void _LetterContent::SetRecipientReference(LPCTSTR lpszNewValue)
3675 {
3676     static BYTE parms[] =
3677         VTS_BSTR;
3678     InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3679         lpszNewValue);
3680 }
3681 
3682 CString _LetterContent::GetMailingInstructions()
3683 {
3684     CString result;
3685     InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3686     return result;
3687 }
3688 
3689 void _LetterContent::SetMailingInstructions(LPCTSTR lpszNewValue)
3690 {
3691     static BYTE parms[] =
3692         VTS_BSTR;
3693     InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3694         lpszNewValue);
3695 }
3696 
3697 CString _LetterContent::GetAttentionLine()
3698 {
3699     CString result;
3700     InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3701     return result;
3702 }
3703 
3704 void _LetterContent::SetAttentionLine(LPCTSTR lpszNewValue)
3705 {
3706     static BYTE parms[] =
3707         VTS_BSTR;
3708     InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3709         lpszNewValue);
3710 }
3711 
3712 CString _LetterContent::GetSubject()
3713 {
3714     CString result;
3715     InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3716     return result;
3717 }
3718 
3719 void _LetterContent::SetSubject(LPCTSTR lpszNewValue)
3720 {
3721     static BYTE parms[] =
3722         VTS_BSTR;
3723     InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3724         lpszNewValue);
3725 }
3726 
3727 long _LetterContent::GetEnclosureNumber()
3728 {
3729     long result;
3730     InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3731     return result;
3732 }
3733 
3734 void _LetterContent::SetEnclosureNumber(long nNewValue)
3735 {
3736     static BYTE parms[] =
3737         VTS_I4;
3738     InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3739         nNewValue);
3740 }
3741 
3742 CString _LetterContent::GetCCList()
3743 {
3744     CString result;
3745     InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3746     return result;
3747 }
3748 
3749 void _LetterContent::SetCCList(LPCTSTR lpszNewValue)
3750 {
3751     static BYTE parms[] =
3752         VTS_BSTR;
3753     InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3754         lpszNewValue);
3755 }
3756 
3757 CString _LetterContent::GetReturnAddress()
3758 {
3759     CString result;
3760     InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3761     return result;
3762 }
3763 
3764 void _LetterContent::SetReturnAddress(LPCTSTR lpszNewValue)
3765 {
3766     static BYTE parms[] =
3767         VTS_BSTR;
3768     InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3769         lpszNewValue);
3770 }
3771 
3772 CString _LetterContent::GetSenderName()
3773 {
3774     CString result;
3775     InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3776     return result;
3777 }
3778 
3779 void _LetterContent::SetSenderName(LPCTSTR lpszNewValue)
3780 {
3781     static BYTE parms[] =
3782         VTS_BSTR;
3783     InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3784         lpszNewValue);
3785 }
3786 
3787 CString _LetterContent::GetClosing()
3788 {
3789     CString result;
3790     InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3791     return result;
3792 }
3793 
3794 void _LetterContent::SetClosing(LPCTSTR lpszNewValue)
3795 {
3796     static BYTE parms[] =
3797         VTS_BSTR;
3798     InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3799         lpszNewValue);
3800 }
3801 
3802 CString _LetterContent::GetSenderCompany()
3803 {
3804     CString result;
3805     InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3806     return result;
3807 }
3808 
3809 void _LetterContent::SetSenderCompany(LPCTSTR lpszNewValue)
3810 {
3811     static BYTE parms[] =
3812         VTS_BSTR;
3813     InvokeHelper(0x7a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3814         lpszNewValue);
3815 }
3816 
3817 CString _LetterContent::GetSenderJobTitle()
3818 {
3819     CString result;
3820     InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3821     return result;
3822 }
3823 
3824 void _LetterContent::SetSenderJobTitle(LPCTSTR lpszNewValue)
3825 {
3826     static BYTE parms[] =
3827         VTS_BSTR;
3828     InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3829         lpszNewValue);
3830 }
3831 
3832 CString _LetterContent::GetSenderInitials()
3833 {
3834     CString result;
3835     InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3836     return result;
3837 }
3838 
3839 void _LetterContent::SetSenderInitials(LPCTSTR lpszNewValue)
3840 {
3841     static BYTE parms[] =
3842         VTS_BSTR;
3843     InvokeHelper(0x7c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3844         lpszNewValue);
3845 }
3846 
3847 BOOL _LetterContent::GetInfoBlock()
3848 {
3849     BOOL result;
3850     InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3851     return result;
3852 }
3853 
3854 void _LetterContent::SetInfoBlock(BOOL bNewValue)
3855 {
3856     static BYTE parms[] =
3857         VTS_BOOL;
3858     InvokeHelper(0x7d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3859         bNewValue);
3860 }
3861 
3862 CString _LetterContent::GetRecipientCode()
3863 {
3864     CString result;
3865     InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3866     return result;
3867 }
3868 
3869 void _LetterContent::SetRecipientCode(LPCTSTR lpszNewValue)
3870 {
3871     static BYTE parms[] =
3872         VTS_BSTR;
3873     InvokeHelper(0x7e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3874         lpszNewValue);
3875 }
3876 
3877 long _LetterContent::GetRecipientGender()
3878 {
3879     long result;
3880     InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3881     return result;
3882 }
3883 
3884 void _LetterContent::SetRecipientGender(long nNewValue)
3885 {
3886     static BYTE parms[] =
3887         VTS_I4;
3888     InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3889         nNewValue);
3890 }
3891 
3892 CString _LetterContent::GetReturnAddressShortForm()
3893 {
3894     CString result;
3895     InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3896     return result;
3897 }
3898 
3899 void _LetterContent::SetReturnAddressShortForm(LPCTSTR lpszNewValue)
3900 {
3901     static BYTE parms[] =
3902         VTS_BSTR;
3903     InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3904         lpszNewValue);
3905 }
3906 
3907 CString _LetterContent::GetSenderCity()
3908 {
3909     CString result;
3910     InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3911     return result;
3912 }
3913 
3914 void _LetterContent::SetSenderCity(LPCTSTR lpszNewValue)
3915 {
3916     static BYTE parms[] =
3917         VTS_BSTR;
3918     InvokeHelper(0x81, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3919         lpszNewValue);
3920 }
3921 
3922 CString _LetterContent::GetSenderCode()
3923 {
3924     CString result;
3925     InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3926     return result;
3927 }
3928 
3929 void _LetterContent::SetSenderCode(LPCTSTR lpszNewValue)
3930 {
3931     static BYTE parms[] =
3932         VTS_BSTR;
3933     InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3934         lpszNewValue);
3935 }
3936 
3937 long _LetterContent::GetSenderGender()
3938 {
3939     long result;
3940     InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3941     return result;
3942 }
3943 
3944 void _LetterContent::SetSenderGender(long nNewValue)
3945 {
3946     static BYTE parms[] =
3947         VTS_I4;
3948     InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3949         nNewValue);
3950 }
3951 
3952 CString _LetterContent::GetSenderReference()
3953 {
3954     CString result;
3955     InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3956     return result;
3957 }
3958 
3959 void _LetterContent::SetSenderReference(LPCTSTR lpszNewValue)
3960 {
3961     static BYTE parms[] =
3962         VTS_BSTR;
3963     InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3964         lpszNewValue);
3965 }
3966 
3967 
3968 /////////////////////////////////////////////////////////////////////////////
3969 // View properties
3970 
3971 /////////////////////////////////////////////////////////////////////////////
3972 // View operations
3973 
3974 LPDISPATCH View::GetApplication()
3975 {
3976     LPDISPATCH result;
3977     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3978     return result;
3979 }
3980 
3981 long View::GetCreator()
3982 {
3983     long result;
3984     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3985     return result;
3986 }
3987 
3988 LPDISPATCH View::GetParent()
3989 {
3990     LPDISPATCH result;
3991     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3992     return result;
3993 }
3994 
3995 long View::GetType()
3996 {
3997     long result;
3998     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3999     return result;
4000 }
4001 
4002 void View::SetType(long nNewValue)
4003 {
4004     static BYTE parms[] =
4005         VTS_I4;
4006     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4007         nNewValue);
4008 }
4009 
4010 BOOL View::GetFullScreen()
4011 {
4012     BOOL result;
4013     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4014     return result;
4015 }
4016 
4017 void View::SetFullScreen(BOOL bNewValue)
4018 {
4019     static BYTE parms[] =
4020         VTS_BOOL;
4021     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4022         bNewValue);
4023 }
4024 
4025 BOOL View::GetDraft()
4026 {
4027     BOOL result;
4028     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4029     return result;
4030 }
4031 
4032 void View::SetDraft(BOOL bNewValue)
4033 {
4034     static BYTE parms[] =
4035         VTS_BOOL;
4036     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4037         bNewValue);
4038 }
4039 
4040 BOOL View::GetShowAll()
4041 {
4042     BOOL result;
4043     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4044     return result;
4045 }
4046 
4047 void View::SetShowAll(BOOL bNewValue)
4048 {
4049     static BYTE parms[] =
4050         VTS_BOOL;
4051     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4052         bNewValue);
4053 }
4054 
4055 BOOL View::GetShowFieldCodes()
4056 {
4057     BOOL result;
4058     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4059     return result;
4060 }
4061 
4062 void View::SetShowFieldCodes(BOOL bNewValue)
4063 {
4064     static BYTE parms[] =
4065         VTS_BOOL;
4066     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4067         bNewValue);
4068 }
4069 
4070 BOOL View::GetMailMergeDataView()
4071 {
4072     BOOL result;
4073     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4074     return result;
4075 }
4076 
4077 void View::SetMailMergeDataView(BOOL bNewValue)
4078 {
4079     static BYTE parms[] =
4080         VTS_BOOL;
4081     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4082         bNewValue);
4083 }
4084 
4085 BOOL View::GetMagnifier()
4086 {
4087     BOOL result;
4088     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4089     return result;
4090 }
4091 
4092 void View::SetMagnifier(BOOL bNewValue)
4093 {
4094     static BYTE parms[] =
4095         VTS_BOOL;
4096     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4097         bNewValue);
4098 }
4099 
4100 BOOL View::GetShowFirstLineOnly()
4101 {
4102     BOOL result;
4103     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4104     return result;
4105 }
4106 
4107 void View::SetShowFirstLineOnly(BOOL bNewValue)
4108 {
4109     static BYTE parms[] =
4110         VTS_BOOL;
4111     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4112         bNewValue);
4113 }
4114 
4115 BOOL View::GetShowFormat()
4116 {
4117     BOOL result;
4118     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4119     return result;
4120 }
4121 
4122 void View::SetShowFormat(BOOL bNewValue)
4123 {
4124     static BYTE parms[] =
4125         VTS_BOOL;
4126     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4127         bNewValue);
4128 }
4129 
4130 LPDISPATCH View::GetZoom()
4131 {
4132     LPDISPATCH result;
4133     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4134     return result;
4135 }
4136 
4137 BOOL View::GetShowObjectAnchors()
4138 {
4139     BOOL result;
4140     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4141     return result;
4142 }
4143 
4144 void View::SetShowObjectAnchors(BOOL bNewValue)
4145 {
4146     static BYTE parms[] =
4147         VTS_BOOL;
4148     InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4149         bNewValue);
4150 }
4151 
4152 BOOL View::GetShowTextBoundaries()
4153 {
4154     BOOL result;
4155     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4156     return result;
4157 }
4158 
4159 void View::SetShowTextBoundaries(BOOL bNewValue)
4160 {
4161     static BYTE parms[] =
4162         VTS_BOOL;
4163     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4164         bNewValue);
4165 }
4166 
4167 BOOL View::GetShowHighlight()
4168 {
4169     BOOL result;
4170     InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4171     return result;
4172 }
4173 
4174 void View::SetShowHighlight(BOOL bNewValue)
4175 {
4176     static BYTE parms[] =
4177         VTS_BOOL;
4178     InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4179         bNewValue);
4180 }
4181 
4182 BOOL View::GetShowDrawings()
4183 {
4184     BOOL result;
4185     InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4186     return result;
4187 }
4188 
4189 void View::SetShowDrawings(BOOL bNewValue)
4190 {
4191     static BYTE parms[] =
4192         VTS_BOOL;
4193     InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4194         bNewValue);
4195 }
4196 
4197 BOOL View::GetShowTabs()
4198 {
4199     BOOL result;
4200     InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4201     return result;
4202 }
4203 
4204 void View::SetShowTabs(BOOL bNewValue)
4205 {
4206     static BYTE parms[] =
4207         VTS_BOOL;
4208     InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4209         bNewValue);
4210 }
4211 
4212 BOOL View::GetShowSpaces()
4213 {
4214     BOOL result;
4215     InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4216     return result;
4217 }
4218 
4219 void View::SetShowSpaces(BOOL bNewValue)
4220 {
4221     static BYTE parms[] =
4222         VTS_BOOL;
4223     InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4224         bNewValue);
4225 }
4226 
4227 BOOL View::GetShowParagraphs()
4228 {
4229     BOOL result;
4230     InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4231     return result;
4232 }
4233 
4234 void View::SetShowParagraphs(BOOL bNewValue)
4235 {
4236     static BYTE parms[] =
4237         VTS_BOOL;
4238     InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4239         bNewValue);
4240 }
4241 
4242 BOOL View::GetShowHyphens()
4243 {
4244     BOOL result;
4245     InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4246     return result;
4247 }
4248 
4249 void View::SetShowHyphens(BOOL bNewValue)
4250 {
4251     static BYTE parms[] =
4252         VTS_BOOL;
4253     InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4254         bNewValue);
4255 }
4256 
4257 BOOL View::GetShowHiddenText()
4258 {
4259     BOOL result;
4260     InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4261     return result;
4262 }
4263 
4264 void View::SetShowHiddenText(BOOL bNewValue)
4265 {
4266     static BYTE parms[] =
4267         VTS_BOOL;
4268     InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4269         bNewValue);
4270 }
4271 
4272 BOOL View::GetWrapToWindow()
4273 {
4274     BOOL result;
4275     InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4276     return result;
4277 }
4278 
4279 void View::SetWrapToWindow(BOOL bNewValue)
4280 {
4281     static BYTE parms[] =
4282         VTS_BOOL;
4283     InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4284         bNewValue);
4285 }
4286 
4287 BOOL View::GetShowPicturePlaceHolders()
4288 {
4289     BOOL result;
4290     InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4291     return result;
4292 }
4293 
4294 void View::SetShowPicturePlaceHolders(BOOL bNewValue)
4295 {
4296     static BYTE parms[] =
4297         VTS_BOOL;
4298     InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4299         bNewValue);
4300 }
4301 
4302 BOOL View::GetShowBookmarks()
4303 {
4304     BOOL result;
4305     InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4306     return result;
4307 }
4308 
4309 void View::SetShowBookmarks(BOOL bNewValue)
4310 {
4311     static BYTE parms[] =
4312         VTS_BOOL;
4313     InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4314         bNewValue);
4315 }
4316 
4317 long View::GetFieldShading()
4318 {
4319     long result;
4320     InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4321     return result;
4322 }
4323 
4324 void View::SetFieldShading(long nNewValue)
4325 {
4326     static BYTE parms[] =
4327         VTS_I4;
4328     InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4329         nNewValue);
4330 }
4331 
4332 BOOL View::GetShowAnimation()
4333 {
4334     BOOL result;
4335     InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4336     return result;
4337 }
4338 
4339 void View::SetShowAnimation(BOOL bNewValue)
4340 {
4341     static BYTE parms[] =
4342         VTS_BOOL;
4343     InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4344         bNewValue);
4345 }
4346 
4347 BOOL View::GetTableGridlines()
4348 {
4349     BOOL result;
4350     InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4351     return result;
4352 }
4353 
4354 void View::SetTableGridlines(BOOL bNewValue)
4355 {
4356     static BYTE parms[] =
4357         VTS_BOOL;
4358     InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4359         bNewValue);
4360 }
4361 
4362 BOOL View::GetShowMainTextLayer()
4363 {
4364     BOOL result;
4365     InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4366     return result;
4367 }
4368 
4369 void View::SetShowMainTextLayer(BOOL bNewValue)
4370 {
4371     static BYTE parms[] =
4372         VTS_BOOL;
4373     InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4374         bNewValue);
4375 }
4376 
4377 long View::GetSeekView()
4378 {
4379     long result;
4380     InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4381     return result;
4382 }
4383 
4384 void View::SetSeekView(long nNewValue)
4385 {
4386     static BYTE parms[] =
4387         VTS_I4;
4388     InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4389         nNewValue);
4390 }
4391 
4392 long View::GetSplitSpecial()
4393 {
4394     long result;
4395     InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4396     return result;
4397 }
4398 
4399 void View::SetSplitSpecial(long nNewValue)
4400 {
4401     static BYTE parms[] =
4402         VTS_I4;
4403     InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4404         nNewValue);
4405 }
4406 
4407 BOOL View::GetShowOptionalBreaks()
4408 {
4409     BOOL result;
4410     InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4411     return result;
4412 }
4413 
4414 void View::SetShowOptionalBreaks(BOOL bNewValue)
4415 {
4416     static BYTE parms[] =
4417         VTS_BOOL;
4418     InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4419         bNewValue);
4420 }
4421 
4422 void View::CollapseOutline(VARIANT* Range)
4423 {
4424     static BYTE parms[] =
4425         VTS_PVARIANT;
4426     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4427         Range);
4428 }
4429 
4430 void View::ExpandOutline(VARIANT* Range)
4431 {
4432     static BYTE parms[] =
4433         VTS_PVARIANT;
4434     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4435         Range);
4436 }
4437 
4438 void View::ShowAllHeadings()
4439 {
4440     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4441 }
4442 
4443 void View::ShowHeading(long Level)
4444 {
4445     static BYTE parms[] =
4446         VTS_I4;
4447     InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4448         Level);
4449 }
4450 
4451 void View::PreviousHeaderFooter()
4452 {
4453     InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4454 }
4455 
4456 void View::NextHeaderFooter()
4457 {
4458     InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4459 }
4460 
4461 BOOL View::GetDisplayPageBoundaries()
4462 {
4463     BOOL result;
4464     InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4465     return result;
4466 }
4467 
4468 void View::SetDisplayPageBoundaries(BOOL bNewValue)
4469 {
4470     static BYTE parms[] =
4471         VTS_BOOL;
4472     InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4473         bNewValue);
4474 }
4475 
4476 BOOL View::GetDisplaySmartTags()
4477 {
4478     BOOL result;
4479     InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4480     return result;
4481 }
4482 
4483 void View::SetDisplaySmartTags(BOOL bNewValue)
4484 {
4485     static BYTE parms[] =
4486         VTS_BOOL;
4487     InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4488         bNewValue);
4489 }
4490 
4491 BOOL View::GetShowRevisionsAndComments()
4492 {
4493     BOOL result;
4494     InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4495     return result;
4496 }
4497 
4498 void View::SetShowRevisionsAndComments(BOOL bNewValue)
4499 {
4500     static BYTE parms[] =
4501         VTS_BOOL;
4502     InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4503         bNewValue);
4504 }
4505 
4506 BOOL View::GetShowComments()
4507 {
4508     BOOL result;
4509     InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4510     return result;
4511 }
4512 
4513 void View::SetShowComments(BOOL bNewValue)
4514 {
4515     static BYTE parms[] =
4516         VTS_BOOL;
4517     InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4518         bNewValue);
4519 }
4520 
4521 BOOL View::GetShowInsertionsAndDeletions()
4522 {
4523     BOOL result;
4524     InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4525     return result;
4526 }
4527 
4528 void View::SetShowInsertionsAndDeletions(BOOL bNewValue)
4529 {
4530     static BYTE parms[] =
4531         VTS_BOOL;
4532     InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4533         bNewValue);
4534 }
4535 
4536 BOOL View::GetShowFormatChanges()
4537 {
4538     BOOL result;
4539     InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4540     return result;
4541 }
4542 
4543 void View::SetShowFormatChanges(BOOL bNewValue)
4544 {
4545     static BYTE parms[] =
4546         VTS_BOOL;
4547     InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4548         bNewValue);
4549 }
4550 
4551 long View::GetRevisionsView()
4552 {
4553     long result;
4554     InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4555     return result;
4556 }
4557 
4558 void View::SetRevisionsView(long nNewValue)
4559 {
4560     static BYTE parms[] =
4561         VTS_I4;
4562     InvokeHelper(0x26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4563         nNewValue);
4564 }
4565 
4566 long View::GetRevisionsMode()
4567 {
4568     long result;
4569     InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4570     return result;
4571 }
4572 
4573 void View::SetRevisionsMode(long nNewValue)
4574 {
4575     static BYTE parms[] =
4576         VTS_I4;
4577     InvokeHelper(0x27, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4578         nNewValue);
4579 }
4580 
4581 float View::GetRevisionsBalloonWidth()
4582 {
4583     float result;
4584     InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
4585     return result;
4586 }
4587 
4588 void View::SetRevisionsBalloonWidth(float newValue)
4589 {
4590     static BYTE parms[] =
4591         VTS_R4;
4592     InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4593         newValue);
4594 }
4595 
4596 long View::GetRevisionsBalloonWidthType()
4597 {
4598     long result;
4599     InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4600     return result;
4601 }
4602 
4603 void View::SetRevisionsBalloonWidthType(long nNewValue)
4604 {
4605     static BYTE parms[] =
4606         VTS_I4;
4607     InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4608         nNewValue);
4609 }
4610 
4611 long View::GetRevisionsBalloonSide()
4612 {
4613     long result;
4614     InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4615     return result;
4616 }
4617 
4618 void View::SetRevisionsBalloonSide(long nNewValue)
4619 {
4620     static BYTE parms[] =
4621         VTS_I4;
4622     InvokeHelper(0x2a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4623         nNewValue);
4624 }
4625 
4626 LPDISPATCH View::GetReviewers()
4627 {
4628     LPDISPATCH result;
4629     InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4630     return result;
4631 }
4632 
4633 BOOL View::GetRevisionsBalloonShowConnectingLines()
4634 {
4635     BOOL result;
4636     InvokeHelper(0x2c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4637     return result;
4638 }
4639 
4640 void View::SetRevisionsBalloonShowConnectingLines(BOOL bNewValue)
4641 {
4642     static BYTE parms[] =
4643         VTS_BOOL;
4644     InvokeHelper(0x2c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4645         bNewValue);
4646 }
4647 
4648 BOOL View::GetReadingLayout()
4649 {
4650     BOOL result;
4651     InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4652     return result;
4653 }
4654 
4655 void View::SetReadingLayout(BOOL bNewValue)
4656 {
4657     static BYTE parms[] =
4658         VTS_BOOL;
4659     InvokeHelper(0x2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4660         bNewValue);
4661 }
4662 
4663 long View::GetShowXMLMarkup()
4664 {
4665     long result;
4666     InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4667     return result;
4668 }
4669 
4670 void View::SetShowXMLMarkup(long nNewValue)
4671 {
4672     static BYTE parms[] =
4673         VTS_I4;
4674     InvokeHelper(0x2e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4675         nNewValue);
4676 }
4677 
4678 long View::GetShadeEditableRanges()
4679 {
4680     long result;
4681     InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4682     return result;
4683 }
4684 
4685 void View::SetShadeEditableRanges(long nNewValue)
4686 {
4687     static BYTE parms[] =
4688         VTS_I4;
4689     InvokeHelper(0x2f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4690         nNewValue);
4691 }
4692 
4693 BOOL View::GetShowInkAnnotations()
4694 {
4695     BOOL result;
4696     InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4697     return result;
4698 }
4699 
4700 void View::SetShowInkAnnotations(BOOL bNewValue)
4701 {
4702     static BYTE parms[] =
4703         VTS_BOOL;
4704     InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4705         bNewValue);
4706 }
4707 
4708 BOOL View::GetDisplayBackgrounds()
4709 {
4710     BOOL result;
4711     InvokeHelper(0x31, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4712     return result;
4713 }
4714 
4715 void View::SetDisplayBackgrounds(BOOL bNewValue)
4716 {
4717     static BYTE parms[] =
4718         VTS_BOOL;
4719     InvokeHelper(0x31, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4720         bNewValue);
4721 }
4722 
4723 BOOL View::GetReadingLayoutActualView()
4724 {
4725     BOOL result;
4726     InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4727     return result;
4728 }
4729 
4730 void View::SetReadingLayoutActualView(BOOL bNewValue)
4731 {
4732     static BYTE parms[] =
4733         VTS_BOOL;
4734     InvokeHelper(0x32, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4735         bNewValue);
4736 }
4737 
4738 BOOL View::GetReadingLayoutAllowMultiplePages()
4739 {
4740     BOOL result;
4741     InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
4742     return result;
4743 }
4744 
4745 void View::SetReadingLayoutAllowMultiplePages(BOOL bNewValue)
4746 {
4747     static BYTE parms[] =
4748         VTS_BOOL;
4749     InvokeHelper(0x33, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4750         bNewValue);
4751 }
4752 
4753 
4754 /////////////////////////////////////////////////////////////////////////////
4755 // Zoom properties
4756 
4757 /////////////////////////////////////////////////////////////////////////////
4758 // Zoom operations
4759 
4760 LPDISPATCH Zoom::GetApplication()
4761 {
4762     LPDISPATCH result;
4763     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4764     return result;
4765 }
4766 
4767 long Zoom::GetCreator()
4768 {
4769     long result;
4770     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4771     return result;
4772 }
4773 
4774 LPDISPATCH Zoom::GetParent()
4775 {
4776     LPDISPATCH result;
4777     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4778     return result;
4779 }
4780 
4781 long Zoom::GetPercentage()
4782 {
4783     long result;
4784     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4785     return result;
4786 }
4787 
4788 void Zoom::SetPercentage(long nNewValue)
4789 {
4790     static BYTE parms[] =
4791         VTS_I4;
4792     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4793         nNewValue);
4794 }
4795 
4796 long Zoom::GetPageFit()
4797 {
4798     long result;
4799     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4800     return result;
4801 }
4802 
4803 void Zoom::SetPageFit(long nNewValue)
4804 {
4805     static BYTE parms[] =
4806         VTS_I4;
4807     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4808         nNewValue);
4809 }
4810 
4811 long Zoom::GetPageRows()
4812 {
4813     long result;
4814     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4815     return result;
4816 }
4817 
4818 void Zoom::SetPageRows(long nNewValue)
4819 {
4820     static BYTE parms[] =
4821         VTS_I4;
4822     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4823         nNewValue);
4824 }
4825 
4826 long Zoom::GetPageColumns()
4827 {
4828     long result;
4829     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4830     return result;
4831 }
4832 
4833 void Zoom::SetPageColumns(long nNewValue)
4834 {
4835     static BYTE parms[] =
4836         VTS_I4;
4837     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4838         nNewValue);
4839 }
4840 
4841 
4842 /////////////////////////////////////////////////////////////////////////////
4843 // Zooms properties
4844 
4845 /////////////////////////////////////////////////////////////////////////////
4846 // Zooms operations
4847 
4848 LPDISPATCH Zooms::GetApplication()
4849 {
4850     LPDISPATCH result;
4851     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4852     return result;
4853 }
4854 
4855 long Zooms::GetCreator()
4856 {
4857     long result;
4858     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4859     return result;
4860 }
4861 
4862 LPDISPATCH Zooms::GetParent()
4863 {
4864     LPDISPATCH result;
4865     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4866     return result;
4867 }
4868 
4869 LPDISPATCH Zooms::Item(long Index)
4870 {
4871     LPDISPATCH result;
4872     static BYTE parms[] =
4873         VTS_I4;
4874     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4875         Index);
4876     return result;
4877 }
4878 
4879 
4880 /////////////////////////////////////////////////////////////////////////////
4881 // InlineShape properties
4882 
4883 /////////////////////////////////////////////////////////////////////////////
4884 // InlineShape operations
4885 
4886 LPDISPATCH InlineShape::GetApplication()
4887 {
4888     LPDISPATCH result;
4889     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4890     return result;
4891 }
4892 
4893 long InlineShape::GetCreator()
4894 {
4895     long result;
4896     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4897     return result;
4898 }
4899 
4900 LPDISPATCH InlineShape::GetParent()
4901 {
4902     LPDISPATCH result;
4903     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4904     return result;
4905 }
4906 
4907 LPDISPATCH InlineShape::GetBorders()
4908 {
4909     LPDISPATCH result;
4910     InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4911     return result;
4912 }
4913 
4914 void InlineShape::SetBorders(LPDISPATCH newValue)
4915 {
4916     static BYTE parms[] =
4917         VTS_DISPATCH;
4918     InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4919         newValue);
4920 }
4921 
4922 LPDISPATCH InlineShape::GetRange()
4923 {
4924     LPDISPATCH result;
4925     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4926     return result;
4927 }
4928 
4929 LPDISPATCH InlineShape::GetLinkFormat()
4930 {
4931     LPDISPATCH result;
4932     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4933     return result;
4934 }
4935 
4936 LPDISPATCH InlineShape::GetField()
4937 {
4938     LPDISPATCH result;
4939     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4940     return result;
4941 }
4942 
4943 LPDISPATCH InlineShape::GetOLEFormat()
4944 {
4945     LPDISPATCH result;
4946     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4947     return result;
4948 }
4949 
4950 long InlineShape::GetType()
4951 {
4952     long result;
4953     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4954     return result;
4955 }
4956 
4957 LPDISPATCH InlineShape::GetHyperlink()
4958 {
4959     LPDISPATCH result;
4960     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4961     return result;
4962 }
4963 
4964 float InlineShape::GetHeight()
4965 {
4966     float result;
4967     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
4968     return result;
4969 }
4970 
4971 void InlineShape::SetHeight(float newValue)
4972 {
4973     static BYTE parms[] =
4974         VTS_R4;
4975     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4976         newValue);
4977 }
4978 
4979 float InlineShape::GetWidth()
4980 {
4981     float result;
4982     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
4983     return result;
4984 }
4985 
4986 void InlineShape::SetWidth(float newValue)
4987 {
4988     static BYTE parms[] =
4989         VTS_R4;
4990     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4991         newValue);
4992 }
4993 
4994 float InlineShape::GetScaleHeight()
4995 {
4996     float result;
4997     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
4998     return result;
4999 }
5000 
5001 void InlineShape::SetScaleHeight(float newValue)
5002 {
5003     static BYTE parms[] =
5004         VTS_R4;
5005     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5006         newValue);
5007 }
5008 
5009 float InlineShape::GetScaleWidth()
5010 {
5011     float result;
5012     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
5013     return result;
5014 }
5015 
5016 void InlineShape::SetScaleWidth(float newValue)
5017 {
5018     static BYTE parms[] =
5019         VTS_R4;
5020     InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5021         newValue);
5022 }
5023 
5024 long InlineShape::GetLockAspectRatio()
5025 {
5026     long result;
5027     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5028     return result;
5029 }
5030 
5031 void InlineShape::SetLockAspectRatio(long nNewValue)
5032 {
5033     static BYTE parms[] =
5034         VTS_I4;
5035     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5036         nNewValue);
5037 }
5038 
5039 LPDISPATCH InlineShape::GetLine()
5040 {
5041     LPDISPATCH result;
5042     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5043     return result;
5044 }
5045 
5046 LPDISPATCH InlineShape::GetFill()
5047 {
5048     LPDISPATCH result;
5049     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5050     return result;
5051 }
5052 
5053 LPDISPATCH InlineShape::GetPictureFormat()
5054 {
5055     LPDISPATCH result;
5056     InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5057     return result;
5058 }
5059 
5060 void InlineShape::SetPictureFormat(LPDISPATCH newValue)
5061 {
5062     static BYTE parms[] =
5063         VTS_DISPATCH;
5064     InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5065         newValue);
5066 }
5067 
5068 void InlineShape::Activate()
5069 {
5070     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5071 }
5072 
5073 void InlineShape::Reset()
5074 {
5075     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5076 }
5077 
5078 void InlineShape::Delete()
5079 {
5080     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5081 }
5082 
5083 void InlineShape::Select()
5084 {
5085     InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5086 }
5087 
5088 LPDISPATCH InlineShape::ConvertToShape()
5089 {
5090     LPDISPATCH result;
5091     InvokeHelper(0x68, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
5092     return result;
5093 }
5094 
5095 LPDISPATCH InlineShape::GetHorizontalLineFormat()
5096 {
5097     LPDISPATCH result;
5098     InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5099     return result;
5100 }
5101 
5102 LPDISPATCH InlineShape::GetScript()
5103 {
5104     LPDISPATCH result;
5105     InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5106     return result;
5107 }
5108 
5109 LPDISPATCH InlineShape::GetTextEffect()
5110 {
5111     LPDISPATCH result;
5112     InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5113     return result;
5114 }
5115 
5116 void InlineShape::SetTextEffect(LPDISPATCH newValue)
5117 {
5118     static BYTE parms[] =
5119         VTS_DISPATCH;
5120     InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5121         newValue);
5122 }
5123 
5124 CString InlineShape::GetAlternativeText()
5125 {
5126     CString result;
5127     InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5128     return result;
5129 }
5130 
5131 void InlineShape::SetAlternativeText(LPCTSTR lpszNewValue)
5132 {
5133     static BYTE parms[] =
5134         VTS_BSTR;
5135     InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5136         lpszNewValue);
5137 }
5138 
5139 BOOL InlineShape::GetIsPictureBullet()
5140 {
5141     BOOL result;
5142     InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5143     return result;
5144 }
5145 
5146 
5147 /////////////////////////////////////////////////////////////////////////////
5148 // InlineShapes properties
5149 
5150 /////////////////////////////////////////////////////////////////////////////
5151 // InlineShapes operations
5152 
5153 LPDISPATCH InlineShapes::GetApplication()
5154 {
5155     LPDISPATCH result;
5156     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5157     return result;
5158 }
5159 
5160 long InlineShapes::GetCreator()
5161 {
5162     long result;
5163     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5164     return result;
5165 }
5166 
5167 LPDISPATCH InlineShapes::GetParent()
5168 {
5169     LPDISPATCH result;
5170     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5171     return result;
5172 }
5173 
5174 long InlineShapes::GetCount()
5175 {
5176     long result;
5177     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5178     return result;
5179 }
5180 
5181 LPUNKNOWN InlineShapes::Get_NewEnum()
5182 {
5183     LPUNKNOWN result;
5184     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5185     return result;
5186 }
5187 
5188 LPDISPATCH InlineShapes::Item(long Index)
5189 {
5190     LPDISPATCH result;
5191     static BYTE parms[] =
5192         VTS_I4;
5193     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5194         Index);
5195     return result;
5196 }
5197 
5198 LPDISPATCH InlineShapes::AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Range)
5199 {
5200     LPDISPATCH result;
5201     static BYTE parms[] =
5202         VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
5203     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5204         FileName, LinkToFile, SaveWithDocument, Range);
5205     return result;
5206 }
5207 
5208 LPDISPATCH InlineShapes::AddOLEObject(VARIANT* ClassType, VARIANT* FileName, VARIANT* LinkToFile, VARIANT* DisplayAsIcon, VARIANT* IconFileName, VARIANT* IconIndex, VARIANT* IconLabel, VARIANT* Range)
5209 {
5210     LPDISPATCH result;
5211     static BYTE parms[] =
5212         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
5213     InvokeHelper(0x18, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5214         ClassType, FileName, LinkToFile, DisplayAsIcon, IconFileName, IconIndex, IconLabel, Range);
5215     return result;
5216 }
5217 
5218 LPDISPATCH InlineShapes::AddOLEControl(VARIANT* ClassType, VARIANT* Range)
5219 {
5220     LPDISPATCH result;
5221     static BYTE parms[] =
5222         VTS_PVARIANT VTS_PVARIANT;
5223     InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5224         ClassType, Range);
5225     return result;
5226 }
5227 
5228 LPDISPATCH InlineShapes::New(LPDISPATCH Range)
5229 {
5230     LPDISPATCH result;
5231     static BYTE parms[] =
5232         VTS_DISPATCH;
5233     InvokeHelper(0xc8, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5234         Range);
5235     return result;
5236 }
5237 
5238 LPDISPATCH InlineShapes::AddHorizontalLine(LPCTSTR FileName, VARIANT* Range)
5239 {
5240     LPDISPATCH result;
5241     static BYTE parms[] =
5242         VTS_BSTR VTS_PVARIANT;
5243     InvokeHelper(0x68, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5244         FileName, Range);
5245     return result;
5246 }
5247 
5248 LPDISPATCH InlineShapes::AddHorizontalLineStandard(VARIANT* Range)
5249 {
5250     LPDISPATCH result;
5251     static BYTE parms[] =
5252         VTS_PVARIANT;
5253     InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5254         Range);
5255     return result;
5256 }
5257 
5258 LPDISPATCH InlineShapes::AddPictureBullet(LPCTSTR FileName, VARIANT* Range)
5259 {
5260     LPDISPATCH result;
5261     static BYTE parms[] =
5262         VTS_BSTR VTS_PVARIANT;
5263     InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5264         FileName, Range);
5265     return result;
5266 }
5267 
5268 
5269 /////////////////////////////////////////////////////////////////////////////
5270 // SpellingSuggestions properties
5271 
5272 /////////////////////////////////////////////////////////////////////////////
5273 // SpellingSuggestions operations
5274 
5275 LPDISPATCH SpellingSuggestions::GetApplication()
5276 {
5277     LPDISPATCH result;
5278     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5279     return result;
5280 }
5281 
5282 long SpellingSuggestions::GetCreator()
5283 {
5284     long result;
5285     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5286     return result;
5287 }
5288 
5289 LPDISPATCH SpellingSuggestions::GetParent()
5290 {
5291     LPDISPATCH result;
5292     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5293     return result;
5294 }
5295 
5296 LPUNKNOWN SpellingSuggestions::Get_NewEnum()
5297 {
5298     LPUNKNOWN result;
5299     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5300     return result;
5301 }
5302 
5303 long SpellingSuggestions::GetCount()
5304 {
5305     long result;
5306     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5307     return result;
5308 }
5309 
5310 long SpellingSuggestions::GetSpellingErrorType()
5311 {
5312     long result;
5313     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5314     return result;
5315 }
5316 
5317 LPDISPATCH SpellingSuggestions::Item(long Index)
5318 {
5319     LPDISPATCH result;
5320     static BYTE parms[] =
5321         VTS_I4;
5322     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5323         Index);
5324     return result;
5325 }
5326 
5327 
5328 /////////////////////////////////////////////////////////////////////////////
5329 // SpellingSuggestion properties
5330 
5331 /////////////////////////////////////////////////////////////////////////////
5332 // SpellingSuggestion operations
5333 
5334 LPDISPATCH SpellingSuggestion::GetApplication()
5335 {
5336     LPDISPATCH result;
5337     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5338     return result;
5339 }
5340 
5341 long SpellingSuggestion::GetCreator()
5342 {
5343     long result;
5344     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5345     return result;
5346 }
5347 
5348 LPDISPATCH SpellingSuggestion::GetParent()
5349 {
5350     LPDISPATCH result;
5351     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5352     return result;
5353 }
5354 
5355 CString SpellingSuggestion::GetName()
5356 {
5357     CString result;
5358     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5359     return result;
5360 }
5361 
5362 
5363 /////////////////////////////////////////////////////////////////////////////
5364 // Dictionaries properties
5365 
5366 /////////////////////////////////////////////////////////////////////////////
5367 // Dictionaries operations
5368 
5369 LPDISPATCH Dictionaries::GetApplication()
5370 {
5371     LPDISPATCH result;
5372     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5373     return result;
5374 }
5375 
5376 long Dictionaries::GetCreator()
5377 {
5378     long result;
5379     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5380     return result;
5381 }
5382 
5383 LPDISPATCH Dictionaries::GetParent()
5384 {
5385     LPDISPATCH result;
5386     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5387     return result;
5388 }
5389 
5390 LPUNKNOWN Dictionaries::Get_NewEnum()
5391 {
5392     LPUNKNOWN result;
5393     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5394     return result;
5395 }
5396 
5397 long Dictionaries::GetCount()
5398 {
5399     long result;
5400     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5401     return result;
5402 }
5403 
5404 long Dictionaries::GetMaximum()
5405 {
5406     long result;
5407     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5408     return result;
5409 }
5410 
5411 LPDISPATCH Dictionaries::GetActiveCustomDictionary()
5412 {
5413     LPDISPATCH result;
5414     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5415     return result;
5416 }
5417 
5418 void Dictionaries::SetActiveCustomDictionary(LPDISPATCH newValue)
5419 {
5420     static BYTE parms[] =
5421         VTS_DISPATCH;
5422     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5423         newValue);
5424 }
5425 
5426 LPDISPATCH Dictionaries::Item(VARIANT* Index)
5427 {
5428     LPDISPATCH result;
5429     static BYTE parms[] =
5430         VTS_PVARIANT;
5431     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5432         Index);
5433     return result;
5434 }
5435 
5436 LPDISPATCH Dictionaries::Add(LPCTSTR FileName)
5437 {
5438     LPDISPATCH result;
5439     static BYTE parms[] =
5440         VTS_BSTR;
5441     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5442         FileName);
5443     return result;
5444 }
5445 
5446 void Dictionaries::ClearAll()
5447 {
5448     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5449 }
5450 
5451 
5452 /////////////////////////////////////////////////////////////////////////////
5453 // HangulHanjaConversionDictionaries properties
5454 
5455 /////////////////////////////////////////////////////////////////////////////
5456 // HangulHanjaConversionDictionaries operations
5457 
5458 LPDISPATCH HangulHanjaConversionDictionaries::GetApplication()
5459 {
5460     LPDISPATCH result;
5461     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5462     return result;
5463 }
5464 
5465 long HangulHanjaConversionDictionaries::GetCreator()
5466 {
5467     long result;
5468     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5469     return result;
5470 }
5471 
5472 LPDISPATCH HangulHanjaConversionDictionaries::GetParent()
5473 {
5474     LPDISPATCH result;
5475     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5476     return result;
5477 }
5478 
5479 LPUNKNOWN HangulHanjaConversionDictionaries::Get_NewEnum()
5480 {
5481     LPUNKNOWN result;
5482     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5483     return result;
5484 }
5485 
5486 long HangulHanjaConversionDictionaries::GetCount()
5487 {
5488     long result;
5489     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5490     return result;
5491 }
5492 
5493 long HangulHanjaConversionDictionaries::GetMaximum()
5494 {
5495     long result;
5496     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5497     return result;
5498 }
5499 
5500 LPDISPATCH HangulHanjaConversionDictionaries::GetActiveCustomDictionary()
5501 {
5502     LPDISPATCH result;
5503     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5504     return result;
5505 }
5506 
5507 void HangulHanjaConversionDictionaries::SetActiveCustomDictionary(LPDISPATCH newValue)
5508 {
5509     static BYTE parms[] =
5510         VTS_DISPATCH;
5511     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5512         newValue);
5513 }
5514 
5515 LPDISPATCH HangulHanjaConversionDictionaries::GetBuiltinDictionary()
5516 {
5517     LPDISPATCH result;
5518     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5519     return result;
5520 }
5521 
5522 LPDISPATCH HangulHanjaConversionDictionaries::Item(VARIANT* Index)
5523 {
5524     LPDISPATCH result;
5525     static BYTE parms[] =
5526         VTS_PVARIANT;
5527     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5528         Index);
5529     return result;
5530 }
5531 
5532 LPDISPATCH HangulHanjaConversionDictionaries::Add(LPCTSTR FileName)
5533 {
5534     LPDISPATCH result;
5535     static BYTE parms[] =
5536         VTS_BSTR;
5537     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5538         FileName);
5539     return result;
5540 }
5541 
5542 void HangulHanjaConversionDictionaries::ClearAll()
5543 {
5544     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5545 }
5546 
5547 
5548 /////////////////////////////////////////////////////////////////////////////
5549 // Dictionary properties
5550 
5551 /////////////////////////////////////////////////////////////////////////////
5552 // Dictionary operations
5553 
5554 LPDISPATCH Dictionary::GetApplication()
5555 {
5556     LPDISPATCH result;
5557     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5558     return result;
5559 }
5560 
5561 long Dictionary::GetCreator()
5562 {
5563     long result;
5564     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5565     return result;
5566 }
5567 
5568 LPDISPATCH Dictionary::GetParent()
5569 {
5570     LPDISPATCH result;
5571     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5572     return result;
5573 }
5574 
5575 CString Dictionary::GetName()
5576 {
5577     CString result;
5578     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5579     return result;
5580 }
5581 
5582 CString Dictionary::GetPath()
5583 {
5584     CString result;
5585     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5586     return result;
5587 }
5588 
5589 long Dictionary::GetLanguageID()
5590 {
5591     long result;
5592     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5593     return result;
5594 }
5595 
5596 void Dictionary::SetLanguageID(long nNewValue)
5597 {
5598     static BYTE parms[] =
5599         VTS_I4;
5600     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5601         nNewValue);
5602 }
5603 
5604 BOOL Dictionary::GetReadOnly()
5605 {
5606     BOOL result;
5607     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5608     return result;
5609 }
5610 
5611 long Dictionary::GetType()
5612 {
5613     long result;
5614     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5615     return result;
5616 }
5617 
5618 BOOL Dictionary::GetLanguageSpecific()
5619 {
5620     BOOL result;
5621     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
5622     return result;
5623 }
5624 
5625 void Dictionary::SetLanguageSpecific(BOOL bNewValue)
5626 {
5627     static BYTE parms[] =
5628         VTS_BOOL;
5629     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5630         bNewValue);
5631 }
5632 
5633 void Dictionary::Delete()
5634 {
5635     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5636 }
5637 
5638 
5639 /////////////////////////////////////////////////////////////////////////////
5640 // ReadabilityStatistics properties
5641 
5642 /////////////////////////////////////////////////////////////////////////////
5643 // ReadabilityStatistics operations
5644 
5645 LPDISPATCH ReadabilityStatistics::GetApplication()
5646 {
5647     LPDISPATCH result;
5648     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5649     return result;
5650 }
5651 
5652 long ReadabilityStatistics::GetCreator()
5653 {
5654     long result;
5655     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5656     return result;
5657 }
5658 
5659 LPDISPATCH ReadabilityStatistics::GetParent()
5660 {
5661     LPDISPATCH result;
5662     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5663     return result;
5664 }
5665 
5666 LPUNKNOWN ReadabilityStatistics::Get_NewEnum()
5667 {
5668     LPUNKNOWN result;
5669     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5670     return result;
5671 }
5672 
5673 long ReadabilityStatistics::GetCount()
5674 {
5675     long result;
5676     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5677     return result;
5678 }
5679 
5680 LPDISPATCH ReadabilityStatistics::Item(VARIANT* Index)
5681 {
5682     LPDISPATCH result;
5683     static BYTE parms[] =
5684         VTS_PVARIANT;
5685     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5686         Index);
5687     return result;
5688 }
5689 
5690 
5691 /////////////////////////////////////////////////////////////////////////////
5692 // ReadabilityStatistic properties
5693 
5694 /////////////////////////////////////////////////////////////////////////////
5695 // ReadabilityStatistic operations
5696 
5697 LPDISPATCH ReadabilityStatistic::GetApplication()
5698 {
5699     LPDISPATCH result;
5700     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5701     return result;
5702 }
5703 
5704 long ReadabilityStatistic::GetCreator()
5705 {
5706     long result;
5707     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5708     return result;
5709 }
5710 
5711 LPDISPATCH ReadabilityStatistic::GetParent()
5712 {
5713     LPDISPATCH result;
5714     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5715     return result;
5716 }
5717 
5718 CString ReadabilityStatistic::GetName()
5719 {
5720     CString result;
5721     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5722     return result;
5723 }
5724 
5725 float ReadabilityStatistic::GetValue()
5726 {
5727     float result;
5728     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
5729     return result;
5730 }
5731 
5732 
5733 /////////////////////////////////////////////////////////////////////////////
5734 // Versions properties
5735 
5736 /////////////////////////////////////////////////////////////////////////////
5737 // Versions operations
5738 
5739 LPDISPATCH Versions::GetApplication()
5740 {
5741     LPDISPATCH result;
5742     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5743     return result;
5744 }
5745 
5746 long Versions::GetCreator()
5747 {
5748     long result;
5749     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5750     return result;
5751 }
5752 
5753 LPDISPATCH Versions::GetParent()
5754 {
5755     LPDISPATCH result;
5756     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5757     return result;
5758 }
5759 
5760 LPUNKNOWN Versions::Get_NewEnum()
5761 {
5762     LPUNKNOWN result;
5763     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
5764     return result;
5765 }
5766 
5767 long Versions::GetCount()
5768 {
5769     long result;
5770     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5771     return result;
5772 }
5773 
5774 long Versions::GetAutoVersion()
5775 {
5776     long result;
5777     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5778     return result;
5779 }
5780 
5781 void Versions::SetAutoVersion(long nNewValue)
5782 {
5783     static BYTE parms[] =
5784         VTS_I4;
5785     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
5786         nNewValue);
5787 }
5788 
5789 LPDISPATCH Versions::Item(long Index)
5790 {
5791     LPDISPATCH result;
5792     static BYTE parms[] =
5793         VTS_I4;
5794     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
5795         Index);
5796     return result;
5797 }
5798 
5799 void Versions::Save(VARIANT* Comment)
5800 {
5801     static BYTE parms[] =
5802         VTS_PVARIANT;
5803     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
5804         Comment);
5805 }
5806 
5807 
5808 /////////////////////////////////////////////////////////////////////////////
5809 // Version properties
5810 
5811 /////////////////////////////////////////////////////////////////////////////
5812 // Version operations
5813 
5814 LPDISPATCH Version::GetApplication()
5815 {
5816     LPDISPATCH result;
5817     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5818     return result;
5819 }
5820 
5821 long Version::GetCreator()
5822 {
5823     long result;
5824     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5825     return result;
5826 }
5827 
5828 LPDISPATCH Version::GetParent()
5829 {
5830     LPDISPATCH result;
5831     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
5832     return result;
5833 }
5834 
5835 CString Version::GetSavedBy()
5836 {
5837     CString result;
5838     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5839     return result;
5840 }
5841 
5842 CString Version::GetComment()
5843 {
5844     CString result;
5845     InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
5846     return result;
5847 }
5848 
5849 DATE Version::GetDate()
5850 {
5851     DATE result;
5852     InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
5853     return result;
5854 }
5855 
5856 long Version::GetIndex()
5857 {
5858     long result;
5859     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
5860     return result;
5861 }
5862 
5863 void Version::Delete()
5864 {
5865     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
5866 }
5867 
5868 LPDISPATCH Version::Open()
5869 {
5870     LPDISPATCH result;
5871     InvokeHelper(0x67, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
5872     return result;
5873 }
View Code

7

   1 /////////////////////////////////////////////////////////////////////////////
   2 // Options properties
   3 
   4 /////////////////////////////////////////////////////////////////////////////
   5 // Options operations
   6 
   7 LPDISPATCH Options::GetApplication()
   8 {
   9     LPDISPATCH result;
  10     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  11     return result;
  12 }
  13 
  14 long Options::GetCreator()
  15 {
  16     long result;
  17     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  18     return result;
  19 }
  20 
  21 LPDISPATCH Options::GetParent()
  22 {
  23     LPDISPATCH result;
  24     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  25     return result;
  26 }
  27 
  28 BOOL Options::GetAllowAccentedUppercase()
  29 {
  30     BOOL result;
  31     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  32     return result;
  33 }
  34 
  35 void Options::SetAllowAccentedUppercase(BOOL bNewValue)
  36 {
  37     static BYTE parms[] =
  38         VTS_BOOL;
  39     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  40         bNewValue);
  41 }
  42 
  43 BOOL Options::GetWPHelp()
  44 {
  45     BOOL result;
  46     InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  47     return result;
  48 }
  49 
  50 void Options::SetWPHelp(BOOL bNewValue)
  51 {
  52     static BYTE parms[] =
  53         VTS_BOOL;
  54     InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  55         bNewValue);
  56 }
  57 
  58 BOOL Options::GetWPDocNavKeys()
  59 {
  60     BOOL result;
  61     InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  62     return result;
  63 }
  64 
  65 void Options::SetWPDocNavKeys(BOOL bNewValue)
  66 {
  67     static BYTE parms[] =
  68         VTS_BOOL;
  69     InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  70         bNewValue);
  71 }
  72 
  73 BOOL Options::GetPagination()
  74 {
  75     BOOL result;
  76     InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  77     return result;
  78 }
  79 
  80 void Options::SetPagination(BOOL bNewValue)
  81 {
  82     static BYTE parms[] =
  83         VTS_BOOL;
  84     InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  85         bNewValue);
  86 }
  87 
  88 BOOL Options::GetBlueScreen()
  89 {
  90     BOOL result;
  91     InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  92     return result;
  93 }
  94 
  95 void Options::SetBlueScreen(BOOL bNewValue)
  96 {
  97     static BYTE parms[] =
  98         VTS_BOOL;
  99     InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 100         bNewValue);
 101 }
 102 
 103 BOOL Options::GetEnableSound()
 104 {
 105     BOOL result;
 106     InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 107     return result;
 108 }
 109 
 110 void Options::SetEnableSound(BOOL bNewValue)
 111 {
 112     static BYTE parms[] =
 113         VTS_BOOL;
 114     InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 115         bNewValue);
 116 }
 117 
 118 BOOL Options::GetConfirmConversions()
 119 {
 120     BOOL result;
 121     InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 122     return result;
 123 }
 124 
 125 void Options::SetConfirmConversions(BOOL bNewValue)
 126 {
 127     static BYTE parms[] =
 128         VTS_BOOL;
 129     InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 130         bNewValue);
 131 }
 132 
 133 BOOL Options::GetUpdateLinksAtOpen()
 134 {
 135     BOOL result;
 136     InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 137     return result;
 138 }
 139 
 140 void Options::SetUpdateLinksAtOpen(BOOL bNewValue)
 141 {
 142     static BYTE parms[] =
 143         VTS_BOOL;
 144     InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 145         bNewValue);
 146 }
 147 
 148 BOOL Options::GetSendMailAttach()
 149 {
 150     BOOL result;
 151     InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 152     return result;
 153 }
 154 
 155 void Options::SetSendMailAttach(BOOL bNewValue)
 156 {
 157     static BYTE parms[] =
 158         VTS_BOOL;
 159     InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 160         bNewValue);
 161 }
 162 
 163 long Options::GetMeasurementUnit()
 164 {
 165     long result;
 166     InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 167     return result;
 168 }
 169 
 170 void Options::SetMeasurementUnit(long nNewValue)
 171 {
 172     static BYTE parms[] =
 173         VTS_I4;
 174     InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 175         nNewValue);
 176 }
 177 
 178 long Options::GetButtonFieldClicks()
 179 {
 180     long result;
 181     InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 182     return result;
 183 }
 184 
 185 void Options::SetButtonFieldClicks(long nNewValue)
 186 {
 187     static BYTE parms[] =
 188         VTS_I4;
 189     InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 190         nNewValue);
 191 }
 192 
 193 BOOL Options::GetShortMenuNames()
 194 {
 195     BOOL result;
 196     InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 197     return result;
 198 }
 199 
 200 void Options::SetShortMenuNames(BOOL bNewValue)
 201 {
 202     static BYTE parms[] =
 203         VTS_BOOL;
 204     InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 205         bNewValue);
 206 }
 207 
 208 BOOL Options::GetRTFInClipboard()
 209 {
 210     BOOL result;
 211     InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 212     return result;
 213 }
 214 
 215 void Options::SetRTFInClipboard(BOOL bNewValue)
 216 {
 217     static BYTE parms[] =
 218         VTS_BOOL;
 219     InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 220         bNewValue);
 221 }
 222 
 223 BOOL Options::GetUpdateFieldsAtPrint()
 224 {
 225     BOOL result;
 226     InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 227     return result;
 228 }
 229 
 230 void Options::SetUpdateFieldsAtPrint(BOOL bNewValue)
 231 {
 232     static BYTE parms[] =
 233         VTS_BOOL;
 234     InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 235         bNewValue);
 236 }
 237 
 238 BOOL Options::GetPrintProperties()
 239 {
 240     BOOL result;
 241     InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 242     return result;
 243 }
 244 
 245 void Options::SetPrintProperties(BOOL bNewValue)
 246 {
 247     static BYTE parms[] =
 248         VTS_BOOL;
 249     InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 250         bNewValue);
 251 }
 252 
 253 BOOL Options::GetPrintFieldCodes()
 254 {
 255     BOOL result;
 256     InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 257     return result;
 258 }
 259 
 260 void Options::SetPrintFieldCodes(BOOL bNewValue)
 261 {
 262     static BYTE parms[] =
 263         VTS_BOOL;
 264     InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 265         bNewValue);
 266 }
 267 
 268 BOOL Options::GetPrintComments()
 269 {
 270     BOOL result;
 271     InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 272     return result;
 273 }
 274 
 275 void Options::SetPrintComments(BOOL bNewValue)
 276 {
 277     static BYTE parms[] =
 278         VTS_BOOL;
 279     InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 280         bNewValue);
 281 }
 282 
 283 BOOL Options::GetPrintHiddenText()
 284 {
 285     BOOL result;
 286     InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 287     return result;
 288 }
 289 
 290 void Options::SetPrintHiddenText(BOOL bNewValue)
 291 {
 292     static BYTE parms[] =
 293         VTS_BOOL;
 294     InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 295         bNewValue);
 296 }
 297 
 298 BOOL Options::GetEnvelopeFeederInstalled()
 299 {
 300     BOOL result;
 301     InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 302     return result;
 303 }
 304 
 305 BOOL Options::GetUpdateLinksAtPrint()
 306 {
 307     BOOL result;
 308     InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 309     return result;
 310 }
 311 
 312 void Options::SetUpdateLinksAtPrint(BOOL bNewValue)
 313 {
 314     static BYTE parms[] =
 315         VTS_BOOL;
 316     InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 317         bNewValue);
 318 }
 319 
 320 BOOL Options::GetPrintBackground()
 321 {
 322     BOOL result;
 323     InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 324     return result;
 325 }
 326 
 327 void Options::SetPrintBackground(BOOL bNewValue)
 328 {
 329     static BYTE parms[] =
 330         VTS_BOOL;
 331     InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 332         bNewValue);
 333 }
 334 
 335 BOOL Options::GetPrintDrawingObjects()
 336 {
 337     BOOL result;
 338     InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 339     return result;
 340 }
 341 
 342 void Options::SetPrintDrawingObjects(BOOL bNewValue)
 343 {
 344     static BYTE parms[] =
 345         VTS_BOOL;
 346     InvokeHelper(0x26, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 347         bNewValue);
 348 }
 349 
 350 CString Options::GetDefaultTray()
 351 {
 352     CString result;
 353     InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 354     return result;
 355 }
 356 
 357 void Options::SetDefaultTray(LPCTSTR lpszNewValue)
 358 {
 359     static BYTE parms[] =
 360         VTS_BSTR;
 361     InvokeHelper(0x27, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 362         lpszNewValue);
 363 }
 364 
 365 long Options::GetDefaultTrayID()
 366 {
 367     long result;
 368     InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 369     return result;
 370 }
 371 
 372 void Options::SetDefaultTrayID(long nNewValue)
 373 {
 374     static BYTE parms[] =
 375         VTS_I4;
 376     InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 377         nNewValue);
 378 }
 379 
 380 BOOL Options::GetCreateBackup()
 381 {
 382     BOOL result;
 383     InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 384     return result;
 385 }
 386 
 387 void Options::SetCreateBackup(BOOL bNewValue)
 388 {
 389     static BYTE parms[] =
 390         VTS_BOOL;
 391     InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 392         bNewValue);
 393 }
 394 
 395 BOOL Options::GetAllowFastSave()
 396 {
 397     BOOL result;
 398     InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 399     return result;
 400 }
 401 
 402 void Options::SetAllowFastSave(BOOL bNewValue)
 403 {
 404     static BYTE parms[] =
 405         VTS_BOOL;
 406     InvokeHelper(0x2a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 407         bNewValue);
 408 }
 409 
 410 BOOL Options::GetSavePropertiesPrompt()
 411 {
 412     BOOL result;
 413     InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 414     return result;
 415 }
 416 
 417 void Options::SetSavePropertiesPrompt(BOOL bNewValue)
 418 {
 419     static BYTE parms[] =
 420         VTS_BOOL;
 421     InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 422         bNewValue);
 423 }
 424 
 425 BOOL Options::GetSaveNormalPrompt()
 426 {
 427     BOOL result;
 428     InvokeHelper(0x2c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 429     return result;
 430 }
 431 
 432 void Options::SetSaveNormalPrompt(BOOL bNewValue)
 433 {
 434     static BYTE parms[] =
 435         VTS_BOOL;
 436     InvokeHelper(0x2c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 437         bNewValue);
 438 }
 439 
 440 long Options::GetSaveInterval()
 441 {
 442     long result;
 443     InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 444     return result;
 445 }
 446 
 447 void Options::SetSaveInterval(long nNewValue)
 448 {
 449     static BYTE parms[] =
 450         VTS_I4;
 451     InvokeHelper(0x2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 452         nNewValue);
 453 }
 454 
 455 BOOL Options::GetBackgroundSave()
 456 {
 457     BOOL result;
 458     InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 459     return result;
 460 }
 461 
 462 void Options::SetBackgroundSave(BOOL bNewValue)
 463 {
 464     static BYTE parms[] =
 465         VTS_BOOL;
 466     InvokeHelper(0x2e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 467         bNewValue);
 468 }
 469 
 470 long Options::GetInsertedTextMark()
 471 {
 472     long result;
 473     InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 474     return result;
 475 }
 476 
 477 void Options::SetInsertedTextMark(long nNewValue)
 478 {
 479     static BYTE parms[] =
 480         VTS_I4;
 481     InvokeHelper(0x39, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 482         nNewValue);
 483 }
 484 
 485 long Options::GetDeletedTextMark()
 486 {
 487     long result;
 488     InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 489     return result;
 490 }
 491 
 492 void Options::SetDeletedTextMark(long nNewValue)
 493 {
 494     static BYTE parms[] =
 495         VTS_I4;
 496     InvokeHelper(0x3a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 497         nNewValue);
 498 }
 499 
 500 long Options::GetRevisedLinesMark()
 501 {
 502     long result;
 503     InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 504     return result;
 505 }
 506 
 507 void Options::SetRevisedLinesMark(long nNewValue)
 508 {
 509     static BYTE parms[] =
 510         VTS_I4;
 511     InvokeHelper(0x3b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 512         nNewValue);
 513 }
 514 
 515 long Options::GetInsertedTextColor()
 516 {
 517     long result;
 518     InvokeHelper(0x3c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 519     return result;
 520 }
 521 
 522 void Options::SetInsertedTextColor(long nNewValue)
 523 {
 524     static BYTE parms[] =
 525         VTS_I4;
 526     InvokeHelper(0x3c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 527         nNewValue);
 528 }
 529 
 530 long Options::GetDeletedTextColor()
 531 {
 532     long result;
 533     InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 534     return result;
 535 }
 536 
 537 void Options::SetDeletedTextColor(long nNewValue)
 538 {
 539     static BYTE parms[] =
 540         VTS_I4;
 541     InvokeHelper(0x3d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 542         nNewValue);
 543 }
 544 
 545 long Options::GetRevisedLinesColor()
 546 {
 547     long result;
 548     InvokeHelper(0x3e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 549     return result;
 550 }
 551 
 552 void Options::SetRevisedLinesColor(long nNewValue)
 553 {
 554     static BYTE parms[] =
 555         VTS_I4;
 556     InvokeHelper(0x3e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 557         nNewValue);
 558 }
 559 
 560 CString Options::GetDefaultFilePath(long Path)
 561 {
 562     CString result;
 563     static BYTE parms[] =
 564         VTS_I4;
 565     InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
 566         Path);
 567     return result;
 568 }
 569 
 570 void Options::SetDefaultFilePath(long Path, LPCTSTR lpszNewValue)
 571 {
 572     static BYTE parms[] =
 573         VTS_I4 VTS_BSTR;
 574     InvokeHelper(0x41, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 575         Path, lpszNewValue);
 576 }
 577 
 578 BOOL Options::GetOvertype()
 579 {
 580     BOOL result;
 581     InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 582     return result;
 583 }
 584 
 585 void Options::SetOvertype(BOOL bNewValue)
 586 {
 587     static BYTE parms[] =
 588         VTS_BOOL;
 589     InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 590         bNewValue);
 591 }
 592 
 593 BOOL Options::GetReplaceSelection()
 594 {
 595     BOOL result;
 596     InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 597     return result;
 598 }
 599 
 600 void Options::SetReplaceSelection(BOOL bNewValue)
 601 {
 602     static BYTE parms[] =
 603         VTS_BOOL;
 604     InvokeHelper(0x43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 605         bNewValue);
 606 }
 607 
 608 BOOL Options::GetAllowDragAndDrop()
 609 {
 610     BOOL result;
 611     InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 612     return result;
 613 }
 614 
 615 void Options::SetAllowDragAndDrop(BOOL bNewValue)
 616 {
 617     static BYTE parms[] =
 618         VTS_BOOL;
 619     InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 620         bNewValue);
 621 }
 622 
 623 BOOL Options::GetAutoWordSelection()
 624 {
 625     BOOL result;
 626     InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 627     return result;
 628 }
 629 
 630 void Options::SetAutoWordSelection(BOOL bNewValue)
 631 {
 632     static BYTE parms[] =
 633         VTS_BOOL;
 634     InvokeHelper(0x45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 635         bNewValue);
 636 }
 637 
 638 BOOL Options::GetINSKeyForPaste()
 639 {
 640     BOOL result;
 641     InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 642     return result;
 643 }
 644 
 645 void Options::SetINSKeyForPaste(BOOL bNewValue)
 646 {
 647     static BYTE parms[] =
 648         VTS_BOOL;
 649     InvokeHelper(0x46, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 650         bNewValue);
 651 }
 652 
 653 BOOL Options::GetSmartCutPaste()
 654 {
 655     BOOL result;
 656     InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 657     return result;
 658 }
 659 
 660 void Options::SetSmartCutPaste(BOOL bNewValue)
 661 {
 662     static BYTE parms[] =
 663         VTS_BOOL;
 664     InvokeHelper(0x47, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 665         bNewValue);
 666 }
 667 
 668 BOOL Options::GetTabIndentKey()
 669 {
 670     BOOL result;
 671     InvokeHelper(0x48, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 672     return result;
 673 }
 674 
 675 void Options::SetTabIndentKey(BOOL bNewValue)
 676 {
 677     static BYTE parms[] =
 678         VTS_BOOL;
 679     InvokeHelper(0x48, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 680         bNewValue);
 681 }
 682 
 683 CString Options::GetPictureEditor()
 684 {
 685     CString result;
 686     InvokeHelper(0x49, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 687     return result;
 688 }
 689 
 690 void Options::SetPictureEditor(LPCTSTR lpszNewValue)
 691 {
 692     static BYTE parms[] =
 693         VTS_BSTR;
 694     InvokeHelper(0x49, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 695         lpszNewValue);
 696 }
 697 
 698 BOOL Options::GetAnimateScreenMovements()
 699 {
 700     BOOL result;
 701     InvokeHelper(0x4a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 702     return result;
 703 }
 704 
 705 void Options::SetAnimateScreenMovements(BOOL bNewValue)
 706 {
 707     static BYTE parms[] =
 708         VTS_BOOL;
 709     InvokeHelper(0x4a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 710         bNewValue);
 711 }
 712 
 713 long Options::GetRevisedPropertiesMark()
 714 {
 715     long result;
 716     InvokeHelper(0x4c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 717     return result;
 718 }
 719 
 720 void Options::SetRevisedPropertiesMark(long nNewValue)
 721 {
 722     static BYTE parms[] =
 723         VTS_I4;
 724     InvokeHelper(0x4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 725         nNewValue);
 726 }
 727 
 728 long Options::GetRevisedPropertiesColor()
 729 {
 730     long result;
 731     InvokeHelper(0x4d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 732     return result;
 733 }
 734 
 735 void Options::SetRevisedPropertiesColor(long nNewValue)
 736 {
 737     static BYTE parms[] =
 738         VTS_I4;
 739     InvokeHelper(0x4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 740         nNewValue);
 741 }
 742 
 743 BOOL Options::GetSnapToGrid()
 744 {
 745     BOOL result;
 746     InvokeHelper(0x4f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 747     return result;
 748 }
 749 
 750 void Options::SetSnapToGrid(BOOL bNewValue)
 751 {
 752     static BYTE parms[] =
 753         VTS_BOOL;
 754     InvokeHelper(0x4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 755         bNewValue);
 756 }
 757 
 758 BOOL Options::GetSnapToShapes()
 759 {
 760     BOOL result;
 761     InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 762     return result;
 763 }
 764 
 765 void Options::SetSnapToShapes(BOOL bNewValue)
 766 {
 767     static BYTE parms[] =
 768         VTS_BOOL;
 769     InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 770         bNewValue);
 771 }
 772 
 773 float Options::GetGridDistanceHorizontal()
 774 {
 775     float result;
 776     InvokeHelper(0x51, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 777     return result;
 778 }
 779 
 780 void Options::SetGridDistanceHorizontal(float newValue)
 781 {
 782     static BYTE parms[] =
 783         VTS_R4;
 784     InvokeHelper(0x51, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 785         newValue);
 786 }
 787 
 788 float Options::GetGridDistanceVertical()
 789 {
 790     float result;
 791     InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 792     return result;
 793 }
 794 
 795 void Options::SetGridDistanceVertical(float newValue)
 796 {
 797     static BYTE parms[] =
 798         VTS_R4;
 799     InvokeHelper(0x52, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 800         newValue);
 801 }
 802 
 803 float Options::GetGridOriginHorizontal()
 804 {
 805     float result;
 806     InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 807     return result;
 808 }
 809 
 810 void Options::SetGridOriginHorizontal(float newValue)
 811 {
 812     static BYTE parms[] =
 813         VTS_R4;
 814     InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 815         newValue);
 816 }
 817 
 818 float Options::GetGridOriginVertical()
 819 {
 820     float result;
 821     InvokeHelper(0x54, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 822     return result;
 823 }
 824 
 825 void Options::SetGridOriginVertical(float newValue)
 826 {
 827     static BYTE parms[] =
 828         VTS_R4;
 829     InvokeHelper(0x54, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 830         newValue);
 831 }
 832 
 833 BOOL Options::GetInlineConversion()
 834 {
 835     BOOL result;
 836     InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 837     return result;
 838 }
 839 
 840 void Options::SetInlineConversion(BOOL bNewValue)
 841 {
 842     static BYTE parms[] =
 843         VTS_BOOL;
 844     InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 845         bNewValue);
 846 }
 847 
 848 BOOL Options::GetIMEAutomaticControl()
 849 {
 850     BOOL result;
 851     InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 852     return result;
 853 }
 854 
 855 void Options::SetIMEAutomaticControl(BOOL bNewValue)
 856 {
 857     static BYTE parms[] =
 858         VTS_BOOL;
 859     InvokeHelper(0x57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 860         bNewValue);
 861 }
 862 
 863 BOOL Options::GetAutoFormatApplyHeadings()
 864 {
 865     BOOL result;
 866     InvokeHelper(0xfa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 867     return result;
 868 }
 869 
 870 void Options::SetAutoFormatApplyHeadings(BOOL bNewValue)
 871 {
 872     static BYTE parms[] =
 873         VTS_BOOL;
 874     InvokeHelper(0xfa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 875         bNewValue);
 876 }
 877 
 878 BOOL Options::GetAutoFormatApplyLists()
 879 {
 880     BOOL result;
 881     InvokeHelper(0xfb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 882     return result;
 883 }
 884 
 885 void Options::SetAutoFormatApplyLists(BOOL bNewValue)
 886 {
 887     static BYTE parms[] =
 888         VTS_BOOL;
 889     InvokeHelper(0xfb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 890         bNewValue);
 891 }
 892 
 893 BOOL Options::GetAutoFormatApplyBulletedLists()
 894 {
 895     BOOL result;
 896     InvokeHelper(0xfc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 897     return result;
 898 }
 899 
 900 void Options::SetAutoFormatApplyBulletedLists(BOOL bNewValue)
 901 {
 902     static BYTE parms[] =
 903         VTS_BOOL;
 904     InvokeHelper(0xfc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 905         bNewValue);
 906 }
 907 
 908 BOOL Options::GetAutoFormatApplyOtherParas()
 909 {
 910     BOOL result;
 911     InvokeHelper(0xfd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 912     return result;
 913 }
 914 
 915 void Options::SetAutoFormatApplyOtherParas(BOOL bNewValue)
 916 {
 917     static BYTE parms[] =
 918         VTS_BOOL;
 919     InvokeHelper(0xfd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 920         bNewValue);
 921 }
 922 
 923 BOOL Options::GetAutoFormatReplaceQuotes()
 924 {
 925     BOOL result;
 926     InvokeHelper(0xfe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 927     return result;
 928 }
 929 
 930 void Options::SetAutoFormatReplaceQuotes(BOOL bNewValue)
 931 {
 932     static BYTE parms[] =
 933         VTS_BOOL;
 934     InvokeHelper(0xfe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 935         bNewValue);
 936 }
 937 
 938 BOOL Options::GetAutoFormatReplaceSymbols()
 939 {
 940     BOOL result;
 941     InvokeHelper(0xff, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 942     return result;
 943 }
 944 
 945 void Options::SetAutoFormatReplaceSymbols(BOOL bNewValue)
 946 {
 947     static BYTE parms[] =
 948         VTS_BOOL;
 949     InvokeHelper(0xff, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 950         bNewValue);
 951 }
 952 
 953 BOOL Options::GetAutoFormatReplaceOrdinals()
 954 {
 955     BOOL result;
 956     InvokeHelper(0x100, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 957     return result;
 958 }
 959 
 960 void Options::SetAutoFormatReplaceOrdinals(BOOL bNewValue)
 961 {
 962     static BYTE parms[] =
 963         VTS_BOOL;
 964     InvokeHelper(0x100, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 965         bNewValue);
 966 }
 967 
 968 BOOL Options::GetAutoFormatReplaceFractions()
 969 {
 970     BOOL result;
 971     InvokeHelper(0x101, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 972     return result;
 973 }
 974 
 975 void Options::SetAutoFormatReplaceFractions(BOOL bNewValue)
 976 {
 977     static BYTE parms[] =
 978         VTS_BOOL;
 979     InvokeHelper(0x101, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 980         bNewValue);
 981 }
 982 
 983 BOOL Options::GetAutoFormatReplacePlainTextEmphasis()
 984 {
 985     BOOL result;
 986     InvokeHelper(0x102, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 987     return result;
 988 }
 989 
 990 void Options::SetAutoFormatReplacePlainTextEmphasis(BOOL bNewValue)
 991 {
 992     static BYTE parms[] =
 993         VTS_BOOL;
 994     InvokeHelper(0x102, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 995         bNewValue);
 996 }
 997 
 998 BOOL Options::GetAutoFormatPreserveStyles()
 999 {
1000     BOOL result;
1001     InvokeHelper(0x103, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1002     return result;
1003 }
1004 
1005 void Options::SetAutoFormatPreserveStyles(BOOL bNewValue)
1006 {
1007     static BYTE parms[] =
1008         VTS_BOOL;
1009     InvokeHelper(0x103, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1010         bNewValue);
1011 }
1012 
1013 BOOL Options::GetAutoFormatAsYouTypeApplyHeadings()
1014 {
1015     BOOL result;
1016     InvokeHelper(0x104, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1017     return result;
1018 }
1019 
1020 void Options::SetAutoFormatAsYouTypeApplyHeadings(BOOL bNewValue)
1021 {
1022     static BYTE parms[] =
1023         VTS_BOOL;
1024     InvokeHelper(0x104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1025         bNewValue);
1026 }
1027 
1028 BOOL Options::GetAutoFormatAsYouTypeApplyBorders()
1029 {
1030     BOOL result;
1031     InvokeHelper(0x105, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1032     return result;
1033 }
1034 
1035 void Options::SetAutoFormatAsYouTypeApplyBorders(BOOL bNewValue)
1036 {
1037     static BYTE parms[] =
1038         VTS_BOOL;
1039     InvokeHelper(0x105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1040         bNewValue);
1041 }
1042 
1043 BOOL Options::GetAutoFormatAsYouTypeApplyBulletedLists()
1044 {
1045     BOOL result;
1046     InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1047     return result;
1048 }
1049 
1050 void Options::SetAutoFormatAsYouTypeApplyBulletedLists(BOOL bNewValue)
1051 {
1052     static BYTE parms[] =
1053         VTS_BOOL;
1054     InvokeHelper(0x106, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1055         bNewValue);
1056 }
1057 
1058 BOOL Options::GetAutoFormatAsYouTypeApplyNumberedLists()
1059 {
1060     BOOL result;
1061     InvokeHelper(0x107, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1062     return result;
1063 }
1064 
1065 void Options::SetAutoFormatAsYouTypeApplyNumberedLists(BOOL bNewValue)
1066 {
1067     static BYTE parms[] =
1068         VTS_BOOL;
1069     InvokeHelper(0x107, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1070         bNewValue);
1071 }
1072 
1073 BOOL Options::GetAutoFormatAsYouTypeReplaceQuotes()
1074 {
1075     BOOL result;
1076     InvokeHelper(0x108, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1077     return result;
1078 }
1079 
1080 void Options::SetAutoFormatAsYouTypeReplaceQuotes(BOOL bNewValue)
1081 {
1082     static BYTE parms[] =
1083         VTS_BOOL;
1084     InvokeHelper(0x108, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1085         bNewValue);
1086 }
1087 
1088 BOOL Options::GetAutoFormatAsYouTypeReplaceSymbols()
1089 {
1090     BOOL result;
1091     InvokeHelper(0x109, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1092     return result;
1093 }
1094 
1095 void Options::SetAutoFormatAsYouTypeReplaceSymbols(BOOL bNewValue)
1096 {
1097     static BYTE parms[] =
1098         VTS_BOOL;
1099     InvokeHelper(0x109, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1100         bNewValue);
1101 }
1102 
1103 BOOL Options::GetAutoFormatAsYouTypeReplaceOrdinals()
1104 {
1105     BOOL result;
1106     InvokeHelper(0x10a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1107     return result;
1108 }
1109 
1110 void Options::SetAutoFormatAsYouTypeReplaceOrdinals(BOOL bNewValue)
1111 {
1112     static BYTE parms[] =
1113         VTS_BOOL;
1114     InvokeHelper(0x10a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1115         bNewValue);
1116 }
1117 
1118 BOOL Options::GetAutoFormatAsYouTypeReplaceFractions()
1119 {
1120     BOOL result;
1121     InvokeHelper(0x10b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1122     return result;
1123 }
1124 
1125 void Options::SetAutoFormatAsYouTypeReplaceFractions(BOOL bNewValue)
1126 {
1127     static BYTE parms[] =
1128         VTS_BOOL;
1129     InvokeHelper(0x10b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1130         bNewValue);
1131 }
1132 
1133 BOOL Options::GetAutoFormatAsYouTypeReplacePlainTextEmphasis()
1134 {
1135     BOOL result;
1136     InvokeHelper(0x10c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1137     return result;
1138 }
1139 
1140 void Options::SetAutoFormatAsYouTypeReplacePlainTextEmphasis(BOOL bNewValue)
1141 {
1142     static BYTE parms[] =
1143         VTS_BOOL;
1144     InvokeHelper(0x10c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1145         bNewValue);
1146 }
1147 
1148 BOOL Options::GetAutoFormatAsYouTypeFormatListItemBeginning()
1149 {
1150     BOOL result;
1151     InvokeHelper(0x10d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1152     return result;
1153 }
1154 
1155 void Options::SetAutoFormatAsYouTypeFormatListItemBeginning(BOOL bNewValue)
1156 {
1157     static BYTE parms[] =
1158         VTS_BOOL;
1159     InvokeHelper(0x10d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1160         bNewValue);
1161 }
1162 
1163 BOOL Options::GetAutoFormatAsYouTypeDefineStyles()
1164 {
1165     BOOL result;
1166     InvokeHelper(0x10e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1167     return result;
1168 }
1169 
1170 void Options::SetAutoFormatAsYouTypeDefineStyles(BOOL bNewValue)
1171 {
1172     static BYTE parms[] =
1173         VTS_BOOL;
1174     InvokeHelper(0x10e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1175         bNewValue);
1176 }
1177 
1178 BOOL Options::GetAutoFormatPlainTextWordMail()
1179 {
1180     BOOL result;
1181     InvokeHelper(0x10f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1182     return result;
1183 }
1184 
1185 void Options::SetAutoFormatPlainTextWordMail(BOOL bNewValue)
1186 {
1187     static BYTE parms[] =
1188         VTS_BOOL;
1189     InvokeHelper(0x10f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1190         bNewValue);
1191 }
1192 
1193 BOOL Options::GetAutoFormatAsYouTypeReplaceHyperlinks()
1194 {
1195     BOOL result;
1196     InvokeHelper(0x110, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1197     return result;
1198 }
1199 
1200 void Options::SetAutoFormatAsYouTypeReplaceHyperlinks(BOOL bNewValue)
1201 {
1202     static BYTE parms[] =
1203         VTS_BOOL;
1204     InvokeHelper(0x110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1205         bNewValue);
1206 }
1207 
1208 BOOL Options::GetAutoFormatReplaceHyperlinks()
1209 {
1210     BOOL result;
1211     InvokeHelper(0x111, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1212     return result;
1213 }
1214 
1215 void Options::SetAutoFormatReplaceHyperlinks(BOOL bNewValue)
1216 {
1217     static BYTE parms[] =
1218         VTS_BOOL;
1219     InvokeHelper(0x111, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1220         bNewValue);
1221 }
1222 
1223 long Options::GetDefaultHighlightColorIndex()
1224 {
1225     long result;
1226     InvokeHelper(0x112, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1227     return result;
1228 }
1229 
1230 void Options::SetDefaultHighlightColorIndex(long nNewValue)
1231 {
1232     static BYTE parms[] =
1233         VTS_I4;
1234     InvokeHelper(0x112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1235         nNewValue);
1236 }
1237 
1238 long Options::GetDefaultBorderLineStyle()
1239 {
1240     long result;
1241     InvokeHelper(0x113, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1242     return result;
1243 }
1244 
1245 void Options::SetDefaultBorderLineStyle(long nNewValue)
1246 {
1247     static BYTE parms[] =
1248         VTS_I4;
1249     InvokeHelper(0x113, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1250         nNewValue);
1251 }
1252 
1253 BOOL Options::GetCheckSpellingAsYouType()
1254 {
1255     BOOL result;
1256     InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1257     return result;
1258 }
1259 
1260 void Options::SetCheckSpellingAsYouType(BOOL bNewValue)
1261 {
1262     static BYTE parms[] =
1263         VTS_BOOL;
1264     InvokeHelper(0x114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1265         bNewValue);
1266 }
1267 
1268 BOOL Options::GetCheckGrammarAsYouType()
1269 {
1270     BOOL result;
1271     InvokeHelper(0x115, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1272     return result;
1273 }
1274 
1275 void Options::SetCheckGrammarAsYouType(BOOL bNewValue)
1276 {
1277     static BYTE parms[] =
1278         VTS_BOOL;
1279     InvokeHelper(0x115, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1280         bNewValue);
1281 }
1282 
1283 BOOL Options::GetIgnoreInternetAndFileAddresses()
1284 {
1285     BOOL result;
1286     InvokeHelper(0x116, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1287     return result;
1288 }
1289 
1290 void Options::SetIgnoreInternetAndFileAddresses(BOOL bNewValue)
1291 {
1292     static BYTE parms[] =
1293         VTS_BOOL;
1294     InvokeHelper(0x116, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1295         bNewValue);
1296 }
1297 
1298 BOOL Options::GetShowReadabilityStatistics()
1299 {
1300     BOOL result;
1301     InvokeHelper(0x117, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1302     return result;
1303 }
1304 
1305 void Options::SetShowReadabilityStatistics(BOOL bNewValue)
1306 {
1307     static BYTE parms[] =
1308         VTS_BOOL;
1309     InvokeHelper(0x117, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1310         bNewValue);
1311 }
1312 
1313 BOOL Options::GetIgnoreUppercase()
1314 {
1315     BOOL result;
1316     InvokeHelper(0x118, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1317     return result;
1318 }
1319 
1320 void Options::SetIgnoreUppercase(BOOL bNewValue)
1321 {
1322     static BYTE parms[] =
1323         VTS_BOOL;
1324     InvokeHelper(0x118, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1325         bNewValue);
1326 }
1327 
1328 BOOL Options::GetIgnoreMixedDigits()
1329 {
1330     BOOL result;
1331     InvokeHelper(0x119, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1332     return result;
1333 }
1334 
1335 void Options::SetIgnoreMixedDigits(BOOL bNewValue)
1336 {
1337     static BYTE parms[] =
1338         VTS_BOOL;
1339     InvokeHelper(0x119, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1340         bNewValue);
1341 }
1342 
1343 BOOL Options::GetSuggestFromMainDictionaryOnly()
1344 {
1345     BOOL result;
1346     InvokeHelper(0x11a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1347     return result;
1348 }
1349 
1350 void Options::SetSuggestFromMainDictionaryOnly(BOOL bNewValue)
1351 {
1352     static BYTE parms[] =
1353         VTS_BOOL;
1354     InvokeHelper(0x11a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1355         bNewValue);
1356 }
1357 
1358 BOOL Options::GetSuggestSpellingCorrections()
1359 {
1360     BOOL result;
1361     InvokeHelper(0x11b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1362     return result;
1363 }
1364 
1365 void Options::SetSuggestSpellingCorrections(BOOL bNewValue)
1366 {
1367     static BYTE parms[] =
1368         VTS_BOOL;
1369     InvokeHelper(0x11b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1370         bNewValue);
1371 }
1372 
1373 long Options::GetDefaultBorderLineWidth()
1374 {
1375     long result;
1376     InvokeHelper(0x11c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1377     return result;
1378 }
1379 
1380 void Options::SetDefaultBorderLineWidth(long nNewValue)
1381 {
1382     static BYTE parms[] =
1383         VTS_I4;
1384     InvokeHelper(0x11c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1385         nNewValue);
1386 }
1387 
1388 BOOL Options::GetCheckGrammarWithSpelling()
1389 {
1390     BOOL result;
1391     InvokeHelper(0x11d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1392     return result;
1393 }
1394 
1395 void Options::SetCheckGrammarWithSpelling(BOOL bNewValue)
1396 {
1397     static BYTE parms[] =
1398         VTS_BOOL;
1399     InvokeHelper(0x11d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1400         bNewValue);
1401 }
1402 
1403 long Options::GetDefaultOpenFormat()
1404 {
1405     long result;
1406     InvokeHelper(0x11e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1407     return result;
1408 }
1409 
1410 void Options::SetDefaultOpenFormat(long nNewValue)
1411 {
1412     static BYTE parms[] =
1413         VTS_I4;
1414     InvokeHelper(0x11e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1415         nNewValue);
1416 }
1417 
1418 BOOL Options::GetPrintDraft()
1419 {
1420     BOOL result;
1421     InvokeHelper(0x11f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1422     return result;
1423 }
1424 
1425 void Options::SetPrintDraft(BOOL bNewValue)
1426 {
1427     static BYTE parms[] =
1428         VTS_BOOL;
1429     InvokeHelper(0x11f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1430         bNewValue);
1431 }
1432 
1433 BOOL Options::GetPrintReverse()
1434 {
1435     BOOL result;
1436     InvokeHelper(0x120, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1437     return result;
1438 }
1439 
1440 void Options::SetPrintReverse(BOOL bNewValue)
1441 {
1442     static BYTE parms[] =
1443         VTS_BOOL;
1444     InvokeHelper(0x120, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1445         bNewValue);
1446 }
1447 
1448 BOOL Options::GetMapPaperSize()
1449 {
1450     BOOL result;
1451     InvokeHelper(0x121, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1452     return result;
1453 }
1454 
1455 void Options::SetMapPaperSize(BOOL bNewValue)
1456 {
1457     static BYTE parms[] =
1458         VTS_BOOL;
1459     InvokeHelper(0x121, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1460         bNewValue);
1461 }
1462 
1463 BOOL Options::GetAutoFormatAsYouTypeApplyTables()
1464 {
1465     BOOL result;
1466     InvokeHelper(0x122, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1467     return result;
1468 }
1469 
1470 void Options::SetAutoFormatAsYouTypeApplyTables(BOOL bNewValue)
1471 {
1472     static BYTE parms[] =
1473         VTS_BOOL;
1474     InvokeHelper(0x122, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1475         bNewValue);
1476 }
1477 
1478 BOOL Options::GetAutoFormatApplyFirstIndents()
1479 {
1480     BOOL result;
1481     InvokeHelper(0x123, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1482     return result;
1483 }
1484 
1485 void Options::SetAutoFormatApplyFirstIndents(BOOL bNewValue)
1486 {
1487     static BYTE parms[] =
1488         VTS_BOOL;
1489     InvokeHelper(0x123, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1490         bNewValue);
1491 }
1492 
1493 BOOL Options::GetAutoFormatMatchParentheses()
1494 {
1495     BOOL result;
1496     InvokeHelper(0x126, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1497     return result;
1498 }
1499 
1500 void Options::SetAutoFormatMatchParentheses(BOOL bNewValue)
1501 {
1502     static BYTE parms[] =
1503         VTS_BOOL;
1504     InvokeHelper(0x126, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1505         bNewValue);
1506 }
1507 
1508 BOOL Options::GetAutoFormatReplaceFarEastDashes()
1509 {
1510     BOOL result;
1511     InvokeHelper(0x127, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1512     return result;
1513 }
1514 
1515 void Options::SetAutoFormatReplaceFarEastDashes(BOOL bNewValue)
1516 {
1517     static BYTE parms[] =
1518         VTS_BOOL;
1519     InvokeHelper(0x127, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1520         bNewValue);
1521 }
1522 
1523 BOOL Options::GetAutoFormatDeleteAutoSpaces()
1524 {
1525     BOOL result;
1526     InvokeHelper(0x128, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1527     return result;
1528 }
1529 
1530 void Options::SetAutoFormatDeleteAutoSpaces(BOOL bNewValue)
1531 {
1532     static BYTE parms[] =
1533         VTS_BOOL;
1534     InvokeHelper(0x128, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1535         bNewValue);
1536 }
1537 
1538 BOOL Options::GetAutoFormatAsYouTypeApplyFirstIndents()
1539 {
1540     BOOL result;
1541     InvokeHelper(0x129, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1542     return result;
1543 }
1544 
1545 void Options::SetAutoFormatAsYouTypeApplyFirstIndents(BOOL bNewValue)
1546 {
1547     static BYTE parms[] =
1548         VTS_BOOL;
1549     InvokeHelper(0x129, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1550         bNewValue);
1551 }
1552 
1553 BOOL Options::GetAutoFormatAsYouTypeApplyDates()
1554 {
1555     BOOL result;
1556     InvokeHelper(0x12a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1557     return result;
1558 }
1559 
1560 void Options::SetAutoFormatAsYouTypeApplyDates(BOOL bNewValue)
1561 {
1562     static BYTE parms[] =
1563         VTS_BOOL;
1564     InvokeHelper(0x12a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1565         bNewValue);
1566 }
1567 
1568 BOOL Options::GetAutoFormatAsYouTypeApplyClosings()
1569 {
1570     BOOL result;
1571     InvokeHelper(0x12b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1572     return result;
1573 }
1574 
1575 void Options::SetAutoFormatAsYouTypeApplyClosings(BOOL bNewValue)
1576 {
1577     static BYTE parms[] =
1578         VTS_BOOL;
1579     InvokeHelper(0x12b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1580         bNewValue);
1581 }
1582 
1583 BOOL Options::GetAutoFormatAsYouTypeMatchParentheses()
1584 {
1585     BOOL result;
1586     InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1587     return result;
1588 }
1589 
1590 void Options::SetAutoFormatAsYouTypeMatchParentheses(BOOL bNewValue)
1591 {
1592     static BYTE parms[] =
1593         VTS_BOOL;
1594     InvokeHelper(0x12c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1595         bNewValue);
1596 }
1597 
1598 BOOL Options::GetAutoFormatAsYouTypeReplaceFarEastDashes()
1599 {
1600     BOOL result;
1601     InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1602     return result;
1603 }
1604 
1605 void Options::SetAutoFormatAsYouTypeReplaceFarEastDashes(BOOL bNewValue)
1606 {
1607     static BYTE parms[] =
1608         VTS_BOOL;
1609     InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1610         bNewValue);
1611 }
1612 
1613 BOOL Options::GetAutoFormatAsYouTypeDeleteAutoSpaces()
1614 {
1615     BOOL result;
1616     InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1617     return result;
1618 }
1619 
1620 void Options::SetAutoFormatAsYouTypeDeleteAutoSpaces(BOOL bNewValue)
1621 {
1622     static BYTE parms[] =
1623         VTS_BOOL;
1624     InvokeHelper(0x12e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1625         bNewValue);
1626 }
1627 
1628 BOOL Options::GetAutoFormatAsYouTypeInsertClosings()
1629 {
1630     BOOL result;
1631     InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1632     return result;
1633 }
1634 
1635 void Options::SetAutoFormatAsYouTypeInsertClosings(BOOL bNewValue)
1636 {
1637     static BYTE parms[] =
1638         VTS_BOOL;
1639     InvokeHelper(0x12f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1640         bNewValue);
1641 }
1642 
1643 BOOL Options::GetAutoFormatAsYouTypeAutoLetterWizard()
1644 {
1645     BOOL result;
1646     InvokeHelper(0x130, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1647     return result;
1648 }
1649 
1650 void Options::SetAutoFormatAsYouTypeAutoLetterWizard(BOOL bNewValue)
1651 {
1652     static BYTE parms[] =
1653         VTS_BOOL;
1654     InvokeHelper(0x130, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1655         bNewValue);
1656 }
1657 
1658 BOOL Options::GetAutoFormatAsYouTypeInsertOvers()
1659 {
1660     BOOL result;
1661     InvokeHelper(0x131, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1662     return result;
1663 }
1664 
1665 void Options::SetAutoFormatAsYouTypeInsertOvers(BOOL bNewValue)
1666 {
1667     static BYTE parms[] =
1668         VTS_BOOL;
1669     InvokeHelper(0x131, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1670         bNewValue);
1671 }
1672 
1673 BOOL Options::GetDisplayGridLines()
1674 {
1675     BOOL result;
1676     InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1677     return result;
1678 }
1679 
1680 void Options::SetDisplayGridLines(BOOL bNewValue)
1681 {
1682     static BYTE parms[] =
1683         VTS_BOOL;
1684     InvokeHelper(0x132, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1685         bNewValue);
1686 }
1687 
1688 BOOL Options::GetMatchFuzzyCase()
1689 {
1690     BOOL result;
1691     InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1692     return result;
1693 }
1694 
1695 void Options::SetMatchFuzzyCase(BOOL bNewValue)
1696 {
1697     static BYTE parms[] =
1698         VTS_BOOL;
1699     InvokeHelper(0x135, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1700         bNewValue);
1701 }
1702 
1703 BOOL Options::GetMatchFuzzyByte()
1704 {
1705     BOOL result;
1706     InvokeHelper(0x136, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1707     return result;
1708 }
1709 
1710 void Options::SetMatchFuzzyByte(BOOL bNewValue)
1711 {
1712     static BYTE parms[] =
1713         VTS_BOOL;
1714     InvokeHelper(0x136, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1715         bNewValue);
1716 }
1717 
1718 BOOL Options::GetMatchFuzzyHiragana()
1719 {
1720     BOOL result;
1721     InvokeHelper(0x137, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1722     return result;
1723 }
1724 
1725 void Options::SetMatchFuzzyHiragana(BOOL bNewValue)
1726 {
1727     static BYTE parms[] =
1728         VTS_BOOL;
1729     InvokeHelper(0x137, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1730         bNewValue);
1731 }
1732 
1733 BOOL Options::GetMatchFuzzySmallKana()
1734 {
1735     BOOL result;
1736     InvokeHelper(0x138, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1737     return result;
1738 }
1739 
1740 void Options::SetMatchFuzzySmallKana(BOOL bNewValue)
1741 {
1742     static BYTE parms[] =
1743         VTS_BOOL;
1744     InvokeHelper(0x138, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1745         bNewValue);
1746 }
1747 
1748 BOOL Options::GetMatchFuzzyDash()
1749 {
1750     BOOL result;
1751     InvokeHelper(0x139, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1752     return result;
1753 }
1754 
1755 void Options::SetMatchFuzzyDash(BOOL bNewValue)
1756 {
1757     static BYTE parms[] =
1758         VTS_BOOL;
1759     InvokeHelper(0x139, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1760         bNewValue);
1761 }
1762 
1763 BOOL Options::GetMatchFuzzyIterationMark()
1764 {
1765     BOOL result;
1766     InvokeHelper(0x13a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1767     return result;
1768 }
1769 
1770 void Options::SetMatchFuzzyIterationMark(BOOL bNewValue)
1771 {
1772     static BYTE parms[] =
1773         VTS_BOOL;
1774     InvokeHelper(0x13a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1775         bNewValue);
1776 }
1777 
1778 BOOL Options::GetMatchFuzzyKanji()
1779 {
1780     BOOL result;
1781     InvokeHelper(0x13b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1782     return result;
1783 }
1784 
1785 void Options::SetMatchFuzzyKanji(BOOL bNewValue)
1786 {
1787     static BYTE parms[] =
1788         VTS_BOOL;
1789     InvokeHelper(0x13b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1790         bNewValue);
1791 }
1792 
1793 BOOL Options::GetMatchFuzzyOldKana()
1794 {
1795     BOOL result;
1796     InvokeHelper(0x13c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1797     return result;
1798 }
1799 
1800 void Options::SetMatchFuzzyOldKana(BOOL bNewValue)
1801 {
1802     static BYTE parms[] =
1803         VTS_BOOL;
1804     InvokeHelper(0x13c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1805         bNewValue);
1806 }
1807 
1808 BOOL Options::GetMatchFuzzyProlongedSoundMark()
1809 {
1810     BOOL result;
1811     InvokeHelper(0x13d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1812     return result;
1813 }
1814 
1815 void Options::SetMatchFuzzyProlongedSoundMark(BOOL bNewValue)
1816 {
1817     static BYTE parms[] =
1818         VTS_BOOL;
1819     InvokeHelper(0x13d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1820         bNewValue);
1821 }
1822 
1823 BOOL Options::GetMatchFuzzyDZ()
1824 {
1825     BOOL result;
1826     InvokeHelper(0x13e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1827     return result;
1828 }
1829 
1830 void Options::SetMatchFuzzyDZ(BOOL bNewValue)
1831 {
1832     static BYTE parms[] =
1833         VTS_BOOL;
1834     InvokeHelper(0x13e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1835         bNewValue);
1836 }
1837 
1838 BOOL Options::GetMatchFuzzyBV()
1839 {
1840     BOOL result;
1841     InvokeHelper(0x13f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1842     return result;
1843 }
1844 
1845 void Options::SetMatchFuzzyBV(BOOL bNewValue)
1846 {
1847     static BYTE parms[] =
1848         VTS_BOOL;
1849     InvokeHelper(0x13f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1850         bNewValue);
1851 }
1852 
1853 BOOL Options::GetMatchFuzzyTC()
1854 {
1855     BOOL result;
1856     InvokeHelper(0x140, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1857     return result;
1858 }
1859 
1860 void Options::SetMatchFuzzyTC(BOOL bNewValue)
1861 {
1862     static BYTE parms[] =
1863         VTS_BOOL;
1864     InvokeHelper(0x140, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1865         bNewValue);
1866 }
1867 
1868 BOOL Options::GetMatchFuzzyHF()
1869 {
1870     BOOL result;
1871     InvokeHelper(0x141, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1872     return result;
1873 }
1874 
1875 void Options::SetMatchFuzzyHF(BOOL bNewValue)
1876 {
1877     static BYTE parms[] =
1878         VTS_BOOL;
1879     InvokeHelper(0x141, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1880         bNewValue);
1881 }
1882 
1883 BOOL Options::GetMatchFuzzyZJ()
1884 {
1885     BOOL result;
1886     InvokeHelper(0x142, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1887     return result;
1888 }
1889 
1890 void Options::SetMatchFuzzyZJ(BOOL bNewValue)
1891 {
1892     static BYTE parms[] =
1893         VTS_BOOL;
1894     InvokeHelper(0x142, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1895         bNewValue);
1896 }
1897 
1898 BOOL Options::GetMatchFuzzyAY()
1899 {
1900     BOOL result;
1901     InvokeHelper(0x143, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1902     return result;
1903 }
1904 
1905 void Options::SetMatchFuzzyAY(BOOL bNewValue)
1906 {
1907     static BYTE parms[] =
1908         VTS_BOOL;
1909     InvokeHelper(0x143, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1910         bNewValue);
1911 }
1912 
1913 BOOL Options::GetMatchFuzzyKiKu()
1914 {
1915     BOOL result;
1916     InvokeHelper(0x144, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1917     return result;
1918 }
1919 
1920 void Options::SetMatchFuzzyKiKu(BOOL bNewValue)
1921 {
1922     static BYTE parms[] =
1923         VTS_BOOL;
1924     InvokeHelper(0x144, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1925         bNewValue);
1926 }
1927 
1928 BOOL Options::GetMatchFuzzyPunctuation()
1929 {
1930     BOOL result;
1931     InvokeHelper(0x145, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1932     return result;
1933 }
1934 
1935 void Options::SetMatchFuzzyPunctuation(BOOL bNewValue)
1936 {
1937     static BYTE parms[] =
1938         VTS_BOOL;
1939     InvokeHelper(0x145, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1940         bNewValue);
1941 }
1942 
1943 BOOL Options::GetMatchFuzzySpace()
1944 {
1945     BOOL result;
1946     InvokeHelper(0x146, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1947     return result;
1948 }
1949 
1950 void Options::SetMatchFuzzySpace(BOOL bNewValue)
1951 {
1952     static BYTE parms[] =
1953         VTS_BOOL;
1954     InvokeHelper(0x146, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1955         bNewValue);
1956 }
1957 
1958 BOOL Options::GetApplyFarEastFontsToAscii()
1959 {
1960     BOOL result;
1961     InvokeHelper(0x147, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1962     return result;
1963 }
1964 
1965 void Options::SetApplyFarEastFontsToAscii(BOOL bNewValue)
1966 {
1967     static BYTE parms[] =
1968         VTS_BOOL;
1969     InvokeHelper(0x147, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1970         bNewValue);
1971 }
1972 
1973 BOOL Options::GetConvertHighAnsiToFarEast()
1974 {
1975     BOOL result;
1976     InvokeHelper(0x148, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1977     return result;
1978 }
1979 
1980 void Options::SetConvertHighAnsiToFarEast(BOOL bNewValue)
1981 {
1982     static BYTE parms[] =
1983         VTS_BOOL;
1984     InvokeHelper(0x148, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1985         bNewValue);
1986 }
1987 
1988 BOOL Options::GetPrintOddPagesInAscendingOrder()
1989 {
1990     BOOL result;
1991     InvokeHelper(0x14a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1992     return result;
1993 }
1994 
1995 void Options::SetPrintOddPagesInAscendingOrder(BOOL bNewValue)
1996 {
1997     static BYTE parms[] =
1998         VTS_BOOL;
1999     InvokeHelper(0x14a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2000         bNewValue);
2001 }
2002 
2003 BOOL Options::GetPrintEvenPagesInAscendingOrder()
2004 {
2005     BOOL result;
2006     InvokeHelper(0x14b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2007     return result;
2008 }
2009 
2010 void Options::SetPrintEvenPagesInAscendingOrder(BOOL bNewValue)
2011 {
2012     static BYTE parms[] =
2013         VTS_BOOL;
2014     InvokeHelper(0x14b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2015         bNewValue);
2016 }
2017 
2018 long Options::GetDefaultBorderColorIndex()
2019 {
2020     long result;
2021     InvokeHelper(0x151, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2022     return result;
2023 }
2024 
2025 void Options::SetDefaultBorderColorIndex(long nNewValue)
2026 {
2027     static BYTE parms[] =
2028         VTS_I4;
2029     InvokeHelper(0x151, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2030         nNewValue);
2031 }
2032 
2033 BOOL Options::GetEnableMisusedWordsDictionary()
2034 {
2035     BOOL result;
2036     InvokeHelper(0x152, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2037     return result;
2038 }
2039 
2040 void Options::SetEnableMisusedWordsDictionary(BOOL bNewValue)
2041 {
2042     static BYTE parms[] =
2043         VTS_BOOL;
2044     InvokeHelper(0x152, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2045         bNewValue);
2046 }
2047 
2048 BOOL Options::GetAllowCombinedAuxiliaryForms()
2049 {
2050     BOOL result;
2051     InvokeHelper(0x153, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2052     return result;
2053 }
2054 
2055 void Options::SetAllowCombinedAuxiliaryForms(BOOL bNewValue)
2056 {
2057     static BYTE parms[] =
2058         VTS_BOOL;
2059     InvokeHelper(0x153, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2060         bNewValue);
2061 }
2062 
2063 BOOL Options::GetHangulHanjaFastConversion()
2064 {
2065     BOOL result;
2066     InvokeHelper(0x154, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2067     return result;
2068 }
2069 
2070 void Options::SetHangulHanjaFastConversion(BOOL bNewValue)
2071 {
2072     static BYTE parms[] =
2073         VTS_BOOL;
2074     InvokeHelper(0x154, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2075         bNewValue);
2076 }
2077 
2078 BOOL Options::GetCheckHangulEndings()
2079 {
2080     BOOL result;
2081     InvokeHelper(0x155, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2082     return result;
2083 }
2084 
2085 void Options::SetCheckHangulEndings(BOOL bNewValue)
2086 {
2087     static BYTE parms[] =
2088         VTS_BOOL;
2089     InvokeHelper(0x155, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2090         bNewValue);
2091 }
2092 
2093 BOOL Options::GetEnableHangulHanjaRecentOrdering()
2094 {
2095     BOOL result;
2096     InvokeHelper(0x156, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2097     return result;
2098 }
2099 
2100 void Options::SetEnableHangulHanjaRecentOrdering(BOOL bNewValue)
2101 {
2102     static BYTE parms[] =
2103         VTS_BOOL;
2104     InvokeHelper(0x156, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2105         bNewValue);
2106 }
2107 
2108 long Options::GetMultipleWordConversionsMode()
2109 {
2110     long result;
2111     InvokeHelper(0x157, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2112     return result;
2113 }
2114 
2115 void Options::SetMultipleWordConversionsMode(long nNewValue)
2116 {
2117     static BYTE parms[] =
2118         VTS_I4;
2119     InvokeHelper(0x157, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2120         nNewValue);
2121 }
2122 
2123 void Options::SetWPHelpOptions(VARIANT* CommandKeyHelp, VARIANT* DocNavigationKeys, VARIANT* MouseSimulation, VARIANT* DemoGuidance, VARIANT* DemoSpeed, VARIANT* HelpType)
2124 {
2125     static BYTE parms[] =
2126         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
2127     InvokeHelper(0x14d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2128         CommandKeyHelp, DocNavigationKeys, MouseSimulation, DemoGuidance, DemoSpeed, HelpType);
2129 }
2130 
2131 long Options::GetDefaultBorderColor()
2132 {
2133     long result;
2134     InvokeHelper(0x158, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2135     return result;
2136 }
2137 
2138 void Options::SetDefaultBorderColor(long nNewValue)
2139 {
2140     static BYTE parms[] =
2141         VTS_I4;
2142     InvokeHelper(0x158, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2143         nNewValue);
2144 }
2145 
2146 BOOL Options::GetAllowPixelUnits()
2147 {
2148     BOOL result;
2149     InvokeHelper(0x159, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2150     return result;
2151 }
2152 
2153 void Options::SetAllowPixelUnits(BOOL bNewValue)
2154 {
2155     static BYTE parms[] =
2156         VTS_BOOL;
2157     InvokeHelper(0x159, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2158         bNewValue);
2159 }
2160 
2161 BOOL Options::GetUseCharacterUnit()
2162 {
2163     BOOL result;
2164     InvokeHelper(0x15a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2165     return result;
2166 }
2167 
2168 void Options::SetUseCharacterUnit(BOOL bNewValue)
2169 {
2170     static BYTE parms[] =
2171         VTS_BOOL;
2172     InvokeHelper(0x15a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2173         bNewValue);
2174 }
2175 
2176 BOOL Options::GetAllowCompoundNounProcessing()
2177 {
2178     BOOL result;
2179     InvokeHelper(0x15b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2180     return result;
2181 }
2182 
2183 void Options::SetAllowCompoundNounProcessing(BOOL bNewValue)
2184 {
2185     static BYTE parms[] =
2186         VTS_BOOL;
2187     InvokeHelper(0x15b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2188         bNewValue);
2189 }
2190 
2191 BOOL Options::GetAutoKeyboardSwitching()
2192 {
2193     BOOL result;
2194     InvokeHelper(0x18f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2195     return result;
2196 }
2197 
2198 void Options::SetAutoKeyboardSwitching(BOOL bNewValue)
2199 {
2200     static BYTE parms[] =
2201         VTS_BOOL;
2202     InvokeHelper(0x18f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2203         bNewValue);
2204 }
2205 
2206 long Options::GetDocumentViewDirection()
2207 {
2208     long result;
2209     InvokeHelper(0x190, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2210     return result;
2211 }
2212 
2213 void Options::SetDocumentViewDirection(long nNewValue)
2214 {
2215     static BYTE parms[] =
2216         VTS_I4;
2217     InvokeHelper(0x190, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2218         nNewValue);
2219 }
2220 
2221 long Options::GetArabicNumeral()
2222 {
2223     long result;
2224     InvokeHelper(0x191, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2225     return result;
2226 }
2227 
2228 void Options::SetArabicNumeral(long nNewValue)
2229 {
2230     static BYTE parms[] =
2231         VTS_I4;
2232     InvokeHelper(0x191, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2233         nNewValue);
2234 }
2235 
2236 long Options::GetMonthNames()
2237 {
2238     long result;
2239     InvokeHelper(0x192, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2240     return result;
2241 }
2242 
2243 void Options::SetMonthNames(long nNewValue)
2244 {
2245     static BYTE parms[] =
2246         VTS_I4;
2247     InvokeHelper(0x192, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2248         nNewValue);
2249 }
2250 
2251 long Options::GetCursorMovement()
2252 {
2253     long result;
2254     InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2255     return result;
2256 }
2257 
2258 void Options::SetCursorMovement(long nNewValue)
2259 {
2260     static BYTE parms[] =
2261         VTS_I4;
2262     InvokeHelper(0x193, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2263         nNewValue);
2264 }
2265 
2266 long Options::GetVisualSelection()
2267 {
2268     long result;
2269     InvokeHelper(0x194, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2270     return result;
2271 }
2272 
2273 void Options::SetVisualSelection(long nNewValue)
2274 {
2275     static BYTE parms[] =
2276         VTS_I4;
2277     InvokeHelper(0x194, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2278         nNewValue);
2279 }
2280 
2281 BOOL Options::GetShowDiacritics()
2282 {
2283     BOOL result;
2284     InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2285     return result;
2286 }
2287 
2288 void Options::SetShowDiacritics(BOOL bNewValue)
2289 {
2290     static BYTE parms[] =
2291         VTS_BOOL;
2292     InvokeHelper(0x195, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2293         bNewValue);
2294 }
2295 
2296 BOOL Options::GetShowControlCharacters()
2297 {
2298     BOOL result;
2299     InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2300     return result;
2301 }
2302 
2303 void Options::SetShowControlCharacters(BOOL bNewValue)
2304 {
2305     static BYTE parms[] =
2306         VTS_BOOL;
2307     InvokeHelper(0x196, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2308         bNewValue);
2309 }
2310 
2311 BOOL Options::GetAddControlCharacters()
2312 {
2313     BOOL result;
2314     InvokeHelper(0x197, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2315     return result;
2316 }
2317 
2318 void Options::SetAddControlCharacters(BOOL bNewValue)
2319 {
2320     static BYTE parms[] =
2321         VTS_BOOL;
2322     InvokeHelper(0x197, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2323         bNewValue);
2324 }
2325 
2326 BOOL Options::GetAddBiDirectionalMarksWhenSavingTextFile()
2327 {
2328     BOOL result;
2329     InvokeHelper(0x198, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2330     return result;
2331 }
2332 
2333 void Options::SetAddBiDirectionalMarksWhenSavingTextFile(BOOL bNewValue)
2334 {
2335     static BYTE parms[] =
2336         VTS_BOOL;
2337     InvokeHelper(0x198, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2338         bNewValue);
2339 }
2340 
2341 BOOL Options::GetStrictInitialAlefHamza()
2342 {
2343     BOOL result;
2344     InvokeHelper(0x199, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2345     return result;
2346 }
2347 
2348 void Options::SetStrictInitialAlefHamza(BOOL bNewValue)
2349 {
2350     static BYTE parms[] =
2351         VTS_BOOL;
2352     InvokeHelper(0x199, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2353         bNewValue);
2354 }
2355 
2356 BOOL Options::GetStrictFinalYaa()
2357 {
2358     BOOL result;
2359     InvokeHelper(0x19a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2360     return result;
2361 }
2362 
2363 void Options::SetStrictFinalYaa(BOOL bNewValue)
2364 {
2365     static BYTE parms[] =
2366         VTS_BOOL;
2367     InvokeHelper(0x19a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2368         bNewValue);
2369 }
2370 
2371 long Options::GetHebrewMode()
2372 {
2373     long result;
2374     InvokeHelper(0x19b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2375     return result;
2376 }
2377 
2378 void Options::SetHebrewMode(long nNewValue)
2379 {
2380     static BYTE parms[] =
2381         VTS_I4;
2382     InvokeHelper(0x19b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2383         nNewValue);
2384 }
2385 
2386 long Options::GetArabicMode()
2387 {
2388     long result;
2389     InvokeHelper(0x19c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2390     return result;
2391 }
2392 
2393 void Options::SetArabicMode(long nNewValue)
2394 {
2395     static BYTE parms[] =
2396         VTS_I4;
2397     InvokeHelper(0x19c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2398         nNewValue);
2399 }
2400 
2401 BOOL Options::GetAllowClickAndTypeMouse()
2402 {
2403     BOOL result;
2404     InvokeHelper(0x19d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2405     return result;
2406 }
2407 
2408 void Options::SetAllowClickAndTypeMouse(BOOL bNewValue)
2409 {
2410     static BYTE parms[] =
2411         VTS_BOOL;
2412     InvokeHelper(0x19d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2413         bNewValue);
2414 }
2415 
2416 BOOL Options::GetUseGermanSpellingReform()
2417 {
2418     BOOL result;
2419     InvokeHelper(0x19f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2420     return result;
2421 }
2422 
2423 void Options::SetUseGermanSpellingReform(BOOL bNewValue)
2424 {
2425     static BYTE parms[] =
2426         VTS_BOOL;
2427     InvokeHelper(0x19f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2428         bNewValue);
2429 }
2430 
2431 long Options::GetInterpretHighAnsi()
2432 {
2433     long result;
2434     InvokeHelper(0x1a2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2435     return result;
2436 }
2437 
2438 void Options::SetInterpretHighAnsi(long nNewValue)
2439 {
2440     static BYTE parms[] =
2441         VTS_I4;
2442     InvokeHelper(0x1a2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2443         nNewValue);
2444 }
2445 
2446 BOOL Options::GetAddHebDoubleQuote()
2447 {
2448     BOOL result;
2449     InvokeHelper(0x1a3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2450     return result;
2451 }
2452 
2453 void Options::SetAddHebDoubleQuote(BOOL bNewValue)
2454 {
2455     static BYTE parms[] =
2456         VTS_BOOL;
2457     InvokeHelper(0x1a3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2458         bNewValue);
2459 }
2460 
2461 BOOL Options::GetUseDiffDiacColor()
2462 {
2463     BOOL result;
2464     InvokeHelper(0x1a4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2465     return result;
2466 }
2467 
2468 void Options::SetUseDiffDiacColor(BOOL bNewValue)
2469 {
2470     static BYTE parms[] =
2471         VTS_BOOL;
2472     InvokeHelper(0x1a4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2473         bNewValue);
2474 }
2475 
2476 long Options::GetDiacriticColorVal()
2477 {
2478     long result;
2479     InvokeHelper(0x1a5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2480     return result;
2481 }
2482 
2483 void Options::SetDiacriticColorVal(long nNewValue)
2484 {
2485     static BYTE parms[] =
2486         VTS_I4;
2487     InvokeHelper(0x1a5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2488         nNewValue);
2489 }
2490 
2491 BOOL Options::GetOptimizeForWord97byDefault()
2492 {
2493     BOOL result;
2494     InvokeHelper(0x1a7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2495     return result;
2496 }
2497 
2498 void Options::SetOptimizeForWord97byDefault(BOOL bNewValue)
2499 {
2500     static BYTE parms[] =
2501         VTS_BOOL;
2502     InvokeHelper(0x1a7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2503         bNewValue);
2504 }
2505 
2506 BOOL Options::GetLocalNetworkFile()
2507 {
2508     BOOL result;
2509     InvokeHelper(0x1a8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2510     return result;
2511 }
2512 
2513 void Options::SetLocalNetworkFile(BOOL bNewValue)
2514 {
2515     static BYTE parms[] =
2516         VTS_BOOL;
2517     InvokeHelper(0x1a8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2518         bNewValue);
2519 }
2520 
2521 BOOL Options::GetTypeNReplace()
2522 {
2523     BOOL result;
2524     InvokeHelper(0x1a9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2525     return result;
2526 }
2527 
2528 void Options::SetTypeNReplace(BOOL bNewValue)
2529 {
2530     static BYTE parms[] =
2531         VTS_BOOL;
2532     InvokeHelper(0x1a9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2533         bNewValue);
2534 }
2535 
2536 BOOL Options::GetSequenceCheck()
2537 {
2538     BOOL result;
2539     InvokeHelper(0x1aa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2540     return result;
2541 }
2542 
2543 void Options::SetSequenceCheck(BOOL bNewValue)
2544 {
2545     static BYTE parms[] =
2546         VTS_BOOL;
2547     InvokeHelper(0x1aa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2548         bNewValue);
2549 }
2550 
2551 BOOL Options::GetBackgroundOpen()
2552 {
2553     BOOL result;
2554     InvokeHelper(0x1ab, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2555     return result;
2556 }
2557 
2558 void Options::SetBackgroundOpen(BOOL bNewValue)
2559 {
2560     static BYTE parms[] =
2561         VTS_BOOL;
2562     InvokeHelper(0x1ab, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2563         bNewValue);
2564 }
2565 
2566 BOOL Options::GetDisableFeaturesbyDefault()
2567 {
2568     BOOL result;
2569     InvokeHelper(0x1ac, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2570     return result;
2571 }
2572 
2573 void Options::SetDisableFeaturesbyDefault(BOOL bNewValue)
2574 {
2575     static BYTE parms[] =
2576         VTS_BOOL;
2577     InvokeHelper(0x1ac, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2578         bNewValue);
2579 }
2580 
2581 BOOL Options::GetPasteAdjustWordSpacing()
2582 {
2583     BOOL result;
2584     InvokeHelper(0x1ad, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2585     return result;
2586 }
2587 
2588 void Options::SetPasteAdjustWordSpacing(BOOL bNewValue)
2589 {
2590     static BYTE parms[] =
2591         VTS_BOOL;
2592     InvokeHelper(0x1ad, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2593         bNewValue);
2594 }
2595 
2596 BOOL Options::GetPasteAdjustParagraphSpacing()
2597 {
2598     BOOL result;
2599     InvokeHelper(0x1ae, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2600     return result;
2601 }
2602 
2603 void Options::SetPasteAdjustParagraphSpacing(BOOL bNewValue)
2604 {
2605     static BYTE parms[] =
2606         VTS_BOOL;
2607     InvokeHelper(0x1ae, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2608         bNewValue);
2609 }
2610 
2611 BOOL Options::GetPasteAdjustTableFormatting()
2612 {
2613     BOOL result;
2614     InvokeHelper(0x1af, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2615     return result;
2616 }
2617 
2618 void Options::SetPasteAdjustTableFormatting(BOOL bNewValue)
2619 {
2620     static BYTE parms[] =
2621         VTS_BOOL;
2622     InvokeHelper(0x1af, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2623         bNewValue);
2624 }
2625 
2626 BOOL Options::GetPasteSmartStyleBehavior()
2627 {
2628     BOOL result;
2629     InvokeHelper(0x1b0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2630     return result;
2631 }
2632 
2633 void Options::SetPasteSmartStyleBehavior(BOOL bNewValue)
2634 {
2635     static BYTE parms[] =
2636         VTS_BOOL;
2637     InvokeHelper(0x1b0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2638         bNewValue);
2639 }
2640 
2641 BOOL Options::GetPasteMergeFromPPT()
2642 {
2643     BOOL result;
2644     InvokeHelper(0x1b1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2645     return result;
2646 }
2647 
2648 void Options::SetPasteMergeFromPPT(BOOL bNewValue)
2649 {
2650     static BYTE parms[] =
2651         VTS_BOOL;
2652     InvokeHelper(0x1b1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2653         bNewValue);
2654 }
2655 
2656 BOOL Options::GetPasteMergeFromXL()
2657 {
2658     BOOL result;
2659     InvokeHelper(0x1b2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2660     return result;
2661 }
2662 
2663 void Options::SetPasteMergeFromXL(BOOL bNewValue)
2664 {
2665     static BYTE parms[] =
2666         VTS_BOOL;
2667     InvokeHelper(0x1b2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2668         bNewValue);
2669 }
2670 
2671 BOOL Options::GetCtrlClickHyperlinkToOpen()
2672 {
2673     BOOL result;
2674     InvokeHelper(0x1b3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2675     return result;
2676 }
2677 
2678 void Options::SetCtrlClickHyperlinkToOpen(BOOL bNewValue)
2679 {
2680     static BYTE parms[] =
2681         VTS_BOOL;
2682     InvokeHelper(0x1b3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2683         bNewValue);
2684 }
2685 
2686 long Options::GetPictureWrapType()
2687 {
2688     long result;
2689     InvokeHelper(0x1b4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2690     return result;
2691 }
2692 
2693 void Options::SetPictureWrapType(long nNewValue)
2694 {
2695     static BYTE parms[] =
2696         VTS_I4;
2697     InvokeHelper(0x1b4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2698         nNewValue);
2699 }
2700 
2701 long Options::GetDisableFeaturesIntroducedAfterbyDefault()
2702 {
2703     long result;
2704     InvokeHelper(0x1b5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2705     return result;
2706 }
2707 
2708 void Options::SetDisableFeaturesIntroducedAfterbyDefault(long nNewValue)
2709 {
2710     static BYTE parms[] =
2711         VTS_I4;
2712     InvokeHelper(0x1b5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2713         nNewValue);
2714 }
2715 
2716 BOOL Options::GetPasteSmartCutPaste()
2717 {
2718     BOOL result;
2719     InvokeHelper(0x1b6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2720     return result;
2721 }
2722 
2723 void Options::SetPasteSmartCutPaste(BOOL bNewValue)
2724 {
2725     static BYTE parms[] =
2726         VTS_BOOL;
2727     InvokeHelper(0x1b6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2728         bNewValue);
2729 }
2730 
2731 BOOL Options::GetDisplayPasteOptions()
2732 {
2733     BOOL result;
2734     InvokeHelper(0x1b7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2735     return result;
2736 }
2737 
2738 void Options::SetDisplayPasteOptions(BOOL bNewValue)
2739 {
2740     static BYTE parms[] =
2741         VTS_BOOL;
2742     InvokeHelper(0x1b7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2743         bNewValue);
2744 }
2745 
2746 BOOL Options::GetPromptUpdateStyle()
2747 {
2748     BOOL result;
2749     InvokeHelper(0x1b9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2750     return result;
2751 }
2752 
2753 void Options::SetPromptUpdateStyle(BOOL bNewValue)
2754 {
2755     static BYTE parms[] =
2756         VTS_BOOL;
2757     InvokeHelper(0x1b9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2758         bNewValue);
2759 }
2760 
2761 CString Options::GetDefaultEPostageApp()
2762 {
2763     CString result;
2764     InvokeHelper(0x1ba, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2765     return result;
2766 }
2767 
2768 void Options::SetDefaultEPostageApp(LPCTSTR lpszNewValue)
2769 {
2770     static BYTE parms[] =
2771         VTS_BSTR;
2772     InvokeHelper(0x1ba, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2773         lpszNewValue);
2774 }
2775 
2776 long Options::GetDefaultTextEncoding()
2777 {
2778     long result;
2779     InvokeHelper(0x1bb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2780     return result;
2781 }
2782 
2783 void Options::SetDefaultTextEncoding(long nNewValue)
2784 {
2785     static BYTE parms[] =
2786         VTS_I4;
2787     InvokeHelper(0x1bb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2788         nNewValue);
2789 }
2790 
2791 BOOL Options::GetLabelSmartTags()
2792 {
2793     BOOL result;
2794     InvokeHelper(0x1bc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2795     return result;
2796 }
2797 
2798 void Options::SetLabelSmartTags(BOOL bNewValue)
2799 {
2800     static BYTE parms[] =
2801         VTS_BOOL;
2802     InvokeHelper(0x1bc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2803         bNewValue);
2804 }
2805 
2806 BOOL Options::GetDisplaySmartTagButtons()
2807 {
2808     BOOL result;
2809     InvokeHelper(0x1bd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2810     return result;
2811 }
2812 
2813 void Options::SetDisplaySmartTagButtons(BOOL bNewValue)
2814 {
2815     static BYTE parms[] =
2816         VTS_BOOL;
2817     InvokeHelper(0x1bd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2818         bNewValue);
2819 }
2820 
2821 BOOL Options::GetWarnBeforeSavingPrintingSendingMarkup()
2822 {
2823     BOOL result;
2824     InvokeHelper(0x1be, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2825     return result;
2826 }
2827 
2828 void Options::SetWarnBeforeSavingPrintingSendingMarkup(BOOL bNewValue)
2829 {
2830     static BYTE parms[] =
2831         VTS_BOOL;
2832     InvokeHelper(0x1be, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2833         bNewValue);
2834 }
2835 
2836 BOOL Options::GetStoreRSIDOnSave()
2837 {
2838     BOOL result;
2839     InvokeHelper(0x1bf, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2840     return result;
2841 }
2842 
2843 void Options::SetStoreRSIDOnSave(BOOL bNewValue)
2844 {
2845     static BYTE parms[] =
2846         VTS_BOOL;
2847     InvokeHelper(0x1bf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2848         bNewValue);
2849 }
2850 
2851 BOOL Options::GetShowFormatError()
2852 {
2853     BOOL result;
2854     InvokeHelper(0x1c0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2855     return result;
2856 }
2857 
2858 void Options::SetShowFormatError(BOOL bNewValue)
2859 {
2860     static BYTE parms[] =
2861         VTS_BOOL;
2862     InvokeHelper(0x1c0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2863         bNewValue);
2864 }
2865 
2866 BOOL Options::GetFormatScanning()
2867 {
2868     BOOL result;
2869     InvokeHelper(0x1c1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2870     return result;
2871 }
2872 
2873 void Options::SetFormatScanning(BOOL bNewValue)
2874 {
2875     static BYTE parms[] =
2876         VTS_BOOL;
2877     InvokeHelper(0x1c1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2878         bNewValue);
2879 }
2880 
2881 BOOL Options::GetPasteMergeLists()
2882 {
2883     BOOL result;
2884     InvokeHelper(0x1c2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2885     return result;
2886 }
2887 
2888 void Options::SetPasteMergeLists(BOOL bNewValue)
2889 {
2890     static BYTE parms[] =
2891         VTS_BOOL;
2892     InvokeHelper(0x1c2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2893         bNewValue);
2894 }
2895 
2896 BOOL Options::GetAutoCreateNewDrawings()
2897 {
2898     BOOL result;
2899     InvokeHelper(0x1c3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2900     return result;
2901 }
2902 
2903 void Options::SetAutoCreateNewDrawings(BOOL bNewValue)
2904 {
2905     static BYTE parms[] =
2906         VTS_BOOL;
2907     InvokeHelper(0x1c3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2908         bNewValue);
2909 }
2910 
2911 BOOL Options::GetSmartParaSelection()
2912 {
2913     BOOL result;
2914     InvokeHelper(0x1c4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2915     return result;
2916 }
2917 
2918 void Options::SetSmartParaSelection(BOOL bNewValue)
2919 {
2920     static BYTE parms[] =
2921         VTS_BOOL;
2922     InvokeHelper(0x1c4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2923         bNewValue);
2924 }
2925 
2926 long Options::GetRevisionsBalloonPrintOrientation()
2927 {
2928     long result;
2929     InvokeHelper(0x1c5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2930     return result;
2931 }
2932 
2933 void Options::SetRevisionsBalloonPrintOrientation(long nNewValue)
2934 {
2935     static BYTE parms[] =
2936         VTS_I4;
2937     InvokeHelper(0x1c5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2938         nNewValue);
2939 }
2940 
2941 long Options::GetCommentsColor()
2942 {
2943     long result;
2944     InvokeHelper(0x1c6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2945     return result;
2946 }
2947 
2948 void Options::SetCommentsColor(long nNewValue)
2949 {
2950     static BYTE parms[] =
2951         VTS_I4;
2952     InvokeHelper(0x1c6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2953         nNewValue);
2954 }
2955 
2956 BOOL Options::GetPrintXMLTag()
2957 {
2958     BOOL result;
2959     InvokeHelper(0x1c7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2960     return result;
2961 }
2962 
2963 void Options::SetPrintXMLTag(BOOL bNewValue)
2964 {
2965     static BYTE parms[] =
2966         VTS_BOOL;
2967     InvokeHelper(0x1c7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2968         bNewValue);
2969 }
2970 
2971 BOOL Options::GetPrintBackgrounds()
2972 {
2973     BOOL result;
2974     InvokeHelper(0x1c8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2975     return result;
2976 }
2977 
2978 void Options::SetPrintBackgrounds(BOOL bNewValue)
2979 {
2980     static BYTE parms[] =
2981         VTS_BOOL;
2982     InvokeHelper(0x1c8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2983         bNewValue);
2984 }
2985 
2986 BOOL Options::GetAllowReadingMode()
2987 {
2988     BOOL result;
2989     InvokeHelper(0x1c9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2990     return result;
2991 }
2992 
2993 void Options::SetAllowReadingMode(BOOL bNewValue)
2994 {
2995     static BYTE parms[] =
2996         VTS_BOOL;
2997     InvokeHelper(0x1c9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2998         bNewValue);
2999 }
3000 
3001 BOOL Options::GetShowMarkupOpenSave()
3002 {
3003     BOOL result;
3004     InvokeHelper(0x1ca, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3005     return result;
3006 }
3007 
3008 void Options::SetShowMarkupOpenSave(BOOL bNewValue)
3009 {
3010     static BYTE parms[] =
3011         VTS_BOOL;
3012     InvokeHelper(0x1ca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3013         bNewValue);
3014 }
3015 
3016 BOOL Options::GetSmartCursoring()
3017 {
3018     BOOL result;
3019     InvokeHelper(0x1cb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3020     return result;
3021 }
3022 
3023 void Options::SetSmartCursoring(BOOL bNewValue)
3024 {
3025     static BYTE parms[] =
3026         VTS_BOOL;
3027     InvokeHelper(0x1cb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3028         bNewValue);
3029 }
3030 
3031 
3032 /////////////////////////////////////////////////////////////////////////////
3033 // MailMessage properties
3034 
3035 /////////////////////////////////////////////////////////////////////////////
3036 // MailMessage operations
3037 
3038 LPDISPATCH MailMessage::GetApplication()
3039 {
3040     LPDISPATCH result;
3041     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3042     return result;
3043 }
3044 
3045 long MailMessage::GetCreator()
3046 {
3047     long result;
3048     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3049     return result;
3050 }
3051 
3052 LPDISPATCH MailMessage::GetParent()
3053 {
3054     LPDISPATCH result;
3055     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3056     return result;
3057 }
3058 
3059 void MailMessage::CheckName()
3060 {
3061     InvokeHelper(0x14e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3062 }
3063 
3064 void MailMessage::Delete()
3065 {
3066     InvokeHelper(0x14f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3067 }
3068 
3069 void MailMessage::DisplayMoveDialog()
3070 {
3071     InvokeHelper(0x150, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3072 }
3073 
3074 void MailMessage::DisplayProperties()
3075 {
3076     InvokeHelper(0x151, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3077 }
3078 
3079 void MailMessage::DisplaySelectNamesDialog()
3080 {
3081     InvokeHelper(0x152, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3082 }
3083 
3084 void MailMessage::Forward()
3085 {
3086     InvokeHelper(0x153, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3087 }
3088 
3089 void MailMessage::GoToNext()
3090 {
3091     InvokeHelper(0x154, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3092 }
3093 
3094 void MailMessage::GoToPrevious()
3095 {
3096     InvokeHelper(0x155, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3097 }
3098 
3099 void MailMessage::Reply()
3100 {
3101     InvokeHelper(0x156, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3102 }
3103 
3104 void MailMessage::ReplyAll()
3105 {
3106     InvokeHelper(0x157, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3107 }
3108 
3109 void MailMessage::ToggleHeader()
3110 {
3111     InvokeHelper(0x158, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3112 }
3113 
3114 
3115 /////////////////////////////////////////////////////////////////////////////
3116 // ProofreadingErrors properties
3117 
3118 /////////////////////////////////////////////////////////////////////////////
3119 // ProofreadingErrors operations
3120 
3121 LPDISPATCH ProofreadingErrors::GetApplication()
3122 {
3123     LPDISPATCH result;
3124     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3125     return result;
3126 }
3127 
3128 long ProofreadingErrors::GetCreator()
3129 {
3130     long result;
3131     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3132     return result;
3133 }
3134 
3135 LPDISPATCH ProofreadingErrors::GetParent()
3136 {
3137     LPDISPATCH result;
3138     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3139     return result;
3140 }
3141 
3142 LPUNKNOWN ProofreadingErrors::Get_NewEnum()
3143 {
3144     LPUNKNOWN result;
3145     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3146     return result;
3147 }
3148 
3149 long ProofreadingErrors::GetCount()
3150 {
3151     long result;
3152     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3153     return result;
3154 }
3155 
3156 long ProofreadingErrors::GetType()
3157 {
3158     long result;
3159     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3160     return result;
3161 }
3162 
3163 LPDISPATCH ProofreadingErrors::Item(long Index)
3164 {
3165     LPDISPATCH result;
3166     static BYTE parms[] =
3167         VTS_I4;
3168     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3169         Index);
3170     return result;
3171 }
3172 
3173 
3174 /////////////////////////////////////////////////////////////////////////////
3175 // Mailer properties
3176 
3177 /////////////////////////////////////////////////////////////////////////////
3178 // Mailer operations
3179 
3180 LPDISPATCH Mailer::GetApplication()
3181 {
3182     LPDISPATCH result;
3183     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3184     return result;
3185 }
3186 
3187 long Mailer::GetCreator()
3188 {
3189     long result;
3190     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3191     return result;
3192 }
3193 
3194 LPDISPATCH Mailer::GetParent()
3195 {
3196     LPDISPATCH result;
3197     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3198     return result;
3199 }
3200 
3201 VARIANT Mailer::GetBCCRecipients()
3202 {
3203     VARIANT result;
3204     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
3205     return result;
3206 }
3207 
3208 void Mailer::SetBCCRecipients(VARIANT* newValue)
3209 {
3210     static BYTE parms[] =
3211         VTS_PVARIANT;
3212     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3213         newValue);
3214 }
3215 
3216 VARIANT Mailer::GetCCRecipients()
3217 {
3218     VARIANT result;
3219     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
3220     return result;
3221 }
3222 
3223 void Mailer::SetCCRecipients(VARIANT* newValue)
3224 {
3225     static BYTE parms[] =
3226         VTS_PVARIANT;
3227     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3228         newValue);
3229 }
3230 
3231 VARIANT Mailer::GetRecipients()
3232 {
3233     VARIANT result;
3234     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
3235     return result;
3236 }
3237 
3238 void Mailer::SetRecipients(VARIANT* newValue)
3239 {
3240     static BYTE parms[] =
3241         VTS_PVARIANT;
3242     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3243         newValue);
3244 }
3245 
3246 VARIANT Mailer::GetEnclosures()
3247 {
3248     VARIANT result;
3249     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
3250     return result;
3251 }
3252 
3253 void Mailer::SetEnclosures(VARIANT* newValue)
3254 {
3255     static BYTE parms[] =
3256         VTS_PVARIANT;
3257     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3258         newValue);
3259 }
3260 
3261 CString Mailer::GetSender()
3262 {
3263     CString result;
3264     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3265     return result;
3266 }
3267 
3268 DATE Mailer::GetSendDateTime()
3269 {
3270     DATE result;
3271     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL);
3272     return result;
3273 }
3274 
3275 BOOL Mailer::GetReceived()
3276 {
3277     BOOL result;
3278     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3279     return result;
3280 }
3281 
3282 CString Mailer::GetSubject()
3283 {
3284     CString result;
3285     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3286     return result;
3287 }
3288 
3289 void Mailer::SetSubject(LPCTSTR lpszNewValue)
3290 {
3291     static BYTE parms[] =
3292         VTS_BSTR;
3293     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3294         lpszNewValue);
3295 }
3296 
3297 
3298 /////////////////////////////////////////////////////////////////////////////
3299 // WrapFormat properties
3300 
3301 /////////////////////////////////////////////////////////////////////////////
3302 // WrapFormat operations
3303 
3304 LPDISPATCH WrapFormat::GetApplication()
3305 {
3306     LPDISPATCH result;
3307     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3308     return result;
3309 }
3310 
3311 long WrapFormat::GetCreator()
3312 {
3313     long result;
3314     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3315     return result;
3316 }
3317 
3318 LPDISPATCH WrapFormat::GetParent()
3319 {
3320     LPDISPATCH result;
3321     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3322     return result;
3323 }
3324 
3325 long WrapFormat::GetType()
3326 {
3327     long result;
3328     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3329     return result;
3330 }
3331 
3332 void WrapFormat::SetType(long nNewValue)
3333 {
3334     static BYTE parms[] =
3335         VTS_I4;
3336     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3337         nNewValue);
3338 }
3339 
3340 long WrapFormat::GetSide()
3341 {
3342     long result;
3343     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3344     return result;
3345 }
3346 
3347 void WrapFormat::SetSide(long nNewValue)
3348 {
3349     static BYTE parms[] =
3350         VTS_I4;
3351     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3352         nNewValue);
3353 }
3354 
3355 float WrapFormat::GetDistanceTop()
3356 {
3357     float result;
3358     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3359     return result;
3360 }
3361 
3362 void WrapFormat::SetDistanceTop(float newValue)
3363 {
3364     static BYTE parms[] =
3365         VTS_R4;
3366     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3367         newValue);
3368 }
3369 
3370 float WrapFormat::GetDistanceBottom()
3371 {
3372     float result;
3373     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3374     return result;
3375 }
3376 
3377 void WrapFormat::SetDistanceBottom(float newValue)
3378 {
3379     static BYTE parms[] =
3380         VTS_R4;
3381     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3382         newValue);
3383 }
3384 
3385 float WrapFormat::GetDistanceLeft()
3386 {
3387     float result;
3388     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3389     return result;
3390 }
3391 
3392 void WrapFormat::SetDistanceLeft(float newValue)
3393 {
3394     static BYTE parms[] =
3395         VTS_R4;
3396     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3397         newValue);
3398 }
3399 
3400 float WrapFormat::GetDistanceRight()
3401 {
3402     float result;
3403     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3404     return result;
3405 }
3406 
3407 void WrapFormat::SetDistanceRight(float newValue)
3408 {
3409     static BYTE parms[] =
3410         VTS_R4;
3411     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3412         newValue);
3413 }
3414 
3415 long WrapFormat::GetAllowOverlap()
3416 {
3417     long result;
3418     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3419     return result;
3420 }
3421 
3422 void WrapFormat::SetAllowOverlap(long nNewValue)
3423 {
3424     static BYTE parms[] =
3425         VTS_I4;
3426     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3427         nNewValue);
3428 }
3429 
3430 
3431 /////////////////////////////////////////////////////////////////////////////
3432 // HangulAndAlphabetExceptions properties
3433 
3434 /////////////////////////////////////////////////////////////////////////////
3435 // HangulAndAlphabetExceptions operations
3436 
3437 LPDISPATCH HangulAndAlphabetExceptions::GetApplication()
3438 {
3439     LPDISPATCH result;
3440     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3441     return result;
3442 }
3443 
3444 long HangulAndAlphabetExceptions::GetCreator()
3445 {
3446     long result;
3447     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3448     return result;
3449 }
3450 
3451 LPDISPATCH HangulAndAlphabetExceptions::GetParent()
3452 {
3453     LPDISPATCH result;
3454     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3455     return result;
3456 }
3457 
3458 LPUNKNOWN HangulAndAlphabetExceptions::Get_NewEnum()
3459 {
3460     LPUNKNOWN result;
3461     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3462     return result;
3463 }
3464 
3465 long HangulAndAlphabetExceptions::GetCount()
3466 {
3467     long result;
3468     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3469     return result;
3470 }
3471 
3472 LPDISPATCH HangulAndAlphabetExceptions::Item(VARIANT* Index)
3473 {
3474     LPDISPATCH result;
3475     static BYTE parms[] =
3476         VTS_PVARIANT;
3477     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3478         Index);
3479     return result;
3480 }
3481 
3482 LPDISPATCH HangulAndAlphabetExceptions::Add(LPCTSTR Name)
3483 {
3484     LPDISPATCH result;
3485     static BYTE parms[] =
3486         VTS_BSTR;
3487     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3488         Name);
3489     return result;
3490 }
3491 
3492 
3493 /////////////////////////////////////////////////////////////////////////////
3494 // HangulAndAlphabetException properties
3495 
3496 /////////////////////////////////////////////////////////////////////////////
3497 // HangulAndAlphabetException operations
3498 
3499 LPDISPATCH HangulAndAlphabetException::GetApplication()
3500 {
3501     LPDISPATCH result;
3502     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3503     return result;
3504 }
3505 
3506 long HangulAndAlphabetException::GetCreator()
3507 {
3508     long result;
3509     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3510     return result;
3511 }
3512 
3513 LPDISPATCH HangulAndAlphabetException::GetParent()
3514 {
3515     LPDISPATCH result;
3516     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3517     return result;
3518 }
3519 
3520 long HangulAndAlphabetException::GetIndex()
3521 {
3522     long result;
3523     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3524     return result;
3525 }
3526 
3527 CString HangulAndAlphabetException::GetName()
3528 {
3529     CString result;
3530     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3531     return result;
3532 }
3533 
3534 void HangulAndAlphabetException::Delete()
3535 {
3536     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3537 }
3538 
3539 
3540 /////////////////////////////////////////////////////////////////////////////
3541 // Adjustments properties
3542 
3543 /////////////////////////////////////////////////////////////////////////////
3544 // Adjustments operations
3545 
3546 LPDISPATCH Adjustments::GetApplication()
3547 {
3548     LPDISPATCH result;
3549     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3550     return result;
3551 }
3552 
3553 long Adjustments::GetCreator()
3554 {
3555     long result;
3556     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3557     return result;
3558 }
3559 
3560 LPDISPATCH Adjustments::GetParent()
3561 {
3562     LPDISPATCH result;
3563     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3564     return result;
3565 }
3566 
3567 long Adjustments::GetCount()
3568 {
3569     long result;
3570     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3571     return result;
3572 }
3573 
3574 float Adjustments::GetItem(long Index)
3575 {
3576     float result;
3577     static BYTE parms[] =
3578         VTS_I4;
3579     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
3580         Index);
3581     return result;
3582 }
3583 
3584 void Adjustments::SetItem(long Index, float newValue)
3585 {
3586     static BYTE parms[] =
3587         VTS_I4 VTS_R4;
3588     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3589         Index, newValue);
3590 }
3591 
3592 
3593 /////////////////////////////////////////////////////////////////////////////
3594 // CalloutFormat properties
3595 
3596 /////////////////////////////////////////////////////////////////////////////
3597 // CalloutFormat operations
3598 
3599 LPDISPATCH CalloutFormat::GetApplication()
3600 {
3601     LPDISPATCH result;
3602     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3603     return result;
3604 }
3605 
3606 long CalloutFormat::GetCreator()
3607 {
3608     long result;
3609     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3610     return result;
3611 }
3612 
3613 LPDISPATCH CalloutFormat::GetParent()
3614 {
3615     LPDISPATCH result;
3616     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3617     return result;
3618 }
3619 
3620 long CalloutFormat::GetAccent()
3621 {
3622     long result;
3623     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3624     return result;
3625 }
3626 
3627 void CalloutFormat::SetAccent(long nNewValue)
3628 {
3629     static BYTE parms[] =
3630         VTS_I4;
3631     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3632         nNewValue);
3633 }
3634 
3635 long CalloutFormat::GetAngle()
3636 {
3637     long result;
3638     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3639     return result;
3640 }
3641 
3642 void CalloutFormat::SetAngle(long nNewValue)
3643 {
3644     static BYTE parms[] =
3645         VTS_I4;
3646     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3647         nNewValue);
3648 }
3649 
3650 long CalloutFormat::GetAutoAttach()
3651 {
3652     long result;
3653     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3654     return result;
3655 }
3656 
3657 void CalloutFormat::SetAutoAttach(long nNewValue)
3658 {
3659     static BYTE parms[] =
3660         VTS_I4;
3661     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3662         nNewValue);
3663 }
3664 
3665 long CalloutFormat::GetAutoLength()
3666 {
3667     long result;
3668     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3669     return result;
3670 }
3671 
3672 long CalloutFormat::GetBorder()
3673 {
3674     long result;
3675     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3676     return result;
3677 }
3678 
3679 void CalloutFormat::SetBorder(long nNewValue)
3680 {
3681     static BYTE parms[] =
3682         VTS_I4;
3683     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3684         nNewValue);
3685 }
3686 
3687 float CalloutFormat::GetDrop()
3688 {
3689     float result;
3690     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3691     return result;
3692 }
3693 
3694 long CalloutFormat::GetDropType()
3695 {
3696     long result;
3697     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3698     return result;
3699 }
3700 
3701 float CalloutFormat::GetGap()
3702 {
3703     float result;
3704     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3705     return result;
3706 }
3707 
3708 void CalloutFormat::SetGap(float newValue)
3709 {
3710     static BYTE parms[] =
3711         VTS_R4;
3712     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3713         newValue);
3714 }
3715 
3716 float CalloutFormat::GetLength()
3717 {
3718     float result;
3719     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3720     return result;
3721 }
3722 
3723 long CalloutFormat::GetType()
3724 {
3725     long result;
3726     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3727     return result;
3728 }
3729 
3730 void CalloutFormat::SetType(long nNewValue)
3731 {
3732     static BYTE parms[] =
3733         VTS_I4;
3734     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3735         nNewValue);
3736 }
3737 
3738 void CalloutFormat::AutomaticLength()
3739 {
3740     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3741 }
3742 
3743 void CalloutFormat::CustomDrop(float Drop)
3744 {
3745     static BYTE parms[] =
3746         VTS_R4;
3747     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3748         Drop);
3749 }
3750 
3751 void CalloutFormat::CustomLength(float Length)
3752 {
3753     static BYTE parms[] =
3754         VTS_R4;
3755     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3756         Length);
3757 }
3758 
3759 void CalloutFormat::PresetDrop(long DropType)
3760 {
3761     static BYTE parms[] =
3762         VTS_I4;
3763     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3764         DropType);
3765 }
3766 
3767 
3768 /////////////////////////////////////////////////////////////////////////////
3769 // ColorFormat properties
3770 
3771 /////////////////////////////////////////////////////////////////////////////
3772 // ColorFormat operations
3773 
3774 LPDISPATCH ColorFormat::GetApplication()
3775 {
3776     LPDISPATCH result;
3777     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3778     return result;
3779 }
3780 
3781 long ColorFormat::GetCreator()
3782 {
3783     long result;
3784     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3785     return result;
3786 }
3787 
3788 LPDISPATCH ColorFormat::GetParent()
3789 {
3790     LPDISPATCH result;
3791     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3792     return result;
3793 }
3794 
3795 long ColorFormat::GetRgb()
3796 {
3797     long result;
3798     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3799     return result;
3800 }
3801 
3802 void ColorFormat::SetRgb(long nNewValue)
3803 {
3804     static BYTE parms[] =
3805         VTS_I4;
3806     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3807         nNewValue);
3808 }
3809 
3810 long ColorFormat::GetType()
3811 {
3812     long result;
3813     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3814     return result;
3815 }
3816 
3817 CString ColorFormat::GetName()
3818 {
3819     CString result;
3820     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3821     return result;
3822 }
3823 
3824 void ColorFormat::SetName(LPCTSTR lpszNewValue)
3825 {
3826     static BYTE parms[] =
3827         VTS_BSTR;
3828     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3829         lpszNewValue);
3830 }
3831 
3832 float ColorFormat::GetTintAndShade()
3833 {
3834     float result;
3835     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3836     return result;
3837 }
3838 
3839 void ColorFormat::SetTintAndShade(float newValue)
3840 {
3841     static BYTE parms[] =
3842         VTS_R4;
3843     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3844         newValue);
3845 }
3846 
3847 long ColorFormat::GetOverPrint()
3848 {
3849     long result;
3850     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3851     return result;
3852 }
3853 
3854 void ColorFormat::SetOverPrint(long nNewValue)
3855 {
3856     static BYTE parms[] =
3857         VTS_I4;
3858     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3859         nNewValue);
3860 }
3861 
3862 float ColorFormat::GetInk(long Index)
3863 {
3864     float result;
3865     static BYTE parms[] =
3866         VTS_I4;
3867     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, parms,
3868         Index);
3869     return result;
3870 }
3871 
3872 void ColorFormat::SetInk(long Index, float newValue)
3873 {
3874     static BYTE parms[] =
3875         VTS_I4 VTS_R4;
3876     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3877         Index, newValue);
3878 }
3879 
3880 long ColorFormat::GetCyan()
3881 {
3882     long result;
3883     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3884     return result;
3885 }
3886 
3887 void ColorFormat::SetCyan(long nNewValue)
3888 {
3889     static BYTE parms[] =
3890         VTS_I4;
3891     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3892         nNewValue);
3893 }
3894 
3895 long ColorFormat::GetMagenta()
3896 {
3897     long result;
3898     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3899     return result;
3900 }
3901 
3902 void ColorFormat::SetMagenta(long nNewValue)
3903 {
3904     static BYTE parms[] =
3905         VTS_I4;
3906     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3907         nNewValue);
3908 }
3909 
3910 long ColorFormat::GetYellow()
3911 {
3912     long result;
3913     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3914     return result;
3915 }
3916 
3917 void ColorFormat::SetYellow(long nNewValue)
3918 {
3919     static BYTE parms[] =
3920         VTS_I4;
3921     InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3922         nNewValue);
3923 }
3924 
3925 long ColorFormat::GetBlack()
3926 {
3927     long result;
3928     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3929     return result;
3930 }
3931 
3932 void ColorFormat::SetBlack(long nNewValue)
3933 {
3934     static BYTE parms[] =
3935         VTS_I4;
3936     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3937         nNewValue);
3938 }
3939 
3940 void ColorFormat::SetCMYK(long Cyan, long Magenta, long Yellow, long Black)
3941 {
3942     static BYTE parms[] =
3943         VTS_I4 VTS_I4 VTS_I4 VTS_I4;
3944     InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3945         Cyan, Magenta, Yellow, Black);
3946 }
View Code

8

   1 /////////////////////////////////////////////////////////////////////////////
   2 // ConnectorFormat properties
   3 
   4 /////////////////////////////////////////////////////////////////////////////
   5 // ConnectorFormat operations
   6 
   7 LPDISPATCH ConnectorFormat::GetApplication()
   8 {
   9     LPDISPATCH result;
  10     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  11     return result;
  12 }
  13 
  14 long ConnectorFormat::GetCreator()
  15 {
  16     long result;
  17     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  18     return result;
  19 }
  20 
  21 long ConnectorFormat::GetBeginConnected()
  22 {
  23     long result;
  24     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  25     return result;
  26 }
  27 
  28 LPDISPATCH ConnectorFormat::GetBeginConnectedShape()
  29 {
  30     LPDISPATCH result;
  31     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  32     return result;
  33 }
  34 
  35 long ConnectorFormat::GetBeginConnectionSite()
  36 {
  37     long result;
  38     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  39     return result;
  40 }
  41 
  42 long ConnectorFormat::GetEndConnected()
  43 {
  44     long result;
  45     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  46     return result;
  47 }
  48 
  49 LPDISPATCH ConnectorFormat::GetEndConnectedShape()
  50 {
  51     LPDISPATCH result;
  52     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  53     return result;
  54 }
  55 
  56 long ConnectorFormat::GetEndConnectionSite()
  57 {
  58     long result;
  59     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  60     return result;
  61 }
  62 
  63 LPDISPATCH ConnectorFormat::GetParent()
  64 {
  65     LPDISPATCH result;
  66     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  67     return result;
  68 }
  69 
  70 long ConnectorFormat::GetType()
  71 {
  72     long result;
  73     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  74     return result;
  75 }
  76 
  77 void ConnectorFormat::SetType(long nNewValue)
  78 {
  79     static BYTE parms[] =
  80         VTS_I4;
  81     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  82         nNewValue);
  83 }
  84 
  85 void ConnectorFormat::BeginConnect(LPDISPATCH* ConnectedShape, long ConnectionSite)
  86 {
  87     static BYTE parms[] =
  88         VTS_PDISPATCH VTS_I4;
  89     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  90         ConnectedShape, ConnectionSite);
  91 }
  92 
  93 void ConnectorFormat::BeginDisconnect()
  94 {
  95     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
  96 }
  97 
  98 void ConnectorFormat::EndConnect(LPDISPATCH* ConnectedShape, long ConnectionSite)
  99 {
 100     static BYTE parms[] =
 101         VTS_PDISPATCH VTS_I4;
 102     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 103         ConnectedShape, ConnectionSite);
 104 }
 105 
 106 void ConnectorFormat::EndDisconnect()
 107 {
 108     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 109 }
 110 
 111 
 112 /////////////////////////////////////////////////////////////////////////////
 113 // FillFormat properties
 114 
 115 /////////////////////////////////////////////////////////////////////////////
 116 // FillFormat operations
 117 
 118 LPDISPATCH FillFormat::GetApplication()
 119 {
 120     LPDISPATCH result;
 121     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 122     return result;
 123 }
 124 
 125 long FillFormat::GetCreator()
 126 {
 127     long result;
 128     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 129     return result;
 130 }
 131 
 132 LPDISPATCH FillFormat::GetParent()
 133 {
 134     LPDISPATCH result;
 135     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 136     return result;
 137 }
 138 
 139 LPDISPATCH FillFormat::GetBackColor()
 140 {
 141     LPDISPATCH result;
 142     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 143     return result;
 144 }
 145 
 146 LPDISPATCH FillFormat::GetForeColor()
 147 {
 148     LPDISPATCH result;
 149     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 150     return result;
 151 }
 152 
 153 long FillFormat::GetGradientColorType()
 154 {
 155     long result;
 156     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 157     return result;
 158 }
 159 
 160 float FillFormat::GetGradientDegree()
 161 {
 162     float result;
 163     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 164     return result;
 165 }
 166 
 167 long FillFormat::GetGradientStyle()
 168 {
 169     long result;
 170     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 171     return result;
 172 }
 173 
 174 long FillFormat::GetGradientVariant()
 175 {
 176     long result;
 177     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 178     return result;
 179 }
 180 
 181 long FillFormat::GetPattern()
 182 {
 183     long result;
 184     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 185     return result;
 186 }
 187 
 188 long FillFormat::GetPresetGradientType()
 189 {
 190     long result;
 191     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 192     return result;
 193 }
 194 
 195 long FillFormat::GetPresetTexture()
 196 {
 197     long result;
 198     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 199     return result;
 200 }
 201 
 202 CString FillFormat::GetTextureName()
 203 {
 204     CString result;
 205     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 206     return result;
 207 }
 208 
 209 long FillFormat::GetTextureType()
 210 {
 211     long result;
 212     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 213     return result;
 214 }
 215 
 216 float FillFormat::GetTransparency()
 217 {
 218     float result;
 219     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 220     return result;
 221 }
 222 
 223 void FillFormat::SetTransparency(float newValue)
 224 {
 225     static BYTE parms[] =
 226         VTS_R4;
 227     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 228         newValue);
 229 }
 230 
 231 long FillFormat::GetType()
 232 {
 233     long result;
 234     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 235     return result;
 236 }
 237 
 238 long FillFormat::GetVisible()
 239 {
 240     long result;
 241     InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 242     return result;
 243 }
 244 
 245 void FillFormat::SetVisible(long nNewValue)
 246 {
 247     static BYTE parms[] =
 248         VTS_I4;
 249     InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 250         nNewValue);
 251 }
 252 
 253 void FillFormat::OneColorGradient(long Style, long Variant, float Degree)
 254 {
 255     static BYTE parms[] =
 256         VTS_I4 VTS_I4 VTS_R4;
 257     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 258         Style, Variant, Degree);
 259 }
 260 
 261 void FillFormat::Patterned(long Pattern)
 262 {
 263     static BYTE parms[] =
 264         VTS_I4;
 265     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 266         Pattern);
 267 }
 268 
 269 void FillFormat::PresetGradient(long Style, long Variant, long PresetGradientType)
 270 {
 271     static BYTE parms[] =
 272         VTS_I4 VTS_I4 VTS_I4;
 273     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 274         Style, Variant, PresetGradientType);
 275 }
 276 
 277 void FillFormat::PresetTextured(long PresetTexture)
 278 {
 279     static BYTE parms[] =
 280         VTS_I4;
 281     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 282         PresetTexture);
 283 }
 284 
 285 void FillFormat::Solid()
 286 {
 287     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 288 }
 289 
 290 void FillFormat::TwoColorGradient(long Style, long Variant)
 291 {
 292     static BYTE parms[] =
 293         VTS_I4 VTS_I4;
 294     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 295         Style, Variant);
 296 }
 297 
 298 void FillFormat::UserPicture(LPCTSTR PictureFile)
 299 {
 300     static BYTE parms[] =
 301         VTS_BSTR;
 302     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 303         PictureFile);
 304 }
 305 
 306 void FillFormat::UserTextured(LPCTSTR TextureFile)
 307 {
 308     static BYTE parms[] =
 309         VTS_BSTR;
 310     InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 311         TextureFile);
 312 }
 313 
 314 
 315 /////////////////////////////////////////////////////////////////////////////
 316 // FreeformBuilder properties
 317 
 318 /////////////////////////////////////////////////////////////////////////////
 319 // FreeformBuilder operations
 320 
 321 LPDISPATCH FreeformBuilder::GetApplication()
 322 {
 323     LPDISPATCH result;
 324     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 325     return result;
 326 }
 327 
 328 long FreeformBuilder::GetCreator()
 329 {
 330     long result;
 331     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 332     return result;
 333 }
 334 
 335 LPDISPATCH FreeformBuilder::GetParent()
 336 {
 337     LPDISPATCH result;
 338     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 339     return result;
 340 }
 341 
 342 void FreeformBuilder::AddNodes(long SegmentType, long EditingType, float X1, float Y1, float X2, float Y2, float X3, float Y3)
 343 {
 344     static BYTE parms[] =
 345         VTS_I4 VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 346     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 347         SegmentType, EditingType, X1, Y1, X2, Y2, X3, Y3);
 348 }
 349 
 350 LPDISPATCH FreeformBuilder::ConvertToShape(VARIANT* Anchor)
 351 {
 352     LPDISPATCH result;
 353     static BYTE parms[] =
 354         VTS_PVARIANT;
 355     InvokeHelper(0xb, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 356         Anchor);
 357     return result;
 358 }
 359 
 360 
 361 /////////////////////////////////////////////////////////////////////////////
 362 // LineFormat properties
 363 
 364 /////////////////////////////////////////////////////////////////////////////
 365 // LineFormat operations
 366 
 367 LPDISPATCH LineFormat::GetApplication()
 368 {
 369     LPDISPATCH result;
 370     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 371     return result;
 372 }
 373 
 374 long LineFormat::GetCreator()
 375 {
 376     long result;
 377     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 378     return result;
 379 }
 380 
 381 LPDISPATCH LineFormat::GetParent()
 382 {
 383     LPDISPATCH result;
 384     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 385     return result;
 386 }
 387 
 388 LPDISPATCH LineFormat::GetBackColor()
 389 {
 390     LPDISPATCH result;
 391     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 392     return result;
 393 }
 394 
 395 long LineFormat::GetBeginArrowheadLength()
 396 {
 397     long result;
 398     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 399     return result;
 400 }
 401 
 402 void LineFormat::SetBeginArrowheadLength(long nNewValue)
 403 {
 404     static BYTE parms[] =
 405         VTS_I4;
 406     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 407         nNewValue);
 408 }
 409 
 410 long LineFormat::GetBeginArrowheadStyle()
 411 {
 412     long result;
 413     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 414     return result;
 415 }
 416 
 417 void LineFormat::SetBeginArrowheadStyle(long nNewValue)
 418 {
 419     static BYTE parms[] =
 420         VTS_I4;
 421     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 422         nNewValue);
 423 }
 424 
 425 long LineFormat::GetBeginArrowheadWidth()
 426 {
 427     long result;
 428     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 429     return result;
 430 }
 431 
 432 void LineFormat::SetBeginArrowheadWidth(long nNewValue)
 433 {
 434     static BYTE parms[] =
 435         VTS_I4;
 436     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 437         nNewValue);
 438 }
 439 
 440 long LineFormat::GetDashStyle()
 441 {
 442     long result;
 443     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 444     return result;
 445 }
 446 
 447 void LineFormat::SetDashStyle(long nNewValue)
 448 {
 449     static BYTE parms[] =
 450         VTS_I4;
 451     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 452         nNewValue);
 453 }
 454 
 455 long LineFormat::GetEndArrowheadLength()
 456 {
 457     long result;
 458     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 459     return result;
 460 }
 461 
 462 void LineFormat::SetEndArrowheadLength(long nNewValue)
 463 {
 464     static BYTE parms[] =
 465         VTS_I4;
 466     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 467         nNewValue);
 468 }
 469 
 470 long LineFormat::GetEndArrowheadStyle()
 471 {
 472     long result;
 473     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 474     return result;
 475 }
 476 
 477 void LineFormat::SetEndArrowheadStyle(long nNewValue)
 478 {
 479     static BYTE parms[] =
 480         VTS_I4;
 481     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 482         nNewValue);
 483 }
 484 
 485 long LineFormat::GetEndArrowheadWidth()
 486 {
 487     long result;
 488     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 489     return result;
 490 }
 491 
 492 void LineFormat::SetEndArrowheadWidth(long nNewValue)
 493 {
 494     static BYTE parms[] =
 495         VTS_I4;
 496     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 497         nNewValue);
 498 }
 499 
 500 LPDISPATCH LineFormat::GetForeColor()
 501 {
 502     LPDISPATCH result;
 503     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 504     return result;
 505 }
 506 
 507 long LineFormat::GetPattern()
 508 {
 509     long result;
 510     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 511     return result;
 512 }
 513 
 514 void LineFormat::SetPattern(long nNewValue)
 515 {
 516     static BYTE parms[] =
 517         VTS_I4;
 518     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 519         nNewValue);
 520 }
 521 
 522 long LineFormat::GetStyle()
 523 {
 524     long result;
 525     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 526     return result;
 527 }
 528 
 529 void LineFormat::SetStyle(long nNewValue)
 530 {
 531     static BYTE parms[] =
 532         VTS_I4;
 533     InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 534         nNewValue);
 535 }
 536 
 537 float LineFormat::GetTransparency()
 538 {
 539     float result;
 540     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 541     return result;
 542 }
 543 
 544 void LineFormat::SetTransparency(float newValue)
 545 {
 546     static BYTE parms[] =
 547         VTS_R4;
 548     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 549         newValue);
 550 }
 551 
 552 long LineFormat::GetVisible()
 553 {
 554     long result;
 555     InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 556     return result;
 557 }
 558 
 559 void LineFormat::SetVisible(long nNewValue)
 560 {
 561     static BYTE parms[] =
 562         VTS_I4;
 563     InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 564         nNewValue);
 565 }
 566 
 567 float LineFormat::GetWeight()
 568 {
 569     float result;
 570     InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 571     return result;
 572 }
 573 
 574 void LineFormat::SetWeight(float newValue)
 575 {
 576     static BYTE parms[] =
 577         VTS_R4;
 578     InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 579         newValue);
 580 }
 581 
 582 long LineFormat::GetInsetPen()
 583 {
 584     long result;
 585     InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 586     return result;
 587 }
 588 
 589 void LineFormat::SetInsetPen(long nNewValue)
 590 {
 591     static BYTE parms[] =
 592         VTS_I4;
 593     InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 594         nNewValue);
 595 }
 596 
 597 
 598 /////////////////////////////////////////////////////////////////////////////
 599 // PictureFormat properties
 600 
 601 /////////////////////////////////////////////////////////////////////////////
 602 // PictureFormat operations
 603 
 604 LPDISPATCH PictureFormat::GetApplication()
 605 {
 606     LPDISPATCH result;
 607     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 608     return result;
 609 }
 610 
 611 long PictureFormat::GetCreator()
 612 {
 613     long result;
 614     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 615     return result;
 616 }
 617 
 618 LPDISPATCH PictureFormat::GetParent()
 619 {
 620     LPDISPATCH result;
 621     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 622     return result;
 623 }
 624 
 625 float PictureFormat::GetBrightness()
 626 {
 627     float result;
 628     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 629     return result;
 630 }
 631 
 632 void PictureFormat::SetBrightness(float newValue)
 633 {
 634     static BYTE parms[] =
 635         VTS_R4;
 636     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 637         newValue);
 638 }
 639 
 640 long PictureFormat::GetColorType()
 641 {
 642     long result;
 643     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 644     return result;
 645 }
 646 
 647 void PictureFormat::SetColorType(long nNewValue)
 648 {
 649     static BYTE parms[] =
 650         VTS_I4;
 651     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 652         nNewValue);
 653 }
 654 
 655 float PictureFormat::GetContrast()
 656 {
 657     float result;
 658     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 659     return result;
 660 }
 661 
 662 void PictureFormat::SetContrast(float newValue)
 663 {
 664     static BYTE parms[] =
 665         VTS_R4;
 666     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 667         newValue);
 668 }
 669 
 670 float PictureFormat::GetCropBottom()
 671 {
 672     float result;
 673     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 674     return result;
 675 }
 676 
 677 void PictureFormat::SetCropBottom(float newValue)
 678 {
 679     static BYTE parms[] =
 680         VTS_R4;
 681     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 682         newValue);
 683 }
 684 
 685 float PictureFormat::GetCropLeft()
 686 {
 687     float result;
 688     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 689     return result;
 690 }
 691 
 692 void PictureFormat::SetCropLeft(float newValue)
 693 {
 694     static BYTE parms[] =
 695         VTS_R4;
 696     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 697         newValue);
 698 }
 699 
 700 float PictureFormat::GetCropRight()
 701 {
 702     float result;
 703     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 704     return result;
 705 }
 706 
 707 void PictureFormat::SetCropRight(float newValue)
 708 {
 709     static BYTE parms[] =
 710         VTS_R4;
 711     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 712         newValue);
 713 }
 714 
 715 float PictureFormat::GetCropTop()
 716 {
 717     float result;
 718     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 719     return result;
 720 }
 721 
 722 void PictureFormat::SetCropTop(float newValue)
 723 {
 724     static BYTE parms[] =
 725         VTS_R4;
 726     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 727         newValue);
 728 }
 729 
 730 long PictureFormat::GetTransparencyColor()
 731 {
 732     long result;
 733     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 734     return result;
 735 }
 736 
 737 void PictureFormat::SetTransparencyColor(long nNewValue)
 738 {
 739     static BYTE parms[] =
 740         VTS_I4;
 741     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 742         nNewValue);
 743 }
 744 
 745 long PictureFormat::GetTransparentBackground()
 746 {
 747     long result;
 748     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 749     return result;
 750 }
 751 
 752 void PictureFormat::SetTransparentBackground(long nNewValue)
 753 {
 754     static BYTE parms[] =
 755         VTS_I4;
 756     InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 757         nNewValue);
 758 }
 759 
 760 void PictureFormat::IncrementBrightness(float Increment)
 761 {
 762     static BYTE parms[] =
 763         VTS_R4;
 764     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 765         Increment);
 766 }
 767 
 768 void PictureFormat::IncrementContrast(float Increment)
 769 {
 770     static BYTE parms[] =
 771         VTS_R4;
 772     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 773         Increment);
 774 }
 775 
 776 
 777 /////////////////////////////////////////////////////////////////////////////
 778 // ShadowFormat properties
 779 
 780 /////////////////////////////////////////////////////////////////////////////
 781 // ShadowFormat operations
 782 
 783 LPDISPATCH ShadowFormat::GetApplication()
 784 {
 785     LPDISPATCH result;
 786     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 787     return result;
 788 }
 789 
 790 long ShadowFormat::GetCreator()
 791 {
 792     long result;
 793     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 794     return result;
 795 }
 796 
 797 LPDISPATCH ShadowFormat::GetParent()
 798 {
 799     LPDISPATCH result;
 800     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 801     return result;
 802 }
 803 
 804 LPDISPATCH ShadowFormat::GetForeColor()
 805 {
 806     LPDISPATCH result;
 807     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 808     return result;
 809 }
 810 
 811 long ShadowFormat::GetObscured()
 812 {
 813     long result;
 814     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 815     return result;
 816 }
 817 
 818 void ShadowFormat::SetObscured(long nNewValue)
 819 {
 820     static BYTE parms[] =
 821         VTS_I4;
 822     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 823         nNewValue);
 824 }
 825 
 826 float ShadowFormat::GetOffsetX()
 827 {
 828     float result;
 829     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 830     return result;
 831 }
 832 
 833 void ShadowFormat::SetOffsetX(float newValue)
 834 {
 835     static BYTE parms[] =
 836         VTS_R4;
 837     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 838         newValue);
 839 }
 840 
 841 float ShadowFormat::GetOffsetY()
 842 {
 843     float result;
 844     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 845     return result;
 846 }
 847 
 848 void ShadowFormat::SetOffsetY(float newValue)
 849 {
 850     static BYTE parms[] =
 851         VTS_R4;
 852     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 853         newValue);
 854 }
 855 
 856 float ShadowFormat::GetTransparency()
 857 {
 858     float result;
 859     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 860     return result;
 861 }
 862 
 863 void ShadowFormat::SetTransparency(float newValue)
 864 {
 865     static BYTE parms[] =
 866         VTS_R4;
 867     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 868         newValue);
 869 }
 870 
 871 long ShadowFormat::GetType()
 872 {
 873     long result;
 874     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 875     return result;
 876 }
 877 
 878 void ShadowFormat::SetType(long nNewValue)
 879 {
 880     static BYTE parms[] =
 881         VTS_I4;
 882     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 883         nNewValue);
 884 }
 885 
 886 long ShadowFormat::GetVisible()
 887 {
 888     long result;
 889     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 890     return result;
 891 }
 892 
 893 void ShadowFormat::SetVisible(long nNewValue)
 894 {
 895     static BYTE parms[] =
 896         VTS_I4;
 897     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 898         nNewValue);
 899 }
 900 
 901 void ShadowFormat::IncrementOffsetX(float Increment)
 902 {
 903     static BYTE parms[] =
 904         VTS_R4;
 905     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 906         Increment);
 907 }
 908 
 909 void ShadowFormat::IncrementOffsetY(float Increment)
 910 {
 911     static BYTE parms[] =
 912         VTS_R4;
 913     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
 914         Increment);
 915 }
 916 
 917 
 918 /////////////////////////////////////////////////////////////////////////////
 919 // ShapeNode properties
 920 
 921 /////////////////////////////////////////////////////////////////////////////
 922 // ShapeNode operations
 923 
 924 LPDISPATCH ShapeNode::GetApplication()
 925 {
 926     LPDISPATCH result;
 927     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 928     return result;
 929 }
 930 
 931 long ShapeNode::GetCreator()
 932 {
 933     long result;
 934     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 935     return result;
 936 }
 937 
 938 LPDISPATCH ShapeNode::GetParent()
 939 {
 940     LPDISPATCH result;
 941     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 942     return result;
 943 }
 944 
 945 long ShapeNode::GetEditingType()
 946 {
 947     long result;
 948     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 949     return result;
 950 }
 951 
 952 VARIANT ShapeNode::GetPoints()
 953 {
 954     VARIANT result;
 955     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
 956     return result;
 957 }
 958 
 959 long ShapeNode::GetSegmentType()
 960 {
 961     long result;
 962     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 963     return result;
 964 }
 965 
 966 
 967 /////////////////////////////////////////////////////////////////////////////
 968 // ShapeNodes properties
 969 
 970 /////////////////////////////////////////////////////////////////////////////
 971 // ShapeNodes operations
 972 
 973 LPDISPATCH ShapeNodes::GetApplication()
 974 {
 975     LPDISPATCH result;
 976     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 977     return result;
 978 }
 979 
 980 long ShapeNodes::GetCreator()
 981 {
 982     long result;
 983     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 984     return result;
 985 }
 986 
 987 LPDISPATCH ShapeNodes::GetParent()
 988 {
 989     LPDISPATCH result;
 990     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 991     return result;
 992 }
 993 
 994 long ShapeNodes::GetCount()
 995 {
 996     long result;
 997     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 998     return result;
 999 }
1000 
1001 LPUNKNOWN ShapeNodes::Get_NewEnum()
1002 {
1003     LPUNKNOWN result;
1004     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1005     return result;
1006 }
1007 
1008 void ShapeNodes::Delete(long Index)
1009 {
1010     static BYTE parms[] =
1011         VTS_I4;
1012     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1013         Index);
1014 }
1015 
1016 LPDISPATCH ShapeNodes::Item(VARIANT* Index)
1017 {
1018     LPDISPATCH result;
1019     static BYTE parms[] =
1020         VTS_PVARIANT;
1021     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1022         Index);
1023     return result;
1024 }
1025 
1026 void ShapeNodes::SetEditingType(long Index, long EditingType)
1027 {
1028     static BYTE parms[] =
1029         VTS_I4 VTS_I4;
1030     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1031         Index, EditingType);
1032 }
1033 
1034 void ShapeNodes::SetPosition(long Index, float X1, float Y1)
1035 {
1036     static BYTE parms[] =
1037         VTS_I4 VTS_R4 VTS_R4;
1038     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1039         Index, X1, Y1);
1040 }
1041 
1042 void ShapeNodes::SetSegmentType(long Index, long SegmentType)
1043 {
1044     static BYTE parms[] =
1045         VTS_I4 VTS_I4;
1046     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1047         Index, SegmentType);
1048 }
1049 
1050 void ShapeNodes::Insert(long Index, long SegmentType, long EditingType, float X1, float Y1, float X2, float Y2, float X3, float Y3)
1051 {
1052     static BYTE parms[] =
1053         VTS_I4 VTS_I4 VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
1054     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1055         Index, SegmentType, EditingType, X1, Y1, X2, Y2, X3, Y3);
1056 }
1057 
1058 
1059 /////////////////////////////////////////////////////////////////////////////
1060 // TextEffectFormat properties
1061 
1062 /////////////////////////////////////////////////////////////////////////////
1063 // TextEffectFormat operations
1064 
1065 LPDISPATCH TextEffectFormat::GetApplication()
1066 {
1067     LPDISPATCH result;
1068     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1069     return result;
1070 }
1071 
1072 long TextEffectFormat::GetCreator()
1073 {
1074     long result;
1075     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1076     return result;
1077 }
1078 
1079 LPDISPATCH TextEffectFormat::GetParent()
1080 {
1081     LPDISPATCH result;
1082     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1083     return result;
1084 }
1085 
1086 long TextEffectFormat::GetAlignment()
1087 {
1088     long result;
1089     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1090     return result;
1091 }
1092 
1093 void TextEffectFormat::SetAlignment(long nNewValue)
1094 {
1095     static BYTE parms[] =
1096         VTS_I4;
1097     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1098         nNewValue);
1099 }
1100 
1101 long TextEffectFormat::GetFontBold()
1102 {
1103     long result;
1104     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1105     return result;
1106 }
1107 
1108 void TextEffectFormat::SetFontBold(long nNewValue)
1109 {
1110     static BYTE parms[] =
1111         VTS_I4;
1112     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1113         nNewValue);
1114 }
1115 
1116 long TextEffectFormat::GetFontItalic()
1117 {
1118     long result;
1119     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1120     return result;
1121 }
1122 
1123 void TextEffectFormat::SetFontItalic(long nNewValue)
1124 {
1125     static BYTE parms[] =
1126         VTS_I4;
1127     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1128         nNewValue);
1129 }
1130 
1131 CString TextEffectFormat::GetFontName()
1132 {
1133     CString result;
1134     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1135     return result;
1136 }
1137 
1138 void TextEffectFormat::SetFontName(LPCTSTR lpszNewValue)
1139 {
1140     static BYTE parms[] =
1141         VTS_BSTR;
1142     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1143         lpszNewValue);
1144 }
1145 
1146 float TextEffectFormat::GetFontSize()
1147 {
1148     float result;
1149     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1150     return result;
1151 }
1152 
1153 void TextEffectFormat::SetFontSize(float newValue)
1154 {
1155     static BYTE parms[] =
1156         VTS_R4;
1157     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1158         newValue);
1159 }
1160 
1161 long TextEffectFormat::GetKernedPairs()
1162 {
1163     long result;
1164     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1165     return result;
1166 }
1167 
1168 void TextEffectFormat::SetKernedPairs(long nNewValue)
1169 {
1170     static BYTE parms[] =
1171         VTS_I4;
1172     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1173         nNewValue);
1174 }
1175 
1176 long TextEffectFormat::GetNormalizedHeight()
1177 {
1178     long result;
1179     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1180     return result;
1181 }
1182 
1183 void TextEffectFormat::SetNormalizedHeight(long nNewValue)
1184 {
1185     static BYTE parms[] =
1186         VTS_I4;
1187     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1188         nNewValue);
1189 }
1190 
1191 long TextEffectFormat::GetPresetShape()
1192 {
1193     long result;
1194     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1195     return result;
1196 }
1197 
1198 void TextEffectFormat::SetPresetShape(long nNewValue)
1199 {
1200     static BYTE parms[] =
1201         VTS_I4;
1202     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1203         nNewValue);
1204 }
1205 
1206 long TextEffectFormat::GetPresetTextEffect()
1207 {
1208     long result;
1209     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1210     return result;
1211 }
1212 
1213 void TextEffectFormat::SetPresetTextEffect(long nNewValue)
1214 {
1215     static BYTE parms[] =
1216         VTS_I4;
1217     InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1218         nNewValue);
1219 }
1220 
1221 long TextEffectFormat::GetRotatedChars()
1222 {
1223     long result;
1224     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1225     return result;
1226 }
1227 
1228 void TextEffectFormat::SetRotatedChars(long nNewValue)
1229 {
1230     static BYTE parms[] =
1231         VTS_I4;
1232     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1233         nNewValue);
1234 }
1235 
1236 CString TextEffectFormat::GetText()
1237 {
1238     CString result;
1239     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1240     return result;
1241 }
1242 
1243 void TextEffectFormat::SetText(LPCTSTR lpszNewValue)
1244 {
1245     static BYTE parms[] =
1246         VTS_BSTR;
1247     InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1248         lpszNewValue);
1249 }
1250 
1251 float TextEffectFormat::GetTracking()
1252 {
1253     float result;
1254     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1255     return result;
1256 }
1257 
1258 void TextEffectFormat::SetTracking(float newValue)
1259 {
1260     static BYTE parms[] =
1261         VTS_R4;
1262     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1263         newValue);
1264 }
1265 
1266 void TextEffectFormat::ToggleVerticalText()
1267 {
1268     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1269 }
1270 
1271 
1272 /////////////////////////////////////////////////////////////////////////////
1273 // ThreeDFormat properties
1274 
1275 /////////////////////////////////////////////////////////////////////////////
1276 // ThreeDFormat operations
1277 
1278 LPDISPATCH ThreeDFormat::GetApplication()
1279 {
1280     LPDISPATCH result;
1281     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1282     return result;
1283 }
1284 
1285 long ThreeDFormat::GetCreator()
1286 {
1287     long result;
1288     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1289     return result;
1290 }
1291 
1292 LPDISPATCH ThreeDFormat::GetParent()
1293 {
1294     LPDISPATCH result;
1295     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1296     return result;
1297 }
1298 
1299 float ThreeDFormat::GetDepth()
1300 {
1301     float result;
1302     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1303     return result;
1304 }
1305 
1306 void ThreeDFormat::SetDepth(float newValue)
1307 {
1308     static BYTE parms[] =
1309         VTS_R4;
1310     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1311         newValue);
1312 }
1313 
1314 LPDISPATCH ThreeDFormat::GetExtrusionColor()
1315 {
1316     LPDISPATCH result;
1317     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1318     return result;
1319 }
1320 
1321 long ThreeDFormat::GetExtrusionColorType()
1322 {
1323     long result;
1324     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1325     return result;
1326 }
1327 
1328 void ThreeDFormat::SetExtrusionColorType(long nNewValue)
1329 {
1330     static BYTE parms[] =
1331         VTS_I4;
1332     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1333         nNewValue);
1334 }
1335 
1336 long ThreeDFormat::GetPerspective()
1337 {
1338     long result;
1339     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1340     return result;
1341 }
1342 
1343 void ThreeDFormat::SetPerspective(long nNewValue)
1344 {
1345     static BYTE parms[] =
1346         VTS_I4;
1347     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1348         nNewValue);
1349 }
1350 
1351 long ThreeDFormat::GetPresetExtrusionDirection()
1352 {
1353     long result;
1354     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1355     return result;
1356 }
1357 
1358 long ThreeDFormat::GetPresetLightingDirection()
1359 {
1360     long result;
1361     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1362     return result;
1363 }
1364 
1365 void ThreeDFormat::SetPresetLightingDirection(long nNewValue)
1366 {
1367     static BYTE parms[] =
1368         VTS_I4;
1369     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1370         nNewValue);
1371 }
1372 
1373 long ThreeDFormat::GetPresetLightingSoftness()
1374 {
1375     long result;
1376     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1377     return result;
1378 }
1379 
1380 void ThreeDFormat::SetPresetLightingSoftness(long nNewValue)
1381 {
1382     static BYTE parms[] =
1383         VTS_I4;
1384     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1385         nNewValue);
1386 }
1387 
1388 long ThreeDFormat::GetPresetMaterial()
1389 {
1390     long result;
1391     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1392     return result;
1393 }
1394 
1395 void ThreeDFormat::SetPresetMaterial(long nNewValue)
1396 {
1397     static BYTE parms[] =
1398         VTS_I4;
1399     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1400         nNewValue);
1401 }
1402 
1403 long ThreeDFormat::GetPresetThreeDFormat()
1404 {
1405     long result;
1406     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1407     return result;
1408 }
1409 
1410 float ThreeDFormat::GetRotationX()
1411 {
1412     float result;
1413     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1414     return result;
1415 }
1416 
1417 void ThreeDFormat::SetRotationX(float newValue)
1418 {
1419     static BYTE parms[] =
1420         VTS_R4;
1421     InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1422         newValue);
1423 }
1424 
1425 float ThreeDFormat::GetRotationY()
1426 {
1427     float result;
1428     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
1429     return result;
1430 }
1431 
1432 void ThreeDFormat::SetRotationY(float newValue)
1433 {
1434     static BYTE parms[] =
1435         VTS_R4;
1436     InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1437         newValue);
1438 }
1439 
1440 long ThreeDFormat::GetVisible()
1441 {
1442     long result;
1443     InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1444     return result;
1445 }
1446 
1447 void ThreeDFormat::SetVisible(long nNewValue)
1448 {
1449     static BYTE parms[] =
1450         VTS_I4;
1451     InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1452         nNewValue);
1453 }
1454 
1455 void ThreeDFormat::IncrementRotationX(float Increment)
1456 {
1457     static BYTE parms[] =
1458         VTS_R4;
1459     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1460         Increment);
1461 }
1462 
1463 void ThreeDFormat::IncrementRotationY(float Increment)
1464 {
1465     static BYTE parms[] =
1466         VTS_R4;
1467     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1468         Increment);
1469 }
1470 
1471 void ThreeDFormat::ResetRotation()
1472 {
1473     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1474 }
1475 
1476 void ThreeDFormat::SetExtrusionDirection(long PresetExtrusionDirection)
1477 {
1478     static BYTE parms[] =
1479         VTS_I4;
1480     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1481         PresetExtrusionDirection);
1482 }
1483 
1484 void ThreeDFormat::SetThreeDFormat(long PresetThreeDFormat)
1485 {
1486     static BYTE parms[] =
1487         VTS_I4;
1488     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1489         PresetThreeDFormat);
1490 }
1491 
1492 
1493 /////////////////////////////////////////////////////////////////////////////
1494 // ApplicationEvents properties
1495 
1496 /////////////////////////////////////////////////////////////////////////////
1497 // ApplicationEvents operations
1498 
1499 
1500 /////////////////////////////////////////////////////////////////////////////
1501 // DocumentEvents properties
1502 
1503 /////////////////////////////////////////////////////////////////////////////
1504 // DocumentEvents operations
1505 
1506 void DocumentEvents::New()
1507 {
1508     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1509 }
1510 
1511 void DocumentEvents::Open()
1512 {
1513     InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1514 }
1515 
1516 void DocumentEvents::Close()
1517 {
1518     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1519 }
1520 
1521 
1522 /////////////////////////////////////////////////////////////////////////////
1523 // OCXEvents properties
1524 
1525 /////////////////////////////////////////////////////////////////////////////
1526 // OCXEvents operations
1527 
1528 void OCXEvents::GotFocus()
1529 {
1530     InvokeHelper(0x800100e0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1531 }
1532 
1533 void OCXEvents::LostFocus()
1534 {
1535     InvokeHelper(0x800100e1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1536 }
1537 
1538 
1539 /////////////////////////////////////////////////////////////////////////////
1540 // IApplicationEvents properties
1541 
1542 /////////////////////////////////////////////////////////////////////////////
1543 // IApplicationEvents operations
1544 
1545 void IApplicationEvents::Quit()
1546 {
1547     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1548 }
1549 
1550 void IApplicationEvents::DocumentChange()
1551 {
1552     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1553 }
1554 
1555 
1556 /////////////////////////////////////////////////////////////////////////////
1557 // IApplicationEvents2 properties
1558 
1559 /////////////////////////////////////////////////////////////////////////////
1560 // IApplicationEvents2 operations
1561 
1562 void IApplicationEvents2::Quit()
1563 {
1564     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1565 }
1566 
1567 void IApplicationEvents2::DocumentChange()
1568 {
1569     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1570 }
1571 
1572 void IApplicationEvents2::DocumentOpen(LPDISPATCH Doc)
1573 {
1574     static BYTE parms[] =
1575         VTS_DISPATCH;
1576     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1577         Doc);
1578 }
1579 
1580 void IApplicationEvents2::DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel)
1581 {
1582     static BYTE parms[] =
1583         VTS_DISPATCH VTS_PBOOL;
1584     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1585         Doc, Cancel);
1586 }
1587 
1588 void IApplicationEvents2::DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel)
1589 {
1590     static BYTE parms[] =
1591         VTS_DISPATCH VTS_PBOOL;
1592     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1593         Doc, Cancel);
1594 }
1595 
1596 void IApplicationEvents2::DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel)
1597 {
1598     static BYTE parms[] =
1599         VTS_DISPATCH VTS_PBOOL VTS_PBOOL;
1600     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1601         Doc, SaveAsUI, Cancel);
1602 }
1603 
1604 void IApplicationEvents2::NewDocument(LPDISPATCH Doc)
1605 {
1606     static BYTE parms[] =
1607         VTS_DISPATCH;
1608     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1609         Doc);
1610 }
1611 
1612 void IApplicationEvents2::WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn)
1613 {
1614     static BYTE parms[] =
1615         VTS_DISPATCH VTS_DISPATCH;
1616     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1617         Doc, Wn);
1618 }
1619 
1620 void IApplicationEvents2::WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn)
1621 {
1622     static BYTE parms[] =
1623         VTS_DISPATCH VTS_DISPATCH;
1624     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1625         Doc, Wn);
1626 }
1627 
1628 void IApplicationEvents2::WindowSelectionChange(LPDISPATCH Sel)
1629 {
1630     static BYTE parms[] =
1631         VTS_DISPATCH;
1632     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1633         Sel);
1634 }
1635 
1636 void IApplicationEvents2::WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel)
1637 {
1638     static BYTE parms[] =
1639         VTS_DISPATCH VTS_PBOOL;
1640     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1641         Sel, Cancel);
1642 }
1643 
1644 void IApplicationEvents2::WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel)
1645 {
1646     static BYTE parms[] =
1647         VTS_DISPATCH VTS_PBOOL;
1648     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1649         Sel, Cancel);
1650 }
1651 
1652 
1653 /////////////////////////////////////////////////////////////////////////////
1654 // ApplicationEvents2 properties
1655 
1656 /////////////////////////////////////////////////////////////////////////////
1657 // ApplicationEvents2 operations
1658 
1659 void ApplicationEvents2::Quit()
1660 {
1661     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1662 }
1663 
1664 void ApplicationEvents2::DocumentChange()
1665 {
1666     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1667 }
1668 
1669 void ApplicationEvents2::DocumentOpen(LPDISPATCH Doc)
1670 {
1671     static BYTE parms[] =
1672         VTS_DISPATCH;
1673     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1674         Doc);
1675 }
1676 
1677 void ApplicationEvents2::DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel)
1678 {
1679     static BYTE parms[] =
1680         VTS_DISPATCH VTS_PBOOL;
1681     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1682         Doc, Cancel);
1683 }
1684 
1685 void ApplicationEvents2::DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel)
1686 {
1687     static BYTE parms[] =
1688         VTS_DISPATCH VTS_PBOOL;
1689     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1690         Doc, Cancel);
1691 }
1692 
1693 void ApplicationEvents2::DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel)
1694 {
1695     static BYTE parms[] =
1696         VTS_DISPATCH VTS_PBOOL VTS_PBOOL;
1697     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1698         Doc, SaveAsUI, Cancel);
1699 }
1700 
1701 void ApplicationEvents2::NewDocument(LPDISPATCH Doc)
1702 {
1703     static BYTE parms[] =
1704         VTS_DISPATCH;
1705     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1706         Doc);
1707 }
1708 
1709 void ApplicationEvents2::WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn)
1710 {
1711     static BYTE parms[] =
1712         VTS_DISPATCH VTS_DISPATCH;
1713     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1714         Doc, Wn);
1715 }
1716 
1717 void ApplicationEvents2::WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn)
1718 {
1719     static BYTE parms[] =
1720         VTS_DISPATCH VTS_DISPATCH;
1721     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1722         Doc, Wn);
1723 }
1724 
1725 void ApplicationEvents2::WindowSelectionChange(LPDISPATCH Sel)
1726 {
1727     static BYTE parms[] =
1728         VTS_DISPATCH;
1729     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1730         Sel);
1731 }
1732 
1733 void ApplicationEvents2::WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel)
1734 {
1735     static BYTE parms[] =
1736         VTS_DISPATCH VTS_PBOOL;
1737     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1738         Sel, Cancel);
1739 }
1740 
1741 void ApplicationEvents2::WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel)
1742 {
1743     static BYTE parms[] =
1744         VTS_DISPATCH VTS_PBOOL;
1745     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1746         Sel, Cancel);
1747 }
1748 
1749 
1750 /////////////////////////////////////////////////////////////////////////////
1751 // EmailAuthor properties
1752 
1753 /////////////////////////////////////////////////////////////////////////////
1754 // EmailAuthor operations
1755 
1756 LPDISPATCH EmailAuthor::GetApplication()
1757 {
1758     LPDISPATCH result;
1759     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1760     return result;
1761 }
1762 
1763 long EmailAuthor::GetCreator()
1764 {
1765     long result;
1766     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1767     return result;
1768 }
1769 
1770 LPDISPATCH EmailAuthor::GetParent()
1771 {
1772     LPDISPATCH result;
1773     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1774     return result;
1775 }
1776 
1777 LPDISPATCH EmailAuthor::GetStyle()
1778 {
1779     LPDISPATCH result;
1780     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1781     return result;
1782 }
1783 
1784 
1785 /////////////////////////////////////////////////////////////////////////////
1786 // EmailOptions properties
1787 
1788 /////////////////////////////////////////////////////////////////////////////
1789 // EmailOptions operations
1790 
1791 LPDISPATCH EmailOptions::GetApplication()
1792 {
1793     LPDISPATCH result;
1794     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1795     return result;
1796 }
1797 
1798 long EmailOptions::GetCreator()
1799 {
1800     long result;
1801     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1802     return result;
1803 }
1804 
1805 LPDISPATCH EmailOptions::GetParent()
1806 {
1807     LPDISPATCH result;
1808     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1809     return result;
1810 }
1811 
1812 BOOL EmailOptions::GetUseThemeStyle()
1813 {
1814     BOOL result;
1815     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1816     return result;
1817 }
1818 
1819 void EmailOptions::SetUseThemeStyle(BOOL bNewValue)
1820 {
1821     static BYTE parms[] =
1822         VTS_BOOL;
1823     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1824         bNewValue);
1825 }
1826 
1827 CString EmailOptions::GetMarkCommentsWith()
1828 {
1829     CString result;
1830     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1831     return result;
1832 }
1833 
1834 void EmailOptions::SetMarkCommentsWith(LPCTSTR lpszNewValue)
1835 {
1836     static BYTE parms[] =
1837         VTS_BSTR;
1838     InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1839         lpszNewValue);
1840 }
1841 
1842 BOOL EmailOptions::GetMarkComments()
1843 {
1844     BOOL result;
1845     InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1846     return result;
1847 }
1848 
1849 void EmailOptions::SetMarkComments(BOOL bNewValue)
1850 {
1851     static BYTE parms[] =
1852         VTS_BOOL;
1853     InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1854         bNewValue);
1855 }
1856 
1857 LPDISPATCH EmailOptions::GetEmailSignature()
1858 {
1859     LPDISPATCH result;
1860     InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1861     return result;
1862 }
1863 
1864 LPDISPATCH EmailOptions::GetComposeStyle()
1865 {
1866     LPDISPATCH result;
1867     InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1868     return result;
1869 }
1870 
1871 LPDISPATCH EmailOptions::GetReplyStyle()
1872 {
1873     LPDISPATCH result;
1874     InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1875     return result;
1876 }
1877 
1878 CString EmailOptions::GetThemeName()
1879 {
1880     CString result;
1881     InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1882     return result;
1883 }
1884 
1885 void EmailOptions::SetThemeName(LPCTSTR lpszNewValue)
1886 {
1887     static BYTE parms[] =
1888         VTS_BSTR;
1889     InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1890         lpszNewValue);
1891 }
1892 
1893 BOOL EmailOptions::GetNewColorOnReply()
1894 {
1895     BOOL result;
1896     InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1897     return result;
1898 }
1899 
1900 void EmailOptions::SetNewColorOnReply(BOOL bNewValue)
1901 {
1902     static BYTE parms[] =
1903         VTS_BOOL;
1904     InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1905         bNewValue);
1906 }
1907 
1908 LPDISPATCH EmailOptions::GetPlainTextStyle()
1909 {
1910     LPDISPATCH result;
1911     InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1912     return result;
1913 }
1914 
1915 BOOL EmailOptions::GetUseThemeStyleOnReply()
1916 {
1917     BOOL result;
1918     InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1919     return result;
1920 }
1921 
1922 void EmailOptions::SetUseThemeStyleOnReply(BOOL bNewValue)
1923 {
1924     static BYTE parms[] =
1925         VTS_BOOL;
1926     InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1927         bNewValue);
1928 }
1929 
1930 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyHeadings()
1931 {
1932     BOOL result;
1933     InvokeHelper(0x104, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1934     return result;
1935 }
1936 
1937 void EmailOptions::SetAutoFormatAsYouTypeApplyHeadings(BOOL bNewValue)
1938 {
1939     static BYTE parms[] =
1940         VTS_BOOL;
1941     InvokeHelper(0x104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1942         bNewValue);
1943 }
1944 
1945 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyBorders()
1946 {
1947     BOOL result;
1948     InvokeHelper(0x105, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1949     return result;
1950 }
1951 
1952 void EmailOptions::SetAutoFormatAsYouTypeApplyBorders(BOOL bNewValue)
1953 {
1954     static BYTE parms[] =
1955         VTS_BOOL;
1956     InvokeHelper(0x105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1957         bNewValue);
1958 }
1959 
1960 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyBulletedLists()
1961 {
1962     BOOL result;
1963     InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1964     return result;
1965 }
1966 
1967 void EmailOptions::SetAutoFormatAsYouTypeApplyBulletedLists(BOOL bNewValue)
1968 {
1969     static BYTE parms[] =
1970         VTS_BOOL;
1971     InvokeHelper(0x106, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1972         bNewValue);
1973 }
1974 
1975 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyNumberedLists()
1976 {
1977     BOOL result;
1978     InvokeHelper(0x107, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1979     return result;
1980 }
1981 
1982 void EmailOptions::SetAutoFormatAsYouTypeApplyNumberedLists(BOOL bNewValue)
1983 {
1984     static BYTE parms[] =
1985         VTS_BOOL;
1986     InvokeHelper(0x107, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1987         bNewValue);
1988 }
1989 
1990 BOOL EmailOptions::GetAutoFormatAsYouTypeReplaceQuotes()
1991 {
1992     BOOL result;
1993     InvokeHelper(0x108, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1994     return result;
1995 }
1996 
1997 void EmailOptions::SetAutoFormatAsYouTypeReplaceQuotes(BOOL bNewValue)
1998 {
1999     static BYTE parms[] =
2000         VTS_BOOL;
2001     InvokeHelper(0x108, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2002         bNewValue);
2003 }
2004 
2005 BOOL EmailOptions::GetAutoFormatAsYouTypeReplaceSymbols()
2006 {
2007     BOOL result;
2008     InvokeHelper(0x109, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2009     return result;
2010 }
2011 
2012 void EmailOptions::SetAutoFormatAsYouTypeReplaceSymbols(BOOL bNewValue)
2013 {
2014     static BYTE parms[] =
2015         VTS_BOOL;
2016     InvokeHelper(0x109, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2017         bNewValue);
2018 }
2019 
2020 BOOL EmailOptions::GetAutoFormatAsYouTypeReplaceOrdinals()
2021 {
2022     BOOL result;
2023     InvokeHelper(0x10a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2024     return result;
2025 }
2026 
2027 void EmailOptions::SetAutoFormatAsYouTypeReplaceOrdinals(BOOL bNewValue)
2028 {
2029     static BYTE parms[] =
2030         VTS_BOOL;
2031     InvokeHelper(0x10a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2032         bNewValue);
2033 }
2034 
2035 BOOL EmailOptions::GetAutoFormatAsYouTypeReplaceFractions()
2036 {
2037     BOOL result;
2038     InvokeHelper(0x10b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2039     return result;
2040 }
2041 
2042 void EmailOptions::SetAutoFormatAsYouTypeReplaceFractions(BOOL bNewValue)
2043 {
2044     static BYTE parms[] =
2045         VTS_BOOL;
2046     InvokeHelper(0x10b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2047         bNewValue);
2048 }
2049 
2050 BOOL EmailOptions::GetAutoFormatAsYouTypeReplacePlainTextEmphasis()
2051 {
2052     BOOL result;
2053     InvokeHelper(0x10c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2054     return result;
2055 }
2056 
2057 void EmailOptions::SetAutoFormatAsYouTypeReplacePlainTextEmphasis(BOOL bNewValue)
2058 {
2059     static BYTE parms[] =
2060         VTS_BOOL;
2061     InvokeHelper(0x10c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2062         bNewValue);
2063 }
2064 
2065 BOOL EmailOptions::GetAutoFormatAsYouTypeFormatListItemBeginning()
2066 {
2067     BOOL result;
2068     InvokeHelper(0x10d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2069     return result;
2070 }
2071 
2072 void EmailOptions::SetAutoFormatAsYouTypeFormatListItemBeginning(BOOL bNewValue)
2073 {
2074     static BYTE parms[] =
2075         VTS_BOOL;
2076     InvokeHelper(0x10d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2077         bNewValue);
2078 }
2079 
2080 BOOL EmailOptions::GetAutoFormatAsYouTypeDefineStyles()
2081 {
2082     BOOL result;
2083     InvokeHelper(0x10e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2084     return result;
2085 }
2086 
2087 void EmailOptions::SetAutoFormatAsYouTypeDefineStyles(BOOL bNewValue)
2088 {
2089     static BYTE parms[] =
2090         VTS_BOOL;
2091     InvokeHelper(0x10e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2092         bNewValue);
2093 }
2094 
2095 BOOL EmailOptions::GetAutoFormatAsYouTypeReplaceHyperlinks()
2096 {
2097     BOOL result;
2098     InvokeHelper(0x110, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2099     return result;
2100 }
2101 
2102 void EmailOptions::SetAutoFormatAsYouTypeReplaceHyperlinks(BOOL bNewValue)
2103 {
2104     static BYTE parms[] =
2105         VTS_BOOL;
2106     InvokeHelper(0x110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2107         bNewValue);
2108 }
2109 
2110 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyTables()
2111 {
2112     BOOL result;
2113     InvokeHelper(0x122, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2114     return result;
2115 }
2116 
2117 void EmailOptions::SetAutoFormatAsYouTypeApplyTables(BOOL bNewValue)
2118 {
2119     static BYTE parms[] =
2120         VTS_BOOL;
2121     InvokeHelper(0x122, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2122         bNewValue);
2123 }
2124 
2125 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyFirstIndents()
2126 {
2127     BOOL result;
2128     InvokeHelper(0x129, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2129     return result;
2130 }
2131 
2132 void EmailOptions::SetAutoFormatAsYouTypeApplyFirstIndents(BOOL bNewValue)
2133 {
2134     static BYTE parms[] =
2135         VTS_BOOL;
2136     InvokeHelper(0x129, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2137         bNewValue);
2138 }
2139 
2140 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyDates()
2141 {
2142     BOOL result;
2143     InvokeHelper(0x12a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2144     return result;
2145 }
2146 
2147 void EmailOptions::SetAutoFormatAsYouTypeApplyDates(BOOL bNewValue)
2148 {
2149     static BYTE parms[] =
2150         VTS_BOOL;
2151     InvokeHelper(0x12a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2152         bNewValue);
2153 }
2154 
2155 BOOL EmailOptions::GetAutoFormatAsYouTypeApplyClosings()
2156 {
2157     BOOL result;
2158     InvokeHelper(0x12b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2159     return result;
2160 }
2161 
2162 void EmailOptions::SetAutoFormatAsYouTypeApplyClosings(BOOL bNewValue)
2163 {
2164     static BYTE parms[] =
2165         VTS_BOOL;
2166     InvokeHelper(0x12b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2167         bNewValue);
2168 }
2169 
2170 BOOL EmailOptions::GetAutoFormatAsYouTypeMatchParentheses()
2171 {
2172     BOOL result;
2173     InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2174     return result;
2175 }
2176 
2177 void EmailOptions::SetAutoFormatAsYouTypeMatchParentheses(BOOL bNewValue)
2178 {
2179     static BYTE parms[] =
2180         VTS_BOOL;
2181     InvokeHelper(0x12c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2182         bNewValue);
2183 }
2184 
2185 BOOL EmailOptions::GetAutoFormatAsYouTypeReplaceFarEastDashes()
2186 {
2187     BOOL result;
2188     InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2189     return result;
2190 }
2191 
2192 void EmailOptions::SetAutoFormatAsYouTypeReplaceFarEastDashes(BOOL bNewValue)
2193 {
2194     static BYTE parms[] =
2195         VTS_BOOL;
2196     InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2197         bNewValue);
2198 }
2199 
2200 BOOL EmailOptions::GetAutoFormatAsYouTypeDeleteAutoSpaces()
2201 {
2202     BOOL result;
2203     InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2204     return result;
2205 }
2206 
2207 void EmailOptions::SetAutoFormatAsYouTypeDeleteAutoSpaces(BOOL bNewValue)
2208 {
2209     static BYTE parms[] =
2210         VTS_BOOL;
2211     InvokeHelper(0x12e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2212         bNewValue);
2213 }
2214 
2215 BOOL EmailOptions::GetAutoFormatAsYouTypeInsertClosings()
2216 {
2217     BOOL result;
2218     InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2219     return result;
2220 }
2221 
2222 void EmailOptions::SetAutoFormatAsYouTypeInsertClosings(BOOL bNewValue)
2223 {
2224     static BYTE parms[] =
2225         VTS_BOOL;
2226     InvokeHelper(0x12f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2227         bNewValue);
2228 }
2229 
2230 BOOL EmailOptions::GetAutoFormatAsYouTypeAutoLetterWizard()
2231 {
2232     BOOL result;
2233     InvokeHelper(0x130, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2234     return result;
2235 }
2236 
2237 void EmailOptions::SetAutoFormatAsYouTypeAutoLetterWizard(BOOL bNewValue)
2238 {
2239     static BYTE parms[] =
2240         VTS_BOOL;
2241     InvokeHelper(0x130, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2242         bNewValue);
2243 }
2244 
2245 BOOL EmailOptions::GetAutoFormatAsYouTypeInsertOvers()
2246 {
2247     BOOL result;
2248     InvokeHelper(0x131, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2249     return result;
2250 }
2251 
2252 void EmailOptions::SetAutoFormatAsYouTypeInsertOvers(BOOL bNewValue)
2253 {
2254     static BYTE parms[] =
2255         VTS_BOOL;
2256     InvokeHelper(0x131, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2257         bNewValue);
2258 }
2259 
2260 BOOL EmailOptions::GetRelyOnCSS()
2261 {
2262     BOOL result;
2263     InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2264     return result;
2265 }
2266 
2267 void EmailOptions::SetRelyOnCSS(BOOL bNewValue)
2268 {
2269     static BYTE parms[] =
2270         VTS_BOOL;
2271     InvokeHelper(0x132, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2272         bNewValue);
2273 }
2274 
2275 long EmailOptions::GetHTMLFidelity()
2276 {
2277     long result;
2278     InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2279     return result;
2280 }
2281 
2282 void EmailOptions::SetHTMLFidelity(long nNewValue)
2283 {
2284     static BYTE parms[] =
2285         VTS_I4;
2286     InvokeHelper(0x133, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2287         nNewValue);
2288 }
2289 
2290 BOOL EmailOptions::GetEmbedSmartTag()
2291 {
2292     BOOL result;
2293     InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2294     return result;
2295 }
2296 
2297 void EmailOptions::SetEmbedSmartTag(BOOL bNewValue)
2298 {
2299     static BYTE parms[] =
2300         VTS_BOOL;
2301     InvokeHelper(0x134, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2302         bNewValue);
2303 }
2304 
2305 BOOL EmailOptions::GetTabIndentKey()
2306 {
2307     BOOL result;
2308     InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2309     return result;
2310 }
2311 
2312 void EmailOptions::SetTabIndentKey(BOOL bNewValue)
2313 {
2314     static BYTE parms[] =
2315         VTS_BOOL;
2316     InvokeHelper(0x135, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2317         bNewValue);
2318 }
2319 
2320 
2321 /////////////////////////////////////////////////////////////////////////////
2322 // EmailSignature properties
2323 
2324 /////////////////////////////////////////////////////////////////////////////
2325 // EmailSignature operations
2326 
2327 LPDISPATCH EmailSignature::GetApplication()
2328 {
2329     LPDISPATCH result;
2330     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2331     return result;
2332 }
2333 
2334 long EmailSignature::GetCreator()
2335 {
2336     long result;
2337     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2338     return result;
2339 }
2340 
2341 LPDISPATCH EmailSignature::GetParent()
2342 {
2343     LPDISPATCH result;
2344     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2345     return result;
2346 }
2347 
2348 CString EmailSignature::GetNewMessageSignature()
2349 {
2350     CString result;
2351     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2352     return result;
2353 }
2354 
2355 void EmailSignature::SetNewMessageSignature(LPCTSTR lpszNewValue)
2356 {
2357     static BYTE parms[] =
2358         VTS_BSTR;
2359     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2360         lpszNewValue);
2361 }
2362 
2363 CString EmailSignature::GetReplyMessageSignature()
2364 {
2365     CString result;
2366     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2367     return result;
2368 }
2369 
2370 void EmailSignature::SetReplyMessageSignature(LPCTSTR lpszNewValue)
2371 {
2372     static BYTE parms[] =
2373         VTS_BSTR;
2374     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2375         lpszNewValue);
2376 }
2377 
2378 LPDISPATCH EmailSignature::GetEmailSignatureEntries()
2379 {
2380     LPDISPATCH result;
2381     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2382     return result;
2383 }
2384 
2385 
2386 /////////////////////////////////////////////////////////////////////////////
2387 // Email properties
2388 
2389 /////////////////////////////////////////////////////////////////////////////
2390 // Email operations
2391 
2392 LPDISPATCH Email::GetApplication()
2393 {
2394     LPDISPATCH result;
2395     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2396     return result;
2397 }
2398 
2399 long Email::GetCreator()
2400 {
2401     long result;
2402     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2403     return result;
2404 }
2405 
2406 LPDISPATCH Email::GetParent()
2407 {
2408     LPDISPATCH result;
2409     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2410     return result;
2411 }
2412 
2413 LPDISPATCH Email::GetCurrentEmailAuthor()
2414 {
2415     LPDISPATCH result;
2416     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2417     return result;
2418 }
2419 
2420 
2421 /////////////////////////////////////////////////////////////////////////////
2422 // HorizontalLineFormat properties
2423 
2424 /////////////////////////////////////////////////////////////////////////////
2425 // HorizontalLineFormat operations
2426 
2427 LPDISPATCH HorizontalLineFormat::GetApplication()
2428 {
2429     LPDISPATCH result;
2430     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2431     return result;
2432 }
2433 
2434 long HorizontalLineFormat::GetCreator()
2435 {
2436     long result;
2437     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2438     return result;
2439 }
2440 
2441 LPDISPATCH HorizontalLineFormat::GetParent()
2442 {
2443     LPDISPATCH result;
2444     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2445     return result;
2446 }
2447 
2448 float HorizontalLineFormat::GetPercentWidth()
2449 {
2450     float result;
2451     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2452     return result;
2453 }
2454 
2455 void HorizontalLineFormat::SetPercentWidth(float newValue)
2456 {
2457     static BYTE parms[] =
2458         VTS_R4;
2459     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2460         newValue);
2461 }
2462 
2463 BOOL HorizontalLineFormat::GetNoShade()
2464 {
2465     BOOL result;
2466     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2467     return result;
2468 }
2469 
2470 void HorizontalLineFormat::SetNoShade(BOOL bNewValue)
2471 {
2472     static BYTE parms[] =
2473         VTS_BOOL;
2474     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2475         bNewValue);
2476 }
2477 
2478 long HorizontalLineFormat::GetAlignment()
2479 {
2480     long result;
2481     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2482     return result;
2483 }
2484 
2485 void HorizontalLineFormat::SetAlignment(long nNewValue)
2486 {
2487     static BYTE parms[] =
2488         VTS_I4;
2489     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2490         nNewValue);
2491 }
2492 
2493 long HorizontalLineFormat::GetWidthType()
2494 {
2495     long result;
2496     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2497     return result;
2498 }
2499 
2500 void HorizontalLineFormat::SetWidthType(long nNewValue)
2501 {
2502     static BYTE parms[] =
2503         VTS_I4;
2504     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2505         nNewValue);
2506 }
2507 
2508 
2509 /////////////////////////////////////////////////////////////////////////////
2510 // Frameset properties
2511 
2512 /////////////////////////////////////////////////////////////////////////////
2513 // Frameset operations
2514 
2515 LPDISPATCH Frameset::GetApplication()
2516 {
2517     LPDISPATCH result;
2518     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2519     return result;
2520 }
2521 
2522 long Frameset::GetCreator()
2523 {
2524     long result;
2525     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2526     return result;
2527 }
2528 
2529 LPDISPATCH Frameset::GetParent()
2530 {
2531     LPDISPATCH result;
2532     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2533     return result;
2534 }
2535 
2536 LPUNKNOWN Frameset::Get_NewEnum()
2537 {
2538     LPUNKNOWN result;
2539     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2540     return result;
2541 }
2542 
2543 LPDISPATCH Frameset::GetParentFrameset()
2544 {
2545     LPDISPATCH result;
2546     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2547     return result;
2548 }
2549 
2550 long Frameset::GetType()
2551 {
2552     long result;
2553     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2554     return result;
2555 }
2556 
2557 long Frameset::GetWidthType()
2558 {
2559     long result;
2560     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2561     return result;
2562 }
2563 
2564 void Frameset::SetWidthType(long nNewValue)
2565 {
2566     static BYTE parms[] =
2567         VTS_I4;
2568     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2569         nNewValue);
2570 }
2571 
2572 long Frameset::GetHeightType()
2573 {
2574     long result;
2575     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2576     return result;
2577 }
2578 
2579 void Frameset::SetHeightType(long nNewValue)
2580 {
2581     static BYTE parms[] =
2582         VTS_I4;
2583     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2584         nNewValue);
2585 }
2586 
2587 long Frameset::GetWidth()
2588 {
2589     long result;
2590     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2591     return result;
2592 }
2593 
2594 void Frameset::SetWidth(long nNewValue)
2595 {
2596     static BYTE parms[] =
2597         VTS_I4;
2598     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2599         nNewValue);
2600 }
2601 
2602 long Frameset::GetHeight()
2603 {
2604     long result;
2605     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2606     return result;
2607 }
2608 
2609 void Frameset::SetHeight(long nNewValue)
2610 {
2611     static BYTE parms[] =
2612         VTS_I4;
2613     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2614         nNewValue);
2615 }
2616 
2617 long Frameset::GetChildFramesetCount()
2618 {
2619     long result;
2620     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2621     return result;
2622 }
2623 
2624 LPDISPATCH Frameset::GetChildFramesetItem(long Index)
2625 {
2626     LPDISPATCH result;
2627     static BYTE parms[] =
2628         VTS_I4;
2629     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
2630         Index);
2631     return result;
2632 }
2633 
2634 float Frameset::GetFramesetBorderWidth()
2635 {
2636     float result;
2637     InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
2638     return result;
2639 }
2640 
2641 void Frameset::SetFramesetBorderWidth(float newValue)
2642 {
2643     static BYTE parms[] =
2644         VTS_R4;
2645     InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2646         newValue);
2647 }
2648 
2649 long Frameset::GetFramesetBorderColor()
2650 {
2651     long result;
2652     InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2653     return result;
2654 }
2655 
2656 void Frameset::SetFramesetBorderColor(long nNewValue)
2657 {
2658     static BYTE parms[] =
2659         VTS_I4;
2660     InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2661         nNewValue);
2662 }
2663 
2664 long Frameset::GetFrameScrollbarType()
2665 {
2666     long result;
2667     InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2668     return result;
2669 }
2670 
2671 void Frameset::SetFrameScrollbarType(long nNewValue)
2672 {
2673     static BYTE parms[] =
2674         VTS_I4;
2675     InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2676         nNewValue);
2677 }
2678 
2679 BOOL Frameset::GetFrameResizable()
2680 {
2681     BOOL result;
2682     InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2683     return result;
2684 }
2685 
2686 void Frameset::SetFrameResizable(BOOL bNewValue)
2687 {
2688     static BYTE parms[] =
2689         VTS_BOOL;
2690     InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2691         bNewValue);
2692 }
2693 
2694 CString Frameset::GetFrameName()
2695 {
2696     CString result;
2697     InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2698     return result;
2699 }
2700 
2701 void Frameset::SetFrameName(LPCTSTR lpszNewValue)
2702 {
2703     static BYTE parms[] =
2704         VTS_BSTR;
2705     InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2706         lpszNewValue);
2707 }
2708 
2709 BOOL Frameset::GetFrameDisplayBorders()
2710 {
2711     BOOL result;
2712     InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2713     return result;
2714 }
2715 
2716 void Frameset::SetFrameDisplayBorders(BOOL bNewValue)
2717 {
2718     static BYTE parms[] =
2719         VTS_BOOL;
2720     InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2721         bNewValue);
2722 }
2723 
2724 CString Frameset::GetFrameDefaultURL()
2725 {
2726     CString result;
2727     InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2728     return result;
2729 }
2730 
2731 void Frameset::SetFrameDefaultURL(LPCTSTR lpszNewValue)
2732 {
2733     static BYTE parms[] =
2734         VTS_BSTR;
2735     InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2736         lpszNewValue);
2737 }
2738 
2739 BOOL Frameset::GetFrameLinkToFile()
2740 {
2741     BOOL result;
2742     InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2743     return result;
2744 }
2745 
2746 void Frameset::SetFrameLinkToFile(BOOL bNewValue)
2747 {
2748     static BYTE parms[] =
2749         VTS_BOOL;
2750     InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2751         bNewValue);
2752 }
2753 
2754 LPDISPATCH Frameset::AddNewFrame(long Where)
2755 {
2756     LPDISPATCH result;
2757     static BYTE parms[] =
2758         VTS_I4;
2759     InvokeHelper(0x32, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2760         Where);
2761     return result;
2762 }
2763 
2764 void Frameset::Delete()
2765 {
2766     InvokeHelper(0x33, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2767 }
2768 
2769 
2770 /////////////////////////////////////////////////////////////////////////////
2771 // DefaultWebOptions properties
2772 
2773 /////////////////////////////////////////////////////////////////////////////
2774 // DefaultWebOptions operations
2775 
2776 LPDISPATCH DefaultWebOptions::GetApplication()
2777 {
2778     LPDISPATCH result;
2779     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2780     return result;
2781 }
2782 
2783 long DefaultWebOptions::GetCreator()
2784 {
2785     long result;
2786     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2787     return result;
2788 }
2789 
2790 LPDISPATCH DefaultWebOptions::GetParent()
2791 {
2792     LPDISPATCH result;
2793     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2794     return result;
2795 }
2796 
2797 BOOL DefaultWebOptions::GetOptimizeForBrowser()
2798 {
2799     BOOL result;
2800     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2801     return result;
2802 }
2803 
2804 void DefaultWebOptions::SetOptimizeForBrowser(BOOL bNewValue)
2805 {
2806     static BYTE parms[] =
2807         VTS_BOOL;
2808     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2809         bNewValue);
2810 }
2811 
2812 long DefaultWebOptions::GetBrowserLevel()
2813 {
2814     long result;
2815     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2816     return result;
2817 }
2818 
2819 void DefaultWebOptions::SetBrowserLevel(long nNewValue)
2820 {
2821     static BYTE parms[] =
2822         VTS_I4;
2823     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2824         nNewValue);
2825 }
2826 
2827 BOOL DefaultWebOptions::GetRelyOnCSS()
2828 {
2829     BOOL result;
2830     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2831     return result;
2832 }
2833 
2834 void DefaultWebOptions::SetRelyOnCSS(BOOL bNewValue)
2835 {
2836     static BYTE parms[] =
2837         VTS_BOOL;
2838     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2839         bNewValue);
2840 }
2841 
2842 BOOL DefaultWebOptions::GetOrganizeInFolder()
2843 {
2844     BOOL result;
2845     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2846     return result;
2847 }
2848 
2849 void DefaultWebOptions::SetOrganizeInFolder(BOOL bNewValue)
2850 {
2851     static BYTE parms[] =
2852         VTS_BOOL;
2853     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2854         bNewValue);
2855 }
2856 
2857 BOOL DefaultWebOptions::GetUpdateLinksOnSave()
2858 {
2859     BOOL result;
2860     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2861     return result;
2862 }
2863 
2864 void DefaultWebOptions::SetUpdateLinksOnSave(BOOL bNewValue)
2865 {
2866     static BYTE parms[] =
2867         VTS_BOOL;
2868     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2869         bNewValue);
2870 }
2871 
2872 BOOL DefaultWebOptions::GetUseLongFileNames()
2873 {
2874     BOOL result;
2875     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2876     return result;
2877 }
2878 
2879 void DefaultWebOptions::SetUseLongFileNames(BOOL bNewValue)
2880 {
2881     static BYTE parms[] =
2882         VTS_BOOL;
2883     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2884         bNewValue);
2885 }
2886 
2887 BOOL DefaultWebOptions::GetCheckIfOfficeIsHTMLEditor()
2888 {
2889     BOOL result;
2890     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2891     return result;
2892 }
2893 
2894 void DefaultWebOptions::SetCheckIfOfficeIsHTMLEditor(BOOL bNewValue)
2895 {
2896     static BYTE parms[] =
2897         VTS_BOOL;
2898     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2899         bNewValue);
2900 }
2901 
2902 BOOL DefaultWebOptions::GetCheckIfWordIsDefaultHTMLEditor()
2903 {
2904     BOOL result;
2905     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2906     return result;
2907 }
2908 
2909 void DefaultWebOptions::SetCheckIfWordIsDefaultHTMLEditor(BOOL bNewValue)
2910 {
2911     static BYTE parms[] =
2912         VTS_BOOL;
2913     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2914         bNewValue);
2915 }
2916 
2917 BOOL DefaultWebOptions::GetRelyOnVML()
2918 {
2919     BOOL result;
2920     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2921     return result;
2922 }
2923 
2924 void DefaultWebOptions::SetRelyOnVML(BOOL bNewValue)
2925 {
2926     static BYTE parms[] =
2927         VTS_BOOL;
2928     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2929         bNewValue);
2930 }
2931 
2932 BOOL DefaultWebOptions::GetAllowPNG()
2933 {
2934     BOOL result;
2935     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2936     return result;
2937 }
2938 
2939 void DefaultWebOptions::SetAllowPNG(BOOL bNewValue)
2940 {
2941     static BYTE parms[] =
2942         VTS_BOOL;
2943     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2944         bNewValue);
2945 }
2946 
2947 long DefaultWebOptions::GetScreenSize()
2948 {
2949     long result;
2950     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2951     return result;
2952 }
2953 
2954 void DefaultWebOptions::SetScreenSize(long nNewValue)
2955 {
2956     static BYTE parms[] =
2957         VTS_I4;
2958     InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2959         nNewValue);
2960 }
2961 
2962 long DefaultWebOptions::GetPixelsPerInch()
2963 {
2964     long result;
2965     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2966     return result;
2967 }
2968 
2969 void DefaultWebOptions::SetPixelsPerInch(long nNewValue)
2970 {
2971     static BYTE parms[] =
2972         VTS_I4;
2973     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2974         nNewValue);
2975 }
2976 
2977 long DefaultWebOptions::GetEncoding()
2978 {
2979     long result;
2980     InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2981     return result;
2982 }
2983 
2984 void DefaultWebOptions::SetEncoding(long nNewValue)
2985 {
2986     static BYTE parms[] =
2987         VTS_I4;
2988     InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2989         nNewValue);
2990 }
2991 
2992 BOOL DefaultWebOptions::GetAlwaysSaveInDefaultEncoding()
2993 {
2994     BOOL result;
2995     InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2996     return result;
2997 }
2998 
2999 void DefaultWebOptions::SetAlwaysSaveInDefaultEncoding(BOOL bNewValue)
3000 {
3001     static BYTE parms[] =
3002         VTS_BOOL;
3003     InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3004         bNewValue);
3005 }
3006 
3007 LPDISPATCH DefaultWebOptions::GetFonts()
3008 {
3009     LPDISPATCH result;
3010     InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3011     return result;
3012 }
3013 
3014 CString DefaultWebOptions::GetFolderSuffix()
3015 {
3016     CString result;
3017     InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3018     return result;
3019 }
3020 
3021 long DefaultWebOptions::GetTargetBrowser()
3022 {
3023     long result;
3024     InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3025     return result;
3026 }
3027 
3028 void DefaultWebOptions::SetTargetBrowser(long nNewValue)
3029 {
3030     static BYTE parms[] =
3031         VTS_I4;
3032     InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3033         nNewValue);
3034 }
3035 
3036 BOOL DefaultWebOptions::GetSaveNewWebPagesAsWebArchives()
3037 {
3038     BOOL result;
3039     InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3040     return result;
3041 }
3042 
3043 void DefaultWebOptions::SetSaveNewWebPagesAsWebArchives(BOOL bNewValue)
3044 {
3045     static BYTE parms[] =
3046         VTS_BOOL;
3047     InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3048         bNewValue);
3049 }
3050 
3051 
3052 /////////////////////////////////////////////////////////////////////////////
3053 // WebOptions properties
3054 
3055 /////////////////////////////////////////////////////////////////////////////
3056 // WebOptions operations
3057 
3058 LPDISPATCH WebOptions::GetApplication()
3059 {
3060     LPDISPATCH result;
3061     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3062     return result;
3063 }
3064 
3065 long WebOptions::GetCreator()
3066 {
3067     long result;
3068     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3069     return result;
3070 }
3071 
3072 LPDISPATCH WebOptions::GetParent()
3073 {
3074     LPDISPATCH result;
3075     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3076     return result;
3077 }
3078 
3079 BOOL WebOptions::GetOptimizeForBrowser()
3080 {
3081     BOOL result;
3082     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3083     return result;
3084 }
3085 
3086 void WebOptions::SetOptimizeForBrowser(BOOL bNewValue)
3087 {
3088     static BYTE parms[] =
3089         VTS_BOOL;
3090     InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3091         bNewValue);
3092 }
3093 
3094 long WebOptions::GetBrowserLevel()
3095 {
3096     long result;
3097     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3098     return result;
3099 }
3100 
3101 void WebOptions::SetBrowserLevel(long nNewValue)
3102 {
3103     static BYTE parms[] =
3104         VTS_I4;
3105     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3106         nNewValue);
3107 }
3108 
3109 BOOL WebOptions::GetRelyOnCSS()
3110 {
3111     BOOL result;
3112     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3113     return result;
3114 }
3115 
3116 void WebOptions::SetRelyOnCSS(BOOL bNewValue)
3117 {
3118     static BYTE parms[] =
3119         VTS_BOOL;
3120     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3121         bNewValue);
3122 }
3123 
3124 BOOL WebOptions::GetOrganizeInFolder()
3125 {
3126     BOOL result;
3127     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3128     return result;
3129 }
3130 
3131 void WebOptions::SetOrganizeInFolder(BOOL bNewValue)
3132 {
3133     static BYTE parms[] =
3134         VTS_BOOL;
3135     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3136         bNewValue);
3137 }
3138 
3139 BOOL WebOptions::GetUseLongFileNames()
3140 {
3141     BOOL result;
3142     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3143     return result;
3144 }
3145 
3146 void WebOptions::SetUseLongFileNames(BOOL bNewValue)
3147 {
3148     static BYTE parms[] =
3149         VTS_BOOL;
3150     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3151         bNewValue);
3152 }
3153 
3154 BOOL WebOptions::GetRelyOnVML()
3155 {
3156     BOOL result;
3157     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3158     return result;
3159 }
3160 
3161 void WebOptions::SetRelyOnVML(BOOL bNewValue)
3162 {
3163     static BYTE parms[] =
3164         VTS_BOOL;
3165     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3166         bNewValue);
3167 }
3168 
3169 BOOL WebOptions::GetAllowPNG()
3170 {
3171     BOOL result;
3172     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
3173     return result;
3174 }
3175 
3176 void WebOptions::SetAllowPNG(BOOL bNewValue)
3177 {
3178     static BYTE parms[] =
3179         VTS_BOOL;
3180     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3181         bNewValue);
3182 }
3183 
3184 long WebOptions::GetScreenSize()
3185 {
3186     long result;
3187     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3188     return result;
3189 }
3190 
3191 void WebOptions::SetScreenSize(long nNewValue)
3192 {
3193     static BYTE parms[] =
3194         VTS_I4;
3195     InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3196         nNewValue);
3197 }
3198 
3199 long WebOptions::GetPixelsPerInch()
3200 {
3201     long result;
3202     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3203     return result;
3204 }
3205 
3206 void WebOptions::SetPixelsPerInch(long nNewValue)
3207 {
3208     static BYTE parms[] =
3209         VTS_I4;
3210     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3211         nNewValue);
3212 }
3213 
3214 long WebOptions::GetEncoding()
3215 {
3216     long result;
3217     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3218     return result;
3219 }
3220 
3221 void WebOptions::SetEncoding(long nNewValue)
3222 {
3223     static BYTE parms[] =
3224         VTS_I4;
3225     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3226         nNewValue);
3227 }
3228 
3229 CString WebOptions::GetFolderSuffix()
3230 {
3231     CString result;
3232     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3233     return result;
3234 }
3235 
3236 void WebOptions::UseDefaultFolderSuffix()
3237 {
3238     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3239 }
3240 
3241 long WebOptions::GetTargetBrowser()
3242 {
3243     long result;
3244     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3245     return result;
3246 }
3247 
3248 void WebOptions::SetTargetBrowser(long nNewValue)
3249 {
3250     static BYTE parms[] =
3251         VTS_I4;
3252     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3253         nNewValue);
3254 }
3255 
3256 
3257 /////////////////////////////////////////////////////////////////////////////
3258 // OtherCorrectionsExceptions properties
3259 
3260 /////////////////////////////////////////////////////////////////////////////
3261 // OtherCorrectionsExceptions operations
3262 
3263 LPDISPATCH OtherCorrectionsExceptions::GetApplication()
3264 {
3265     LPDISPATCH result;
3266     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3267     return result;
3268 }
3269 
3270 long OtherCorrectionsExceptions::GetCreator()
3271 {
3272     long result;
3273     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3274     return result;
3275 }
3276 
3277 LPDISPATCH OtherCorrectionsExceptions::GetParent()
3278 {
3279     LPDISPATCH result;
3280     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3281     return result;
3282 }
3283 
3284 LPUNKNOWN OtherCorrectionsExceptions::Get_NewEnum()
3285 {
3286     LPUNKNOWN result;
3287     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3288     return result;
3289 }
3290 
3291 long OtherCorrectionsExceptions::GetCount()
3292 {
3293     long result;
3294     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3295     return result;
3296 }
3297 
3298 LPDISPATCH OtherCorrectionsExceptions::Item(VARIANT* Index)
3299 {
3300     LPDISPATCH result;
3301     static BYTE parms[] =
3302         VTS_PVARIANT;
3303     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3304         Index);
3305     return result;
3306 }
3307 
3308 LPDISPATCH OtherCorrectionsExceptions::Add(LPCTSTR Name)
3309 {
3310     LPDISPATCH result;
3311     static BYTE parms[] =
3312         VTS_BSTR;
3313     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3314         Name);
3315     return result;
3316 }
3317 
3318 
3319 /////////////////////////////////////////////////////////////////////////////
3320 // OtherCorrectionsException properties
3321 
3322 /////////////////////////////////////////////////////////////////////////////
3323 // OtherCorrectionsException operations
3324 
3325 LPDISPATCH OtherCorrectionsException::GetApplication()
3326 {
3327     LPDISPATCH result;
3328     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3329     return result;
3330 }
3331 
3332 long OtherCorrectionsException::GetCreator()
3333 {
3334     long result;
3335     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3336     return result;
3337 }
3338 
3339 LPDISPATCH OtherCorrectionsException::GetParent()
3340 {
3341     LPDISPATCH result;
3342     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3343     return result;
3344 }
3345 
3346 long OtherCorrectionsException::GetIndex()
3347 {
3348     long result;
3349     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3350     return result;
3351 }
3352 
3353 CString OtherCorrectionsException::GetName()
3354 {
3355     CString result;
3356     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3357     return result;
3358 }
3359 
3360 void OtherCorrectionsException::Delete()
3361 {
3362     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3363 }
3364 
3365 
3366 /////////////////////////////////////////////////////////////////////////////
3367 // EmailSignatureEntries properties
3368 
3369 /////////////////////////////////////////////////////////////////////////////
3370 // EmailSignatureEntries operations
3371 
3372 LPDISPATCH EmailSignatureEntries::GetApplication()
3373 {
3374     LPDISPATCH result;
3375     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3376     return result;
3377 }
3378 
3379 long EmailSignatureEntries::GetCreator()
3380 {
3381     long result;
3382     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3383     return result;
3384 }
3385 
3386 LPDISPATCH EmailSignatureEntries::GetParent()
3387 {
3388     LPDISPATCH result;
3389     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3390     return result;
3391 }
3392 
3393 LPUNKNOWN EmailSignatureEntries::Get_NewEnum()
3394 {
3395     LPUNKNOWN result;
3396     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3397     return result;
3398 }
3399 
3400 long EmailSignatureEntries::GetCount()
3401 {
3402     long result;
3403     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3404     return result;
3405 }
3406 
3407 LPDISPATCH EmailSignatureEntries::Item(VARIANT* Index)
3408 {
3409     LPDISPATCH result;
3410     static BYTE parms[] =
3411         VTS_PVARIANT;
3412     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3413         Index);
3414     return result;
3415 }
3416 
3417 LPDISPATCH EmailSignatureEntries::Add(LPCTSTR Name, LPDISPATCH Range)
3418 {
3419     LPDISPATCH result;
3420     static BYTE parms[] =
3421         VTS_BSTR VTS_DISPATCH;
3422     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3423         Name, Range);
3424     return result;
3425 }
3426 
3427 
3428 /////////////////////////////////////////////////////////////////////////////
3429 // EmailSignatureEntry properties
3430 
3431 /////////////////////////////////////////////////////////////////////////////
3432 // EmailSignatureEntry operations
3433 
3434 LPDISPATCH EmailSignatureEntry::GetApplication()
3435 {
3436     LPDISPATCH result;
3437     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3438     return result;
3439 }
3440 
3441 long EmailSignatureEntry::GetCreator()
3442 {
3443     long result;
3444     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3445     return result;
3446 }
3447 
3448 LPDISPATCH EmailSignatureEntry::GetParent()
3449 {
3450     LPDISPATCH result;
3451     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3452     return result;
3453 }
3454 
3455 long EmailSignatureEntry::GetIndex()
3456 {
3457     long result;
3458     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3459     return result;
3460 }
3461 
3462 CString EmailSignatureEntry::GetName()
3463 {
3464     CString result;
3465     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3466     return result;
3467 }
3468 
3469 void EmailSignatureEntry::SetName(LPCTSTR lpszNewValue)
3470 {
3471     static BYTE parms[] =
3472         VTS_BSTR;
3473     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3474         lpszNewValue);
3475 }
3476 
3477 void EmailSignatureEntry::Delete()
3478 {
3479     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3480 }
3481 
3482 
3483 /////////////////////////////////////////////////////////////////////////////
3484 // HTMLDivision properties
3485 
3486 /////////////////////////////////////////////////////////////////////////////
3487 // HTMLDivision operations
3488 
3489 LPDISPATCH HTMLDivision::GetApplication()
3490 {
3491     LPDISPATCH result;
3492     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3493     return result;
3494 }
3495 
3496 long HTMLDivision::GetCreator()
3497 {
3498     long result;
3499     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3500     return result;
3501 }
3502 
3503 LPDISPATCH HTMLDivision::GetParent()
3504 {
3505     LPDISPATCH result;
3506     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3507     return result;
3508 }
3509 
3510 LPDISPATCH HTMLDivision::GetRange()
3511 {
3512     LPDISPATCH result;
3513     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3514     return result;
3515 }
3516 
3517 LPDISPATCH HTMLDivision::GetBorders()
3518 {
3519     LPDISPATCH result;
3520     InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3521     return result;
3522 }
3523 
3524 float HTMLDivision::GetLeftIndent()
3525 {
3526     float result;
3527     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3528     return result;
3529 }
3530 
3531 void HTMLDivision::SetLeftIndent(float newValue)
3532 {
3533     static BYTE parms[] =
3534         VTS_R4;
3535     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3536         newValue);
3537 }
3538 
3539 float HTMLDivision::GetRightIndent()
3540 {
3541     float result;
3542     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3543     return result;
3544 }
3545 
3546 void HTMLDivision::SetRightIndent(float newValue)
3547 {
3548     static BYTE parms[] =
3549         VTS_R4;
3550     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3551         newValue);
3552 }
3553 
3554 float HTMLDivision::GetSpaceBefore()
3555 {
3556     float result;
3557     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3558     return result;
3559 }
3560 
3561 void HTMLDivision::SetSpaceBefore(float newValue)
3562 {
3563     static BYTE parms[] =
3564         VTS_R4;
3565     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3566         newValue);
3567 }
3568 
3569 float HTMLDivision::GetSpaceAfter()
3570 {
3571     float result;
3572     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
3573     return result;
3574 }
3575 
3576 void HTMLDivision::SetSpaceAfter(float newValue)
3577 {
3578     static BYTE parms[] =
3579         VTS_R4;
3580     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3581         newValue);
3582 }
3583 
3584 LPDISPATCH HTMLDivision::GetHTMLDivisions()
3585 {
3586     LPDISPATCH result;
3587     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3588     return result;
3589 }
3590 
3591 LPDISPATCH HTMLDivision::HTMLDivisionParent(VARIANT* LevelsUp)
3592 {
3593     LPDISPATCH result;
3594     static BYTE parms[] =
3595         VTS_PVARIANT;
3596     InvokeHelper(0x8, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3597         LevelsUp);
3598     return result;
3599 }
3600 
3601 void HTMLDivision::Delete()
3602 {
3603     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3604 }
3605 
3606 
3607 /////////////////////////////////////////////////////////////////////////////
3608 // HTMLDivisions properties
3609 
3610 /////////////////////////////////////////////////////////////////////////////
3611 // HTMLDivisions operations
3612 
3613 LPDISPATCH HTMLDivisions::GetApplication()
3614 {
3615     LPDISPATCH result;
3616     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3617     return result;
3618 }
3619 
3620 long HTMLDivisions::GetCreator()
3621 {
3622     long result;
3623     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3624     return result;
3625 }
3626 
3627 LPDISPATCH HTMLDivisions::GetParent()
3628 {
3629     LPDISPATCH result;
3630     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3631     return result;
3632 }
3633 
3634 LPUNKNOWN HTMLDivisions::Get_NewEnum()
3635 {
3636     LPUNKNOWN result;
3637     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3638     return result;
3639 }
3640 
3641 long HTMLDivisions::GetCount()
3642 {
3643     long result;
3644     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3645     return result;
3646 }
3647 
3648 long HTMLDivisions::GetNestingLevel()
3649 {
3650     long result;
3651     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3652     return result;
3653 }
3654 
3655 LPDISPATCH HTMLDivisions::Add(VARIANT* Range)
3656 {
3657     LPDISPATCH result;
3658     static BYTE parms[] =
3659         VTS_PVARIANT;
3660     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3661         Range);
3662     return result;
3663 }
3664 
3665 LPDISPATCH HTMLDivisions::Item(long Index)
3666 {
3667     LPDISPATCH result;
3668     static BYTE parms[] =
3669         VTS_I4;
3670     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3671         Index);
3672     return result;
3673 }
3674 
3675 
3676 /////////////////////////////////////////////////////////////////////////////
3677 // DiagramNode properties
3678 
3679 /////////////////////////////////////////////////////////////////////////////
3680 // DiagramNode operations
3681 
3682 LPDISPATCH DiagramNode::GetApplication()
3683 {
3684     LPDISPATCH result;
3685     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3686     return result;
3687 }
3688 
3689 long DiagramNode::GetCreator()
3690 {
3691     long result;
3692     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3693     return result;
3694 }
3695 
3696 LPDISPATCH DiagramNode::GetParent()
3697 {
3698     LPDISPATCH result;
3699     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3700     return result;
3701 }
3702 
3703 LPDISPATCH DiagramNode::GetChildren()
3704 {
3705     LPDISPATCH result;
3706     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3707     return result;
3708 }
3709 
3710 LPDISPATCH DiagramNode::GetShape()
3711 {
3712     LPDISPATCH result;
3713     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3714     return result;
3715 }
3716 
3717 LPDISPATCH DiagramNode::GetRoot()
3718 {
3719     LPDISPATCH result;
3720     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3721     return result;
3722 }
3723 
3724 LPDISPATCH DiagramNode::GetDiagram()
3725 {
3726     LPDISPATCH result;
3727     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3728     return result;
3729 }
3730 
3731 long DiagramNode::GetLayout()
3732 {
3733     long result;
3734     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3735     return result;
3736 }
3737 
3738 void DiagramNode::SetLayout(long nNewValue)
3739 {
3740     static BYTE parms[] =
3741         VTS_I4;
3742     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3743         nNewValue);
3744 }
3745 
3746 LPDISPATCH DiagramNode::GetTextShape()
3747 {
3748     LPDISPATCH result;
3749     InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3750     return result;
3751 }
3752 
3753 LPDISPATCH DiagramNode::AddNode(long Pos, long NodeType)
3754 {
3755     LPDISPATCH result;
3756     static BYTE parms[] =
3757         VTS_I4 VTS_I4;
3758     InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3759         Pos, NodeType);
3760     return result;
3761 }
3762 
3763 void DiagramNode::Delete()
3764 {
3765     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3766 }
3767 
3768 void DiagramNode::MoveNode(LPDISPATCH* TargetNode, long Pos)
3769 {
3770     static BYTE parms[] =
3771         VTS_PDISPATCH VTS_I4;
3772     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3773         TargetNode, Pos);
3774 }
3775 
3776 void DiagramNode::ReplaceNode(LPDISPATCH* TargetNode)
3777 {
3778     static BYTE parms[] =
3779         VTS_PDISPATCH;
3780     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3781         TargetNode);
3782 }
3783 
3784 void DiagramNode::SwapNode(LPDISPATCH* TargetNode, long Pos)
3785 {
3786     static BYTE parms[] =
3787         VTS_PDISPATCH VTS_I4;
3788     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3789         TargetNode, Pos);
3790 }
3791 
3792 LPDISPATCH DiagramNode::CloneNode(BOOL copyChildren, LPDISPATCH* TargetNode, long Pos)
3793 {
3794     LPDISPATCH result;
3795     static BYTE parms[] =
3796         VTS_BOOL VTS_PDISPATCH VTS_I4;
3797     InvokeHelper(0xf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3798         copyChildren, TargetNode, Pos);
3799     return result;
3800 }
3801 
3802 void DiagramNode::TransferChildren(LPDISPATCH* ReceivingNode)
3803 {
3804     static BYTE parms[] =
3805         VTS_PDISPATCH;
3806     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3807         ReceivingNode);
3808 }
3809 
3810 LPDISPATCH DiagramNode::NextNode()
3811 {
3812     LPDISPATCH result;
3813     InvokeHelper(0x11, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3814     return result;
3815 }
3816 
3817 LPDISPATCH DiagramNode::PrevNode()
3818 {
3819     LPDISPATCH result;
3820     InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
3821     return result;
3822 }
3823 
3824 
3825 /////////////////////////////////////////////////////////////////////////////
3826 // DiagramNodeChildren properties
3827 
3828 /////////////////////////////////////////////////////////////////////////////
3829 // DiagramNodeChildren operations
3830 
3831 LPDISPATCH DiagramNodeChildren::GetApplication()
3832 {
3833     LPDISPATCH result;
3834     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3835     return result;
3836 }
3837 
3838 long DiagramNodeChildren::GetCreator()
3839 {
3840     long result;
3841     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3842     return result;
3843 }
3844 
3845 LPUNKNOWN DiagramNodeChildren::Get_NewEnum()
3846 {
3847     LPUNKNOWN result;
3848     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3849     return result;
3850 }
3851 
3852 LPDISPATCH DiagramNodeChildren::GetParent()
3853 {
3854     LPDISPATCH result;
3855     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3856     return result;
3857 }
3858 
3859 long DiagramNodeChildren::GetCount()
3860 {
3861     long result;
3862     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3863     return result;
3864 }
3865 
3866 LPDISPATCH DiagramNodeChildren::GetFirstChild()
3867 {
3868     LPDISPATCH result;
3869     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3870     return result;
3871 }
3872 
3873 LPDISPATCH DiagramNodeChildren::GetLastChild()
3874 {
3875     LPDISPATCH result;
3876     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3877     return result;
3878 }
3879 
3880 LPDISPATCH DiagramNodeChildren::Item(VARIANT* Index)
3881 {
3882     LPDISPATCH result;
3883     static BYTE parms[] =
3884         VTS_PVARIANT;
3885     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3886         Index);
3887     return result;
3888 }
3889 
3890 LPDISPATCH DiagramNodeChildren::AddNode(VARIANT* Index, long NodeType)
3891 {
3892     LPDISPATCH result;
3893     static BYTE parms[] =
3894         VTS_PVARIANT VTS_I4;
3895     InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3896         Index, NodeType);
3897     return result;
3898 }
3899 
3900 void DiagramNodeChildren::SelectAll()
3901 {
3902     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3903 }
3904 
3905 
3906 /////////////////////////////////////////////////////////////////////////////
3907 // DiagramNodes properties
3908 
3909 /////////////////////////////////////////////////////////////////////////////
3910 // DiagramNodes operations
3911 
3912 LPDISPATCH DiagramNodes::GetApplication()
3913 {
3914     LPDISPATCH result;
3915     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3916     return result;
3917 }
3918 
3919 long DiagramNodes::GetCreator()
3920 {
3921     long result;
3922     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3923     return result;
3924 }
3925 
3926 LPUNKNOWN DiagramNodes::Get_NewEnum()
3927 {
3928     LPUNKNOWN result;
3929     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3930     return result;
3931 }
3932 
3933 LPDISPATCH DiagramNodes::GetParent()
3934 {
3935     LPDISPATCH result;
3936     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3937     return result;
3938 }
3939 
3940 long DiagramNodes::GetCount()
3941 {
3942     long result;
3943     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3944     return result;
3945 }
3946 
3947 LPDISPATCH DiagramNodes::Item(VARIANT* Index)
3948 {
3949     LPDISPATCH result;
3950     static BYTE parms[] =
3951         VTS_PVARIANT;
3952     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3953         Index);
3954     return result;
3955 }
3956 
3957 void DiagramNodes::SelectAll()
3958 {
3959     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3960 }
3961 
3962 
3963 /////////////////////////////////////////////////////////////////////////////
3964 // Diagram properties
3965 
3966 /////////////////////////////////////////////////////////////////////////////
3967 // Diagram operations
3968 
3969 LPDISPATCH Diagram::GetApplication()
3970 {
3971     LPDISPATCH result;
3972     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3973     return result;
3974 }
3975 
3976 long Diagram::GetCreator()
3977 {
3978     long result;
3979     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3980     return result;
3981 }
3982 
3983 LPDISPATCH Diagram::GetParent()
3984 {
3985     LPDISPATCH result;
3986     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3987     return result;
3988 }
3989 
3990 LPDISPATCH Diagram::GetNodes()
3991 {
3992     LPDISPATCH result;
3993     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3994     return result;
3995 }
3996 
3997 long Diagram::GetType()
3998 {
3999     long result;
4000     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4001     return result;
4002 }
4003 
4004 long Diagram::GetAutoLayout()
4005 {
4006     long result;
4007     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4008     return result;
4009 }
4010 
4011 void Diagram::SetAutoLayout(long nNewValue)
4012 {
4013     static BYTE parms[] =
4014         VTS_I4;
4015     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4016         nNewValue);
4017 }
4018 
4019 long Diagram::GetReverse()
4020 {
4021     long result;
4022     InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4023     return result;
4024 }
4025 
4026 void Diagram::SetReverse(long nNewValue)
4027 {
4028     static BYTE parms[] =
4029         VTS_I4;
4030     InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4031         nNewValue);
4032 }
4033 
4034 long Diagram::GetAutoFormat()
4035 {
4036     long result;
4037     InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4038     return result;
4039 }
4040 
4041 void Diagram::SetAutoFormat(long nNewValue)
4042 {
4043     static BYTE parms[] =
4044         VTS_I4;
4045     InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4046         nNewValue);
4047 }
4048 
4049 void Diagram::Convert(long Type)
4050 {
4051     static BYTE parms[] =
4052         VTS_I4;
4053     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4054         Type);
4055 }
4056 
4057 void Diagram::FitText()
4058 {
4059     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4060 }
4061 
4062 
4063 /////////////////////////////////////////////////////////////////////////////
4064 // CustomProperty properties
4065 
4066 /////////////////////////////////////////////////////////////////////////////
4067 // CustomProperty operations
4068 
4069 CString CustomProperty::GetName()
4070 {
4071     CString result;
4072     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4073     return result;
4074 }
4075 
4076 CString CustomProperty::GetValue()
4077 {
4078     CString result;
4079     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4080     return result;
4081 }
4082 
4083 void CustomProperty::SetValue(LPCTSTR lpszNewValue)
4084 {
4085     static BYTE parms[] =
4086         VTS_BSTR;
4087     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4088         lpszNewValue);
4089 }
4090 
4091 LPDISPATCH CustomProperty::GetApplication()
4092 {
4093     LPDISPATCH result;
4094     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4095     return result;
4096 }
4097 
4098 long CustomProperty::GetCreator()
4099 {
4100     long result;
4101     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4102     return result;
4103 }
4104 
4105 LPDISPATCH CustomProperty::GetParent()
4106 {
4107     LPDISPATCH result;
4108     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4109     return result;
4110 }
4111 
4112 void CustomProperty::Delete()
4113 {
4114     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4115 }
4116 
4117 
4118 /////////////////////////////////////////////////////////////////////////////
4119 // CustomProperties properties
4120 
4121 /////////////////////////////////////////////////////////////////////////////
4122 // CustomProperties operations
4123 
4124 LPUNKNOWN CustomProperties::Get_NewEnum()
4125 {
4126     LPUNKNOWN result;
4127     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4128     return result;
4129 }
4130 
4131 long CustomProperties::GetCount()
4132 {
4133     long result;
4134     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4135     return result;
4136 }
4137 
4138 LPDISPATCH CustomProperties::GetApplication()
4139 {
4140     LPDISPATCH result;
4141     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4142     return result;
4143 }
4144 
4145 long CustomProperties::GetCreator()
4146 {
4147     long result;
4148     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4149     return result;
4150 }
4151 
4152 LPDISPATCH CustomProperties::GetParent()
4153 {
4154     LPDISPATCH result;
4155     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4156     return result;
4157 }
4158 
4159 LPDISPATCH CustomProperties::Item(VARIANT* Index)
4160 {
4161     LPDISPATCH result;
4162     static BYTE parms[] =
4163         VTS_PVARIANT;
4164     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4165         Index);
4166     return result;
4167 }
4168 
4169 LPDISPATCH CustomProperties::Add(LPCTSTR Name, LPCTSTR Value)
4170 {
4171     LPDISPATCH result;
4172     static BYTE parms[] =
4173         VTS_BSTR VTS_BSTR;
4174     InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4175         Name, Value);
4176     return result;
4177 }
4178 
4179 
4180 /////////////////////////////////////////////////////////////////////////////
4181 // SmartTag properties
4182 
4183 /////////////////////////////////////////////////////////////////////////////
4184 // SmartTag operations
4185 
4186 CString SmartTag::GetName()
4187 {
4188     CString result;
4189     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4190     return result;
4191 }
4192 
4193 CString SmartTag::GetXml()
4194 {
4195     CString result;
4196     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4197     return result;
4198 }
4199 
4200 LPDISPATCH SmartTag::GetRange()
4201 {
4202     LPDISPATCH result;
4203     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4204     return result;
4205 }
4206 
4207 CString SmartTag::GetDownloadURL()
4208 {
4209     CString result;
4210     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4211     return result;
4212 }
4213 
4214 LPDISPATCH SmartTag::GetProperties()
4215 {
4216     LPDISPATCH result;
4217     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4218     return result;
4219 }
4220 
4221 LPDISPATCH SmartTag::GetApplication()
4222 {
4223     LPDISPATCH result;
4224     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4225     return result;
4226 }
4227 
4228 long SmartTag::GetCreator()
4229 {
4230     long result;
4231     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4232     return result;
4233 }
4234 
4235 LPDISPATCH SmartTag::GetParent()
4236 {
4237     LPDISPATCH result;
4238     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4239     return result;
4240 }
4241 
4242 void SmartTag::Select()
4243 {
4244     InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4245 }
4246 
4247 void SmartTag::Delete()
4248 {
4249     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4250 }
4251 
4252 LPDISPATCH SmartTag::GetSmartTagActions()
4253 {
4254     LPDISPATCH result;
4255     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4256     return result;
4257 }
4258 
4259 LPDISPATCH SmartTag::GetXMLNode()
4260 {
4261     LPDISPATCH result;
4262     InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4263     return result;
4264 }
4265 
4266 
4267 /////////////////////////////////////////////////////////////////////////////
4268 // SmartTags properties
4269 
4270 /////////////////////////////////////////////////////////////////////////////
4271 // SmartTags operations
4272 
4273 LPUNKNOWN SmartTags::Get_NewEnum()
4274 {
4275     LPUNKNOWN result;
4276     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
4277     return result;
4278 }
4279 
4280 long SmartTags::GetCount()
4281 {
4282     long result;
4283     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4284     return result;
4285 }
4286 
4287 LPDISPATCH SmartTags::GetApplication()
4288 {
4289     LPDISPATCH result;
4290     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4291     return result;
4292 }
4293 
4294 long SmartTags::GetCreator()
4295 {
4296     long result;
4297     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4298     return result;
4299 }
4300 
4301 LPDISPATCH SmartTags::GetParent()
4302 {
4303     LPDISPATCH result;
4304     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4305     return result;
4306 }
4307 
4308 LPDISPATCH SmartTags::Item(VARIANT* Index)
4309 {
4310     LPDISPATCH result;
4311     static BYTE parms[] =
4312         VTS_PVARIANT;
4313     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4314         Index);
4315     return result;
4316 }
4317 
4318 LPDISPATCH SmartTags::Add(LPCTSTR Name, VARIANT* Range, VARIANT* Properties)
4319 {
4320     LPDISPATCH result;
4321     static BYTE parms[] =
4322         VTS_BSTR VTS_PVARIANT VTS_PVARIANT;
4323     InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4324         Name, Range, Properties);
4325     return result;
4326 }
4327 
4328 LPDISPATCH SmartTags::SmartTagsByType(LPCTSTR Name)
4329 {
4330     LPDISPATCH result;
4331     static BYTE parms[] =
4332         VTS_BSTR;
4333     InvokeHelper(0x3eb, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
4334         Name);
4335     return result;
4336 }
4337 
4338 
4339 /////////////////////////////////////////////////////////////////////////////
4340 // StyleSheet properties
4341 
4342 /////////////////////////////////////////////////////////////////////////////
4343 // StyleSheet operations
4344 
4345 LPDISPATCH StyleSheet::GetApplication()
4346 {
4347     LPDISPATCH result;
4348     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4349     return result;
4350 }
4351 
4352 long StyleSheet::GetCreator()
4353 {
4354     long result;
4355     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4356     return result;
4357 }
4358 
4359 LPDISPATCH StyleSheet::GetParent()
4360 {
4361     LPDISPATCH result;
4362     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
4363     return result;
4364 }
4365 
4366 CString StyleSheet::GetFullName()
4367 {
4368     CString result;
4369     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4370     return result;
4371 }
4372 
4373 long StyleSheet::GetIndex()
4374 {
4375     long result;
4376     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4377     return result;
4378 }
4379 
4380 CString StyleSheet::GetName()
4381 {
4382     CString result;
4383     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4384     return result;
4385 }
4386 
4387 CString StyleSheet::GetPath()
4388 {
4389     CString result;
4390     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4391     return result;
4392 }
4393 
4394 long StyleSheet::GetType()
4395 {
4396     long result;
4397     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
4398     return result;
4399 }
4400 
4401 void StyleSheet::SetType(long nNewValue)
4402 {
4403     static BYTE parms[] =
4404         VTS_I4;
4405     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4406         nNewValue);
4407 }
4408 
4409 CString StyleSheet::GetTitle()
4410 {
4411     CString result;
4412     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
4413     return result;
4414 }
4415 
4416 void StyleSheet::SetTitle(LPCTSTR lpszNewValue)
4417 {
4418     static BYTE parms[] =
4419         VTS_BSTR;
4420     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
4421         lpszNewValue);
4422 }
4423 
4424 void StyleSheet::Move(long Precedence)
4425 {
4426     static BYTE parms[] =
4427         VTS_I4;
4428     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
4429         Precedence);
4430 }
4431 
4432 void StyleSheet::Delete()
4433 {
4434     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
4435 }
View Code

9

   1 /////////////////////////////////////////////////////////////////////////////
   2 // StyleSheets properties
   3 
   4 /////////////////////////////////////////////////////////////////////////////
   5 // StyleSheets operations
   6 
   7 LPDISPATCH StyleSheets::GetApplication()
   8 {
   9     LPDISPATCH result;
  10     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  11     return result;
  12 }
  13 
  14 long StyleSheets::GetCreator()
  15 {
  16     long result;
  17     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  18     return result;
  19 }
  20 
  21 LPDISPATCH StyleSheets::GetParent()
  22 {
  23     LPDISPATCH result;
  24     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  25     return result;
  26 }
  27 
  28 LPUNKNOWN StyleSheets::Get_NewEnum()
  29 {
  30     LPUNKNOWN result;
  31     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
  32     return result;
  33 }
  34 
  35 long StyleSheets::GetCount()
  36 {
  37     long result;
  38     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  39     return result;
  40 }
  41 
  42 LPDISPATCH StyleSheets::Item(VARIANT* Index)
  43 {
  44     LPDISPATCH result;
  45     static BYTE parms[] =
  46         VTS_PVARIANT;
  47     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  48         Index);
  49     return result;
  50 }
  51 
  52 LPDISPATCH StyleSheets::Add(LPCTSTR FileName, long LinkType, LPCTSTR Title, long Precedence)
  53 {
  54     LPDISPATCH result;
  55     static BYTE parms[] =
  56         VTS_BSTR VTS_I4 VTS_BSTR VTS_I4;
  57     InvokeHelper(0x2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
  58         FileName, LinkType, Title, Precedence);
  59     return result;
  60 }
  61 
  62 
  63 /////////////////////////////////////////////////////////////////////////////
  64 // MappedDataField properties
  65 
  66 /////////////////////////////////////////////////////////////////////////////
  67 // MappedDataField operations
  68 
  69 LPDISPATCH MappedDataField::GetApplication()
  70 {
  71     LPDISPATCH result;
  72     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  73     return result;
  74 }
  75 
  76 long MappedDataField::GetCreator()
  77 {
  78     long result;
  79     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  80     return result;
  81 }
  82 
  83 LPDISPATCH MappedDataField::GetParent()
  84 {
  85     LPDISPATCH result;
  86     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
  87     return result;
  88 }
  89 
  90 long MappedDataField::GetIndex()
  91 {
  92     long result;
  93     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  94     return result;
  95 }
  96 
  97 CString MappedDataField::GetDataFieldName()
  98 {
  99     CString result;
 100     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 101     return result;
 102 }
 103 
 104 CString MappedDataField::GetName()
 105 {
 106     CString result;
 107     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 108     return result;
 109 }
 110 
 111 CString MappedDataField::GetValue()
 112 {
 113     CString result;
 114     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
 115     return result;
 116 }
 117 
 118 long MappedDataField::GetDataFieldIndex()
 119 {
 120     long result;
 121     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 122     return result;
 123 }
 124 
 125 void MappedDataField::SetDataFieldIndex(long nNewValue)
 126 {
 127     static BYTE parms[] =
 128         VTS_I4;
 129     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 130         nNewValue);
 131 }
 132 
 133 
 134 /////////////////////////////////////////////////////////////////////////////
 135 // MappedDataFields properties
 136 
 137 /////////////////////////////////////////////////////////////////////////////
 138 // MappedDataFields operations
 139 
 140 LPDISPATCH MappedDataFields::GetApplication()
 141 {
 142     LPDISPATCH result;
 143     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 144     return result;
 145 }
 146 
 147 long MappedDataFields::GetCreator()
 148 {
 149     long result;
 150     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 151     return result;
 152 }
 153 
 154 LPDISPATCH MappedDataFields::GetParent()
 155 {
 156     LPDISPATCH result;
 157     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 158     return result;
 159 }
 160 
 161 long MappedDataFields::GetCount()
 162 {
 163     long result;
 164     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 165     return result;
 166 }
 167 
 168 LPUNKNOWN MappedDataFields::Get_NewEnum()
 169 {
 170     LPUNKNOWN result;
 171     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 172     return result;
 173 }
 174 
 175 LPDISPATCH MappedDataFields::Item(long Index)
 176 {
 177     LPDISPATCH result;
 178     static BYTE parms[] =
 179         VTS_I4;
 180     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 181         Index);
 182     return result;
 183 }
 184 
 185 
 186 /////////////////////////////////////////////////////////////////////////////
 187 // CanvasShapes properties
 188 
 189 /////////////////////////////////////////////////////////////////////////////
 190 // CanvasShapes operations
 191 
 192 LPDISPATCH CanvasShapes::GetApplication()
 193 {
 194     LPDISPATCH result;
 195     InvokeHelper(0x1f40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 196     return result;
 197 }
 198 
 199 long CanvasShapes::GetCreator()
 200 {
 201     long result;
 202     InvokeHelper(0x1f41, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 203     return result;
 204 }
 205 
 206 LPDISPATCH CanvasShapes::GetParent()
 207 {
 208     LPDISPATCH result;
 209     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 210     return result;
 211 }
 212 
 213 long CanvasShapes::GetCount()
 214 {
 215     long result;
 216     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 217     return result;
 218 }
 219 
 220 LPUNKNOWN CanvasShapes::Get_NewEnum()
 221 {
 222     LPUNKNOWN result;
 223     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 224     return result;
 225 }
 226 
 227 LPDISPATCH CanvasShapes::Item(VARIANT* Index)
 228 {
 229     LPDISPATCH result;
 230     static BYTE parms[] =
 231         VTS_PVARIANT;
 232     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 233         Index);
 234     return result;
 235 }
 236 
 237 LPDISPATCH CanvasShapes::AddCallout(long Type, float Left, float Top, float Width, float Height)
 238 {
 239     LPDISPATCH result;
 240     static BYTE parms[] =
 241         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 242     InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 243         Type, Left, Top, Width, Height);
 244     return result;
 245 }
 246 
 247 LPDISPATCH CanvasShapes::AddConnector(long Type, float BeginX, float BeginY, float EndX, float EndY)
 248 {
 249     LPDISPATCH result;
 250     static BYTE parms[] =
 251         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 252     InvokeHelper(0xb, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 253         Type, BeginX, BeginY, EndX, EndY);
 254     return result;
 255 }
 256 
 257 LPDISPATCH CanvasShapes::AddCurve(VARIANT* SafeArrayOfPoints)
 258 {
 259     LPDISPATCH result;
 260     static BYTE parms[] =
 261         VTS_PVARIANT;
 262     InvokeHelper(0xc, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 263         SafeArrayOfPoints);
 264     return result;
 265 }
 266 
 267 LPDISPATCH CanvasShapes::AddLabel(long Orientation, float Left, float Top, float Width, float Height)
 268 {
 269     LPDISPATCH result;
 270     static BYTE parms[] =
 271         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 272     InvokeHelper(0xd, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 273         Orientation, Left, Top, Width, Height);
 274     return result;
 275 }
 276 
 277 LPDISPATCH CanvasShapes::AddLine(float BeginX, float BeginY, float EndX, float EndY)
 278 {
 279     LPDISPATCH result;
 280     static BYTE parms[] =
 281         VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 282     InvokeHelper(0xe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 283         BeginX, BeginY, EndX, EndY);
 284     return result;
 285 }
 286 
 287 LPDISPATCH CanvasShapes::AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height)
 288 {
 289     LPDISPATCH result;
 290     static BYTE parms[] =
 291         VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
 292     InvokeHelper(0xf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 293         FileName, LinkToFile, SaveWithDocument, Left, Top, Width, Height);
 294     return result;
 295 }
 296 
 297 LPDISPATCH CanvasShapes::AddPolyline(VARIANT* SafeArrayOfPoints)
 298 {
 299     LPDISPATCH result;
 300     static BYTE parms[] =
 301         VTS_PVARIANT;
 302     InvokeHelper(0x10, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 303         SafeArrayOfPoints);
 304     return result;
 305 }
 306 
 307 LPDISPATCH CanvasShapes::AddShape(long Type, float Left, float Top, float Width, float Height)
 308 {
 309     LPDISPATCH result;
 310     static BYTE parms[] =
 311         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 312     InvokeHelper(0x11, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 313         Type, Left, Top, Width, Height);
 314     return result;
 315 }
 316 
 317 LPDISPATCH CanvasShapes::AddTextEffect(long PresetTextEffect, LPCTSTR Text, LPCTSTR FontName, float FontSize, long FontBold, long FontItalic, float Left, float Top)
 318 {
 319     LPDISPATCH result;
 320     static BYTE parms[] =
 321         VTS_I4 VTS_BSTR VTS_BSTR VTS_R4 VTS_I4 VTS_I4 VTS_R4 VTS_R4;
 322     InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 323         PresetTextEffect, Text, FontName, FontSize, FontBold, FontItalic, Left, Top);
 324     return result;
 325 }
 326 
 327 LPDISPATCH CanvasShapes::AddTextbox(long Orientation, float Left, float Top, float Width, float Height)
 328 {
 329     LPDISPATCH result;
 330     static BYTE parms[] =
 331         VTS_I4 VTS_R4 VTS_R4 VTS_R4 VTS_R4;
 332     InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 333         Orientation, Left, Top, Width, Height);
 334     return result;
 335 }
 336 
 337 LPDISPATCH CanvasShapes::BuildFreeform(long EditingType, float X1, float Y1)
 338 {
 339     LPDISPATCH result;
 340     static BYTE parms[] =
 341         VTS_I4 VTS_R4 VTS_R4;
 342     InvokeHelper(0x14, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 343         EditingType, X1, Y1);
 344     return result;
 345 }
 346 
 347 LPDISPATCH CanvasShapes::Range(VARIANT* Index)
 348 {
 349     LPDISPATCH result;
 350     static BYTE parms[] =
 351         VTS_PVARIANT;
 352     InvokeHelper(0x15, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 353         Index);
 354     return result;
 355 }
 356 
 357 void CanvasShapes::SelectAll()
 358 {
 359     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
 360 }
 361 
 362 
 363 /////////////////////////////////////////////////////////////////////////////
 364 // TableStyle properties
 365 
 366 /////////////////////////////////////////////////////////////////////////////
 367 // TableStyle operations
 368 
 369 LPDISPATCH TableStyle::GetApplication()
 370 {
 371     LPDISPATCH result;
 372     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 373     return result;
 374 }
 375 
 376 long TableStyle::GetCreator()
 377 {
 378     long result;
 379     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 380     return result;
 381 }
 382 
 383 LPDISPATCH TableStyle::GetParent()
 384 {
 385     LPDISPATCH result;
 386     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 387     return result;
 388 }
 389 
 390 BOOL TableStyle::GetAllowPageBreaks()
 391 {
 392     BOOL result;
 393     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
 394     return result;
 395 }
 396 
 397 void TableStyle::SetAllowPageBreaks(BOOL bNewValue)
 398 {
 399     static BYTE parms[] =
 400         VTS_BOOL;
 401     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 402         bNewValue);
 403 }
 404 
 405 LPDISPATCH TableStyle::GetBorders()
 406 {
 407     LPDISPATCH result;
 408     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 409     return result;
 410 }
 411 
 412 void TableStyle::SetBorders(LPDISPATCH newValue)
 413 {
 414     static BYTE parms[] =
 415         VTS_DISPATCH;
 416     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 417         newValue);
 418 }
 419 
 420 float TableStyle::GetBottomPadding()
 421 {
 422     float result;
 423     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 424     return result;
 425 }
 426 
 427 void TableStyle::SetBottomPadding(float newValue)
 428 {
 429     static BYTE parms[] =
 430         VTS_R4;
 431     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 432         newValue);
 433 }
 434 
 435 float TableStyle::GetLeftPadding()
 436 {
 437     float result;
 438     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 439     return result;
 440 }
 441 
 442 void TableStyle::SetLeftPadding(float newValue)
 443 {
 444     static BYTE parms[] =
 445         VTS_R4;
 446     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 447         newValue);
 448 }
 449 
 450 float TableStyle::GetTopPadding()
 451 {
 452     float result;
 453     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 454     return result;
 455 }
 456 
 457 void TableStyle::SetTopPadding(float newValue)
 458 {
 459     static BYTE parms[] =
 460         VTS_R4;
 461     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 462         newValue);
 463 }
 464 
 465 float TableStyle::GetRightPadding()
 466 {
 467     float result;
 468     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 469     return result;
 470 }
 471 
 472 void TableStyle::SetRightPadding(float newValue)
 473 {
 474     static BYTE parms[] =
 475         VTS_R4;
 476     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 477         newValue);
 478 }
 479 
 480 long TableStyle::GetAlignment()
 481 {
 482     long result;
 483     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 484     return result;
 485 }
 486 
 487 void TableStyle::SetAlignment(long nNewValue)
 488 {
 489     static BYTE parms[] =
 490         VTS_I4;
 491     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 492         nNewValue);
 493 }
 494 
 495 float TableStyle::GetSpacing()
 496 {
 497     float result;
 498     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 499     return result;
 500 }
 501 
 502 void TableStyle::SetSpacing(float newValue)
 503 {
 504     static BYTE parms[] =
 505         VTS_R4;
 506     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 507         newValue);
 508 }
 509 
 510 LPDISPATCH TableStyle::Condition(long ConditionCode)
 511 {
 512     LPDISPATCH result;
 513     static BYTE parms[] =
 514         VTS_I4;
 515     InvokeHelper(0x10, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 516         ConditionCode);
 517     return result;
 518 }
 519 
 520 long TableStyle::GetTableDirection()
 521 {
 522     long result;
 523     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 524     return result;
 525 }
 526 
 527 void TableStyle::SetTableDirection(long nNewValue)
 528 {
 529     static BYTE parms[] =
 530         VTS_I4;
 531     InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 532         nNewValue);
 533 }
 534 
 535 long TableStyle::GetAllowBreakAcrossPage()
 536 {
 537     long result;
 538     InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 539     return result;
 540 }
 541 
 542 void TableStyle::SetAllowBreakAcrossPage(long nNewValue)
 543 {
 544     static BYTE parms[] =
 545         VTS_I4;
 546     InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 547         nNewValue);
 548 }
 549 
 550 float TableStyle::GetLeftIndent()
 551 {
 552     float result;
 553     InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 554     return result;
 555 }
 556 
 557 void TableStyle::SetLeftIndent(float newValue)
 558 {
 559     static BYTE parms[] =
 560         VTS_R4;
 561     InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 562         newValue);
 563 }
 564 
 565 LPDISPATCH TableStyle::GetShading()
 566 {
 567     LPDISPATCH result;
 568     InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 569     return result;
 570 }
 571 
 572 long TableStyle::GetRowStripe()
 573 {
 574     long result;
 575     InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 576     return result;
 577 }
 578 
 579 void TableStyle::SetRowStripe(long nNewValue)
 580 {
 581     static BYTE parms[] =
 582         VTS_I4;
 583     InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 584         nNewValue);
 585 }
 586 
 587 long TableStyle::GetColumnStripe()
 588 {
 589     long result;
 590     InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 591     return result;
 592 }
 593 
 594 void TableStyle::SetColumnStripe(long nNewValue)
 595 {
 596     static BYTE parms[] =
 597         VTS_I4;
 598     InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 599         nNewValue);
 600 }
 601 
 602 
 603 /////////////////////////////////////////////////////////////////////////////
 604 // ConditionalStyle properties
 605 
 606 /////////////////////////////////////////////////////////////////////////////
 607 // ConditionalStyle operations
 608 
 609 LPDISPATCH ConditionalStyle::GetApplication()
 610 {
 611     LPDISPATCH result;
 612     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 613     return result;
 614 }
 615 
 616 long ConditionalStyle::GetCreator()
 617 {
 618     long result;
 619     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 620     return result;
 621 }
 622 
 623 LPDISPATCH ConditionalStyle::GetParent()
 624 {
 625     LPDISPATCH result;
 626     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 627     return result;
 628 }
 629 
 630 LPDISPATCH ConditionalStyle::GetShading()
 631 {
 632     LPDISPATCH result;
 633     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 634     return result;
 635 }
 636 
 637 LPDISPATCH ConditionalStyle::GetBorders()
 638 {
 639     LPDISPATCH result;
 640     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 641     return result;
 642 }
 643 
 644 void ConditionalStyle::SetBorders(LPDISPATCH newValue)
 645 {
 646     static BYTE parms[] =
 647         VTS_DISPATCH;
 648     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 649         newValue);
 650 }
 651 
 652 float ConditionalStyle::GetBottomPadding()
 653 {
 654     float result;
 655     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 656     return result;
 657 }
 658 
 659 void ConditionalStyle::SetBottomPadding(float newValue)
 660 {
 661     static BYTE parms[] =
 662         VTS_R4;
 663     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 664         newValue);
 665 }
 666 
 667 float ConditionalStyle::GetTopPadding()
 668 {
 669     float result;
 670     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 671     return result;
 672 }
 673 
 674 void ConditionalStyle::SetTopPadding(float newValue)
 675 {
 676     static BYTE parms[] =
 677         VTS_R4;
 678     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 679         newValue);
 680 }
 681 
 682 float ConditionalStyle::GetLeftPadding()
 683 {
 684     float result;
 685     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 686     return result;
 687 }
 688 
 689 void ConditionalStyle::SetLeftPadding(float newValue)
 690 {
 691     static BYTE parms[] =
 692         VTS_R4;
 693     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 694         newValue);
 695 }
 696 
 697 float ConditionalStyle::GetRightPadding()
 698 {
 699     float result;
 700     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
 701     return result;
 702 }
 703 
 704 void ConditionalStyle::SetRightPadding(float newValue)
 705 {
 706     static BYTE parms[] =
 707         VTS_R4;
 708     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 709         newValue);
 710 }
 711 
 712 LPDISPATCH ConditionalStyle::GetParagraphFormat()
 713 {
 714     LPDISPATCH result;
 715     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 716     return result;
 717 }
 718 
 719 void ConditionalStyle::SetParagraphFormat(LPDISPATCH newValue)
 720 {
 721     static BYTE parms[] =
 722         VTS_DISPATCH;
 723     InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 724         newValue);
 725 }
 726 
 727 LPDISPATCH ConditionalStyle::GetFont()
 728 {
 729     LPDISPATCH result;
 730     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 731     return result;
 732 }
 733 
 734 void ConditionalStyle::SetFont(LPDISPATCH newValue)
 735 {
 736     static BYTE parms[] =
 737         VTS_DISPATCH;
 738     InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 739         newValue);
 740 }
 741 
 742 
 743 /////////////////////////////////////////////////////////////////////////////
 744 // FootnoteOptions properties
 745 
 746 /////////////////////////////////////////////////////////////////////////////
 747 // FootnoteOptions operations
 748 
 749 LPDISPATCH FootnoteOptions::GetApplication()
 750 {
 751     LPDISPATCH result;
 752     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 753     return result;
 754 }
 755 
 756 long FootnoteOptions::GetCreator()
 757 {
 758     long result;
 759     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 760     return result;
 761 }
 762 
 763 LPDISPATCH FootnoteOptions::GetParent()
 764 {
 765     LPDISPATCH result;
 766     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 767     return result;
 768 }
 769 
 770 long FootnoteOptions::GetLocation()
 771 {
 772     long result;
 773     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 774     return result;
 775 }
 776 
 777 void FootnoteOptions::SetLocation(long nNewValue)
 778 {
 779     static BYTE parms[] =
 780         VTS_I4;
 781     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 782         nNewValue);
 783 }
 784 
 785 long FootnoteOptions::GetNumberStyle()
 786 {
 787     long result;
 788     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 789     return result;
 790 }
 791 
 792 void FootnoteOptions::SetNumberStyle(long nNewValue)
 793 {
 794     static BYTE parms[] =
 795         VTS_I4;
 796     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 797         nNewValue);
 798 }
 799 
 800 long FootnoteOptions::GetStartingNumber()
 801 {
 802     long result;
 803     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 804     return result;
 805 }
 806 
 807 void FootnoteOptions::SetStartingNumber(long nNewValue)
 808 {
 809     static BYTE parms[] =
 810         VTS_I4;
 811     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 812         nNewValue);
 813 }
 814 
 815 long FootnoteOptions::GetNumberingRule()
 816 {
 817     long result;
 818     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 819     return result;
 820 }
 821 
 822 void FootnoteOptions::SetNumberingRule(long nNewValue)
 823 {
 824     static BYTE parms[] =
 825         VTS_I4;
 826     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 827         nNewValue);
 828 }
 829 
 830 
 831 /////////////////////////////////////////////////////////////////////////////
 832 // EndnoteOptions properties
 833 
 834 /////////////////////////////////////////////////////////////////////////////
 835 // EndnoteOptions operations
 836 
 837 LPDISPATCH EndnoteOptions::GetApplication()
 838 {
 839     LPDISPATCH result;
 840     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 841     return result;
 842 }
 843 
 844 long EndnoteOptions::GetCreator()
 845 {
 846     long result;
 847     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 848     return result;
 849 }
 850 
 851 LPDISPATCH EndnoteOptions::GetParent()
 852 {
 853     LPDISPATCH result;
 854     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 855     return result;
 856 }
 857 
 858 long EndnoteOptions::GetLocation()
 859 {
 860     long result;
 861     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 862     return result;
 863 }
 864 
 865 void EndnoteOptions::SetLocation(long nNewValue)
 866 {
 867     static BYTE parms[] =
 868         VTS_I4;
 869     InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 870         nNewValue);
 871 }
 872 
 873 long EndnoteOptions::GetNumberStyle()
 874 {
 875     long result;
 876     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 877     return result;
 878 }
 879 
 880 void EndnoteOptions::SetNumberStyle(long nNewValue)
 881 {
 882     static BYTE parms[] =
 883         VTS_I4;
 884     InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 885         nNewValue);
 886 }
 887 
 888 long EndnoteOptions::GetStartingNumber()
 889 {
 890     long result;
 891     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 892     return result;
 893 }
 894 
 895 void EndnoteOptions::SetStartingNumber(long nNewValue)
 896 {
 897     static BYTE parms[] =
 898         VTS_I4;
 899     InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 900         nNewValue);
 901 }
 902 
 903 long EndnoteOptions::GetNumberingRule()
 904 {
 905     long result;
 906     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 907     return result;
 908 }
 909 
 910 void EndnoteOptions::SetNumberingRule(long nNewValue)
 911 {
 912     static BYTE parms[] =
 913         VTS_I4;
 914     InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
 915         nNewValue);
 916 }
 917 
 918 
 919 /////////////////////////////////////////////////////////////////////////////
 920 // Reviewers properties
 921 
 922 /////////////////////////////////////////////////////////////////////////////
 923 // Reviewers operations
 924 
 925 LPUNKNOWN Reviewers::Get_NewEnum()
 926 {
 927     LPUNKNOWN result;
 928     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
 929     return result;
 930 }
 931 
 932 LPDISPATCH Reviewers::GetApplication()
 933 {
 934     LPDISPATCH result;
 935     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 936     return result;
 937 }
 938 
 939 long Reviewers::GetCreator()
 940 {
 941     long result;
 942     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 943     return result;
 944 }
 945 
 946 LPDISPATCH Reviewers::GetParent()
 947 {
 948     LPDISPATCH result;
 949     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 950     return result;
 951 }
 952 
 953 long Reviewers::GetCount()
 954 {
 955     long result;
 956     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 957     return result;
 958 }
 959 
 960 LPDISPATCH Reviewers::Item(VARIANT* Index)
 961 {
 962     LPDISPATCH result;
 963     static BYTE parms[] =
 964         VTS_PVARIANT;
 965     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
 966         Index);
 967     return result;
 968 }
 969 
 970 
 971 /////////////////////////////////////////////////////////////////////////////
 972 // Reviewer properties
 973 
 974 /////////////////////////////////////////////////////////////////////////////
 975 // Reviewer operations
 976 
 977 LPDISPATCH Reviewer::GetApplication()
 978 {
 979     LPDISPATCH result;
 980     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 981     return result;
 982 }
 983 
 984 long Reviewer::GetCreator()
 985 {
 986     long result;
 987     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
 988     return result;
 989 }
 990 
 991 LPDISPATCH Reviewer::GetParent()
 992 {
 993     LPDISPATCH result;
 994     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
 995     return result;
 996 }
 997 
 998 BOOL Reviewer::GetVisible()
 999 {
1000     BOOL result;
1001     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1002     return result;
1003 }
1004 
1005 void Reviewer::SetVisible(BOOL bNewValue)
1006 {
1007     static BYTE parms[] =
1008         VTS_BOOL;
1009     InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1010         bNewValue);
1011 }
1012 
1013 
1014 /////////////////////////////////////////////////////////////////////////////
1015 // TaskPane properties
1016 
1017 /////////////////////////////////////////////////////////////////////////////
1018 // TaskPane operations
1019 
1020 LPDISPATCH TaskPane::GetApplication()
1021 {
1022     LPDISPATCH result;
1023     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1024     return result;
1025 }
1026 
1027 long TaskPane::GetCreator()
1028 {
1029     long result;
1030     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1031     return result;
1032 }
1033 
1034 LPDISPATCH TaskPane::GetParent()
1035 {
1036     LPDISPATCH result;
1037     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1038     return result;
1039 }
1040 
1041 BOOL TaskPane::GetVisible()
1042 {
1043     BOOL result;
1044     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1045     return result;
1046 }
1047 
1048 void TaskPane::SetVisible(BOOL bNewValue)
1049 {
1050     static BYTE parms[] =
1051         VTS_BOOL;
1052     InvokeHelper(0x3eb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1053         bNewValue);
1054 }
1055 
1056 
1057 /////////////////////////////////////////////////////////////////////////////
1058 // TaskPanes properties
1059 
1060 /////////////////////////////////////////////////////////////////////////////
1061 // TaskPanes operations
1062 
1063 LPUNKNOWN TaskPanes::Get_NewEnum()
1064 {
1065     LPUNKNOWN result;
1066     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1067     return result;
1068 }
1069 
1070 long TaskPanes::GetCount()
1071 {
1072     long result;
1073     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1074     return result;
1075 }
1076 
1077 LPDISPATCH TaskPanes::GetApplication()
1078 {
1079     LPDISPATCH result;
1080     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1081     return result;
1082 }
1083 
1084 long TaskPanes::GetCreator()
1085 {
1086     long result;
1087     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1088     return result;
1089 }
1090 
1091 LPDISPATCH TaskPanes::GetParent()
1092 {
1093     LPDISPATCH result;
1094     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1095     return result;
1096 }
1097 
1098 LPDISPATCH TaskPanes::Item(long Index)
1099 {
1100     LPDISPATCH result;
1101     static BYTE parms[] =
1102         VTS_I4;
1103     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1104         Index);
1105     return result;
1106 }
1107 
1108 
1109 /////////////////////////////////////////////////////////////////////////////
1110 // IApplicationEvents3 properties
1111 
1112 /////////////////////////////////////////////////////////////////////////////
1113 // IApplicationEvents3 operations
1114 
1115 void IApplicationEvents3::Quit()
1116 {
1117     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1118 }
1119 
1120 void IApplicationEvents3::DocumentChange()
1121 {
1122     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1123 }
1124 
1125 void IApplicationEvents3::DocumentOpen(LPDISPATCH Doc)
1126 {
1127     static BYTE parms[] =
1128         VTS_DISPATCH;
1129     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1130         Doc);
1131 }
1132 
1133 void IApplicationEvents3::DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel)
1134 {
1135     static BYTE parms[] =
1136         VTS_DISPATCH VTS_PBOOL;
1137     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1138         Doc, Cancel);
1139 }
1140 
1141 void IApplicationEvents3::DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel)
1142 {
1143     static BYTE parms[] =
1144         VTS_DISPATCH VTS_PBOOL;
1145     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1146         Doc, Cancel);
1147 }
1148 
1149 void IApplicationEvents3::DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel)
1150 {
1151     static BYTE parms[] =
1152         VTS_DISPATCH VTS_PBOOL VTS_PBOOL;
1153     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1154         Doc, SaveAsUI, Cancel);
1155 }
1156 
1157 void IApplicationEvents3::NewDocument(LPDISPATCH Doc)
1158 {
1159     static BYTE parms[] =
1160         VTS_DISPATCH;
1161     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1162         Doc);
1163 }
1164 
1165 void IApplicationEvents3::WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn)
1166 {
1167     static BYTE parms[] =
1168         VTS_DISPATCH VTS_DISPATCH;
1169     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1170         Doc, Wn);
1171 }
1172 
1173 void IApplicationEvents3::WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn)
1174 {
1175     static BYTE parms[] =
1176         VTS_DISPATCH VTS_DISPATCH;
1177     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1178         Doc, Wn);
1179 }
1180 
1181 void IApplicationEvents3::WindowSelectionChange(LPDISPATCH Sel)
1182 {
1183     static BYTE parms[] =
1184         VTS_DISPATCH;
1185     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1186         Sel);
1187 }
1188 
1189 void IApplicationEvents3::WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel)
1190 {
1191     static BYTE parms[] =
1192         VTS_DISPATCH VTS_PBOOL;
1193     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1194         Sel, Cancel);
1195 }
1196 
1197 void IApplicationEvents3::WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel)
1198 {
1199     static BYTE parms[] =
1200         VTS_DISPATCH VTS_PBOOL;
1201     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1202         Sel, Cancel);
1203 }
1204 
1205 void IApplicationEvents3::EPostagePropertyDialog(LPDISPATCH Doc)
1206 {
1207     static BYTE parms[] =
1208         VTS_DISPATCH;
1209     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1210         Doc);
1211 }
1212 
1213 void IApplicationEvents3::EPostageInsert(LPDISPATCH Doc)
1214 {
1215     static BYTE parms[] =
1216         VTS_DISPATCH;
1217     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1218         Doc);
1219 }
1220 
1221 void IApplicationEvents3::MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult)
1222 {
1223     static BYTE parms[] =
1224         VTS_DISPATCH VTS_DISPATCH;
1225     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1226         Doc, DocResult);
1227 }
1228 
1229 void IApplicationEvents3::MailMergeAfterRecordMerge(LPDISPATCH Doc)
1230 {
1231     static BYTE parms[] =
1232         VTS_DISPATCH;
1233     InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1234         Doc);
1235 }
1236 
1237 void IApplicationEvents3::MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel)
1238 {
1239     static BYTE parms[] =
1240         VTS_DISPATCH VTS_I4 VTS_I4 VTS_PBOOL;
1241     InvokeHelper(0x13, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1242         Doc, StartRecord, EndRecord, Cancel);
1243 }
1244 
1245 void IApplicationEvents3::MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel)
1246 {
1247     static BYTE parms[] =
1248         VTS_DISPATCH VTS_PBOOL;
1249     InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1250         Doc, Cancel);
1251 }
1252 
1253 void IApplicationEvents3::MailMergeDataSourceLoad(LPDISPATCH Doc)
1254 {
1255     static BYTE parms[] =
1256         VTS_DISPATCH;
1257     InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1258         Doc);
1259 }
1260 
1261 void IApplicationEvents3::MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled)
1262 {
1263     static BYTE parms[] =
1264         VTS_DISPATCH VTS_PBOOL;
1265     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1266         Doc, Handled);
1267 }
1268 
1269 void IApplicationEvents3::MailMergeWizardSendToCustom(LPDISPATCH Doc)
1270 {
1271     static BYTE parms[] =
1272         VTS_DISPATCH;
1273     InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1274         Doc);
1275 }
1276 
1277 void IApplicationEvents3::MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled)
1278 {
1279     static BYTE parms[] =
1280         VTS_DISPATCH VTS_PI4 VTS_PI4 VTS_PBOOL;
1281     InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1282         Doc, FromState, ToState, Handled);
1283 }
1284 
1285 void IApplicationEvents3::WindowSize(LPDISPATCH Doc, LPDISPATCH Wn)
1286 {
1287     static BYTE parms[] =
1288         VTS_DISPATCH VTS_DISPATCH;
1289     InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1290         Doc, Wn);
1291 }
1292 
1293 
1294 /////////////////////////////////////////////////////////////////////////////
1295 // ApplicationEvents3 properties
1296 
1297 /////////////////////////////////////////////////////////////////////////////
1298 // ApplicationEvents3 operations
1299 
1300 void ApplicationEvents3::Quit()
1301 {
1302     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1303 }
1304 
1305 void ApplicationEvents3::DocumentChange()
1306 {
1307     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1308 }
1309 
1310 void ApplicationEvents3::DocumentOpen(LPDISPATCH Doc)
1311 {
1312     static BYTE parms[] =
1313         VTS_DISPATCH;
1314     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1315         Doc);
1316 }
1317 
1318 void ApplicationEvents3::DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel)
1319 {
1320     static BYTE parms[] =
1321         VTS_DISPATCH VTS_PBOOL;
1322     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1323         Doc, Cancel);
1324 }
1325 
1326 void ApplicationEvents3::DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel)
1327 {
1328     static BYTE parms[] =
1329         VTS_DISPATCH VTS_PBOOL;
1330     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1331         Doc, Cancel);
1332 }
1333 
1334 void ApplicationEvents3::DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel)
1335 {
1336     static BYTE parms[] =
1337         VTS_DISPATCH VTS_PBOOL VTS_PBOOL;
1338     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1339         Doc, SaveAsUI, Cancel);
1340 }
1341 
1342 void ApplicationEvents3::NewDocument(LPDISPATCH Doc)
1343 {
1344     static BYTE parms[] =
1345         VTS_DISPATCH;
1346     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1347         Doc);
1348 }
1349 
1350 void ApplicationEvents3::WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn)
1351 {
1352     static BYTE parms[] =
1353         VTS_DISPATCH VTS_DISPATCH;
1354     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1355         Doc, Wn);
1356 }
1357 
1358 void ApplicationEvents3::WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn)
1359 {
1360     static BYTE parms[] =
1361         VTS_DISPATCH VTS_DISPATCH;
1362     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1363         Doc, Wn);
1364 }
1365 
1366 void ApplicationEvents3::WindowSelectionChange(LPDISPATCH Sel)
1367 {
1368     static BYTE parms[] =
1369         VTS_DISPATCH;
1370     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1371         Sel);
1372 }
1373 
1374 void ApplicationEvents3::WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel)
1375 {
1376     static BYTE parms[] =
1377         VTS_DISPATCH VTS_PBOOL;
1378     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1379         Sel, Cancel);
1380 }
1381 
1382 void ApplicationEvents3::WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel)
1383 {
1384     static BYTE parms[] =
1385         VTS_DISPATCH VTS_PBOOL;
1386     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1387         Sel, Cancel);
1388 }
1389 
1390 void ApplicationEvents3::EPostagePropertyDialog(LPDISPATCH Doc)
1391 {
1392     static BYTE parms[] =
1393         VTS_DISPATCH;
1394     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1395         Doc);
1396 }
1397 
1398 void ApplicationEvents3::EPostageInsert(LPDISPATCH Doc)
1399 {
1400     static BYTE parms[] =
1401         VTS_DISPATCH;
1402     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1403         Doc);
1404 }
1405 
1406 void ApplicationEvents3::MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult)
1407 {
1408     static BYTE parms[] =
1409         VTS_DISPATCH VTS_DISPATCH;
1410     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1411         Doc, DocResult);
1412 }
1413 
1414 void ApplicationEvents3::MailMergeAfterRecordMerge(LPDISPATCH Doc)
1415 {
1416     static BYTE parms[] =
1417         VTS_DISPATCH;
1418     InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1419         Doc);
1420 }
1421 
1422 void ApplicationEvents3::MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel)
1423 {
1424     static BYTE parms[] =
1425         VTS_DISPATCH VTS_I4 VTS_I4 VTS_PBOOL;
1426     InvokeHelper(0x13, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1427         Doc, StartRecord, EndRecord, Cancel);
1428 }
1429 
1430 void ApplicationEvents3::MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel)
1431 {
1432     static BYTE parms[] =
1433         VTS_DISPATCH VTS_PBOOL;
1434     InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1435         Doc, Cancel);
1436 }
1437 
1438 void ApplicationEvents3::MailMergeDataSourceLoad(LPDISPATCH Doc)
1439 {
1440     static BYTE parms[] =
1441         VTS_DISPATCH;
1442     InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1443         Doc);
1444 }
1445 
1446 void ApplicationEvents3::MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled)
1447 {
1448     static BYTE parms[] =
1449         VTS_DISPATCH VTS_PBOOL;
1450     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1451         Doc, Handled);
1452 }
1453 
1454 void ApplicationEvents3::MailMergeWizardSendToCustom(LPDISPATCH Doc)
1455 {
1456     static BYTE parms[] =
1457         VTS_DISPATCH;
1458     InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1459         Doc);
1460 }
1461 
1462 void ApplicationEvents3::MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled)
1463 {
1464     static BYTE parms[] =
1465         VTS_DISPATCH VTS_PI4 VTS_PI4 VTS_PBOOL;
1466     InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1467         Doc, FromState, ToState, Handled);
1468 }
1469 
1470 void ApplicationEvents3::WindowSize(LPDISPATCH Doc, LPDISPATCH Wn)
1471 {
1472     static BYTE parms[] =
1473         VTS_DISPATCH VTS_DISPATCH;
1474     InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
1475         Doc, Wn);
1476 }
1477 
1478 
1479 /////////////////////////////////////////////////////////////////////////////
1480 // SmartTagAction properties
1481 
1482 /////////////////////////////////////////////////////////////////////////////
1483 // SmartTagAction operations
1484 
1485 CString SmartTagAction::GetName()
1486 {
1487     CString result;
1488     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1489     return result;
1490 }
1491 
1492 LPDISPATCH SmartTagAction::GetApplication()
1493 {
1494     LPDISPATCH result;
1495     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1496     return result;
1497 }
1498 
1499 long SmartTagAction::GetCreator()
1500 {
1501     long result;
1502     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1503     return result;
1504 }
1505 
1506 LPDISPATCH SmartTagAction::GetParent()
1507 {
1508     LPDISPATCH result;
1509     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1510     return result;
1511 }
1512 
1513 void SmartTagAction::Execute()
1514 {
1515     InvokeHelper(0x3eb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1516 }
1517 
1518 long SmartTagAction::GetType()
1519 {
1520     long result;
1521     InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1522     return result;
1523 }
1524 
1525 BOOL SmartTagAction::GetPresentInPane()
1526 {
1527     BOOL result;
1528     InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1529     return result;
1530 }
1531 
1532 BOOL SmartTagAction::GetExpandHelp()
1533 {
1534     BOOL result;
1535     InvokeHelper(0x3ee, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1536     return result;
1537 }
1538 
1539 void SmartTagAction::SetExpandHelp(BOOL bNewValue)
1540 {
1541     static BYTE parms[] =
1542         VTS_BOOL;
1543     InvokeHelper(0x3ee, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1544         bNewValue);
1545 }
1546 
1547 BOOL SmartTagAction::GetCheckboxState()
1548 {
1549     BOOL result;
1550     InvokeHelper(0x3ef, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1551     return result;
1552 }
1553 
1554 void SmartTagAction::SetCheckboxState(BOOL bNewValue)
1555 {
1556     static BYTE parms[] =
1557         VTS_BOOL;
1558     InvokeHelper(0x3ef, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1559         bNewValue);
1560 }
1561 
1562 CString SmartTagAction::GetTextboxText()
1563 {
1564     CString result;
1565     InvokeHelper(0x3f0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1566     return result;
1567 }
1568 
1569 void SmartTagAction::SetTextboxText(LPCTSTR lpszNewValue)
1570 {
1571     static BYTE parms[] =
1572         VTS_BSTR;
1573     InvokeHelper(0x3f0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1574         lpszNewValue);
1575 }
1576 
1577 long SmartTagAction::GetListSelection()
1578 {
1579     long result;
1580     InvokeHelper(0x3f1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1581     return result;
1582 }
1583 
1584 void SmartTagAction::SetListSelection(long nNewValue)
1585 {
1586     static BYTE parms[] =
1587         VTS_I4;
1588     InvokeHelper(0x3f1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1589         nNewValue);
1590 }
1591 
1592 long SmartTagAction::GetRadioGroupSelection()
1593 {
1594     long result;
1595     InvokeHelper(0x3f2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1596     return result;
1597 }
1598 
1599 void SmartTagAction::SetRadioGroupSelection(long nNewValue)
1600 {
1601     static BYTE parms[] =
1602         VTS_I4;
1603     InvokeHelper(0x3f2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1604         nNewValue);
1605 }
1606 
1607 BOOL SmartTagAction::GetExpandDocumentFragment()
1608 {
1609     BOOL result;
1610     InvokeHelper(0x3f3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1611     return result;
1612 }
1613 
1614 void SmartTagAction::SetExpandDocumentFragment(BOOL bNewValue)
1615 {
1616     static BYTE parms[] =
1617         VTS_BOOL;
1618     InvokeHelper(0x3f3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1619         bNewValue);
1620 }
1621 
1622 LPDISPATCH SmartTagAction::GetActiveXControl()
1623 {
1624     LPDISPATCH result;
1625     InvokeHelper(0x3f4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1626     return result;
1627 }
1628 
1629 
1630 /////////////////////////////////////////////////////////////////////////////
1631 // SmartTagActions properties
1632 
1633 /////////////////////////////////////////////////////////////////////////////
1634 // SmartTagActions operations
1635 
1636 LPUNKNOWN SmartTagActions::Get_NewEnum()
1637 {
1638     LPUNKNOWN result;
1639     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1640     return result;
1641 }
1642 
1643 long SmartTagActions::GetCount()
1644 {
1645     long result;
1646     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1647     return result;
1648 }
1649 
1650 LPDISPATCH SmartTagActions::GetApplication()
1651 {
1652     LPDISPATCH result;
1653     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1654     return result;
1655 }
1656 
1657 long SmartTagActions::GetCreator()
1658 {
1659     long result;
1660     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1661     return result;
1662 }
1663 
1664 LPDISPATCH SmartTagActions::GetParent()
1665 {
1666     LPDISPATCH result;
1667     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1668     return result;
1669 }
1670 
1671 LPDISPATCH SmartTagActions::Item(VARIANT* Index)
1672 {
1673     LPDISPATCH result;
1674     static BYTE parms[] =
1675         VTS_PVARIANT;
1676     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1677         Index);
1678     return result;
1679 }
1680 
1681 void SmartTagActions::ReloadActions()
1682 {
1683     InvokeHelper(0x3eb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1684 }
1685 
1686 
1687 /////////////////////////////////////////////////////////////////////////////
1688 // SmartTagRecognizer properties
1689 
1690 /////////////////////////////////////////////////////////////////////////////
1691 // SmartTagRecognizer operations
1692 
1693 CString SmartTagRecognizer::GetFullName()
1694 {
1695     CString result;
1696     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1697     return result;
1698 }
1699 
1700 LPDISPATCH SmartTagRecognizer::GetApplication()
1701 {
1702     LPDISPATCH result;
1703     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1704     return result;
1705 }
1706 
1707 long SmartTagRecognizer::GetCreator()
1708 {
1709     long result;
1710     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1711     return result;
1712 }
1713 
1714 LPDISPATCH SmartTagRecognizer::GetParent()
1715 {
1716     LPDISPATCH result;
1717     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1718     return result;
1719 }
1720 
1721 BOOL SmartTagRecognizer::GetEnabled()
1722 {
1723     BOOL result;
1724     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
1725     return result;
1726 }
1727 
1728 void SmartTagRecognizer::SetEnabled(BOOL bNewValue)
1729 {
1730     static BYTE parms[] =
1731         VTS_BOOL;
1732     InvokeHelper(0x3eb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
1733         bNewValue);
1734 }
1735 
1736 CString SmartTagRecognizer::GetProgID()
1737 {
1738     CString result;
1739     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1740     return result;
1741 }
1742 
1743 CString SmartTagRecognizer::GetCaption()
1744 {
1745     CString result;
1746     InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1747     return result;
1748 }
1749 
1750 
1751 /////////////////////////////////////////////////////////////////////////////
1752 // SmartTagRecognizers properties
1753 
1754 /////////////////////////////////////////////////////////////////////////////
1755 // SmartTagRecognizers operations
1756 
1757 LPUNKNOWN SmartTagRecognizers::Get_NewEnum()
1758 {
1759     LPUNKNOWN result;
1760     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1761     return result;
1762 }
1763 
1764 long SmartTagRecognizers::GetCount()
1765 {
1766     long result;
1767     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1768     return result;
1769 }
1770 
1771 LPDISPATCH SmartTagRecognizers::GetApplication()
1772 {
1773     LPDISPATCH result;
1774     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1775     return result;
1776 }
1777 
1778 long SmartTagRecognizers::GetCreator()
1779 {
1780     long result;
1781     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1782     return result;
1783 }
1784 
1785 LPDISPATCH SmartTagRecognizers::GetParent()
1786 {
1787     LPDISPATCH result;
1788     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1789     return result;
1790 }
1791 
1792 LPDISPATCH SmartTagRecognizers::Item(VARIANT* Index)
1793 {
1794     LPDISPATCH result;
1795     static BYTE parms[] =
1796         VTS_PVARIANT;
1797     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1798         Index);
1799     return result;
1800 }
1801 
1802 void SmartTagRecognizers::ReloadRecognizers()
1803 {
1804     InvokeHelper(0x3eb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1805 }
1806 
1807 
1808 /////////////////////////////////////////////////////////////////////////////
1809 // SmartTagType properties
1810 
1811 /////////////////////////////////////////////////////////////////////////////
1812 // SmartTagType operations
1813 
1814 CString SmartTagType::GetName()
1815 {
1816     CString result;
1817     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1818     return result;
1819 }
1820 
1821 LPDISPATCH SmartTagType::GetApplication()
1822 {
1823     LPDISPATCH result;
1824     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1825     return result;
1826 }
1827 
1828 long SmartTagType::GetCreator()
1829 {
1830     long result;
1831     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1832     return result;
1833 }
1834 
1835 LPDISPATCH SmartTagType::GetParent()
1836 {
1837     LPDISPATCH result;
1838     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1839     return result;
1840 }
1841 
1842 LPDISPATCH SmartTagType::GetSmartTagActions()
1843 {
1844     LPDISPATCH result;
1845     InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1846     return result;
1847 }
1848 
1849 LPDISPATCH SmartTagType::GetSmartTagRecognizers()
1850 {
1851     LPDISPATCH result;
1852     InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1853     return result;
1854 }
1855 
1856 CString SmartTagType::GetFriendlyName()
1857 {
1858     CString result;
1859     InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
1860     return result;
1861 }
1862 
1863 
1864 /////////////////////////////////////////////////////////////////////////////
1865 // SmartTagTypes properties
1866 
1867 /////////////////////////////////////////////////////////////////////////////
1868 // SmartTagTypes operations
1869 
1870 LPUNKNOWN SmartTagTypes::Get_NewEnum()
1871 {
1872     LPUNKNOWN result;
1873     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
1874     return result;
1875 }
1876 
1877 long SmartTagTypes::GetCount()
1878 {
1879     long result;
1880     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1881     return result;
1882 }
1883 
1884 LPDISPATCH SmartTagTypes::GetApplication()
1885 {
1886     LPDISPATCH result;
1887     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1888     return result;
1889 }
1890 
1891 long SmartTagTypes::GetCreator()
1892 {
1893     long result;
1894     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1895     return result;
1896 }
1897 
1898 LPDISPATCH SmartTagTypes::GetParent()
1899 {
1900     LPDISPATCH result;
1901     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1902     return result;
1903 }
1904 
1905 LPDISPATCH SmartTagTypes::Item(VARIANT* Index)
1906 {
1907     LPDISPATCH result;
1908     static BYTE parms[] =
1909         VTS_PVARIANT;
1910     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
1911         Index);
1912     return result;
1913 }
1914 
1915 void SmartTagTypes::ReloadAll()
1916 {
1917     InvokeHelper(0x3eb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
1918 }
1919 
1920 
1921 /////////////////////////////////////////////////////////////////////////////
1922 // Line properties
1923 
1924 /////////////////////////////////////////////////////////////////////////////
1925 // Line operations
1926 
1927 LPDISPATCH Line::GetApplication()
1928 {
1929     LPDISPATCH result;
1930     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1931     return result;
1932 }
1933 
1934 long Line::GetCreator()
1935 {
1936     long result;
1937     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1938     return result;
1939 }
1940 
1941 LPDISPATCH Line::GetParent()
1942 {
1943     LPDISPATCH result;
1944     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1945     return result;
1946 }
1947 
1948 long Line::GetLineType()
1949 {
1950     long result;
1951     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1952     return result;
1953 }
1954 
1955 long Line::GetLeft()
1956 {
1957     long result;
1958     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1959     return result;
1960 }
1961 
1962 long Line::GetTop()
1963 {
1964     long result;
1965     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1966     return result;
1967 }
1968 
1969 long Line::GetWidth()
1970 {
1971     long result;
1972     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1973     return result;
1974 }
1975 
1976 long Line::GetHeight()
1977 {
1978     long result;
1979     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
1980     return result;
1981 }
1982 
1983 LPDISPATCH Line::GetRange()
1984 {
1985     LPDISPATCH result;
1986     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1987     return result;
1988 }
1989 
1990 LPDISPATCH Line::GetRectangles()
1991 {
1992     LPDISPATCH result;
1993     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
1994     return result;
1995 }
1996 
1997 
1998 /////////////////////////////////////////////////////////////////////////////
1999 // Lines properties
2000 
2001 /////////////////////////////////////////////////////////////////////////////
2002 // Lines operations
2003 
2004 LPUNKNOWN Lines::Get_NewEnum()
2005 {
2006     LPUNKNOWN result;
2007     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2008     return result;
2009 }
2010 
2011 long Lines::GetCount()
2012 {
2013     long result;
2014     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2015     return result;
2016 }
2017 
2018 LPDISPATCH Lines::GetApplication()
2019 {
2020     LPDISPATCH result;
2021     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2022     return result;
2023 }
2024 
2025 long Lines::GetCreator()
2026 {
2027     long result;
2028     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2029     return result;
2030 }
2031 
2032 LPDISPATCH Lines::GetParent()
2033 {
2034     LPDISPATCH result;
2035     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2036     return result;
2037 }
2038 
2039 LPDISPATCH Lines::Item(long Index)
2040 {
2041     LPDISPATCH result;
2042     static BYTE parms[] =
2043         VTS_I4;
2044     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2045         Index);
2046     return result;
2047 }
2048 
2049 
2050 /////////////////////////////////////////////////////////////////////////////
2051 // Rectangle properties
2052 
2053 /////////////////////////////////////////////////////////////////////////////
2054 // Rectangle operations
2055 
2056 LPDISPATCH Rectangle::GetApplication()
2057 {
2058     LPDISPATCH result;
2059     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2060     return result;
2061 }
2062 
2063 long Rectangle::GetCreator()
2064 {
2065     long result;
2066     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2067     return result;
2068 }
2069 
2070 LPDISPATCH Rectangle::GetParent()
2071 {
2072     LPDISPATCH result;
2073     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2074     return result;
2075 }
2076 
2077 long Rectangle::GetRectangleType()
2078 {
2079     long result;
2080     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2081     return result;
2082 }
2083 
2084 long Rectangle::GetLeft()
2085 {
2086     long result;
2087     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2088     return result;
2089 }
2090 
2091 long Rectangle::GetTop()
2092 {
2093     long result;
2094     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2095     return result;
2096 }
2097 
2098 long Rectangle::GetWidth()
2099 {
2100     long result;
2101     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2102     return result;
2103 }
2104 
2105 long Rectangle::GetHeight()
2106 {
2107     long result;
2108     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2109     return result;
2110 }
2111 
2112 LPDISPATCH Rectangle::GetRange()
2113 {
2114     LPDISPATCH result;
2115     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2116     return result;
2117 }
2118 
2119 LPDISPATCH Rectangle::GetLines()
2120 {
2121     LPDISPATCH result;
2122     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2123     return result;
2124 }
2125 
2126 
2127 /////////////////////////////////////////////////////////////////////////////
2128 // Rectangles properties
2129 
2130 /////////////////////////////////////////////////////////////////////////////
2131 // Rectangles operations
2132 
2133 LPUNKNOWN Rectangles::Get_NewEnum()
2134 {
2135     LPUNKNOWN result;
2136     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2137     return result;
2138 }
2139 
2140 long Rectangles::GetCount()
2141 {
2142     long result;
2143     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2144     return result;
2145 }
2146 
2147 LPDISPATCH Rectangles::GetApplication()
2148 {
2149     LPDISPATCH result;
2150     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2151     return result;
2152 }
2153 
2154 long Rectangles::GetCreator()
2155 {
2156     long result;
2157     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2158     return result;
2159 }
2160 
2161 LPDISPATCH Rectangles::GetParent()
2162 {
2163     LPDISPATCH result;
2164     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2165     return result;
2166 }
2167 
2168 LPDISPATCH Rectangles::Item(long Index)
2169 {
2170     LPDISPATCH result;
2171     static BYTE parms[] =
2172         VTS_I4;
2173     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2174         Index);
2175     return result;
2176 }
2177 
2178 
2179 /////////////////////////////////////////////////////////////////////////////
2180 // Break properties
2181 
2182 /////////////////////////////////////////////////////////////////////////////
2183 // Break operations
2184 
2185 LPDISPATCH Break::GetApplication()
2186 {
2187     LPDISPATCH result;
2188     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2189     return result;
2190 }
2191 
2192 long Break::GetCreator()
2193 {
2194     long result;
2195     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2196     return result;
2197 }
2198 
2199 LPDISPATCH Break::GetParent()
2200 {
2201     LPDISPATCH result;
2202     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2203     return result;
2204 }
2205 
2206 LPDISPATCH Break::GetRange()
2207 {
2208     LPDISPATCH result;
2209     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2210     return result;
2211 }
2212 
2213 long Break::GetPageIndex()
2214 {
2215     long result;
2216     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2217     return result;
2218 }
2219 
2220 
2221 /////////////////////////////////////////////////////////////////////////////
2222 // Breaks properties
2223 
2224 /////////////////////////////////////////////////////////////////////////////
2225 // Breaks operations
2226 
2227 LPUNKNOWN Breaks::Get_NewEnum()
2228 {
2229     LPUNKNOWN result;
2230     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2231     return result;
2232 }
2233 
2234 long Breaks::GetCount()
2235 {
2236     long result;
2237     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2238     return result;
2239 }
2240 
2241 LPDISPATCH Breaks::GetApplication()
2242 {
2243     LPDISPATCH result;
2244     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2245     return result;
2246 }
2247 
2248 long Breaks::GetCreator()
2249 {
2250     long result;
2251     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2252     return result;
2253 }
2254 
2255 LPDISPATCH Breaks::GetParent()
2256 {
2257     LPDISPATCH result;
2258     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2259     return result;
2260 }
2261 
2262 LPDISPATCH Breaks::Item(long Index)
2263 {
2264     LPDISPATCH result;
2265     static BYTE parms[] =
2266         VTS_I4;
2267     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2268         Index);
2269     return result;
2270 }
2271 
2272 
2273 /////////////////////////////////////////////////////////////////////////////
2274 // Page properties
2275 
2276 /////////////////////////////////////////////////////////////////////////////
2277 // Page operations
2278 
2279 LPDISPATCH Page::GetApplication()
2280 {
2281     LPDISPATCH result;
2282     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2283     return result;
2284 }
2285 
2286 long Page::GetCreator()
2287 {
2288     long result;
2289     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2290     return result;
2291 }
2292 
2293 LPDISPATCH Page::GetParent()
2294 {
2295     LPDISPATCH result;
2296     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2297     return result;
2298 }
2299 
2300 long Page::GetLeft()
2301 {
2302     long result;
2303     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2304     return result;
2305 }
2306 
2307 long Page::GetTop()
2308 {
2309     long result;
2310     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2311     return result;
2312 }
2313 
2314 long Page::GetWidth()
2315 {
2316     long result;
2317     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2318     return result;
2319 }
2320 
2321 long Page::GetHeight()
2322 {
2323     long result;
2324     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2325     return result;
2326 }
2327 
2328 LPDISPATCH Page::GetRectangles()
2329 {
2330     LPDISPATCH result;
2331     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2332     return result;
2333 }
2334 
2335 LPDISPATCH Page::GetBreaks()
2336 {
2337     LPDISPATCH result;
2338     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2339     return result;
2340 }
2341 
2342 
2343 /////////////////////////////////////////////////////////////////////////////
2344 // Pages properties
2345 
2346 /////////////////////////////////////////////////////////////////////////////
2347 // Pages operations
2348 
2349 LPUNKNOWN Pages::Get_NewEnum()
2350 {
2351     LPUNKNOWN result;
2352     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2353     return result;
2354 }
2355 
2356 long Pages::GetCount()
2357 {
2358     long result;
2359     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2360     return result;
2361 }
2362 
2363 LPDISPATCH Pages::GetApplication()
2364 {
2365     LPDISPATCH result;
2366     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2367     return result;
2368 }
2369 
2370 long Pages::GetCreator()
2371 {
2372     long result;
2373     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2374     return result;
2375 }
2376 
2377 LPDISPATCH Pages::GetParent()
2378 {
2379     LPDISPATCH result;
2380     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2381     return result;
2382 }
2383 
2384 LPDISPATCH Pages::Item(long Index)
2385 {
2386     LPDISPATCH result;
2387     static BYTE parms[] =
2388         VTS_I4;
2389     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2390         Index);
2391     return result;
2392 }
2393 
2394 
2395 /////////////////////////////////////////////////////////////////////////////
2396 // XMLNode properties
2397 
2398 /////////////////////////////////////////////////////////////////////////////
2399 // XMLNode operations
2400 
2401 CString XMLNode::GetBaseName()
2402 {
2403     CString result;
2404     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2405     return result;
2406 }
2407 
2408 LPDISPATCH XMLNode::GetApplication()
2409 {
2410     LPDISPATCH result;
2411     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2412     return result;
2413 }
2414 
2415 long XMLNode::GetCreator()
2416 {
2417     long result;
2418     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2419     return result;
2420 }
2421 
2422 LPDISPATCH XMLNode::GetParent()
2423 {
2424     LPDISPATCH result;
2425     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2426     return result;
2427 }
2428 
2429 LPDISPATCH XMLNode::GetRange()
2430 {
2431     LPDISPATCH result;
2432     InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2433     return result;
2434 }
2435 
2436 CString XMLNode::GetText()
2437 {
2438     CString result;
2439     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2440     return result;
2441 }
2442 
2443 void XMLNode::SetText(LPCTSTR lpszNewValue)
2444 {
2445     static BYTE parms[] =
2446         VTS_BSTR;
2447     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2448         lpszNewValue);
2449 }
2450 
2451 CString XMLNode::GetNamespaceURI()
2452 {
2453     CString result;
2454     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2455     return result;
2456 }
2457 
2458 CString XMLNode::GetXml(BOOL DataOnly)
2459 {
2460     CString result;
2461     static BYTE parms[] =
2462         VTS_BOOL;
2463     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
2464         DataOnly);
2465     return result;
2466 }
2467 
2468 LPDISPATCH XMLNode::GetNextSibling()
2469 {
2470     LPDISPATCH result;
2471     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2472     return result;
2473 }
2474 
2475 LPDISPATCH XMLNode::GetPreviousSibling()
2476 {
2477     LPDISPATCH result;
2478     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2479     return result;
2480 }
2481 
2482 LPDISPATCH XMLNode::GetParentNode()
2483 {
2484     LPDISPATCH result;
2485     InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2486     return result;
2487 }
2488 
2489 LPDISPATCH XMLNode::GetFirstChild()
2490 {
2491     LPDISPATCH result;
2492     InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2493     return result;
2494 }
2495 
2496 LPDISPATCH XMLNode::GetLastChild()
2497 {
2498     LPDISPATCH result;
2499     InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2500     return result;
2501 }
2502 
2503 LPDISPATCH XMLNode::GetOwnerDocument()
2504 {
2505     LPDISPATCH result;
2506     InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2507     return result;
2508 }
2509 
2510 long XMLNode::GetNodeType()
2511 {
2512     long result;
2513     InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2514     return result;
2515 }
2516 
2517 LPDISPATCH XMLNode::GetChildNodes()
2518 {
2519     LPDISPATCH result;
2520     InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2521     return result;
2522 }
2523 
2524 LPDISPATCH XMLNode::GetAttributes()
2525 {
2526     LPDISPATCH result;
2527     InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2528     return result;
2529 }
2530 
2531 CString XMLNode::GetNodeValue()
2532 {
2533     CString result;
2534     InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2535     return result;
2536 }
2537 
2538 void XMLNode::SetNodeValue(LPCTSTR lpszNewValue)
2539 {
2540     static BYTE parms[] =
2541         VTS_BSTR;
2542     InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2543         lpszNewValue);
2544 }
2545 
2546 BOOL XMLNode::GetHasChildNodes()
2547 {
2548     BOOL result;
2549     InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2550     return result;
2551 }
2552 
2553 LPDISPATCH XMLNode::SelectSingleNode(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes)
2554 {
2555     LPDISPATCH result;
2556     static BYTE parms[] =
2557         VTS_BSTR VTS_BSTR VTS_BOOL;
2558     InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2559         XPath, PrefixMapping, FastSearchSkippingTextNodes);
2560     return result;
2561 }
2562 
2563 LPDISPATCH XMLNode::SelectNodes(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes)
2564 {
2565     LPDISPATCH result;
2566     static BYTE parms[] =
2567         VTS_BSTR VTS_BSTR VTS_BOOL;
2568     InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2569         XPath, PrefixMapping, FastSearchSkippingTextNodes);
2570     return result;
2571 }
2572 
2573 LPDISPATCH XMLNode::GetChildNodeSuggestions()
2574 {
2575     LPDISPATCH result;
2576     InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2577     return result;
2578 }
2579 
2580 long XMLNode::GetLevel()
2581 {
2582     long result;
2583     InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2584     return result;
2585 }
2586 
2587 long XMLNode::GetValidationStatus()
2588 {
2589     long result;
2590     InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2591     return result;
2592 }
2593 
2594 LPDISPATCH XMLNode::GetSmartTag()
2595 {
2596     LPDISPATCH result;
2597     InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2598     return result;
2599 }
2600 
2601 CString XMLNode::GetValidationErrorText(BOOL Advanced)
2602 {
2603     CString result;
2604     static BYTE parms[] =
2605         VTS_BOOL;
2606     InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
2607         Advanced);
2608     return result;
2609 }
2610 
2611 CString XMLNode::GetPlaceholderText()
2612 {
2613     CString result;
2614     InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2615     return result;
2616 }
2617 
2618 void XMLNode::SetPlaceholderText(LPCTSTR lpszNewValue)
2619 {
2620     static BYTE parms[] =
2621         VTS_BSTR;
2622     InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2623         lpszNewValue);
2624 }
2625 
2626 void XMLNode::Delete()
2627 {
2628     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2629 }
2630 
2631 void XMLNode::Copy()
2632 {
2633     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2634 }
2635 
2636 void XMLNode::RemoveChild(LPDISPATCH ChildElement)
2637 {
2638     static BYTE parms[] =
2639         VTS_DISPATCH;
2640     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2641         ChildElement);
2642 }
2643 
2644 void XMLNode::Cut()
2645 {
2646     InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2647 }
2648 
2649 void XMLNode::Validate()
2650 {
2651     InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2652 }
2653 
2654 void XMLNode::SetValidationError(long Status, VARIANT* ErrorText, BOOL ClearedAutomatically)
2655 {
2656     static BYTE parms[] =
2657         VTS_I4 VTS_PVARIANT VTS_BOOL;
2658     InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
2659         Status, ErrorText, ClearedAutomatically);
2660 }
2661 
2662 
2663 /////////////////////////////////////////////////////////////////////////////
2664 // XMLNodes properties
2665 
2666 /////////////////////////////////////////////////////////////////////////////
2667 // XMLNodes operations
2668 
2669 LPUNKNOWN XMLNodes::Get_NewEnum()
2670 {
2671     LPUNKNOWN result;
2672     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2673     return result;
2674 }
2675 
2676 long XMLNodes::GetCount()
2677 {
2678     long result;
2679     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2680     return result;
2681 }
2682 
2683 LPDISPATCH XMLNodes::GetApplication()
2684 {
2685     LPDISPATCH result;
2686     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2687     return result;
2688 }
2689 
2690 long XMLNodes::GetCreator()
2691 {
2692     long result;
2693     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2694     return result;
2695 }
2696 
2697 LPDISPATCH XMLNodes::GetParent()
2698 {
2699     LPDISPATCH result;
2700     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2701     return result;
2702 }
2703 
2704 LPDISPATCH XMLNodes::Item(long Index)
2705 {
2706     LPDISPATCH result;
2707     static BYTE parms[] =
2708         VTS_I4;
2709     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2710         Index);
2711     return result;
2712 }
2713 
2714 LPDISPATCH XMLNodes::Add(LPCTSTR Name, LPCTSTR Namespace, VARIANT* Range)
2715 {
2716     LPDISPATCH result;
2717     static BYTE parms[] =
2718         VTS_BSTR VTS_BSTR VTS_PVARIANT;
2719     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2720         Name, Namespace, Range);
2721     return result;
2722 }
2723 
2724 
2725 /////////////////////////////////////////////////////////////////////////////
2726 // XMLSchemaReference properties
2727 
2728 /////////////////////////////////////////////////////////////////////////////
2729 // XMLSchemaReference operations
2730 
2731 LPDISPATCH XMLSchemaReference::GetApplication()
2732 {
2733     LPDISPATCH result;
2734     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2735     return result;
2736 }
2737 
2738 long XMLSchemaReference::GetCreator()
2739 {
2740     long result;
2741     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2742     return result;
2743 }
2744 
2745 LPDISPATCH XMLSchemaReference::GetParent()
2746 {
2747     LPDISPATCH result;
2748     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2749     return result;
2750 }
2751 
2752 CString XMLSchemaReference::GetNamespaceURI()
2753 {
2754     CString result;
2755     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2756     return result;
2757 }
2758 
2759 CString XMLSchemaReference::GetLocation()
2760 {
2761     CString result;
2762     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2763     return result;
2764 }
2765 
2766 void XMLSchemaReference::Delete()
2767 {
2768     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2769 }
2770 
2771 void XMLSchemaReference::Reload()
2772 {
2773     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2774 }
2775 
2776 
2777 /////////////////////////////////////////////////////////////////////////////
2778 // XMLSchemaReferences properties
2779 
2780 /////////////////////////////////////////////////////////////////////////////
2781 // XMLSchemaReferences operations
2782 
2783 LPUNKNOWN XMLSchemaReferences::Get_NewEnum()
2784 {
2785     LPUNKNOWN result;
2786     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2787     return result;
2788 }
2789 
2790 long XMLSchemaReferences::GetCount()
2791 {
2792     long result;
2793     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2794     return result;
2795 }
2796 
2797 LPDISPATCH XMLSchemaReferences::GetApplication()
2798 {
2799     LPDISPATCH result;
2800     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2801     return result;
2802 }
2803 
2804 long XMLSchemaReferences::GetCreator()
2805 {
2806     long result;
2807     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2808     return result;
2809 }
2810 
2811 LPDISPATCH XMLSchemaReferences::GetParent()
2812 {
2813     LPDISPATCH result;
2814     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2815     return result;
2816 }
2817 
2818 BOOL XMLSchemaReferences::GetAutomaticValidation()
2819 {
2820     BOOL result;
2821     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2822     return result;
2823 }
2824 
2825 void XMLSchemaReferences::SetAutomaticValidation(BOOL bNewValue)
2826 {
2827     static BYTE parms[] =
2828         VTS_BOOL;
2829     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2830         bNewValue);
2831 }
2832 
2833 BOOL XMLSchemaReferences::GetAllowSaveAsXMLWithoutValidation()
2834 {
2835     BOOL result;
2836     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2837     return result;
2838 }
2839 
2840 void XMLSchemaReferences::SetAllowSaveAsXMLWithoutValidation(BOOL bNewValue)
2841 {
2842     static BYTE parms[] =
2843         VTS_BOOL;
2844     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2845         bNewValue);
2846 }
2847 
2848 BOOL XMLSchemaReferences::GetHideValidationErrors()
2849 {
2850     BOOL result;
2851     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2852     return result;
2853 }
2854 
2855 void XMLSchemaReferences::SetHideValidationErrors(BOOL bNewValue)
2856 {
2857     static BYTE parms[] =
2858         VTS_BOOL;
2859     InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2860         bNewValue);
2861 }
2862 
2863 BOOL XMLSchemaReferences::GetIgnoreMixedContent()
2864 {
2865     BOOL result;
2866     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2867     return result;
2868 }
2869 
2870 void XMLSchemaReferences::SetIgnoreMixedContent(BOOL bNewValue)
2871 {
2872     static BYTE parms[] =
2873         VTS_BOOL;
2874     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2875         bNewValue);
2876 }
2877 
2878 BOOL XMLSchemaReferences::GetShowPlaceholderText()
2879 {
2880     BOOL result;
2881     InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
2882     return result;
2883 }
2884 
2885 void XMLSchemaReferences::SetShowPlaceholderText(BOOL bNewValue)
2886 {
2887     static BYTE parms[] =
2888         VTS_BOOL;
2889     InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
2890         bNewValue);
2891 }
2892 
2893 LPDISPATCH XMLSchemaReferences::Item(VARIANT* Index)
2894 {
2895     LPDISPATCH result;
2896     static BYTE parms[] =
2897         VTS_PVARIANT;
2898     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2899         Index);
2900     return result;
2901 }
2902 
2903 void XMLSchemaReferences::Validate()
2904 {
2905     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
2906 }
2907 
2908 LPDISPATCH XMLSchemaReferences::Add(VARIANT* NamespaceURI, VARIANT* Alias, VARIANT* FileName, BOOL InstallForAllUsers)
2909 {
2910     LPDISPATCH result;
2911     static BYTE parms[] =
2912         VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_BOOL;
2913     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2914         NamespaceURI, Alias, FileName, InstallForAllUsers);
2915     return result;
2916 }
2917 
2918 
2919 /////////////////////////////////////////////////////////////////////////////
2920 // XMLChildNodeSuggestion properties
2921 
2922 /////////////////////////////////////////////////////////////////////////////
2923 // XMLChildNodeSuggestion operations
2924 
2925 LPDISPATCH XMLChildNodeSuggestion::GetApplication()
2926 {
2927     LPDISPATCH result;
2928     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2929     return result;
2930 }
2931 
2932 long XMLChildNodeSuggestion::GetCreator()
2933 {
2934     long result;
2935     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2936     return result;
2937 }
2938 
2939 LPDISPATCH XMLChildNodeSuggestion::GetParent()
2940 {
2941     LPDISPATCH result;
2942     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2943     return result;
2944 }
2945 
2946 CString XMLChildNodeSuggestion::GetBaseName()
2947 {
2948     CString result;
2949     InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2950     return result;
2951 }
2952 
2953 CString XMLChildNodeSuggestion::GetNamespaceURI()
2954 {
2955     CString result;
2956     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
2957     return result;
2958 }
2959 
2960 LPDISPATCH XMLChildNodeSuggestion::GetXMLSchemaReference()
2961 {
2962     LPDISPATCH result;
2963     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
2964     return result;
2965 }
2966 
2967 LPDISPATCH XMLChildNodeSuggestion::Insert(VARIANT* Range)
2968 {
2969     LPDISPATCH result;
2970     static BYTE parms[] =
2971         VTS_PVARIANT;
2972     InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
2973         Range);
2974     return result;
2975 }
2976 
2977 
2978 /////////////////////////////////////////////////////////////////////////////
2979 // XMLChildNodeSuggestions properties
2980 
2981 /////////////////////////////////////////////////////////////////////////////
2982 // XMLChildNodeSuggestions operations
2983 
2984 LPUNKNOWN XMLChildNodeSuggestions::Get_NewEnum()
2985 {
2986     LPUNKNOWN result;
2987     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
2988     return result;
2989 }
2990 
2991 long XMLChildNodeSuggestions::GetCount()
2992 {
2993     long result;
2994     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
2995     return result;
2996 }
2997 
2998 LPDISPATCH XMLChildNodeSuggestions::GetApplication()
2999 {
3000     LPDISPATCH result;
3001     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3002     return result;
3003 }
3004 
3005 long XMLChildNodeSuggestions::GetCreator()
3006 {
3007     long result;
3008     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3009     return result;
3010 }
3011 
3012 LPDISPATCH XMLChildNodeSuggestions::GetParent()
3013 {
3014     LPDISPATCH result;
3015     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3016     return result;
3017 }
3018 
3019 LPDISPATCH XMLChildNodeSuggestions::Item(VARIANT* Index)
3020 {
3021     LPDISPATCH result;
3022     static BYTE parms[] =
3023         VTS_PVARIANT;
3024     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3025         Index);
3026     return result;
3027 }
3028 
3029 
3030 /////////////////////////////////////////////////////////////////////////////
3031 // XMLNamespace properties
3032 
3033 /////////////////////////////////////////////////////////////////////////////
3034 // XMLNamespace operations
3035 
3036 LPDISPATCH XMLNamespace::GetApplication()
3037 {
3038     LPDISPATCH result;
3039     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3040     return result;
3041 }
3042 
3043 long XMLNamespace::GetCreator()
3044 {
3045     long result;
3046     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3047     return result;
3048 }
3049 
3050 LPDISPATCH XMLNamespace::GetParent()
3051 {
3052     LPDISPATCH result;
3053     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3054     return result;
3055 }
3056 
3057 CString XMLNamespace::GetUri()
3058 {
3059     CString result;
3060     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3061     return result;
3062 }
3063 
3064 CString XMLNamespace::GetLocation(BOOL AllUsers)
3065 {
3066     CString result;
3067     static BYTE parms[] =
3068         VTS_BOOL;
3069     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
3070         AllUsers);
3071     return result;
3072 }
3073 
3074 void XMLNamespace::SetLocation(BOOL AllUsers, LPCTSTR lpszNewValue)
3075 {
3076     static BYTE parms[] =
3077         VTS_BOOL VTS_BSTR;
3078     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3079         AllUsers, lpszNewValue);
3080 }
3081 
3082 CString XMLNamespace::GetAlias(BOOL AllUsers)
3083 {
3084     CString result;
3085     static BYTE parms[] =
3086         VTS_BOOL;
3087     InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
3088         AllUsers);
3089     return result;
3090 }
3091 
3092 void XMLNamespace::SetAlias(BOOL AllUsers, LPCTSTR lpszNewValue)
3093 {
3094     static BYTE parms[] =
3095         VTS_BOOL VTS_BSTR;
3096     InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3097         AllUsers, lpszNewValue);
3098 }
3099 
3100 LPDISPATCH XMLNamespace::GetXSLTransforms()
3101 {
3102     LPDISPATCH result;
3103     InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3104     return result;
3105 }
3106 
3107 LPDISPATCH XMLNamespace::GetDefaultTransform(BOOL AllUsers)
3108 {
3109     LPDISPATCH result;
3110     static BYTE parms[] =
3111         VTS_BOOL;
3112     InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
3113         AllUsers);
3114     return result;
3115 }
3116 
3117 void XMLNamespace::SetDefaultTransform(BOOL AllUsers, LPDISPATCH newValue)
3118 {
3119     static BYTE parms[] =
3120         VTS_BOOL VTS_DISPATCH;
3121     InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3122         AllUsers, newValue);
3123 }
3124 
3125 void XMLNamespace::AttachToDocument(VARIANT* Document)
3126 {
3127     static BYTE parms[] =
3128         VTS_PVARIANT;
3129     InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3130         Document);
3131 }
3132 
3133 void XMLNamespace::Delete()
3134 {
3135     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3136 }
3137 
3138 
3139 /////////////////////////////////////////////////////////////////////////////
3140 // XMLNamespaces properties
3141 
3142 /////////////////////////////////////////////////////////////////////////////
3143 // XMLNamespaces operations
3144 
3145 LPUNKNOWN XMLNamespaces::Get_NewEnum()
3146 {
3147     LPUNKNOWN result;
3148     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3149     return result;
3150 }
3151 
3152 long XMLNamespaces::GetCount()
3153 {
3154     long result;
3155     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3156     return result;
3157 }
3158 
3159 LPDISPATCH XMLNamespaces::GetApplication()
3160 {
3161     LPDISPATCH result;
3162     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3163     return result;
3164 }
3165 
3166 long XMLNamespaces::GetCreator()
3167 {
3168     long result;
3169     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3170     return result;
3171 }
3172 
3173 LPDISPATCH XMLNamespaces::GetParent()
3174 {
3175     LPDISPATCH result;
3176     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3177     return result;
3178 }
3179 
3180 LPDISPATCH XMLNamespaces::Item(VARIANT* Index)
3181 {
3182     LPDISPATCH result;
3183     static BYTE parms[] =
3184         VTS_PVARIANT;
3185     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3186         Index);
3187     return result;
3188 }
3189 
3190 LPDISPATCH XMLNamespaces::Add(LPCTSTR Path, VARIANT* NamespaceURI, VARIANT* Alias, BOOL InstallForAllUsers)
3191 {
3192     LPDISPATCH result;
3193     static BYTE parms[] =
3194         VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_BOOL;
3195     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3196         Path, NamespaceURI, Alias, InstallForAllUsers);
3197     return result;
3198 }
3199 
3200 void XMLNamespaces::InstallManifest(LPCTSTR Path, BOOL InstallForAllUsers)
3201 {
3202     static BYTE parms[] =
3203         VTS_BSTR VTS_BOOL;
3204     InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3205         Path, InstallForAllUsers);
3206 }
3207 
3208 
3209 /////////////////////////////////////////////////////////////////////////////
3210 // XSLTransform properties
3211 
3212 /////////////////////////////////////////////////////////////////////////////
3213 // XSLTransform operations
3214 
3215 LPDISPATCH XSLTransform::GetApplication()
3216 {
3217     LPDISPATCH result;
3218     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3219     return result;
3220 }
3221 
3222 long XSLTransform::GetCreator()
3223 {
3224     long result;
3225     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3226     return result;
3227 }
3228 
3229 LPDISPATCH XSLTransform::GetParent()
3230 {
3231     LPDISPATCH result;
3232     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3233     return result;
3234 }
3235 
3236 CString XSLTransform::GetAlias(BOOL AllUsers)
3237 {
3238     CString result;
3239     static BYTE parms[] =
3240         VTS_BOOL;
3241     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
3242         AllUsers);
3243     return result;
3244 }
3245 
3246 void XSLTransform::SetAlias(BOOL AllUsers, LPCTSTR lpszNewValue)
3247 {
3248     static BYTE parms[] =
3249         VTS_BOOL VTS_BSTR;
3250     InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3251         AllUsers, lpszNewValue);
3252 }
3253 
3254 CString XSLTransform::GetLocation(BOOL AllUsers)
3255 {
3256     CString result;
3257     static BYTE parms[] =
3258         VTS_BOOL;
3259     InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
3260         AllUsers);
3261     return result;
3262 }
3263 
3264 void XSLTransform::SetLocation(BOOL AllUsers, LPCTSTR lpszNewValue)
3265 {
3266     static BYTE parms[] =
3267         VTS_BOOL VTS_BSTR;
3268     InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
3269         AllUsers, lpszNewValue);
3270 }
3271 
3272 void XSLTransform::Delete()
3273 {
3274     InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3275 }
3276 
3277 
3278 /////////////////////////////////////////////////////////////////////////////
3279 // XSLTransforms properties
3280 
3281 /////////////////////////////////////////////////////////////////////////////
3282 // XSLTransforms operations
3283 
3284 LPUNKNOWN XSLTransforms::Get_NewEnum()
3285 {
3286     LPUNKNOWN result;
3287     InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
3288     return result;
3289 }
3290 
3291 long XSLTransforms::GetCount()
3292 {
3293     long result;
3294     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3295     return result;
3296 }
3297 
3298 LPDISPATCH XSLTransforms::GetApplication()
3299 {
3300     LPDISPATCH result;
3301     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3302     return result;
3303 }
3304 
3305 long XSLTransforms::GetCreator()
3306 {
3307     long result;
3308     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3309     return result;
3310 }
3311 
3312 LPDISPATCH XSLTransforms::GetParent()
3313 {
3314     LPDISPATCH result;
3315     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3316     return result;
3317 }
3318 
3319 LPDISPATCH XSLTransforms::Item(VARIANT* Index)
3320 {
3321     LPDISPATCH result;
3322     static BYTE parms[] =
3323         VTS_PVARIANT;
3324     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3325         Index);
3326     return result;
3327 }
3328 
3329 LPDISPATCH XSLTransforms::Add(LPCTSTR Location, VARIANT* Alias, BOOL InstallForAllUsers)
3330 {
3331     LPDISPATCH result;
3332     static BYTE parms[] =
3333         VTS_BSTR VTS_PVARIANT VTS_BOOL;
3334     InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3335         Location, Alias, InstallForAllUsers);
3336     return result;
3337 }
3338 
3339 
3340 /////////////////////////////////////////////////////////////////////////////
3341 // Editors properties
3342 
3343 /////////////////////////////////////////////////////////////////////////////
3344 // Editors operations
3345 
3346 LPDISPATCH Editors::GetApplication()
3347 {
3348     LPDISPATCH result;
3349     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3350     return result;
3351 }
3352 
3353 long Editors::GetCreator()
3354 {
3355     long result;
3356     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3357     return result;
3358 }
3359 
3360 LPDISPATCH Editors::GetParent()
3361 {
3362     LPDISPATCH result;
3363     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3364     return result;
3365 }
3366 
3367 long Editors::GetCount()
3368 {
3369     long result;
3370     InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3371     return result;
3372 }
3373 
3374 LPDISPATCH Editors::Item(VARIANT* Index)
3375 {
3376     LPDISPATCH result;
3377     static BYTE parms[] =
3378         VTS_PVARIANT;
3379     InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3380         Index);
3381     return result;
3382 }
3383 
3384 LPDISPATCH Editors::Add(VARIANT* EditorID)
3385 {
3386     LPDISPATCH result;
3387     static BYTE parms[] =
3388         VTS_PVARIANT;
3389     InvokeHelper(0x1f5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
3390         EditorID);
3391     return result;
3392 }
3393 
3394 
3395 /////////////////////////////////////////////////////////////////////////////
3396 // Editor properties
3397 
3398 /////////////////////////////////////////////////////////////////////////////
3399 // Editor operations
3400 
3401 CString Editor::GetId()
3402 {
3403     CString result;
3404     InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3405     return result;
3406 }
3407 
3408 CString Editor::GetName()
3409 {
3410     CString result;
3411     InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
3412     return result;
3413 }
3414 
3415 LPDISPATCH Editor::GetRange()
3416 {
3417     LPDISPATCH result;
3418     InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3419     return result;
3420 }
3421 
3422 LPDISPATCH Editor::GetNextRange()
3423 {
3424     LPDISPATCH result;
3425     InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3426     return result;
3427 }
3428 
3429 LPDISPATCH Editor::GetApplication()
3430 {
3431     LPDISPATCH result;
3432     InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3433     return result;
3434 }
3435 
3436 long Editor::GetCreator()
3437 {
3438     long result;
3439     InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
3440     return result;
3441 }
3442 
3443 LPDISPATCH Editor::GetParent()
3444 {
3445     LPDISPATCH result;
3446     InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
3447     return result;
3448 }
3449 
3450 void Editor::Delete()
3451 {
3452     InvokeHelper(0x1f4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3453 }
3454 
3455 void Editor::DeleteAll()
3456 {
3457     InvokeHelper(0x1f5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3458 }
3459 
3460 void Editor::SelectAll()
3461 {
3462     InvokeHelper(0x1f6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3463 }
3464 
3465 
3466 /////////////////////////////////////////////////////////////////////////////
3467 // IApplicationEvents4 properties
3468 
3469 /////////////////////////////////////////////////////////////////////////////
3470 // IApplicationEvents4 operations
3471 
3472 void IApplicationEvents4::Quit()
3473 {
3474     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3475 }
3476 
3477 void IApplicationEvents4::DocumentChange()
3478 {
3479     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3480 }
3481 
3482 void IApplicationEvents4::DocumentOpen(LPDISPATCH Doc)
3483 {
3484     static BYTE parms[] =
3485         VTS_DISPATCH;
3486     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3487         Doc);
3488 }
3489 
3490 void IApplicationEvents4::DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel)
3491 {
3492     static BYTE parms[] =
3493         VTS_DISPATCH VTS_PBOOL;
3494     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3495         Doc, Cancel);
3496 }
3497 
3498 void IApplicationEvents4::DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel)
3499 {
3500     static BYTE parms[] =
3501         VTS_DISPATCH VTS_PBOOL;
3502     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3503         Doc, Cancel);
3504 }
3505 
3506 void IApplicationEvents4::DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel)
3507 {
3508     static BYTE parms[] =
3509         VTS_DISPATCH VTS_PBOOL VTS_PBOOL;
3510     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3511         Doc, SaveAsUI, Cancel);
3512 }
3513 
3514 void IApplicationEvents4::NewDocument(LPDISPATCH Doc)
3515 {
3516     static BYTE parms[] =
3517         VTS_DISPATCH;
3518     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3519         Doc);
3520 }
3521 
3522 void IApplicationEvents4::WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn)
3523 {
3524     static BYTE parms[] =
3525         VTS_DISPATCH VTS_DISPATCH;
3526     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3527         Doc, Wn);
3528 }
3529 
3530 void IApplicationEvents4::WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn)
3531 {
3532     static BYTE parms[] =
3533         VTS_DISPATCH VTS_DISPATCH;
3534     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3535         Doc, Wn);
3536 }
3537 
3538 void IApplicationEvents4::WindowSelectionChange(LPDISPATCH Sel)
3539 {
3540     static BYTE parms[] =
3541         VTS_DISPATCH;
3542     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3543         Sel);
3544 }
3545 
3546 void IApplicationEvents4::WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel)
3547 {
3548     static BYTE parms[] =
3549         VTS_DISPATCH VTS_PBOOL;
3550     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3551         Sel, Cancel);
3552 }
3553 
3554 void IApplicationEvents4::WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel)
3555 {
3556     static BYTE parms[] =
3557         VTS_DISPATCH VTS_PBOOL;
3558     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3559         Sel, Cancel);
3560 }
3561 
3562 void IApplicationEvents4::EPostagePropertyDialog(LPDISPATCH Doc)
3563 {
3564     static BYTE parms[] =
3565         VTS_DISPATCH;
3566     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3567         Doc);
3568 }
3569 
3570 void IApplicationEvents4::EPostageInsert(LPDISPATCH Doc)
3571 {
3572     static BYTE parms[] =
3573         VTS_DISPATCH;
3574     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3575         Doc);
3576 }
3577 
3578 void IApplicationEvents4::MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult)
3579 {
3580     static BYTE parms[] =
3581         VTS_DISPATCH VTS_DISPATCH;
3582     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3583         Doc, DocResult);
3584 }
3585 
3586 void IApplicationEvents4::MailMergeAfterRecordMerge(LPDISPATCH Doc)
3587 {
3588     static BYTE parms[] =
3589         VTS_DISPATCH;
3590     InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3591         Doc);
3592 }
3593 
3594 void IApplicationEvents4::MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel)
3595 {
3596     static BYTE parms[] =
3597         VTS_DISPATCH VTS_I4 VTS_I4 VTS_PBOOL;
3598     InvokeHelper(0x13, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3599         Doc, StartRecord, EndRecord, Cancel);
3600 }
3601 
3602 void IApplicationEvents4::MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel)
3603 {
3604     static BYTE parms[] =
3605         VTS_DISPATCH VTS_PBOOL;
3606     InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3607         Doc, Cancel);
3608 }
3609 
3610 void IApplicationEvents4::MailMergeDataSourceLoad(LPDISPATCH Doc)
3611 {
3612     static BYTE parms[] =
3613         VTS_DISPATCH;
3614     InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3615         Doc);
3616 }
3617 
3618 void IApplicationEvents4::MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled)
3619 {
3620     static BYTE parms[] =
3621         VTS_DISPATCH VTS_PBOOL;
3622     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3623         Doc, Handled);
3624 }
3625 
3626 void IApplicationEvents4::MailMergeWizardSendToCustom(LPDISPATCH Doc)
3627 {
3628     static BYTE parms[] =
3629         VTS_DISPATCH;
3630     InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3631         Doc);
3632 }
3633 
3634 void IApplicationEvents4::MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled)
3635 {
3636     static BYTE parms[] =
3637         VTS_DISPATCH VTS_PI4 VTS_PI4 VTS_PBOOL;
3638     InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3639         Doc, FromState, ToState, Handled);
3640 }
3641 
3642 void IApplicationEvents4::WindowSize(LPDISPATCH Doc, LPDISPATCH Wn)
3643 {
3644     static BYTE parms[] =
3645         VTS_DISPATCH VTS_DISPATCH;
3646     InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3647         Doc, Wn);
3648 }
3649 
3650 void IApplicationEvents4::XMLSelectionChange(LPDISPATCH Sel, LPDISPATCH OldXMLNode, LPDISPATCH NewXMLNode, long* Reason)
3651 {
3652     static BYTE parms[] =
3653         VTS_DISPATCH VTS_DISPATCH VTS_DISPATCH VTS_PI4;
3654     InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3655         Sel, OldXMLNode, NewXMLNode, Reason);
3656 }
3657 
3658 void IApplicationEvents4::XMLValidationError(LPDISPATCH XMLNode)
3659 {
3660     static BYTE parms[] =
3661         VTS_DISPATCH;
3662     InvokeHelper(0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3663         XMLNode);
3664 }
3665 
3666 void IApplicationEvents4::DocumentSync(LPDISPATCH Doc, long SyncEventType)
3667 {
3668     static BYTE parms[] =
3669         VTS_DISPATCH VTS_I4;
3670     InvokeHelper(0x1c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3671         Doc, SyncEventType);
3672 }
3673 
3674 void IApplicationEvents4::EPostageInsertEx(LPDISPATCH Doc, long cpDeliveryAddrStart, long cpDeliveryAddrEnd, long cpReturnAddrStart, long cpReturnAddrEnd, long xaWidth, long yaHeight, LPCTSTR bstrPrinterName, LPCTSTR bstrPaperFeed, BOOL fPrint, BOOL* fCancel)
3675 {
3676     static BYTE parms[] =
3677         VTS_DISPATCH VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_BSTR VTS_BSTR VTS_BOOL VTS_PBOOL;
3678     InvokeHelper(0x1d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3679         Doc, cpDeliveryAddrStart, cpDeliveryAddrEnd, cpReturnAddrStart, cpReturnAddrEnd, xaWidth, yaHeight, bstrPrinterName, bstrPaperFeed, fPrint, fCancel);
3680 }
3681 
3682 
3683 /////////////////////////////////////////////////////////////////////////////
3684 // ApplicationEvents4 properties
3685 
3686 /////////////////////////////////////////////////////////////////////////////
3687 // ApplicationEvents4 operations
3688 
3689 void ApplicationEvents4::Quit()
3690 {
3691     InvokeHelper(0x2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3692 }
3693 
3694 void ApplicationEvents4::DocumentChange()
3695 {
3696     InvokeHelper(0x3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3697 }
3698 
3699 void ApplicationEvents4::DocumentOpen(LPDISPATCH Doc)
3700 {
3701     static BYTE parms[] =
3702         VTS_DISPATCH;
3703     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3704         Doc);
3705 }
3706 
3707 void ApplicationEvents4::DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel)
3708 {
3709     static BYTE parms[] =
3710         VTS_DISPATCH VTS_PBOOL;
3711     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3712         Doc, Cancel);
3713 }
3714 
3715 void ApplicationEvents4::DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel)
3716 {
3717     static BYTE parms[] =
3718         VTS_DISPATCH VTS_PBOOL;
3719     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3720         Doc, Cancel);
3721 }
3722 
3723 void ApplicationEvents4::DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel)
3724 {
3725     static BYTE parms[] =
3726         VTS_DISPATCH VTS_PBOOL VTS_PBOOL;
3727     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3728         Doc, SaveAsUI, Cancel);
3729 }
3730 
3731 void ApplicationEvents4::NewDocument(LPDISPATCH Doc)
3732 {
3733     static BYTE parms[] =
3734         VTS_DISPATCH;
3735     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3736         Doc);
3737 }
3738 
3739 void ApplicationEvents4::WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn)
3740 {
3741     static BYTE parms[] =
3742         VTS_DISPATCH VTS_DISPATCH;
3743     InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3744         Doc, Wn);
3745 }
3746 
3747 void ApplicationEvents4::WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn)
3748 {
3749     static BYTE parms[] =
3750         VTS_DISPATCH VTS_DISPATCH;
3751     InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3752         Doc, Wn);
3753 }
3754 
3755 void ApplicationEvents4::WindowSelectionChange(LPDISPATCH Sel)
3756 {
3757     static BYTE parms[] =
3758         VTS_DISPATCH;
3759     InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3760         Sel);
3761 }
3762 
3763 void ApplicationEvents4::WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel)
3764 {
3765     static BYTE parms[] =
3766         VTS_DISPATCH VTS_PBOOL;
3767     InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3768         Sel, Cancel);
3769 }
3770 
3771 void ApplicationEvents4::WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel)
3772 {
3773     static BYTE parms[] =
3774         VTS_DISPATCH VTS_PBOOL;
3775     InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3776         Sel, Cancel);
3777 }
3778 
3779 void ApplicationEvents4::EPostagePropertyDialog(LPDISPATCH Doc)
3780 {
3781     static BYTE parms[] =
3782         VTS_DISPATCH;
3783     InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3784         Doc);
3785 }
3786 
3787 void ApplicationEvents4::EPostageInsert(LPDISPATCH Doc)
3788 {
3789     static BYTE parms[] =
3790         VTS_DISPATCH;
3791     InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3792         Doc);
3793 }
3794 
3795 void ApplicationEvents4::MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult)
3796 {
3797     static BYTE parms[] =
3798         VTS_DISPATCH VTS_DISPATCH;
3799     InvokeHelper(0x11, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3800         Doc, DocResult);
3801 }
3802 
3803 void ApplicationEvents4::MailMergeAfterRecordMerge(LPDISPATCH Doc)
3804 {
3805     static BYTE parms[] =
3806         VTS_DISPATCH;
3807     InvokeHelper(0x12, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3808         Doc);
3809 }
3810 
3811 void ApplicationEvents4::MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel)
3812 {
3813     static BYTE parms[] =
3814         VTS_DISPATCH VTS_I4 VTS_I4 VTS_PBOOL;
3815     InvokeHelper(0x13, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3816         Doc, StartRecord, EndRecord, Cancel);
3817 }
3818 
3819 void ApplicationEvents4::MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel)
3820 {
3821     static BYTE parms[] =
3822         VTS_DISPATCH VTS_PBOOL;
3823     InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3824         Doc, Cancel);
3825 }
3826 
3827 void ApplicationEvents4::MailMergeDataSourceLoad(LPDISPATCH Doc)
3828 {
3829     static BYTE parms[] =
3830         VTS_DISPATCH;
3831     InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3832         Doc);
3833 }
3834 
3835 void ApplicationEvents4::MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled)
3836 {
3837     static BYTE parms[] =
3838         VTS_DISPATCH VTS_PBOOL;
3839     InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3840         Doc, Handled);
3841 }
3842 
3843 void ApplicationEvents4::MailMergeWizardSendToCustom(LPDISPATCH Doc)
3844 {
3845     static BYTE parms[] =
3846         VTS_DISPATCH;
3847     InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3848         Doc);
3849 }
3850 
3851 void ApplicationEvents4::MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled)
3852 {
3853     static BYTE parms[] =
3854         VTS_DISPATCH VTS_PI4 VTS_PI4 VTS_PBOOL;
3855     InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3856         Doc, FromState, ToState, Handled);
3857 }
3858 
3859 void ApplicationEvents4::WindowSize(LPDISPATCH Doc, LPDISPATCH Wn)
3860 {
3861     static BYTE parms[] =
3862         VTS_DISPATCH VTS_DISPATCH;
3863     InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3864         Doc, Wn);
3865 }
3866 
3867 void ApplicationEvents4::XMLSelectionChange(LPDISPATCH Sel, LPDISPATCH OldXMLNode, LPDISPATCH NewXMLNode, long* Reason)
3868 {
3869     static BYTE parms[] =
3870         VTS_DISPATCH VTS_DISPATCH VTS_DISPATCH VTS_PI4;
3871     InvokeHelper(0x1a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3872         Sel, OldXMLNode, NewXMLNode, Reason);
3873 }
3874 
3875 void ApplicationEvents4::XMLValidationError(LPDISPATCH XMLNode)
3876 {
3877     static BYTE parms[] =
3878         VTS_DISPATCH;
3879     InvokeHelper(0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3880         XMLNode);
3881 }
3882 
3883 void ApplicationEvents4::DocumentSync(LPDISPATCH Doc, long SyncEventType)
3884 {
3885     static BYTE parms[] =
3886         VTS_DISPATCH VTS_I4;
3887     InvokeHelper(0x1c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3888         Doc, SyncEventType);
3889 }
3890 
3891 void ApplicationEvents4::EPostageInsertEx(LPDISPATCH Doc, long cpDeliveryAddrStart, long cpDeliveryAddrEnd, long cpReturnAddrStart, long cpReturnAddrEnd, long xaWidth, long yaHeight, LPCTSTR bstrPrinterName, LPCTSTR bstrPaperFeed, BOOL fPrint, BOOL* fCancel)
3892 {
3893     static BYTE parms[] =
3894         VTS_DISPATCH VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_BSTR VTS_BSTR VTS_BOOL VTS_PBOOL;
3895     InvokeHelper(0x1d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3896         Doc, cpDeliveryAddrStart, cpDeliveryAddrEnd, cpReturnAddrStart, cpReturnAddrEnd, xaWidth, yaHeight, bstrPrinterName, bstrPaperFeed, fPrint, fCancel);
3897 }
3898 
3899 
3900 /////////////////////////////////////////////////////////////////////////////
3901 // DocumentEvents2 properties
3902 
3903 /////////////////////////////////////////////////////////////////////////////
3904 // DocumentEvents2 operations
3905 
3906 void DocumentEvents2::New()
3907 {
3908     InvokeHelper(0x4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3909 }
3910 
3911 void DocumentEvents2::Open()
3912 {
3913     InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3914 }
3915 
3916 void DocumentEvents2::Close()
3917 {
3918     InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
3919 }
3920 
3921 void DocumentEvents2::Sync(long SyncEventType)
3922 {
3923     static BYTE parms[] =
3924         VTS_I4;
3925     InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3926         SyncEventType);
3927 }
3928 
3929 void DocumentEvents2::XMLAfterInsert(LPDISPATCH NewXMLNode, BOOL InUndoRedo)
3930 {
3931     static BYTE parms[] =
3932         VTS_DISPATCH VTS_BOOL;
3933     InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3934         NewXMLNode, InUndoRedo);
3935 }
3936 
3937 void DocumentEvents2::XMLBeforeDelete(LPDISPATCH DeletedRange, LPDISPATCH OldXMLNode, BOOL InUndoRedo)
3938 {
3939     static BYTE parms[] =
3940         VTS_DISPATCH VTS_DISPATCH VTS_BOOL;
3941     InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
3942         DeletedRange, OldXMLNode, InUndoRedo);
3943 }
View Code

 

posted @ 2021-02-22 22:06  ckrgd  阅读(301)  评论(0编辑  收藏  举报