msword.h文件太大分成多个上传
1
1 // Machine generated IDispatch wrapper class(es) created with ClassWizard 2 3 #include "stdafx.h" 4 #include "msword.h" 5 6 #ifdef _DEBUG 7 #define new DEBUG_NEW 8 #undef THIS_FILE 9 static char THIS_FILE[] = __FILE__; 10 #endif 11 12 13 14 ///////////////////////////////////////////////////////////////////////////// 15 // _Application properties 16 17 ///////////////////////////////////////////////////////////////////////////// 18 // _Application operations 19 20 LPDISPATCH _Application::GetApplication() 21 { 22 LPDISPATCH result; 23 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 24 return result; 25 } 26 27 long _Application::GetCreator() 28 { 29 long result; 30 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 31 return result; 32 } 33 34 LPDISPATCH _Application::GetParent() 35 { 36 LPDISPATCH result; 37 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 38 return result; 39 } 40 41 CString _Application::GetName() 42 { 43 CString result; 44 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 45 return result; 46 } 47 48 LPDISPATCH _Application::GetDocuments() 49 { 50 LPDISPATCH result; 51 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 52 return result; 53 } 54 55 LPDISPATCH _Application::GetWindows() 56 { 57 LPDISPATCH result; 58 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 59 return result; 60 } 61 62 LPDISPATCH _Application::GetActiveDocument() 63 { 64 LPDISPATCH result; 65 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 66 return result; 67 } 68 69 LPDISPATCH _Application::GetActiveWindow() 70 { 71 LPDISPATCH result; 72 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 73 return result; 74 } 75 76 LPDISPATCH _Application::GetSelection() 77 { 78 LPDISPATCH result; 79 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 80 return result; 81 } 82 83 LPDISPATCH _Application::GetWordBasic() 84 { 85 LPDISPATCH result; 86 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 87 return result; 88 } 89 90 LPDISPATCH _Application::GetRecentFiles() 91 { 92 LPDISPATCH result; 93 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 94 return result; 95 } 96 97 LPDISPATCH _Application::GetNormalTemplate() 98 { 99 LPDISPATCH result; 100 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 101 return result; 102 } 103 104 LPDISPATCH _Application::GetSystem() 105 { 106 LPDISPATCH result; 107 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 108 return result; 109 } 110 111 LPDISPATCH _Application::GetAutoCorrect() 112 { 113 LPDISPATCH result; 114 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 115 return result; 116 } 117 118 LPDISPATCH _Application::GetFontNames() 119 { 120 LPDISPATCH result; 121 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 122 return result; 123 } 124 125 LPDISPATCH _Application::GetLandscapeFontNames() 126 { 127 LPDISPATCH result; 128 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 129 return result; 130 } 131 132 LPDISPATCH _Application::GetPortraitFontNames() 133 { 134 LPDISPATCH result; 135 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 136 return result; 137 } 138 139 LPDISPATCH _Application::GetLanguages() 140 { 141 LPDISPATCH result; 142 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 143 return result; 144 } 145 146 LPDISPATCH _Application::GetAssistant() 147 { 148 LPDISPATCH result; 149 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 150 return result; 151 } 152 153 LPDISPATCH _Application::GetBrowser() 154 { 155 LPDISPATCH result; 156 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 157 return result; 158 } 159 160 LPDISPATCH _Application::GetFileConverters() 161 { 162 LPDISPATCH result; 163 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 164 return result; 165 } 166 167 LPDISPATCH _Application::GetMailingLabel() 168 { 169 LPDISPATCH result; 170 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 171 return result; 172 } 173 174 LPDISPATCH _Application::GetDialogs() 175 { 176 LPDISPATCH result; 177 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 178 return result; 179 } 180 181 LPDISPATCH _Application::GetCaptionLabels() 182 { 183 LPDISPATCH result; 184 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 185 return result; 186 } 187 188 LPDISPATCH _Application::GetAutoCaptions() 189 { 190 LPDISPATCH result; 191 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 192 return result; 193 } 194 195 LPDISPATCH _Application::GetAddIns() 196 { 197 LPDISPATCH result; 198 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 199 return result; 200 } 201 202 BOOL _Application::GetVisible() 203 { 204 BOOL result; 205 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 206 return result; 207 } 208 209 void _Application::SetVisible(BOOL bNewValue) 210 { 211 static BYTE parms[] = 212 VTS_BOOL; 213 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 214 bNewValue); 215 } 216 217 CString _Application::GetVersion() 218 { 219 CString result; 220 InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 221 return result; 222 } 223 224 BOOL _Application::GetScreenUpdating() 225 { 226 BOOL result; 227 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 228 return result; 229 } 230 231 void _Application::SetScreenUpdating(BOOL bNewValue) 232 { 233 static BYTE parms[] = 234 VTS_BOOL; 235 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 236 bNewValue); 237 } 238 239 BOOL _Application::GetPrintPreview() 240 { 241 BOOL result; 242 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 243 return result; 244 } 245 246 void _Application::SetPrintPreview(BOOL bNewValue) 247 { 248 static BYTE parms[] = 249 VTS_BOOL; 250 InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 251 bNewValue); 252 } 253 254 LPDISPATCH _Application::GetTasks() 255 { 256 LPDISPATCH result; 257 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 258 return result; 259 } 260 261 BOOL _Application::GetDisplayStatusBar() 262 { 263 BOOL result; 264 InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 265 return result; 266 } 267 268 void _Application::SetDisplayStatusBar(BOOL bNewValue) 269 { 270 static BYTE parms[] = 271 VTS_BOOL; 272 InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 273 bNewValue); 274 } 275 276 BOOL _Application::GetSpecialMode() 277 { 278 BOOL result; 279 InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 280 return result; 281 } 282 283 long _Application::GetUsableWidth() 284 { 285 long result; 286 InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 287 return result; 288 } 289 290 long _Application::GetUsableHeight() 291 { 292 long result; 293 InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 294 return result; 295 } 296 297 BOOL _Application::GetMathCoprocessorAvailable() 298 { 299 BOOL result; 300 InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 301 return result; 302 } 303 304 BOOL _Application::GetMouseAvailable() 305 { 306 BOOL result; 307 InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 308 return result; 309 } 310 311 VARIANT _Application::GetInternational(long Index) 312 { 313 VARIANT result; 314 static BYTE parms[] = 315 VTS_I4; 316 InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms, 317 Index); 318 return result; 319 } 320 321 CString _Application::GetBuild() 322 { 323 CString result; 324 InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 325 return result; 326 } 327 328 BOOL _Application::GetCapsLock() 329 { 330 BOOL result; 331 InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 332 return result; 333 } 334 335 BOOL _Application::GetNumLock() 336 { 337 BOOL result; 338 InvokeHelper(0x31, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 339 return result; 340 } 341 342 CString _Application::GetUserName_() 343 { 344 CString result; 345 InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 346 return result; 347 } 348 349 void _Application::SetUserName(LPCTSTR lpszNewValue) 350 { 351 static BYTE parms[] = 352 VTS_BSTR; 353 InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 354 lpszNewValue); 355 } 356 357 CString _Application::GetUserInitials() 358 { 359 CString result; 360 InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 361 return result; 362 } 363 364 void _Application::SetUserInitials(LPCTSTR lpszNewValue) 365 { 366 static BYTE parms[] = 367 VTS_BSTR; 368 InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 369 lpszNewValue); 370 } 371 372 CString _Application::GetUserAddress() 373 { 374 CString result; 375 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 376 return result; 377 } 378 379 void _Application::SetUserAddress(LPCTSTR lpszNewValue) 380 { 381 static BYTE parms[] = 382 VTS_BSTR; 383 InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 384 lpszNewValue); 385 } 386 387 LPDISPATCH _Application::GetMacroContainer() 388 { 389 LPDISPATCH result; 390 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 391 return result; 392 } 393 394 BOOL _Application::GetDisplayRecentFiles() 395 { 396 BOOL result; 397 InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 398 return result; 399 } 400 401 void _Application::SetDisplayRecentFiles(BOOL bNewValue) 402 { 403 static BYTE parms[] = 404 VTS_BOOL; 405 InvokeHelper(0x38, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 406 bNewValue); 407 } 408 409 LPDISPATCH _Application::GetCommandBars() 410 { 411 LPDISPATCH result; 412 InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 413 return result; 414 } 415 416 LPDISPATCH _Application::GetSynonymInfo(LPCTSTR Word, VARIANT* LanguageID) 417 { 418 LPDISPATCH result; 419 static BYTE parms[] = 420 VTS_BSTR VTS_PVARIANT; 421 InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 422 Word, LanguageID); 423 return result; 424 } 425 426 LPDISPATCH _Application::GetVbe() 427 { 428 LPDISPATCH result; 429 InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 430 return result; 431 } 432 433 CString _Application::GetDefaultSaveFormat() 434 { 435 CString result; 436 InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 437 return result; 438 } 439 440 void _Application::SetDefaultSaveFormat(LPCTSTR lpszNewValue) 441 { 442 static BYTE parms[] = 443 VTS_BSTR; 444 InvokeHelper(0x40, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 445 lpszNewValue); 446 } 447 448 LPDISPATCH _Application::GetListGalleries() 449 { 450 LPDISPATCH result; 451 InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 452 return result; 453 } 454 455 CString _Application::GetActivePrinter() 456 { 457 CString result; 458 InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 459 return result; 460 } 461 462 void _Application::SetActivePrinter(LPCTSTR lpszNewValue) 463 { 464 static BYTE parms[] = 465 VTS_BSTR; 466 InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 467 lpszNewValue); 468 } 469 470 LPDISPATCH _Application::GetTemplates() 471 { 472 LPDISPATCH result; 473 InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 474 return result; 475 } 476 477 LPDISPATCH _Application::GetCustomizationContext() 478 { 479 LPDISPATCH result; 480 InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 481 return result; 482 } 483 484 void _Application::SetCustomizationContext(LPDISPATCH newValue) 485 { 486 static BYTE parms[] = 487 VTS_DISPATCH; 488 InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 489 newValue); 490 } 491 492 LPDISPATCH _Application::GetKeyBindings() 493 { 494 LPDISPATCH result; 495 InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 496 return result; 497 } 498 499 LPDISPATCH _Application::GetKeysBoundTo(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter) 500 { 501 LPDISPATCH result; 502 static BYTE parms[] = 503 VTS_I4 VTS_BSTR VTS_PVARIANT; 504 InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 505 KeyCategory, Command, CommandParameter); 506 return result; 507 } 508 509 LPDISPATCH _Application::GetFindKey(long KeyCode, VARIANT* KeyCode2) 510 { 511 LPDISPATCH result; 512 static BYTE parms[] = 513 VTS_I4 VTS_PVARIANT; 514 InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 515 KeyCode, KeyCode2); 516 return result; 517 } 518 519 CString _Application::GetCaption() 520 { 521 CString result; 522 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 523 return result; 524 } 525 526 void _Application::SetCaption(LPCTSTR lpszNewValue) 527 { 528 static BYTE parms[] = 529 VTS_BSTR; 530 InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 531 lpszNewValue); 532 } 533 534 CString _Application::GetPath() 535 { 536 CString result; 537 InvokeHelper(0x51, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 538 return result; 539 } 540 541 BOOL _Application::GetDisplayScrollBars() 542 { 543 BOOL result; 544 InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 545 return result; 546 } 547 548 void _Application::SetDisplayScrollBars(BOOL bNewValue) 549 { 550 static BYTE parms[] = 551 VTS_BOOL; 552 InvokeHelper(0x52, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 553 bNewValue); 554 } 555 556 CString _Application::GetStartupPath() 557 { 558 CString result; 559 InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 560 return result; 561 } 562 563 void _Application::SetStartupPath(LPCTSTR lpszNewValue) 564 { 565 static BYTE parms[] = 566 VTS_BSTR; 567 InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 568 lpszNewValue); 569 } 570 571 long _Application::GetBackgroundSavingStatus() 572 { 573 long result; 574 InvokeHelper(0x55, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 575 return result; 576 } 577 578 long _Application::GetBackgroundPrintingStatus() 579 { 580 long result; 581 InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 582 return result; 583 } 584 585 long _Application::GetLeft() 586 { 587 long result; 588 InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 589 return result; 590 } 591 592 void _Application::SetLeft(long nNewValue) 593 { 594 static BYTE parms[] = 595 VTS_I4; 596 InvokeHelper(0x57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 597 nNewValue); 598 } 599 600 long _Application::GetTop() 601 { 602 long result; 603 InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 604 return result; 605 } 606 607 void _Application::SetTop(long nNewValue) 608 { 609 static BYTE parms[] = 610 VTS_I4; 611 InvokeHelper(0x58, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 612 nNewValue); 613 } 614 615 long _Application::GetWidth() 616 { 617 long result; 618 InvokeHelper(0x59, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 619 return result; 620 } 621 622 void _Application::SetWidth(long nNewValue) 623 { 624 static BYTE parms[] = 625 VTS_I4; 626 InvokeHelper(0x59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 627 nNewValue); 628 } 629 630 long _Application::GetHeight() 631 { 632 long result; 633 InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 634 return result; 635 } 636 637 void _Application::SetHeight(long nNewValue) 638 { 639 static BYTE parms[] = 640 VTS_I4; 641 InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 642 nNewValue); 643 } 644 645 long _Application::GetWindowState() 646 { 647 long result; 648 InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 649 return result; 650 } 651 652 void _Application::SetWindowState(long nNewValue) 653 { 654 static BYTE parms[] = 655 VTS_I4; 656 InvokeHelper(0x5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 657 nNewValue); 658 } 659 660 BOOL _Application::GetDisplayAutoCompleteTips() 661 { 662 BOOL result; 663 InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 664 return result; 665 } 666 667 void _Application::SetDisplayAutoCompleteTips(BOOL bNewValue) 668 { 669 static BYTE parms[] = 670 VTS_BOOL; 671 InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 672 bNewValue); 673 } 674 675 LPDISPATCH _Application::GetOptions() 676 { 677 LPDISPATCH result; 678 InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 679 return result; 680 } 681 682 long _Application::GetDisplayAlerts() 683 { 684 long result; 685 InvokeHelper(0x5e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 686 return result; 687 } 688 689 void _Application::SetDisplayAlerts(long nNewValue) 690 { 691 static BYTE parms[] = 692 VTS_I4; 693 InvokeHelper(0x5e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 694 nNewValue); 695 } 696 697 LPDISPATCH _Application::GetCustomDictionaries() 698 { 699 LPDISPATCH result; 700 InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 701 return result; 702 } 703 704 CString _Application::GetPathSeparator() 705 { 706 CString result; 707 InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 708 return result; 709 } 710 711 void _Application::SetStatusBar(LPCTSTR lpszNewValue) 712 { 713 static BYTE parms[] = 714 VTS_BSTR; 715 InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 716 lpszNewValue); 717 } 718 719 BOOL _Application::GetMAPIAvailable() 720 { 721 BOOL result; 722 InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 723 return result; 724 } 725 726 BOOL _Application::GetDisplayScreenTips() 727 { 728 BOOL result; 729 InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 730 return result; 731 } 732 733 void _Application::SetDisplayScreenTips(BOOL bNewValue) 734 { 735 static BYTE parms[] = 736 VTS_BOOL; 737 InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 738 bNewValue); 739 } 740 741 long _Application::GetEnableCancelKey() 742 { 743 long result; 744 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 745 return result; 746 } 747 748 void _Application::SetEnableCancelKey(long nNewValue) 749 { 750 static BYTE parms[] = 751 VTS_I4; 752 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 753 nNewValue); 754 } 755 756 BOOL _Application::GetUserControl() 757 { 758 BOOL result; 759 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 760 return result; 761 } 762 763 LPDISPATCH _Application::GetFileSearch() 764 { 765 LPDISPATCH result; 766 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 767 return result; 768 } 769 770 long _Application::GetMailSystem() 771 { 772 long result; 773 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 774 return result; 775 } 776 777 CString _Application::GetDefaultTableSeparator() 778 { 779 CString result; 780 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 781 return result; 782 } 783 784 void _Application::SetDefaultTableSeparator(LPCTSTR lpszNewValue) 785 { 786 static BYTE parms[] = 787 VTS_BSTR; 788 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 789 lpszNewValue); 790 } 791 792 BOOL _Application::GetShowVisualBasicEditor() 793 { 794 BOOL result; 795 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 796 return result; 797 } 798 799 void _Application::SetShowVisualBasicEditor(BOOL bNewValue) 800 { 801 static BYTE parms[] = 802 VTS_BOOL; 803 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 804 bNewValue); 805 } 806 807 CString _Application::GetBrowseExtraFileTypes() 808 { 809 CString result; 810 InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 811 return result; 812 } 813 814 void _Application::SetBrowseExtraFileTypes(LPCTSTR lpszNewValue) 815 { 816 static BYTE parms[] = 817 VTS_BSTR; 818 InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 819 lpszNewValue); 820 } 821 822 BOOL _Application::GetIsObjectValid(LPDISPATCH Object) 823 { 824 BOOL result; 825 static BYTE parms[] = 826 VTS_DISPATCH; 827 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms, 828 Object); 829 return result; 830 } 831 832 LPDISPATCH _Application::GetHangulHanjaDictionaries() 833 { 834 LPDISPATCH result; 835 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 836 return result; 837 } 838 839 LPDISPATCH _Application::GetMailMessage() 840 { 841 LPDISPATCH result; 842 InvokeHelper(0x15c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 843 return result; 844 } 845 846 BOOL _Application::GetFocusInMailHeader() 847 { 848 BOOL result; 849 InvokeHelper(0x182, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 850 return result; 851 } 852 853 void _Application::Quit(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument) 854 { 855 static BYTE parms[] = 856 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 857 InvokeHelper(0x451, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 858 SaveChanges, OriginalFormat, RouteDocument); 859 } 860 861 void _Application::ScreenRefresh() 862 { 863 InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 864 } 865 866 void _Application::LookupNameProperties(LPCTSTR Name) 867 { 868 static BYTE parms[] = 869 VTS_BSTR; 870 InvokeHelper(0x12f, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 871 Name); 872 } 873 874 void _Application::SubstituteFont(LPCTSTR UnavailableFont, LPCTSTR SubstituteFont) 875 { 876 static BYTE parms[] = 877 VTS_BSTR VTS_BSTR; 878 InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 879 UnavailableFont, SubstituteFont); 880 } 881 882 BOOL _Application::Repeat(VARIANT* Times) 883 { 884 BOOL result; 885 static BYTE parms[] = 886 VTS_PVARIANT; 887 InvokeHelper(0x131, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 888 Times); 889 return result; 890 } 891 892 void _Application::DDEExecute(long Channel, LPCTSTR Command) 893 { 894 static BYTE parms[] = 895 VTS_I4 VTS_BSTR; 896 InvokeHelper(0x136, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 897 Channel, Command); 898 } 899 900 long _Application::DDEInitiate(LPCTSTR App, LPCTSTR Topic) 901 { 902 long result; 903 static BYTE parms[] = 904 VTS_BSTR VTS_BSTR; 905 InvokeHelper(0x137, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 906 App, Topic); 907 return result; 908 } 909 910 void _Application::DDEPoke(long Channel, LPCTSTR Item, LPCTSTR Data) 911 { 912 static BYTE parms[] = 913 VTS_I4 VTS_BSTR VTS_BSTR; 914 InvokeHelper(0x138, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 915 Channel, Item, Data); 916 } 917 918 CString _Application::DDERequest(long Channel, LPCTSTR Item) 919 { 920 CString result; 921 static BYTE parms[] = 922 VTS_I4 VTS_BSTR; 923 InvokeHelper(0x139, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 924 Channel, Item); 925 return result; 926 } 927 928 void _Application::DDETerminate(long Channel) 929 { 930 static BYTE parms[] = 931 VTS_I4; 932 InvokeHelper(0x13a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 933 Channel); 934 } 935 936 void _Application::DDETerminateAll() 937 { 938 InvokeHelper(0x13b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 939 } 940 941 long _Application::BuildKeyCode(long Arg1, VARIANT* Arg2, VARIANT* Arg3, VARIANT* Arg4) 942 { 943 long result; 944 static BYTE parms[] = 945 VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 946 InvokeHelper(0x13c, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 947 Arg1, Arg2, Arg3, Arg4); 948 return result; 949 } 950 951 CString _Application::KeyString(long KeyCode, VARIANT* KeyCode2) 952 { 953 CString result; 954 static BYTE parms[] = 955 VTS_I4 VTS_PVARIANT; 956 InvokeHelper(0x13d, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 957 KeyCode, KeyCode2); 958 return result; 959 } 960 961 void _Application::OrganizerCopy(LPCTSTR Source, LPCTSTR Destination, LPCTSTR Name, long Object) 962 { 963 static BYTE parms[] = 964 VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4; 965 InvokeHelper(0x13e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 966 Source, Destination, Name, Object); 967 } 968 969 void _Application::OrganizerDelete(LPCTSTR Source, LPCTSTR Name, long Object) 970 { 971 static BYTE parms[] = 972 VTS_BSTR VTS_BSTR VTS_I4; 973 InvokeHelper(0x13f, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 974 Source, Name, Object); 975 } 976 977 void _Application::OrganizerRename(LPCTSTR Source, LPCTSTR Name, LPCTSTR NewName, long Object) 978 { 979 static BYTE parms[] = 980 VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4; 981 InvokeHelper(0x140, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 982 Source, Name, NewName, Object); 983 } 984 985 CString _Application::GetAddress(VARIANT* Name, VARIANT* AddressProperties, VARIANT* UseAutoText, VARIANT* DisplaySelectDialog, VARIANT* SelectDialog, VARIANT* CheckNamesDialog, VARIANT* RecentAddressesChoice, VARIANT* UpdateRecentAddresses) 986 { 987 CString result; 988 static BYTE parms[] = 989 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 990 InvokeHelper(0x142, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 991 Name, AddressProperties, UseAutoText, DisplaySelectDialog, SelectDialog, CheckNamesDialog, RecentAddressesChoice, UpdateRecentAddresses); 992 return result; 993 } 994 995 BOOL _Application::CheckGrammar(LPCTSTR String) 996 { 997 BOOL result; 998 static BYTE parms[] = 999 VTS_BSTR; 1000 InvokeHelper(0x143, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 1001 String); 1002 return result; 1003 } 1004 1005 BOOL _Application::CheckSpelling(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, 1006 VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 1007 { 1008 BOOL result; 1009 static BYTE parms[] = 1010 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1011 InvokeHelper(0x144, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 1012 Word, CustomDictionary, IgnoreUppercase, MainDictionary, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10); 1013 return result; 1014 } 1015 1016 void _Application::ResetIgnoreAll() 1017 { 1018 InvokeHelper(0x146, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1019 } 1020 1021 LPDISPATCH _Application::GetSpellingSuggestions(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, 1022 VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 1023 { 1024 LPDISPATCH result; 1025 static BYTE parms[] = 1026 VTS_BSTR 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; 1027 InvokeHelper(0x147, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1028 Word, CustomDictionary, IgnoreUppercase, MainDictionary, SuggestionMode, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, 1029 CustomDictionary10); 1030 return result; 1031 } 1032 1033 void _Application::GoBack() 1034 { 1035 InvokeHelper(0x148, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1036 } 1037 1038 void _Application::Help(VARIANT* HelpType) 1039 { 1040 static BYTE parms[] = 1041 VTS_PVARIANT; 1042 InvokeHelper(0x149, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1043 HelpType); 1044 } 1045 1046 void _Application::AutomaticChange() 1047 { 1048 InvokeHelper(0x14a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1049 } 1050 1051 void _Application::ShowMe() 1052 { 1053 InvokeHelper(0x14b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1054 } 1055 1056 void _Application::HelpTool() 1057 { 1058 InvokeHelper(0x14c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1059 } 1060 1061 LPDISPATCH _Application::NewWindow() 1062 { 1063 LPDISPATCH result; 1064 InvokeHelper(0x159, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 1065 return result; 1066 } 1067 1068 void _Application::ListCommands(BOOL ListAllCommands) 1069 { 1070 static BYTE parms[] = 1071 VTS_BOOL; 1072 InvokeHelper(0x15a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1073 ListAllCommands); 1074 } 1075 1076 void _Application::ShowClipboard() 1077 { 1078 InvokeHelper(0x15d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1079 } 1080 1081 void _Application::OnTime(VARIANT* When, LPCTSTR Name, VARIANT* Tolerance) 1082 { 1083 static BYTE parms[] = 1084 VTS_PVARIANT VTS_BSTR VTS_PVARIANT; 1085 InvokeHelper(0x15e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1086 When, Name, Tolerance); 1087 } 1088 1089 void _Application::NextLetter() 1090 { 1091 InvokeHelper(0x15f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1092 } 1093 1094 short _Application::MountVolume(LPCTSTR Zone, LPCTSTR Server, LPCTSTR Volume, VARIANT* User, VARIANT* UserPassword, VARIANT* VolumePassword) 1095 { 1096 short result; 1097 static BYTE parms[] = 1098 VTS_BSTR VTS_BSTR VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1099 InvokeHelper(0x161, DISPATCH_METHOD, VT_I2, (void*)&result, parms, 1100 Zone, Server, Volume, User, UserPassword, VolumePassword); 1101 return result; 1102 } 1103 1104 CString _Application::CleanString(LPCTSTR String) 1105 { 1106 CString result; 1107 static BYTE parms[] = 1108 VTS_BSTR; 1109 InvokeHelper(0x162, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 1110 String); 1111 return result; 1112 } 1113 1114 void _Application::SendFax() 1115 { 1116 InvokeHelper(0x164, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1117 } 1118 1119 void _Application::ChangeFileOpenDirectory(LPCTSTR Path) 1120 { 1121 static BYTE parms[] = 1122 VTS_BSTR; 1123 InvokeHelper(0x165, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1124 Path); 1125 } 1126 1127 void _Application::GoForward() 1128 { 1129 InvokeHelper(0x167, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1130 } 1131 1132 void _Application::Move(long Left, long Top) 1133 { 1134 static BYTE parms[] = 1135 VTS_I4 VTS_I4; 1136 InvokeHelper(0x168, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1137 Left, Top); 1138 } 1139 1140 void _Application::Resize(long Width, long Height) 1141 { 1142 static BYTE parms[] = 1143 VTS_I4 VTS_I4; 1144 InvokeHelper(0x169, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1145 Width, Height); 1146 } 1147 1148 float _Application::InchesToPoints(float Inches) 1149 { 1150 float result; 1151 static BYTE parms[] = 1152 VTS_R4; 1153 InvokeHelper(0x172, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1154 Inches); 1155 return result; 1156 } 1157 1158 float _Application::CentimetersToPoints(float Centimeters) 1159 { 1160 float result; 1161 static BYTE parms[] = 1162 VTS_R4; 1163 InvokeHelper(0x173, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1164 Centimeters); 1165 return result; 1166 } 1167 1168 float _Application::MillimetersToPoints(float Millimeters) 1169 { 1170 float result; 1171 static BYTE parms[] = 1172 VTS_R4; 1173 InvokeHelper(0x174, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1174 Millimeters); 1175 return result; 1176 } 1177 1178 float _Application::PicasToPoints(float Picas) 1179 { 1180 float result; 1181 static BYTE parms[] = 1182 VTS_R4; 1183 InvokeHelper(0x175, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1184 Picas); 1185 return result; 1186 } 1187 1188 float _Application::LinesToPoints(float Lines) 1189 { 1190 float result; 1191 static BYTE parms[] = 1192 VTS_R4; 1193 InvokeHelper(0x176, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1194 Lines); 1195 return result; 1196 } 1197 1198 float _Application::PointsToInches(float Points) 1199 { 1200 float result; 1201 static BYTE parms[] = 1202 VTS_R4; 1203 InvokeHelper(0x17c, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1204 Points); 1205 return result; 1206 } 1207 1208 float _Application::PointsToCentimeters(float Points) 1209 { 1210 float result; 1211 static BYTE parms[] = 1212 VTS_R4; 1213 InvokeHelper(0x17d, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1214 Points); 1215 return result; 1216 } 1217 1218 float _Application::PointsToMillimeters(float Points) 1219 { 1220 float result; 1221 static BYTE parms[] = 1222 VTS_R4; 1223 InvokeHelper(0x17e, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1224 Points); 1225 return result; 1226 } 1227 1228 float _Application::PointsToPicas(float Points) 1229 { 1230 float result; 1231 static BYTE parms[] = 1232 VTS_R4; 1233 InvokeHelper(0x17f, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1234 Points); 1235 return result; 1236 } 1237 1238 float _Application::PointsToLines(float Points) 1239 { 1240 float result; 1241 static BYTE parms[] = 1242 VTS_R4; 1243 InvokeHelper(0x180, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1244 Points); 1245 return result; 1246 } 1247 1248 void _Application::Activate() 1249 { 1250 InvokeHelper(0x181, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1251 } 1252 1253 float _Application::PointsToPixels(float Points, VARIANT* fVertical) 1254 { 1255 float result; 1256 static BYTE parms[] = 1257 VTS_R4 VTS_PVARIANT; 1258 InvokeHelper(0x183, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1259 Points, fVertical); 1260 return result; 1261 } 1262 1263 float _Application::PixelsToPoints(float Pixels, VARIANT* fVertical) 1264 { 1265 float result; 1266 static BYTE parms[] = 1267 VTS_R4 VTS_PVARIANT; 1268 InvokeHelper(0x184, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 1269 Pixels, fVertical); 1270 return result; 1271 } 1272 1273 void _Application::KeyboardLatin() 1274 { 1275 InvokeHelper(0x190, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1276 } 1277 1278 void _Application::KeyboardBidi() 1279 { 1280 InvokeHelper(0x191, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1281 } 1282 1283 void _Application::ToggleKeyboard() 1284 { 1285 InvokeHelper(0x192, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1286 } 1287 1288 long _Application::Keyboard(long LangId) 1289 { 1290 long result; 1291 static BYTE parms[] = 1292 VTS_I4; 1293 InvokeHelper(0x1be, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 1294 LangId); 1295 return result; 1296 } 1297 1298 CString _Application::ProductCode() 1299 { 1300 CString result; 1301 InvokeHelper(0x194, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL); 1302 return result; 1303 } 1304 1305 LPDISPATCH _Application::DefaultWebOptions() 1306 { 1307 LPDISPATCH result; 1308 InvokeHelper(0x195, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 1309 return result; 1310 } 1311 1312 void _Application::SetDefaultTheme(LPCTSTR Name, long DocumentType) 1313 { 1314 static BYTE parms[] = 1315 VTS_BSTR VTS_I4; 1316 InvokeHelper(0x19e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1317 Name, DocumentType); 1318 } 1319 1320 CString _Application::GetDefaultTheme(long DocumentType) 1321 { 1322 CString result; 1323 static BYTE parms[] = 1324 VTS_I4; 1325 InvokeHelper(0x1a0, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 1326 DocumentType); 1327 return result; 1328 } 1329 1330 LPDISPATCH _Application::GetEmailOptions() 1331 { 1332 LPDISPATCH result; 1333 InvokeHelper(0x185, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1334 return result; 1335 } 1336 1337 long _Application::GetLanguage() 1338 { 1339 long result; 1340 InvokeHelper(0x187, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1341 return result; 1342 } 1343 1344 LPDISPATCH _Application::GetCOMAddIns() 1345 { 1346 LPDISPATCH result; 1347 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1348 return result; 1349 } 1350 1351 BOOL _Application::GetCheckLanguage() 1352 { 1353 BOOL result; 1354 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1355 return result; 1356 } 1357 1358 void _Application::SetCheckLanguage(BOOL bNewValue) 1359 { 1360 static BYTE parms[] = 1361 VTS_BOOL; 1362 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1363 bNewValue); 1364 } 1365 1366 LPDISPATCH _Application::GetLanguageSettings() 1367 { 1368 LPDISPATCH result; 1369 InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1370 return result; 1371 } 1372 1373 LPDISPATCH _Application::GetAnswerWizard() 1374 { 1375 LPDISPATCH result; 1376 InvokeHelper(0x199, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1377 return result; 1378 } 1379 1380 long _Application::GetFeatureInstall() 1381 { 1382 long result; 1383 InvokeHelper(0x1bf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1384 return result; 1385 } 1386 1387 void _Application::SetFeatureInstall(long nNewValue) 1388 { 1389 static BYTE parms[] = 1390 VTS_I4; 1391 InvokeHelper(0x1bf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1392 nNewValue); 1393 } 1394 1395 VARIANT _Application::Run(LPCTSTR MacroName, VARIANT* varg1, VARIANT* varg2, VARIANT* varg3, VARIANT* varg4, VARIANT* varg5, VARIANT* varg6, VARIANT* varg7, VARIANT* varg8, VARIANT* varg9, VARIANT* varg10, VARIANT* varg11, VARIANT* varg12, VARIANT* varg13, 1396 VARIANT* varg14, VARIANT* varg15, VARIANT* varg16, VARIANT* varg17, VARIANT* varg18, VARIANT* varg19, VARIANT* varg20, VARIANT* varg21, VARIANT* varg22, VARIANT* varg23, VARIANT* varg24, VARIANT* varg25, VARIANT* varg26, VARIANT* varg27, 1397 VARIANT* varg28, VARIANT* varg29, VARIANT* varg30) 1398 { 1399 VARIANT result; 1400 static BYTE parms[] = 1401 VTS_BSTR 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 1402 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; 1403 InvokeHelper(0x1bd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, 1404 MacroName, varg1, varg2, varg3, varg4, varg5, varg6, varg7, varg8, varg9, varg10, varg11, varg12, varg13, varg14, varg15, varg16, varg17, varg18, varg19, varg20, varg21, varg22, varg23, varg24, varg25, varg26, varg27, varg28, varg29, 1405 varg30); 1406 return result; 1407 } 1408 1409 void _Application::PrintOut(VARIANT* Background, VARIANT* Append, VARIANT* Range, VARIANT* OutputFileName, VARIANT* From, VARIANT* To, VARIANT* Item, VARIANT* Copies, VARIANT* Pages, VARIANT* PageType, VARIANT* PrintToFile, VARIANT* Collate, 1410 VARIANT* FileName, VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight) 1411 { 1412 static BYTE parms[] = 1413 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 1414 VTS_PVARIANT; 1415 InvokeHelper(0x1c0, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1416 Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight); 1417 } 1418 1419 long _Application::GetAutomationSecurity() 1420 { 1421 long result; 1422 InvokeHelper(0x1c1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1423 return result; 1424 } 1425 1426 void _Application::SetAutomationSecurity(long nNewValue) 1427 { 1428 static BYTE parms[] = 1429 VTS_I4; 1430 InvokeHelper(0x1c1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1431 nNewValue); 1432 } 1433 1434 LPDISPATCH _Application::GetFileDialog(long FileDialogType) 1435 { 1436 LPDISPATCH result; 1437 static BYTE parms[] = 1438 VTS_I4; 1439 InvokeHelper(0x1c2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 1440 FileDialogType); 1441 return result; 1442 } 1443 1444 CString _Application::GetEmailTemplate() 1445 { 1446 CString result; 1447 InvokeHelper(0x1c3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1448 return result; 1449 } 1450 1451 void _Application::SetEmailTemplate(LPCTSTR lpszNewValue) 1452 { 1453 static BYTE parms[] = 1454 VTS_BSTR; 1455 InvokeHelper(0x1c3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1456 lpszNewValue); 1457 } 1458 1459 BOOL _Application::GetShowWindowsInTaskbar() 1460 { 1461 BOOL result; 1462 InvokeHelper(0x1c4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1463 return result; 1464 } 1465 1466 void _Application::SetShowWindowsInTaskbar(BOOL bNewValue) 1467 { 1468 static BYTE parms[] = 1469 VTS_BOOL; 1470 InvokeHelper(0x1c4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1471 bNewValue); 1472 } 1473 1474 LPDISPATCH _Application::GetNewDocument() 1475 { 1476 LPDISPATCH result; 1477 InvokeHelper(0x1c6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1478 return result; 1479 } 1480 1481 BOOL _Application::GetShowStartupDialog() 1482 { 1483 BOOL result; 1484 InvokeHelper(0x1c7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1485 return result; 1486 } 1487 1488 void _Application::SetShowStartupDialog(BOOL bNewValue) 1489 { 1490 static BYTE parms[] = 1491 VTS_BOOL; 1492 InvokeHelper(0x1c7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1493 bNewValue); 1494 } 1495 1496 LPDISPATCH _Application::GetAutoCorrectEmail() 1497 { 1498 LPDISPATCH result; 1499 InvokeHelper(0x1c8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1500 return result; 1501 } 1502 1503 LPDISPATCH _Application::GetTaskPanes() 1504 { 1505 LPDISPATCH result; 1506 InvokeHelper(0x1c9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1507 return result; 1508 } 1509 1510 BOOL _Application::GetDefaultLegalBlackline() 1511 { 1512 BOOL result; 1513 InvokeHelper(0x1cb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1514 return result; 1515 } 1516 1517 void _Application::SetDefaultLegalBlackline(BOOL bNewValue) 1518 { 1519 static BYTE parms[] = 1520 VTS_BOOL; 1521 InvokeHelper(0x1cb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1522 bNewValue); 1523 } 1524 1525 LPDISPATCH _Application::GetSmartTagRecognizers() 1526 { 1527 LPDISPATCH result; 1528 InvokeHelper(0x1cc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1529 return result; 1530 } 1531 1532 LPDISPATCH _Application::GetSmartTagTypes() 1533 { 1534 LPDISPATCH result; 1535 InvokeHelper(0x1cd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1536 return result; 1537 } 1538 1539 LPDISPATCH _Application::GetXMLNamespaces() 1540 { 1541 LPDISPATCH result; 1542 InvokeHelper(0x1cf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1543 return result; 1544 } 1545 1546 void _Application::PutFocusInMailHeader() 1547 { 1548 InvokeHelper(0x1d0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1549 } 1550 1551 BOOL _Application::GetArbitraryXMLSupportAvailable() 1552 { 1553 BOOL result; 1554 InvokeHelper(0x1d1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1555 return result; 1556 } 1557 1558 1559 ///////////////////////////////////////////////////////////////////////////// 1560 // _Global properties 1561 1562 ///////////////////////////////////////////////////////////////////////////// 1563 // _Global operations 1564 1565 LPDISPATCH _Global::GetApplication() 1566 { 1567 LPDISPATCH result; 1568 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1569 return result; 1570 } 1571 1572 long _Global::GetCreator() 1573 { 1574 long result; 1575 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1576 return result; 1577 } 1578 1579 LPDISPATCH _Global::GetParent() 1580 { 1581 LPDISPATCH result; 1582 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1583 return result; 1584 } 1585 1586 CString _Global::GetName() 1587 { 1588 CString result; 1589 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1590 return result; 1591 } 1592 1593 LPDISPATCH _Global::GetDocuments() 1594 { 1595 LPDISPATCH result; 1596 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1597 return result; 1598 } 1599 1600 LPDISPATCH _Global::GetWindows() 1601 { 1602 LPDISPATCH result; 1603 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1604 return result; 1605 } 1606 1607 LPDISPATCH _Global::GetActiveDocument() 1608 { 1609 LPDISPATCH result; 1610 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1611 return result; 1612 } 1613 1614 LPDISPATCH _Global::GetActiveWindow() 1615 { 1616 LPDISPATCH result; 1617 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1618 return result; 1619 } 1620 1621 LPDISPATCH _Global::GetSelection() 1622 { 1623 LPDISPATCH result; 1624 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1625 return result; 1626 } 1627 1628 LPDISPATCH _Global::GetWordBasic() 1629 { 1630 LPDISPATCH result; 1631 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1632 return result; 1633 } 1634 1635 BOOL _Global::GetPrintPreview() 1636 { 1637 BOOL result; 1638 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1639 return result; 1640 } 1641 1642 void _Global::SetPrintPreview(BOOL bNewValue) 1643 { 1644 static BYTE parms[] = 1645 VTS_BOOL; 1646 InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1647 bNewValue); 1648 } 1649 1650 LPDISPATCH _Global::GetRecentFiles() 1651 { 1652 LPDISPATCH result; 1653 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1654 return result; 1655 } 1656 1657 LPDISPATCH _Global::GetNormalTemplate() 1658 { 1659 LPDISPATCH result; 1660 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1661 return result; 1662 } 1663 1664 LPDISPATCH _Global::GetSystem() 1665 { 1666 LPDISPATCH result; 1667 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1668 return result; 1669 } 1670 1671 LPDISPATCH _Global::GetAutoCorrect() 1672 { 1673 LPDISPATCH result; 1674 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1675 return result; 1676 } 1677 1678 LPDISPATCH _Global::GetFontNames() 1679 { 1680 LPDISPATCH result; 1681 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1682 return result; 1683 } 1684 1685 LPDISPATCH _Global::GetLandscapeFontNames() 1686 { 1687 LPDISPATCH result; 1688 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1689 return result; 1690 } 1691 1692 LPDISPATCH _Global::GetPortraitFontNames() 1693 { 1694 LPDISPATCH result; 1695 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1696 return result; 1697 } 1698 1699 LPDISPATCH _Global::GetLanguages() 1700 { 1701 LPDISPATCH result; 1702 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1703 return result; 1704 } 1705 1706 LPDISPATCH _Global::GetAssistant() 1707 { 1708 LPDISPATCH result; 1709 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1710 return result; 1711 } 1712 1713 LPDISPATCH _Global::GetFileConverters() 1714 { 1715 LPDISPATCH result; 1716 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1717 return result; 1718 } 1719 1720 LPDISPATCH _Global::GetDialogs() 1721 { 1722 LPDISPATCH result; 1723 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1724 return result; 1725 } 1726 1727 LPDISPATCH _Global::GetCaptionLabels() 1728 { 1729 LPDISPATCH result; 1730 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1731 return result; 1732 } 1733 1734 LPDISPATCH _Global::GetAutoCaptions() 1735 { 1736 LPDISPATCH result; 1737 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1738 return result; 1739 } 1740 1741 LPDISPATCH _Global::GetAddIns() 1742 { 1743 LPDISPATCH result; 1744 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1745 return result; 1746 } 1747 1748 LPDISPATCH _Global::GetTasks() 1749 { 1750 LPDISPATCH result; 1751 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1752 return result; 1753 } 1754 1755 LPDISPATCH _Global::GetMacroContainer() 1756 { 1757 LPDISPATCH result; 1758 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1759 return result; 1760 } 1761 1762 LPDISPATCH _Global::GetCommandBars() 1763 { 1764 LPDISPATCH result; 1765 InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1766 return result; 1767 } 1768 1769 LPDISPATCH _Global::GetSynonymInfo(LPCTSTR Word, VARIANT* LanguageID) 1770 { 1771 LPDISPATCH result; 1772 static BYTE parms[] = 1773 VTS_BSTR VTS_PVARIANT; 1774 InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 1775 Word, LanguageID); 1776 return result; 1777 } 1778 1779 LPDISPATCH _Global::GetVbe() 1780 { 1781 LPDISPATCH result; 1782 InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1783 return result; 1784 } 1785 1786 LPDISPATCH _Global::GetListGalleries() 1787 { 1788 LPDISPATCH result; 1789 InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1790 return result; 1791 } 1792 1793 CString _Global::GetActivePrinter() 1794 { 1795 CString result; 1796 InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1797 return result; 1798 } 1799 1800 void _Global::SetActivePrinter(LPCTSTR lpszNewValue) 1801 { 1802 static BYTE parms[] = 1803 VTS_BSTR; 1804 InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1805 lpszNewValue); 1806 } 1807 1808 LPDISPATCH _Global::GetTemplates() 1809 { 1810 LPDISPATCH result; 1811 InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1812 return result; 1813 } 1814 1815 LPDISPATCH _Global::GetCustomizationContext() 1816 { 1817 LPDISPATCH result; 1818 InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1819 return result; 1820 } 1821 1822 void _Global::SetCustomizationContext(LPDISPATCH newValue) 1823 { 1824 static BYTE parms[] = 1825 VTS_DISPATCH; 1826 InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1827 newValue); 1828 } 1829 1830 LPDISPATCH _Global::GetKeyBindings() 1831 { 1832 LPDISPATCH result; 1833 InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1834 return result; 1835 } 1836 1837 LPDISPATCH _Global::GetKeysBoundTo(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter) 1838 { 1839 LPDISPATCH result; 1840 static BYTE parms[] = 1841 VTS_I4 VTS_BSTR VTS_PVARIANT; 1842 InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 1843 KeyCategory, Command, CommandParameter); 1844 return result; 1845 } 1846 1847 LPDISPATCH _Global::GetFindKey(long KeyCode, VARIANT* KeyCode2) 1848 { 1849 LPDISPATCH result; 1850 static BYTE parms[] = 1851 VTS_I4 VTS_PVARIANT; 1852 InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms, 1853 KeyCode, KeyCode2); 1854 return result; 1855 } 1856 1857 LPDISPATCH _Global::GetOptions() 1858 { 1859 LPDISPATCH result; 1860 InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1861 return result; 1862 } 1863 1864 LPDISPATCH _Global::GetCustomDictionaries() 1865 { 1866 LPDISPATCH result; 1867 InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1868 return result; 1869 } 1870 1871 void _Global::SetStatusBar(LPCTSTR lpszNewValue) 1872 { 1873 static BYTE parms[] = 1874 VTS_BSTR; 1875 InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1876 lpszNewValue); 1877 } 1878 1879 BOOL _Global::GetShowVisualBasicEditor() 1880 { 1881 BOOL result; 1882 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1883 return result; 1884 } 1885 1886 void _Global::SetShowVisualBasicEditor(BOOL bNewValue) 1887 { 1888 static BYTE parms[] = 1889 VTS_BOOL; 1890 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1891 bNewValue); 1892 } 1893 1894 BOOL _Global::GetIsObjectValid(LPDISPATCH Object) 1895 { 1896 BOOL result; 1897 static BYTE parms[] = 1898 VTS_DISPATCH; 1899 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms, 1900 Object); 1901 return result; 1902 } 1903 1904 LPDISPATCH _Global::GetHangulHanjaDictionaries() 1905 { 1906 LPDISPATCH result; 1907 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1908 return result; 1909 } 1910 1911 BOOL _Global::Repeat(VARIANT* Times) 1912 { 1913 BOOL result; 1914 static BYTE parms[] = 1915 VTS_PVARIANT; 1916 InvokeHelper(0x131, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 1917 Times); 1918 return result; 1919 } 1920 1921 void _Global::DDEExecute(long Channel, LPCTSTR Command) 1922 { 1923 static BYTE parms[] = 1924 VTS_I4 VTS_BSTR; 1925 InvokeHelper(0x136, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1926 Channel, Command); 1927 } 1928 1929 long _Global::DDEInitiate(LPCTSTR App, LPCTSTR Topic) 1930 { 1931 long result; 1932 static BYTE parms[] = 1933 VTS_BSTR VTS_BSTR; 1934 InvokeHelper(0x137, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 1935 App, Topic); 1936 return result; 1937 } 1938 1939 void _Global::DDEPoke(long Channel, LPCTSTR Item, LPCTSTR Data) 1940 { 1941 static BYTE parms[] = 1942 VTS_I4 VTS_BSTR VTS_BSTR; 1943 InvokeHelper(0x138, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1944 Channel, Item, Data); 1945 } 1946 1947 CString _Global::DDERequest(long Channel, LPCTSTR Item) 1948 { 1949 CString result; 1950 static BYTE parms[] = 1951 VTS_I4 VTS_BSTR; 1952 InvokeHelper(0x139, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 1953 Channel, Item); 1954 return result; 1955 } 1956 1957 void _Global::DDETerminate(long Channel) 1958 { 1959 static BYTE parms[] = 1960 VTS_I4; 1961 InvokeHelper(0x13a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1962 Channel); 1963 } 1964 1965 void _Global::DDETerminateAll() 1966 { 1967 InvokeHelper(0x13b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1968 } 1969 1970 long _Global::BuildKeyCode(long Arg1, VARIANT* Arg2, VARIANT* Arg3, VARIANT* Arg4) 1971 { 1972 long result; 1973 static BYTE parms[] = 1974 VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1975 InvokeHelper(0x13c, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 1976 Arg1, Arg2, Arg3, Arg4); 1977 return result; 1978 } 1979 1980 CString _Global::KeyString(long KeyCode, VARIANT* KeyCode2) 1981 { 1982 CString result; 1983 static BYTE parms[] = 1984 VTS_I4 VTS_PVARIANT; 1985 InvokeHelper(0x13d, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 1986 KeyCode, KeyCode2); 1987 return result; 1988 } 1989 1990 BOOL _Global::CheckSpelling(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, 1991 VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 1992 { 1993 BOOL result; 1994 static BYTE parms[] = 1995 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1996 InvokeHelper(0x144, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 1997 Word, CustomDictionary, IgnoreUppercase, MainDictionary, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10); 1998 return result; 1999 } 2000 2001 LPDISPATCH _Global::GetSpellingSuggestions(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, 2002 VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 2003 { 2004 LPDISPATCH result; 2005 static BYTE parms[] = 2006 VTS_BSTR 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; 2007 InvokeHelper(0x147, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2008 Word, CustomDictionary, IgnoreUppercase, MainDictionary, SuggestionMode, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, 2009 CustomDictionary10); 2010 return result; 2011 } 2012 2013 void _Global::Help(VARIANT* HelpType) 2014 { 2015 static BYTE parms[] = 2016 VTS_PVARIANT; 2017 InvokeHelper(0x149, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2018 HelpType); 2019 } 2020 2021 LPDISPATCH _Global::NewWindow() 2022 { 2023 LPDISPATCH result; 2024 InvokeHelper(0x159, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 2025 return result; 2026 } 2027 2028 CString _Global::CleanString(LPCTSTR String) 2029 { 2030 CString result; 2031 static BYTE parms[] = 2032 VTS_BSTR; 2033 InvokeHelper(0x162, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 2034 String); 2035 return result; 2036 } 2037 2038 void _Global::ChangeFileOpenDirectory(LPCTSTR Path) 2039 { 2040 static BYTE parms[] = 2041 VTS_BSTR; 2042 InvokeHelper(0x163, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2043 Path); 2044 } 2045 2046 float _Global::InchesToPoints(float Inches) 2047 { 2048 float result; 2049 static BYTE parms[] = 2050 VTS_R4; 2051 InvokeHelper(0x172, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2052 Inches); 2053 return result; 2054 } 2055 2056 float _Global::CentimetersToPoints(float Centimeters) 2057 { 2058 float result; 2059 static BYTE parms[] = 2060 VTS_R4; 2061 InvokeHelper(0x173, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2062 Centimeters); 2063 return result; 2064 } 2065 2066 float _Global::MillimetersToPoints(float Millimeters) 2067 { 2068 float result; 2069 static BYTE parms[] = 2070 VTS_R4; 2071 InvokeHelper(0x174, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2072 Millimeters); 2073 return result; 2074 } 2075 2076 float _Global::PicasToPoints(float Picas) 2077 { 2078 float result; 2079 static BYTE parms[] = 2080 VTS_R4; 2081 InvokeHelper(0x175, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2082 Picas); 2083 return result; 2084 } 2085 2086 float _Global::LinesToPoints(float Lines) 2087 { 2088 float result; 2089 static BYTE parms[] = 2090 VTS_R4; 2091 InvokeHelper(0x176, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2092 Lines); 2093 return result; 2094 } 2095 2096 float _Global::PointsToInches(float Points) 2097 { 2098 float result; 2099 static BYTE parms[] = 2100 VTS_R4; 2101 InvokeHelper(0x17c, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2102 Points); 2103 return result; 2104 } 2105 2106 float _Global::PointsToCentimeters(float Points) 2107 { 2108 float result; 2109 static BYTE parms[] = 2110 VTS_R4; 2111 InvokeHelper(0x17d, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2112 Points); 2113 return result; 2114 } 2115 2116 float _Global::PointsToMillimeters(float Points) 2117 { 2118 float result; 2119 static BYTE parms[] = 2120 VTS_R4; 2121 InvokeHelper(0x17e, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2122 Points); 2123 return result; 2124 } 2125 2126 float _Global::PointsToPicas(float Points) 2127 { 2128 float result; 2129 static BYTE parms[] = 2130 VTS_R4; 2131 InvokeHelper(0x17f, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2132 Points); 2133 return result; 2134 } 2135 2136 float _Global::PointsToLines(float Points) 2137 { 2138 float result; 2139 static BYTE parms[] = 2140 VTS_R4; 2141 InvokeHelper(0x180, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2142 Points); 2143 return result; 2144 } 2145 2146 float _Global::PointsToPixels(float Points, VARIANT* fVertical) 2147 { 2148 float result; 2149 static BYTE parms[] = 2150 VTS_R4 VTS_PVARIANT; 2151 InvokeHelper(0x181, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2152 Points, fVertical); 2153 return result; 2154 } 2155 2156 float _Global::PixelsToPoints(float Pixels, VARIANT* fVertical) 2157 { 2158 float result; 2159 static BYTE parms[] = 2160 VTS_R4 VTS_PVARIANT; 2161 InvokeHelper(0x182, DISPATCH_METHOD, VT_R4, (void*)&result, parms, 2162 Pixels, fVertical); 2163 return result; 2164 } 2165 2166 LPDISPATCH _Global::GetLanguageSettings() 2167 { 2168 LPDISPATCH result; 2169 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2170 return result; 2171 } 2172 2173 LPDISPATCH _Global::GetAnswerWizard() 2174 { 2175 LPDISPATCH result; 2176 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2177 return result; 2178 } 2179 2180 LPDISPATCH _Global::GetAutoCorrectEmail() 2181 { 2182 LPDISPATCH result; 2183 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2184 return result; 2185 } 2186 2187 2188 ///////////////////////////////////////////////////////////////////////////// 2189 // FontNames properties 2190 2191 ///////////////////////////////////////////////////////////////////////////// 2192 // FontNames operations 2193 2194 LPUNKNOWN FontNames::Get_NewEnum() 2195 { 2196 LPUNKNOWN result; 2197 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 2198 return result; 2199 } 2200 2201 long FontNames::GetCount() 2202 { 2203 long result; 2204 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2205 return result; 2206 } 2207 2208 LPDISPATCH FontNames::GetApplication() 2209 { 2210 LPDISPATCH result; 2211 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2212 return result; 2213 } 2214 2215 long FontNames::GetCreator() 2216 { 2217 long result; 2218 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2219 return result; 2220 } 2221 2222 LPDISPATCH FontNames::GetParent() 2223 { 2224 LPDISPATCH result; 2225 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2226 return result; 2227 } 2228 2229 CString FontNames::Item(long Index) 2230 { 2231 CString result; 2232 static BYTE parms[] = 2233 VTS_I4; 2234 InvokeHelper(0x0, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms, 2235 Index); 2236 return result; 2237 } 2238 2239 2240 ///////////////////////////////////////////////////////////////////////////// 2241 // Languages properties 2242 2243 ///////////////////////////////////////////////////////////////////////////// 2244 // Languages operations 2245 2246 LPUNKNOWN Languages::Get_NewEnum() 2247 { 2248 LPUNKNOWN result; 2249 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 2250 return result; 2251 } 2252 2253 long Languages::GetCount() 2254 { 2255 long result; 2256 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2257 return result; 2258 } 2259 2260 LPDISPATCH Languages::GetApplication() 2261 { 2262 LPDISPATCH result; 2263 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2264 return result; 2265 } 2266 2267 long Languages::GetCreator() 2268 { 2269 long result; 2270 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2271 return result; 2272 } 2273 2274 LPDISPATCH Languages::GetParent() 2275 { 2276 LPDISPATCH result; 2277 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2278 return result; 2279 } 2280 2281 LPDISPATCH Languages::Item(VARIANT* Index) 2282 { 2283 LPDISPATCH result; 2284 static BYTE parms[] = 2285 VTS_PVARIANT; 2286 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2287 Index); 2288 return result; 2289 } 2290 2291 2292 ///////////////////////////////////////////////////////////////////////////// 2293 // Language properties 2294 2295 ///////////////////////////////////////////////////////////////////////////// 2296 // Language operations 2297 2298 LPDISPATCH Language::GetApplication() 2299 { 2300 LPDISPATCH result; 2301 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2302 return result; 2303 } 2304 2305 long Language::GetCreator() 2306 { 2307 long result; 2308 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2309 return result; 2310 } 2311 2312 LPDISPATCH Language::GetParent() 2313 { 2314 LPDISPATCH result; 2315 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2316 return result; 2317 } 2318 2319 long Language::GetId() 2320 { 2321 long result; 2322 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2323 return result; 2324 } 2325 2326 CString Language::GetNameLocal() 2327 { 2328 CString result; 2329 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2330 return result; 2331 } 2332 2333 CString Language::GetName() 2334 { 2335 CString result; 2336 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2337 return result; 2338 } 2339 2340 LPDISPATCH Language::GetActiveGrammarDictionary() 2341 { 2342 LPDISPATCH result; 2343 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2344 return result; 2345 } 2346 2347 LPDISPATCH Language::GetActiveHyphenationDictionary() 2348 { 2349 LPDISPATCH result; 2350 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2351 return result; 2352 } 2353 2354 LPDISPATCH Language::GetActiveSpellingDictionary() 2355 { 2356 LPDISPATCH result; 2357 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2358 return result; 2359 } 2360 2361 LPDISPATCH Language::GetActiveThesaurusDictionary() 2362 { 2363 LPDISPATCH result; 2364 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2365 return result; 2366 } 2367 2368 CString Language::GetDefaultWritingStyle() 2369 { 2370 CString result; 2371 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2372 return result; 2373 } 2374 2375 void Language::SetDefaultWritingStyle(LPCTSTR lpszNewValue) 2376 { 2377 static BYTE parms[] = 2378 VTS_BSTR; 2379 InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2380 lpszNewValue); 2381 } 2382 2383 VARIANT Language::GetWritingStyleList() 2384 { 2385 VARIANT result; 2386 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 2387 return result; 2388 } 2389 2390 long Language::GetSpellingDictionaryType() 2391 { 2392 long result; 2393 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2394 return result; 2395 } 2396 2397 void Language::SetSpellingDictionaryType(long nNewValue) 2398 { 2399 static BYTE parms[] = 2400 VTS_I4; 2401 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2402 nNewValue); 2403 } 2404 2405 2406 ///////////////////////////////////////////////////////////////////////////// 2407 // Documents properties 2408 2409 ///////////////////////////////////////////////////////////////////////////// 2410 // Documents operations 2411 2412 LPUNKNOWN Documents::Get_NewEnum() 2413 { 2414 LPUNKNOWN result; 2415 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 2416 return result; 2417 } 2418 2419 long Documents::GetCount() 2420 { 2421 long result; 2422 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2423 return result; 2424 } 2425 2426 LPDISPATCH Documents::GetApplication() 2427 { 2428 LPDISPATCH result; 2429 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2430 return result; 2431 } 2432 2433 long Documents::GetCreator() 2434 { 2435 long result; 2436 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2437 return result; 2438 } 2439 2440 LPDISPATCH Documents::GetParent() 2441 { 2442 LPDISPATCH result; 2443 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2444 return result; 2445 } 2446 2447 LPDISPATCH Documents::Item(VARIANT* Index) 2448 { 2449 LPDISPATCH result; 2450 static BYTE parms[] = 2451 VTS_PVARIANT; 2452 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2453 Index); 2454 return result; 2455 } 2456 2457 void Documents::Close(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument) 2458 { 2459 static BYTE parms[] = 2460 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2461 InvokeHelper(0x451, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2462 SaveChanges, OriginalFormat, RouteDocument); 2463 } 2464 2465 void Documents::Save(VARIANT* NoPrompt, VARIANT* OriginalFormat) 2466 { 2467 static BYTE parms[] = 2468 VTS_PVARIANT VTS_PVARIANT; 2469 InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2470 NoPrompt, OriginalFormat); 2471 } 2472 2473 LPDISPATCH Documents::Add(VARIANT* Template, VARIANT* NewTemplate, VARIANT* DocumentType, VARIANT* Visible) 2474 { 2475 LPDISPATCH result; 2476 static BYTE parms[] = 2477 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2478 InvokeHelper(0xe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2479 Template, NewTemplate, DocumentType, Visible); 2480 return result; 2481 } 2482 2483 void Documents::CheckOut(LPCTSTR FileName) 2484 { 2485 static BYTE parms[] = 2486 VTS_BSTR; 2487 InvokeHelper(0x10, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2488 FileName); 2489 } 2490 2491 BOOL Documents::CanCheckOut(LPCTSTR FileName) 2492 { 2493 BOOL result; 2494 static BYTE parms[] = 2495 VTS_BSTR; 2496 InvokeHelper(0x11, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 2497 FileName); 2498 return result; 2499 } 2500 2501 //word 2003 2502 LPDISPATCH Documents::Open(VARIANT* FileName, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, 2503 VARIANT* WritePasswordTemplate, VARIANT* Format, VARIANT* Encoding, VARIANT* Visible, VARIANT* OpenAndRepair, VARIANT* DocumentDirection, VARIANT* NoEncodingDialog, VARIANT* XMLTransform) 2504 { 2505 LPDISPATCH result; 2506 static BYTE parms[] = 2507 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; 2508 InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2509 FileName, ConfirmConversions, ReadOnly, AddToRecentFiles, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate, Format, Encoding, Visible, OpenAndRepair, DocumentDirection, NoEncodingDialog, 2510 XMLTransform); 2511 return result; 2512 } 2513 2514 //word 2000(在2003里后加的) 2515 LPDISPATCH Documents::Open(VARIANT* FileName, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, 2516 VARIANT* WritePasswordTemplate, VARIANT* Format, VARIANT* Encoding, VARIANT* Visible) 2517 { 2518 LPDISPATCH result; 2519 static BYTE parms[] = 2520 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2521 InvokeHelper(0xf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2522 FileName, ConfirmConversions, ReadOnly, AddToRecentFiles, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate, Format, Encoding, Visible); 2523 return result; 2524 } 2525 2526 2527 ///////////////////////////////////////////////////////////////////////////// 2528 // _Document properties 2529 2530 ///////////////////////////////////////////////////////////////////////////// 2531 // _Document operations 2532 2533 CString _Document::GetName() 2534 { 2535 CString result; 2536 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2537 return result; 2538 } 2539 2540 LPDISPATCH _Document::GetApplication() 2541 { 2542 LPDISPATCH result; 2543 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2544 return result; 2545 } 2546 2547 long _Document::GetCreator() 2548 { 2549 long result; 2550 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2551 return result; 2552 } 2553 2554 LPDISPATCH _Document::GetParent() 2555 { 2556 LPDISPATCH result; 2557 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2558 return result; 2559 } 2560 2561 LPDISPATCH _Document::GetBuiltInDocumentProperties() 2562 { 2563 LPDISPATCH result; 2564 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2565 return result; 2566 } 2567 2568 LPDISPATCH _Document::GetCustomDocumentProperties() 2569 { 2570 LPDISPATCH result; 2571 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2572 return result; 2573 } 2574 2575 CString _Document::GetPath() 2576 { 2577 CString result; 2578 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2579 return result; 2580 } 2581 2582 LPDISPATCH _Document::GetBookmarks() 2583 { 2584 LPDISPATCH result; 2585 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2586 return result; 2587 } 2588 2589 LPDISPATCH _Document::GetTables() 2590 { 2591 LPDISPATCH result; 2592 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2593 return result; 2594 } 2595 2596 LPDISPATCH _Document::GetFootnotes() 2597 { 2598 LPDISPATCH result; 2599 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2600 return result; 2601 } 2602 2603 LPDISPATCH _Document::GetEndnotes() 2604 { 2605 LPDISPATCH result; 2606 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2607 return result; 2608 } 2609 2610 LPDISPATCH _Document::GetComments() 2611 { 2612 LPDISPATCH result; 2613 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2614 return result; 2615 } 2616 2617 long _Document::GetType() 2618 { 2619 long result; 2620 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2621 return result; 2622 } 2623 2624 BOOL _Document::GetAutoHyphenation() 2625 { 2626 BOOL result; 2627 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2628 return result; 2629 } 2630 2631 void _Document::SetAutoHyphenation(BOOL bNewValue) 2632 { 2633 static BYTE parms[] = 2634 VTS_BOOL; 2635 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2636 bNewValue); 2637 } 2638 2639 BOOL _Document::GetHyphenateCaps() 2640 { 2641 BOOL result; 2642 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2643 return result; 2644 } 2645 2646 void _Document::SetHyphenateCaps(BOOL bNewValue) 2647 { 2648 static BYTE parms[] = 2649 VTS_BOOL; 2650 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2651 bNewValue); 2652 } 2653 2654 long _Document::GetHyphenationZone() 2655 { 2656 long result; 2657 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2658 return result; 2659 } 2660 2661 void _Document::SetHyphenationZone(long nNewValue) 2662 { 2663 static BYTE parms[] = 2664 VTS_I4; 2665 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2666 nNewValue); 2667 } 2668 2669 long _Document::GetConsecutiveHyphensLimit() 2670 { 2671 long result; 2672 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2673 return result; 2674 } 2675 2676 void _Document::SetConsecutiveHyphensLimit(long nNewValue) 2677 { 2678 static BYTE parms[] = 2679 VTS_I4; 2680 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2681 nNewValue); 2682 } 2683 2684 LPDISPATCH _Document::GetSections() 2685 { 2686 LPDISPATCH result; 2687 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2688 return result; 2689 } 2690 2691 LPDISPATCH _Document::GetParagraphs() 2692 { 2693 LPDISPATCH result; 2694 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2695 return result; 2696 } 2697 2698 LPDISPATCH _Document::GetWords() 2699 { 2700 LPDISPATCH result; 2701 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2702 return result; 2703 } 2704 2705 LPDISPATCH _Document::GetSentences() 2706 { 2707 LPDISPATCH result; 2708 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2709 return result; 2710 } 2711 2712 LPDISPATCH _Document::GetCharacters() 2713 { 2714 LPDISPATCH result; 2715 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2716 return result; 2717 } 2718 2719 LPDISPATCH _Document::GetFields() 2720 { 2721 LPDISPATCH result; 2722 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2723 return result; 2724 } 2725 2726 LPDISPATCH _Document::GetFormFields() 2727 { 2728 LPDISPATCH result; 2729 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2730 return result; 2731 } 2732 2733 LPDISPATCH _Document::GetStyles() 2734 { 2735 LPDISPATCH result; 2736 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2737 return result; 2738 } 2739 2740 LPDISPATCH _Document::GetFrames() 2741 { 2742 LPDISPATCH result; 2743 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2744 return result; 2745 } 2746 2747 LPDISPATCH _Document::GetTablesOfFigures() 2748 { 2749 LPDISPATCH result; 2750 InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2751 return result; 2752 } 2753 2754 LPDISPATCH _Document::GetVariables() 2755 { 2756 LPDISPATCH result; 2757 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2758 return result; 2759 } 2760 2761 LPDISPATCH _Document::GetMailMerge() 2762 { 2763 LPDISPATCH result; 2764 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2765 return result; 2766 } 2767 2768 LPDISPATCH _Document::GetEnvelope() 2769 { 2770 LPDISPATCH result; 2771 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2772 return result; 2773 } 2774 2775 CString _Document::GetFullName() 2776 { 2777 CString result; 2778 InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2779 return result; 2780 } 2781 2782 LPDISPATCH _Document::GetRevisions() 2783 { 2784 LPDISPATCH result; 2785 InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2786 return result; 2787 } 2788 2789 LPDISPATCH _Document::GetTablesOfContents() 2790 { 2791 LPDISPATCH result; 2792 InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2793 return result; 2794 } 2795 2796 LPDISPATCH _Document::GetTablesOfAuthorities() 2797 { 2798 LPDISPATCH result; 2799 InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2800 return result; 2801 } 2802 2803 LPDISPATCH _Document::GetPageSetup() 2804 { 2805 LPDISPATCH result; 2806 InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2807 return result; 2808 } 2809 2810 void _Document::SetPageSetup(LPDISPATCH newValue) 2811 { 2812 static BYTE parms[] = 2813 VTS_DISPATCH; 2814 InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2815 newValue); 2816 } 2817 2818 LPDISPATCH _Document::GetWindows() 2819 { 2820 LPDISPATCH result; 2821 InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2822 return result; 2823 } 2824 2825 BOOL _Document::GetHasRoutingSlip() 2826 { 2827 BOOL result; 2828 InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2829 return result; 2830 } 2831 2832 void _Document::SetHasRoutingSlip(BOOL bNewValue) 2833 { 2834 static BYTE parms[] = 2835 VTS_BOOL; 2836 InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2837 bNewValue); 2838 } 2839 2840 LPDISPATCH _Document::GetRoutingSlip() 2841 { 2842 LPDISPATCH result; 2843 InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2844 return result; 2845 } 2846 2847 BOOL _Document::GetRouted() 2848 { 2849 BOOL result; 2850 InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2851 return result; 2852 } 2853 2854 LPDISPATCH _Document::GetTablesOfAuthoritiesCategories() 2855 { 2856 LPDISPATCH result; 2857 InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2858 return result; 2859 } 2860 2861 LPDISPATCH _Document::GetIndexes() 2862 { 2863 LPDISPATCH result; 2864 InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2865 return result; 2866 } 2867 2868 BOOL _Document::GetSaved() 2869 { 2870 BOOL result; 2871 InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2872 return result; 2873 } 2874 2875 void _Document::SetSaved(BOOL bNewValue) 2876 { 2877 static BYTE parms[] = 2878 VTS_BOOL; 2879 InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2880 bNewValue); 2881 } 2882 2883 LPDISPATCH _Document::GetContent() 2884 { 2885 LPDISPATCH result; 2886 InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2887 return result; 2888 } 2889 2890 LPDISPATCH _Document::GetActiveWindow() 2891 { 2892 LPDISPATCH result; 2893 InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2894 return result; 2895 } 2896 2897 long _Document::GetKind() 2898 { 2899 long result; 2900 InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2901 return result; 2902 } 2903 2904 void _Document::SetKind(long nNewValue) 2905 { 2906 static BYTE parms[] = 2907 VTS_I4; 2908 InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2909 nNewValue); 2910 } 2911 2912 BOOL _Document::GetReadOnly() 2913 { 2914 BOOL result; 2915 InvokeHelper(0x2c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2916 return result; 2917 } 2918 2919 LPDISPATCH _Document::GetSubdocuments() 2920 { 2921 LPDISPATCH result; 2922 InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2923 return result; 2924 } 2925 2926 BOOL _Document::GetIsMasterDocument() 2927 { 2928 BOOL result; 2929 InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2930 return result; 2931 } 2932 2933 float _Document::GetDefaultTabStop() 2934 { 2935 float result; 2936 InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2937 return result; 2938 } 2939 2940 void _Document::SetDefaultTabStop(float newValue) 2941 { 2942 static BYTE parms[] = 2943 VTS_R4; 2944 InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2945 newValue); 2946 } 2947 2948 BOOL _Document::GetEmbedTrueTypeFonts() 2949 { 2950 BOOL result; 2951 InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2952 return result; 2953 } 2954 2955 void _Document::SetEmbedTrueTypeFonts(BOOL bNewValue) 2956 { 2957 static BYTE parms[] = 2958 VTS_BOOL; 2959 InvokeHelper(0x32, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2960 bNewValue); 2961 } 2962 2963 BOOL _Document::GetSaveFormsData() 2964 { 2965 BOOL result; 2966 InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2967 return result; 2968 } 2969 2970 void _Document::SetSaveFormsData(BOOL bNewValue) 2971 { 2972 static BYTE parms[] = 2973 VTS_BOOL; 2974 InvokeHelper(0x33, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2975 bNewValue); 2976 } 2977 2978 BOOL _Document::GetReadOnlyRecommended() 2979 { 2980 BOOL result; 2981 InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2982 return result; 2983 } 2984 2985 void _Document::SetReadOnlyRecommended(BOOL bNewValue) 2986 { 2987 static BYTE parms[] = 2988 VTS_BOOL; 2989 InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2990 bNewValue); 2991 } 2992 2993 BOOL _Document::GetSaveSubsetFonts() 2994 { 2995 BOOL result; 2996 InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2997 return result; 2998 } 2999 3000 void _Document::SetSaveSubsetFonts(BOOL bNewValue) 3001 { 3002 static BYTE parms[] = 3003 VTS_BOOL; 3004 InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3005 bNewValue); 3006 } 3007 3008 BOOL _Document::GetCompatibility(long Type) 3009 { 3010 BOOL result; 3011 static BYTE parms[] = 3012 VTS_I4; 3013 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms, 3014 Type); 3015 return result; 3016 } 3017 3018 void _Document::SetCompatibility(long Type, BOOL bNewValue) 3019 { 3020 static BYTE parms[] = 3021 VTS_I4 VTS_BOOL; 3022 InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3023 Type, bNewValue); 3024 } 3025 3026 LPDISPATCH _Document::GetStoryRanges() 3027 { 3028 LPDISPATCH result; 3029 InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3030 return result; 3031 } 3032 3033 LPDISPATCH _Document::GetCommandBars() 3034 { 3035 LPDISPATCH result; 3036 InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3037 return result; 3038 } 3039 3040 BOOL _Document::GetIsSubdocument() 3041 { 3042 BOOL result; 3043 InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3044 return result; 3045 } 3046 3047 long _Document::GetSaveFormat() 3048 { 3049 long result; 3050 InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3051 return result; 3052 } 3053 3054 long _Document::GetProtectionType() 3055 { 3056 long result; 3057 InvokeHelper(0x3c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3058 return result; 3059 } 3060 3061 LPDISPATCH _Document::GetHyperlinks() 3062 { 3063 LPDISPATCH result; 3064 InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3065 return result; 3066 } 3067 3068 LPDISPATCH _Document::GetShapes() 3069 { 3070 LPDISPATCH result; 3071 InvokeHelper(0x3e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3072 return result; 3073 } 3074 3075 LPDISPATCH _Document::GetListTemplates() 3076 { 3077 LPDISPATCH result; 3078 InvokeHelper(0x3f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3079 return result; 3080 } 3081 3082 LPDISPATCH _Document::GetLists() 3083 { 3084 LPDISPATCH result; 3085 InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3086 return result; 3087 } 3088 3089 BOOL _Document::GetUpdateStylesOnOpen() 3090 { 3091 BOOL result; 3092 InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3093 return result; 3094 } 3095 3096 void _Document::SetUpdateStylesOnOpen(BOOL bNewValue) 3097 { 3098 static BYTE parms[] = 3099 VTS_BOOL; 3100 InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3101 bNewValue); 3102 } 3103 3104 VARIANT _Document::GetAttachedTemplate() 3105 { 3106 VARIANT result; 3107 InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 3108 return result; 3109 } 3110 3111 void _Document::SetAttachedTemplate(VARIANT* newValue) 3112 { 3113 static BYTE parms[] = 3114 VTS_PVARIANT; 3115 InvokeHelper(0x43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3116 newValue); 3117 } 3118 3119 LPDISPATCH _Document::GetInlineShapes() 3120 { 3121 LPDISPATCH result; 3122 InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3123 return result; 3124 } 3125 3126 LPDISPATCH _Document::GetBackground() 3127 { 3128 LPDISPATCH result; 3129 InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3130 return result; 3131 } 3132 3133 void _Document::SetBackground(LPDISPATCH newValue) 3134 { 3135 static BYTE parms[] = 3136 VTS_DISPATCH; 3137 InvokeHelper(0x45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3138 newValue); 3139 } 3140 3141 BOOL _Document::GetGrammarChecked() 3142 { 3143 BOOL result; 3144 InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3145 return result; 3146 } 3147 3148 void _Document::SetGrammarChecked(BOOL bNewValue) 3149 { 3150 static BYTE parms[] = 3151 VTS_BOOL; 3152 InvokeHelper(0x46, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3153 bNewValue); 3154 } 3155 3156 BOOL _Document::GetSpellingChecked() 3157 { 3158 BOOL result; 3159 InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3160 return result; 3161 } 3162 3163 void _Document::SetSpellingChecked(BOOL bNewValue) 3164 { 3165 static BYTE parms[] = 3166 VTS_BOOL; 3167 InvokeHelper(0x47, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3168 bNewValue); 3169 } 3170 3171 BOOL _Document::GetShowGrammaticalErrors() 3172 { 3173 BOOL result; 3174 InvokeHelper(0x48, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3175 return result; 3176 } 3177 3178 void _Document::SetShowGrammaticalErrors(BOOL bNewValue) 3179 { 3180 static BYTE parms[] = 3181 VTS_BOOL; 3182 InvokeHelper(0x48, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3183 bNewValue); 3184 } 3185 3186 BOOL _Document::GetShowSpellingErrors() 3187 { 3188 BOOL result; 3189 InvokeHelper(0x49, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3190 return result; 3191 } 3192 3193 void _Document::SetShowSpellingErrors(BOOL bNewValue) 3194 { 3195 static BYTE parms[] = 3196 VTS_BOOL; 3197 InvokeHelper(0x49, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3198 bNewValue); 3199 } 3200 3201 LPDISPATCH _Document::GetVersions() 3202 { 3203 LPDISPATCH result; 3204 InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3205 return result; 3206 } 3207 3208 BOOL _Document::GetShowSummary() 3209 { 3210 BOOL result; 3211 InvokeHelper(0x4c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3212 return result; 3213 } 3214 3215 void _Document::SetShowSummary(BOOL bNewValue) 3216 { 3217 static BYTE parms[] = 3218 VTS_BOOL; 3219 InvokeHelper(0x4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3220 bNewValue); 3221 } 3222 3223 long _Document::GetSummaryViewMode() 3224 { 3225 long result; 3226 InvokeHelper(0x4d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3227 return result; 3228 } 3229 3230 void _Document::SetSummaryViewMode(long nNewValue) 3231 { 3232 static BYTE parms[] = 3233 VTS_I4; 3234 InvokeHelper(0x4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3235 nNewValue); 3236 } 3237 3238 long _Document::GetSummaryLength() 3239 { 3240 long result; 3241 InvokeHelper(0x4e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3242 return result; 3243 } 3244 3245 void _Document::SetSummaryLength(long nNewValue) 3246 { 3247 static BYTE parms[] = 3248 VTS_I4; 3249 InvokeHelper(0x4e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3250 nNewValue); 3251 } 3252 3253 BOOL _Document::GetPrintFractionalWidths() 3254 { 3255 BOOL result; 3256 InvokeHelper(0x4f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3257 return result; 3258 } 3259 3260 void _Document::SetPrintFractionalWidths(BOOL bNewValue) 3261 { 3262 static BYTE parms[] = 3263 VTS_BOOL; 3264 InvokeHelper(0x4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3265 bNewValue); 3266 } 3267 3268 BOOL _Document::GetPrintPostScriptOverText() 3269 { 3270 BOOL result; 3271 InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3272 return result; 3273 } 3274 3275 void _Document::SetPrintPostScriptOverText(BOOL bNewValue) 3276 { 3277 static BYTE parms[] = 3278 VTS_BOOL; 3279 InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3280 bNewValue); 3281 } 3282 3283 LPDISPATCH _Document::GetContainer() 3284 { 3285 LPDISPATCH result; 3286 InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3287 return result; 3288 } 3289 3290 BOOL _Document::GetPrintFormsData() 3291 { 3292 BOOL result; 3293 InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3294 return result; 3295 } 3296 3297 void _Document::SetPrintFormsData(BOOL bNewValue) 3298 { 3299 static BYTE parms[] = 3300 VTS_BOOL; 3301 InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3302 bNewValue); 3303 } 3304 3305 LPDISPATCH _Document::GetListParagraphs() 3306 { 3307 LPDISPATCH result; 3308 InvokeHelper(0x54, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3309 return result; 3310 } 3311 3312 void _Document::SetPassword(LPCTSTR lpszNewValue) 3313 { 3314 static BYTE parms[] = 3315 VTS_BSTR; 3316 InvokeHelper(0x55, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3317 lpszNewValue); 3318 } 3319 3320 void _Document::SetWritePassword(LPCTSTR lpszNewValue) 3321 { 3322 static BYTE parms[] = 3323 VTS_BSTR; 3324 InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3325 lpszNewValue); 3326 } 3327 3328 BOOL _Document::GetHasPassword() 3329 { 3330 BOOL result; 3331 InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3332 return result; 3333 } 3334 3335 BOOL _Document::GetWriteReserved() 3336 { 3337 BOOL result; 3338 InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3339 return result; 3340 } 3341 3342 CString _Document::GetActiveWritingStyle(VARIANT* LanguageID) 3343 { 3344 CString result; 3345 static BYTE parms[] = 3346 VTS_PVARIANT; 3347 InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, 3348 LanguageID); 3349 return result; 3350 } 3351 3352 void _Document::SetActiveWritingStyle(VARIANT* LanguageID, LPCTSTR lpszNewValue) 3353 { 3354 static BYTE parms[] = 3355 VTS_PVARIANT VTS_BSTR; 3356 InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3357 LanguageID, lpszNewValue); 3358 } 3359 3360 BOOL _Document::GetUserControl() 3361 { 3362 BOOL result; 3363 InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3364 return result; 3365 } 3366 3367 void _Document::SetUserControl(BOOL bNewValue) 3368 { 3369 static BYTE parms[] = 3370 VTS_BOOL; 3371 InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3372 bNewValue); 3373 } 3374 3375 BOOL _Document::GetHasMailer() 3376 { 3377 BOOL result; 3378 InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3379 return result; 3380 } 3381 3382 void _Document::SetHasMailer(BOOL bNewValue) 3383 { 3384 static BYTE parms[] = 3385 VTS_BOOL; 3386 InvokeHelper(0x5d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3387 bNewValue); 3388 } 3389 3390 LPDISPATCH _Document::GetMailer() 3391 { 3392 LPDISPATCH result; 3393 InvokeHelper(0x5e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3394 return result; 3395 } 3396 3397 LPDISPATCH _Document::GetReadabilityStatistics() 3398 { 3399 LPDISPATCH result; 3400 InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3401 return result; 3402 } 3403 3404 LPDISPATCH _Document::GetGrammaticalErrors() 3405 { 3406 LPDISPATCH result; 3407 InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3408 return result; 3409 } 3410 3411 LPDISPATCH _Document::GetSpellingErrors() 3412 { 3413 LPDISPATCH result; 3414 InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3415 return result; 3416 } 3417 3418 LPDISPATCH _Document::GetVBProject() 3419 { 3420 LPDISPATCH result; 3421 InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3422 return result; 3423 } 3424 3425 BOOL _Document::GetFormsDesign() 3426 { 3427 BOOL result; 3428 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3429 return result; 3430 } 3431 3432 CString _Document::Get_CodeName() 3433 { 3434 CString result; 3435 InvokeHelper(0x80010000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3436 return result; 3437 } 3438 3439 void _Document::Set_CodeName(LPCTSTR lpszNewValue) 3440 { 3441 static BYTE parms[] = 3442 VTS_BSTR; 3443 InvokeHelper(0x80010000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3444 lpszNewValue); 3445 } 3446 3447 CString _Document::GetCodeName() 3448 { 3449 CString result; 3450 InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3451 return result; 3452 } 3453 3454 BOOL _Document::GetSnapToGrid() 3455 { 3456 BOOL result; 3457 InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3458 return result; 3459 } 3460 3461 void _Document::SetSnapToGrid(BOOL bNewValue) 3462 { 3463 static BYTE parms[] = 3464 VTS_BOOL; 3465 InvokeHelper(0x12c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3466 bNewValue); 3467 } 3468 3469 BOOL _Document::GetSnapToShapes() 3470 { 3471 BOOL result; 3472 InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3473 return result; 3474 } 3475 3476 void _Document::SetSnapToShapes(BOOL bNewValue) 3477 { 3478 static BYTE parms[] = 3479 VTS_BOOL; 3480 InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3481 bNewValue); 3482 } 3483 3484 float _Document::GetGridDistanceHorizontal() 3485 { 3486 float result; 3487 InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3488 return result; 3489 } 3490 3491 void _Document::SetGridDistanceHorizontal(float newValue) 3492 { 3493 static BYTE parms[] = 3494 VTS_R4; 3495 InvokeHelper(0x12e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3496 newValue); 3497 } 3498 3499 float _Document::GetGridDistanceVertical() 3500 { 3501 float result; 3502 InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3503 return result; 3504 } 3505 3506 void _Document::SetGridDistanceVertical(float newValue) 3507 { 3508 static BYTE parms[] = 3509 VTS_R4; 3510 InvokeHelper(0x12f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3511 newValue); 3512 } 3513 3514 float _Document::GetGridOriginHorizontal() 3515 { 3516 float result; 3517 InvokeHelper(0x130, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3518 return result; 3519 } 3520 3521 void _Document::SetGridOriginHorizontal(float newValue) 3522 { 3523 static BYTE parms[] = 3524 VTS_R4; 3525 InvokeHelper(0x130, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3526 newValue); 3527 } 3528 3529 float _Document::GetGridOriginVertical() 3530 { 3531 float result; 3532 InvokeHelper(0x131, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3533 return result; 3534 } 3535 3536 void _Document::SetGridOriginVertical(float newValue) 3537 { 3538 static BYTE parms[] = 3539 VTS_R4; 3540 InvokeHelper(0x131, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3541 newValue); 3542 } 3543 3544 long _Document::GetGridSpaceBetweenHorizontalLines() 3545 { 3546 long result; 3547 InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3548 return result; 3549 } 3550 3551 void _Document::SetGridSpaceBetweenHorizontalLines(long nNewValue) 3552 { 3553 static BYTE parms[] = 3554 VTS_I4; 3555 InvokeHelper(0x132, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3556 nNewValue); 3557 } 3558 3559 long _Document::GetGridSpaceBetweenVerticalLines() 3560 { 3561 long result; 3562 InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3563 return result; 3564 } 3565 3566 void _Document::SetGridSpaceBetweenVerticalLines(long nNewValue) 3567 { 3568 static BYTE parms[] = 3569 VTS_I4; 3570 InvokeHelper(0x133, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3571 nNewValue); 3572 } 3573 3574 BOOL _Document::GetGridOriginFromMargin() 3575 { 3576 BOOL result; 3577 InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3578 return result; 3579 } 3580 3581 void _Document::SetGridOriginFromMargin(BOOL bNewValue) 3582 { 3583 static BYTE parms[] = 3584 VTS_BOOL; 3585 InvokeHelper(0x134, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3586 bNewValue); 3587 } 3588 3589 BOOL _Document::GetKerningByAlgorithm() 3590 { 3591 BOOL result; 3592 InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3593 return result; 3594 } 3595 3596 void _Document::SetKerningByAlgorithm(BOOL bNewValue) 3597 { 3598 static BYTE parms[] = 3599 VTS_BOOL; 3600 InvokeHelper(0x135, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3601 bNewValue); 3602 } 3603 3604 long _Document::GetJustificationMode() 3605 { 3606 long result; 3607 InvokeHelper(0x136, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3608 return result; 3609 } 3610 3611 void _Document::SetJustificationMode(long nNewValue) 3612 { 3613 static BYTE parms[] = 3614 VTS_I4; 3615 InvokeHelper(0x136, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3616 nNewValue); 3617 } 3618 3619 long _Document::GetFarEastLineBreakLevel() 3620 { 3621 long result; 3622 InvokeHelper(0x137, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3623 return result; 3624 } 3625 3626 void _Document::SetFarEastLineBreakLevel(long nNewValue) 3627 { 3628 static BYTE parms[] = 3629 VTS_I4; 3630 InvokeHelper(0x137, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3631 nNewValue); 3632 } 3633 3634 CString _Document::GetNoLineBreakBefore() 3635 { 3636 CString result; 3637 InvokeHelper(0x138, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3638 return result; 3639 } 3640 3641 void _Document::SetNoLineBreakBefore(LPCTSTR lpszNewValue) 3642 { 3643 static BYTE parms[] = 3644 VTS_BSTR; 3645 InvokeHelper(0x138, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3646 lpszNewValue); 3647 } 3648 3649 CString _Document::GetNoLineBreakAfter() 3650 { 3651 CString result; 3652 InvokeHelper(0x139, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3653 return result; 3654 } 3655 3656 void _Document::SetNoLineBreakAfter(LPCTSTR lpszNewValue) 3657 { 3658 static BYTE parms[] = 3659 VTS_BSTR; 3660 InvokeHelper(0x139, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3661 lpszNewValue); 3662 } 3663 3664 BOOL _Document::GetTrackRevisions() 3665 { 3666 BOOL result; 3667 InvokeHelper(0x13a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3668 return result; 3669 } 3670 3671 void _Document::SetTrackRevisions(BOOL bNewValue) 3672 { 3673 static BYTE parms[] = 3674 VTS_BOOL; 3675 InvokeHelper(0x13a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3676 bNewValue); 3677 } 3678 3679 BOOL _Document::GetPrintRevisions() 3680 { 3681 BOOL result; 3682 InvokeHelper(0x13b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3683 return result; 3684 } 3685 3686 void _Document::SetPrintRevisions(BOOL bNewValue) 3687 { 3688 static BYTE parms[] = 3689 VTS_BOOL; 3690 InvokeHelper(0x13b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3691 bNewValue); 3692 } 3693 3694 BOOL _Document::GetShowRevisions() 3695 { 3696 BOOL result; 3697 InvokeHelper(0x13c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3698 return result; 3699 } 3700 3701 void _Document::SetShowRevisions(BOOL bNewValue) 3702 { 3703 static BYTE parms[] = 3704 VTS_BOOL; 3705 InvokeHelper(0x13c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3706 bNewValue); 3707 } 3708 3709 void _Document::Close(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument) 3710 { 3711 static BYTE parms[] = 3712 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3713 InvokeHelper(0x451, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3714 SaveChanges, OriginalFormat, RouteDocument); 3715 } 3716 3717 void _Document::Repaginate() 3718 { 3719 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3720 } 3721 3722 void _Document::FitToPages() 3723 { 3724 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3725 } 3726 3727 void _Document::ManualHyphenation() 3728 { 3729 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3730 } 3731 3732 void _Document::Select() 3733 { 3734 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3735 } 3736 3737 void _Document::DataForm() 3738 { 3739 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3740 } 3741 3742 void _Document::Route() 3743 { 3744 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3745 } 3746 3747 void _Document::Save() 3748 { 3749 InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3750 } 3751 3752 void _Document::SendMail() 3753 { 3754 InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3755 } 3756 3757 LPDISPATCH _Document::Range(VARIANT* Start, VARIANT* End) 3758 { 3759 LPDISPATCH result; 3760 static BYTE parms[] = 3761 VTS_PVARIANT VTS_PVARIANT; 3762 InvokeHelper(0x7d0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3763 Start, End); 3764 return result; 3765 } 3766 3767 void _Document::RunAutoMacro(long Which) 3768 { 3769 static BYTE parms[] = 3770 VTS_I4; 3771 InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3772 Which); 3773 } 3774 3775 void _Document::Activate() 3776 { 3777 InvokeHelper(0x71, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3778 } 3779 3780 void _Document::PrintPreview() 3781 { 3782 InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3783 } 3784 3785 LPDISPATCH _Document::GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name) 3786 { 3787 LPDISPATCH result; 3788 static BYTE parms[] = 3789 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3790 InvokeHelper(0x73, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3791 What, Which, Count, Name); 3792 return result; 3793 } 3794 3795 BOOL _Document::Undo(VARIANT* Times) 3796 { 3797 BOOL result; 3798 static BYTE parms[] = 3799 VTS_PVARIANT; 3800 InvokeHelper(0x74, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 3801 Times); 3802 return result; 3803 } 3804 3805 BOOL _Document::Redo(VARIANT* Times) 3806 { 3807 BOOL result; 3808 static BYTE parms[] = 3809 VTS_PVARIANT; 3810 InvokeHelper(0x75, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 3811 Times); 3812 return result; 3813 } 3814 3815 long _Document::ComputeStatistics(long Statistic, VARIANT* IncludeFootnotesAndEndnotes) 3816 { 3817 long result; 3818 static BYTE parms[] = 3819 VTS_I4 VTS_PVARIANT; 3820 InvokeHelper(0x76, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 3821 Statistic, IncludeFootnotesAndEndnotes); 3822 return result; 3823 } 3824 3825 void _Document::MakeCompatibilityDefault() 3826 { 3827 InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3828 } 3829 3830 void _Document::Unprotect(VARIANT* Password) 3831 { 3832 static BYTE parms[] = 3833 VTS_PVARIANT; 3834 InvokeHelper(0x79, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3835 Password); 3836 } 3837 3838 void _Document::EditionOptions(long Type, long Option, LPCTSTR Name, VARIANT* Format) 3839 { 3840 static BYTE parms[] = 3841 VTS_I4 VTS_I4 VTS_BSTR VTS_PVARIANT; 3842 InvokeHelper(0x7a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3843 Type, Option, Name, Format); 3844 } 3845 3846 void _Document::RunLetterWizard(VARIANT* LetterContent, VARIANT* WizardMode) 3847 { 3848 static BYTE parms[] = 3849 VTS_PVARIANT VTS_PVARIANT; 3850 InvokeHelper(0x7b, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3851 LetterContent, WizardMode); 3852 } 3853 3854 LPDISPATCH _Document::GetLetterContent() 3855 { 3856 LPDISPATCH result; 3857 InvokeHelper(0x7c, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 3858 return result; 3859 } 3860 3861 void _Document::SetLetterContent(VARIANT* LetterContent) 3862 { 3863 static BYTE parms[] = 3864 VTS_PVARIANT; 3865 InvokeHelper(0x7d, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3866 LetterContent); 3867 } 3868 3869 void _Document::CopyStylesFromTemplate(LPCTSTR Template) 3870 { 3871 static BYTE parms[] = 3872 VTS_BSTR; 3873 InvokeHelper(0x7e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3874 Template); 3875 } 3876 3877 void _Document::UpdateStyles() 3878 { 3879 InvokeHelper(0x7f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3880 } 3881 3882 void _Document::CheckGrammar() 3883 { 3884 InvokeHelper(0x83, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3885 } 3886 3887 void _Document::CheckSpelling(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* AlwaysSuggest, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, 3888 VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 3889 { 3890 static BYTE parms[] = 3891 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3892 InvokeHelper(0x84, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3893 CustomDictionary, IgnoreUppercase, AlwaysSuggest, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10); 3894 } 3895 3896 void _Document::FollowHyperlink(VARIANT* Address, VARIANT* SubAddress, VARIANT* NewWindow, VARIANT* AddHistory, VARIANT* ExtraInfo, VARIANT* Method, VARIANT* HeaderInfo) 3897 { 3898 static BYTE parms[] = 3899 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3900 InvokeHelper(0x87, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3901 Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo); 3902 } 3903 3904 void _Document::AddToFavorites() 3905 { 3906 InvokeHelper(0x88, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3907 } 3908 3909 void _Document::Reload() 3910 { 3911 InvokeHelper(0x89, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3912 } 3913 3914 LPDISPATCH _Document::AutoSummarize(VARIANT* Length, VARIANT* Mode, VARIANT* UpdateProperties) 3915 { 3916 LPDISPATCH result; 3917 static BYTE parms[] = 3918 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3919 InvokeHelper(0x8a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3920 Length, Mode, UpdateProperties); 3921 return result; 3922 } 3923 3924 void _Document::RemoveNumbers(VARIANT* NumberType) 3925 { 3926 static BYTE parms[] = 3927 VTS_PVARIANT; 3928 InvokeHelper(0x8c, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3929 NumberType); 3930 } 3931 3932 void _Document::ConvertNumbersToText(VARIANT* NumberType) 3933 { 3934 static BYTE parms[] = 3935 VTS_PVARIANT; 3936 InvokeHelper(0x8d, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3937 NumberType); 3938 } 3939 3940 long _Document::CountNumberedItems(VARIANT* NumberType, VARIANT* Level) 3941 { 3942 long result; 3943 static BYTE parms[] = 3944 VTS_PVARIANT VTS_PVARIANT; 3945 InvokeHelper(0x8e, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 3946 NumberType, Level); 3947 return result; 3948 } 3949 3950 void _Document::Post() 3951 { 3952 InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3953 } 3954 3955 void _Document::ToggleFormsDesign() 3956 { 3957 InvokeHelper(0x90, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3958 } 3959 3960 void _Document::UpdateSummaryProperties() 3961 { 3962 InvokeHelper(0x92, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3963 } 3964 3965 VARIANT _Document::GetCrossReferenceItems(VARIANT* ReferenceType) 3966 { 3967 VARIANT result; 3968 static BYTE parms[] = 3969 VTS_PVARIANT; 3970 InvokeHelper(0x93, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms, 3971 ReferenceType); 3972 return result; 3973 } 3974 3975 void _Document::AutoFormat() 3976 { 3977 InvokeHelper(0x94, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3978 } 3979 3980 void _Document::ViewCode() 3981 { 3982 InvokeHelper(0x95, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3983 } 3984 3985 void _Document::ViewPropertyBrowser() 3986 { 3987 InvokeHelper(0x96, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3988 } 3989 3990 void _Document::ForwardMailer() 3991 { 3992 InvokeHelper(0xfa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3993 } 3994 3995 void _Document::Reply() 3996 { 3997 InvokeHelper(0xfb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3998 } 3999 4000 void _Document::ReplyAll() 4001 { 4002 InvokeHelper(0xfc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4003 } 4004 4005 void _Document::SendMailer(VARIANT* FileFormat, VARIANT* Priority) 4006 { 4007 static BYTE parms[] = 4008 VTS_PVARIANT VTS_PVARIANT; 4009 InvokeHelper(0xfd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4010 FileFormat, Priority); 4011 } 4012 4013 void _Document::UndoClear() 4014 { 4015 InvokeHelper(0xfe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4016 } 4017 4018 void _Document::PresentIt() 4019 { 4020 InvokeHelper(0xff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4021 } 4022 4023 void _Document::SendFax(LPCTSTR Address, VARIANT* Subject) 4024 { 4025 static BYTE parms[] = 4026 VTS_BSTR VTS_PVARIANT; 4027 InvokeHelper(0x100, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4028 Address, Subject); 4029 } 4030 4031 void _Document::ClosePrintPreview() 4032 { 4033 InvokeHelper(0x102, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4034 } 4035 4036 void _Document::CheckConsistency() 4037 { 4038 InvokeHelper(0x103, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4039 } 4040 4041 LPDISPATCH _Document::CreateLetterContent(LPCTSTR DateFormat, BOOL IncludeHeaderFooter, LPCTSTR PageDesign, long LetterStyle, BOOL Letterhead, long LetterheadLocation, float LetterheadSize, LPCTSTR RecipientName, LPCTSTR RecipientAddress, 4042 LPCTSTR Salutation, long SalutationType, LPCTSTR RecipientReference, LPCTSTR MailingInstructions, LPCTSTR AttentionLine, LPCTSTR Subject, LPCTSTR CCList, LPCTSTR ReturnAddress, LPCTSTR SenderName, LPCTSTR Closing, LPCTSTR SenderCompany, 4043 LPCTSTR SenderJobTitle, LPCTSTR SenderInitials, long EnclosureNumber, VARIANT* InfoBlock, VARIANT* RecipientCode, VARIANT* RecipientGender, VARIANT* ReturnAddressShortForm, VARIANT* SenderCity, VARIANT* SenderCode, VARIANT* SenderGender, 4044 VARIANT* SenderReference) 4045 { 4046 LPDISPATCH result; 4047 static BYTE parms[] = 4048 VTS_BSTR VTS_BOOL VTS_BSTR VTS_I4 VTS_BOOL VTS_I4 VTS_R4 VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4 VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT 4049 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4050 InvokeHelper(0x104, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4051 DateFormat, IncludeHeaderFooter, PageDesign, LetterStyle, Letterhead, LetterheadLocation, LetterheadSize, RecipientName, RecipientAddress, Salutation, SalutationType, RecipientReference, MailingInstructions, AttentionLine, Subject, 4052 CCList, ReturnAddress, SenderName, Closing, SenderCompany, SenderJobTitle, SenderInitials, EnclosureNumber, InfoBlock, RecipientCode, RecipientGender, ReturnAddressShortForm, SenderCity, SenderCode, SenderGender, SenderReference); 4053 return result; 4054 } 4055 4056 void _Document::AcceptAllRevisions() 4057 { 4058 InvokeHelper(0x13d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4059 } 4060 4061 void _Document::RejectAllRevisions() 4062 { 4063 InvokeHelper(0x13e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4064 } 4065 4066 void _Document::DetectLanguage() 4067 { 4068 InvokeHelper(0x97, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4069 } 4070 4071 void _Document::ApplyTheme(LPCTSTR Name) 4072 { 4073 static BYTE parms[] = 4074 VTS_BSTR; 4075 InvokeHelper(0x142, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4076 Name); 4077 } 4078 4079 void _Document::RemoveTheme() 4080 { 4081 InvokeHelper(0x143, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4082 } 4083 4084 void _Document::WebPagePreview() 4085 { 4086 InvokeHelper(0x145, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4087 } 4088 4089 void _Document::ReloadAs(long Encoding) 4090 { 4091 static BYTE parms[] = 4092 VTS_I4; 4093 InvokeHelper(0x14b, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4094 Encoding); 4095 } 4096 4097 CString _Document::GetActiveTheme() 4098 { 4099 CString result; 4100 InvokeHelper(0x21c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4101 return result; 4102 } 4103 4104 CString _Document::GetActiveThemeDisplayName() 4105 { 4106 CString result; 4107 InvokeHelper(0x21d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4108 return result; 4109 } 4110 4111 LPDISPATCH _Document::GetEmail() 4112 { 4113 LPDISPATCH result; 4114 InvokeHelper(0x13f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4115 return result; 4116 } 4117 4118 LPDISPATCH _Document::GetScripts() 4119 { 4120 LPDISPATCH result; 4121 InvokeHelper(0x140, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4122 return result; 4123 } 4124 4125 BOOL _Document::GetLanguageDetected() 4126 { 4127 BOOL result; 4128 InvokeHelper(0x141, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4129 return result; 4130 } 4131 4132 void _Document::SetLanguageDetected(BOOL bNewValue) 4133 { 4134 static BYTE parms[] = 4135 VTS_BOOL; 4136 InvokeHelper(0x141, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4137 bNewValue); 4138 } 4139 4140 long _Document::GetFarEastLineBreakLanguage() 4141 { 4142 long result; 4143 InvokeHelper(0x146, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4144 return result; 4145 } 4146 4147 void _Document::SetFarEastLineBreakLanguage(long nNewValue) 4148 { 4149 static BYTE parms[] = 4150 VTS_I4; 4151 InvokeHelper(0x146, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4152 nNewValue); 4153 } 4154 4155 LPDISPATCH _Document::GetFrameset() 4156 { 4157 LPDISPATCH result; 4158 InvokeHelper(0x147, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4159 return result; 4160 } 4161 4162 VARIANT _Document::GetClickAndTypeParagraphStyle() 4163 { 4164 VARIANT result; 4165 InvokeHelper(0x148, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 4166 return result; 4167 } 4168 4169 void _Document::SetClickAndTypeParagraphStyle(VARIANT* newValue) 4170 { 4171 static BYTE parms[] = 4172 VTS_PVARIANT; 4173 InvokeHelper(0x148, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4174 newValue); 4175 } 4176 4177 LPDISPATCH _Document::GetHTMLProject() 4178 { 4179 LPDISPATCH result; 4180 InvokeHelper(0x149, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4181 return result; 4182 } 4183 4184 LPDISPATCH _Document::GetWebOptions() 4185 { 4186 LPDISPATCH result; 4187 InvokeHelper(0x14a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4188 return result; 4189 } 4190 4191 long _Document::GetOpenEncoding() 4192 { 4193 long result; 4194 InvokeHelper(0x14c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4195 return result; 4196 } 4197 4198 long _Document::GetSaveEncoding() 4199 { 4200 long result; 4201 InvokeHelper(0x14d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4202 return result; 4203 } 4204 4205 void _Document::SetSaveEncoding(long nNewValue) 4206 { 4207 static BYTE parms[] = 4208 VTS_I4; 4209 InvokeHelper(0x14d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4210 nNewValue); 4211 } 4212 4213 BOOL _Document::GetOptimizeForWord97() 4214 { 4215 BOOL result; 4216 InvokeHelper(0x14e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4217 return result; 4218 } 4219 4220 void _Document::SetOptimizeForWord97(BOOL bNewValue) 4221 { 4222 static BYTE parms[] = 4223 VTS_BOOL; 4224 InvokeHelper(0x14e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4225 bNewValue); 4226 } 4227 4228 BOOL _Document::GetVBASigned() 4229 { 4230 BOOL result; 4231 InvokeHelper(0x14f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4232 return result; 4233 } 4234 4235 void _Document::ConvertVietDoc(long CodePageOrigin) 4236 { 4237 static BYTE parms[] = 4238 VTS_I4; 4239 InvokeHelper(0x1bf, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4240 CodePageOrigin); 4241 } 4242 4243 void _Document::PrintOut(VARIANT* Background, VARIANT* Append, VARIANT* Range, VARIANT* OutputFileName, VARIANT* From, VARIANT* To, VARIANT* Item, VARIANT* Copies, VARIANT* Pages, VARIANT* PageType, VARIANT* PrintToFile, VARIANT* Collate, 4244 VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight) 4245 { 4246 static BYTE parms[] = 4247 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; 4248 InvokeHelper(0x1be, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4249 Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight); 4250 } 4251 4252 LPDISPATCH _Document::GetMailEnvelope() 4253 { 4254 LPDISPATCH result; 4255 InvokeHelper(0x150, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4256 return result; 4257 } 4258 4259 BOOL _Document::GetDisableFeatures() 4260 { 4261 BOOL result; 4262 InvokeHelper(0x151, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4263 return result; 4264 } 4265 4266 void _Document::SetDisableFeatures(BOOL bNewValue) 4267 { 4268 static BYTE parms[] = 4269 VTS_BOOL; 4270 InvokeHelper(0x151, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4271 bNewValue); 4272 } 4273 4274 BOOL _Document::GetDoNotEmbedSystemFonts() 4275 { 4276 BOOL result; 4277 InvokeHelper(0x152, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4278 return result; 4279 } 4280 4281 void _Document::SetDoNotEmbedSystemFonts(BOOL bNewValue) 4282 { 4283 static BYTE parms[] = 4284 VTS_BOOL; 4285 InvokeHelper(0x152, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4286 bNewValue); 4287 } 4288 4289 LPDISPATCH _Document::GetSignatures() 4290 { 4291 LPDISPATCH result; 4292 InvokeHelper(0x153, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4293 return result; 4294 } 4295 4296 CString _Document::GetDefaultTargetFrame() 4297 { 4298 CString result; 4299 InvokeHelper(0x154, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4300 return result; 4301 } 4302 4303 void _Document::SetDefaultTargetFrame(LPCTSTR lpszNewValue) 4304 { 4305 static BYTE parms[] = 4306 VTS_BSTR; 4307 InvokeHelper(0x154, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4308 lpszNewValue); 4309 } 4310 4311 LPDISPATCH _Document::GetHTMLDivisions() 4312 { 4313 LPDISPATCH result; 4314 InvokeHelper(0x156, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4315 return result; 4316 } 4317 4318 long _Document::GetDisableFeaturesIntroducedAfter() 4319 { 4320 long result; 4321 InvokeHelper(0x157, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4322 return result; 4323 } 4324 4325 void _Document::SetDisableFeaturesIntroducedAfter(long nNewValue) 4326 { 4327 static BYTE parms[] = 4328 VTS_I4; 4329 InvokeHelper(0x157, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4330 nNewValue); 4331 } 4332 4333 BOOL _Document::GetRemovePersonalInformation() 4334 { 4335 BOOL result; 4336 InvokeHelper(0x158, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4337 return result; 4338 } 4339 4340 void _Document::SetRemovePersonalInformation(BOOL bNewValue) 4341 { 4342 static BYTE parms[] = 4343 VTS_BOOL; 4344 InvokeHelper(0x158, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4345 bNewValue); 4346 } 4347 4348 LPDISPATCH _Document::GetSmartTags() 4349 { 4350 LPDISPATCH result; 4351 InvokeHelper(0x15a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4352 return result; 4353 } 4354 4355 void _Document::CheckIn(BOOL SaveChanges, VARIANT* Comments, BOOL MakePublic) 4356 { 4357 static BYTE parms[] = 4358 VTS_BOOL VTS_PVARIANT VTS_BOOL; 4359 InvokeHelper(0x15d, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4360 SaveChanges, Comments, MakePublic); 4361 } 4362 4363 BOOL _Document::CanCheckin() 4364 { 4365 BOOL result; 4366 InvokeHelper(0x15f, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL); 4367 return result; 4368 } 4369 4370 void _Document::Merge(LPCTSTR FileName, VARIANT* MergeTarget, VARIANT* DetectFormatChanges, VARIANT* UseFormattingFrom, VARIANT* AddToRecentFiles) 4371 { 4372 static BYTE parms[] = 4373 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4374 InvokeHelper(0x16a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4375 FileName, MergeTarget, DetectFormatChanges, UseFormattingFrom, AddToRecentFiles); 4376 } 4377 4378 BOOL _Document::GetEmbedSmartTags() 4379 { 4380 BOOL result; 4381 InvokeHelper(0x15b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4382 return result; 4383 } 4384 4385 void _Document::SetEmbedSmartTags(BOOL bNewValue) 4386 { 4387 static BYTE parms[] = 4388 VTS_BOOL; 4389 InvokeHelper(0x15b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4390 bNewValue); 4391 } 4392 4393 BOOL _Document::GetSmartTagsAsXMLProps() 4394 { 4395 BOOL result; 4396 InvokeHelper(0x15c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4397 return result; 4398 } 4399 4400 void _Document::SetSmartTagsAsXMLProps(BOOL bNewValue) 4401 { 4402 static BYTE parms[] = 4403 VTS_BOOL; 4404 InvokeHelper(0x15c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4405 bNewValue); 4406 } 4407 4408 long _Document::GetTextEncoding() 4409 { 4410 long result; 4411 InvokeHelper(0x165, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4412 return result; 4413 } 4414 4415 void _Document::SetTextEncoding(long nNewValue) 4416 { 4417 static BYTE parms[] = 4418 VTS_I4; 4419 InvokeHelper(0x165, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4420 nNewValue); 4421 } 4422 4423 long _Document::GetTextLineEnding() 4424 { 4425 long result; 4426 InvokeHelper(0x166, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4427 return result; 4428 } 4429 4430 void _Document::SetTextLineEnding(long nNewValue) 4431 { 4432 static BYTE parms[] = 4433 VTS_I4; 4434 InvokeHelper(0x166, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4435 nNewValue); 4436 } 4437 4438 void _Document::SendForReview(VARIANT* Recipients, VARIANT* Subject, VARIANT* ShowMessage, VARIANT* IncludeAttachment) 4439 { 4440 static BYTE parms[] = 4441 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4442 InvokeHelper(0x161, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4443 Recipients, Subject, ShowMessage, IncludeAttachment); 4444 } 4445 4446 void _Document::ReplyWithChanges(VARIANT* ShowMessage) 4447 { 4448 static BYTE parms[] = 4449 VTS_PVARIANT; 4450 InvokeHelper(0x162, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4451 ShowMessage); 4452 } 4453 4454 void _Document::EndReview() 4455 { 4456 InvokeHelper(0x164, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4457 } 4458 4459 LPDISPATCH _Document::GetStyleSheets() 4460 { 4461 LPDISPATCH result; 4462 InvokeHelper(0x168, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4463 return result; 4464 } 4465 4466 VARIANT _Document::GetDefaultTableStyle() 4467 { 4468 VARIANT result; 4469 InvokeHelper(0x16d, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 4470 return result; 4471 } 4472 4473 CString _Document::GetPasswordEncryptionProvider() 4474 { 4475 CString result; 4476 InvokeHelper(0x16f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4477 return result; 4478 } 4479 4480 CString _Document::GetPasswordEncryptionAlgorithm() 4481 { 4482 CString result; 4483 InvokeHelper(0x170, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4484 return result; 4485 } 4486 4487 long _Document::GetPasswordEncryptionKeyLength() 4488 { 4489 long result; 4490 InvokeHelper(0x171, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4491 return result; 4492 } 4493 4494 BOOL _Document::GetPasswordEncryptionFileProperties() 4495 { 4496 BOOL result; 4497 InvokeHelper(0x172, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4498 return result; 4499 } 4500 4501 void _Document::SetPasswordEncryptionOptions(LPCTSTR PasswordEncryptionProvider, LPCTSTR PasswordEncryptionAlgorithm, long PasswordEncryptionKeyLength, VARIANT* PasswordEncryptionFileProperties) 4502 { 4503 static BYTE parms[] = 4504 VTS_BSTR VTS_BSTR VTS_I4 VTS_PVARIANT; 4505 InvokeHelper(0x169, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4506 PasswordEncryptionProvider, PasswordEncryptionAlgorithm, PasswordEncryptionKeyLength, PasswordEncryptionFileProperties); 4507 } 4508 4509 void _Document::RecheckSmartTags() 4510 { 4511 InvokeHelper(0x16b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4512 } 4513 4514 void _Document::RemoveSmartTags() 4515 { 4516 InvokeHelper(0x16c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4517 } 4518 4519 void _Document::SetDefaultTableStyle(VARIANT* Style, BOOL SetInTemplate) 4520 { 4521 static BYTE parms[] = 4522 VTS_PVARIANT VTS_BOOL; 4523 InvokeHelper(0x16e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4524 Style, SetInTemplate); 4525 } 4526 4527 void _Document::DeleteAllComments() 4528 { 4529 InvokeHelper(0x173, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4530 } 4531 4532 void _Document::AcceptAllRevisionsShown() 4533 { 4534 InvokeHelper(0x174, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4535 } 4536 4537 void _Document::RejectAllRevisionsShown() 4538 { 4539 InvokeHelper(0x175, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4540 } 4541 4542 void _Document::DeleteAllCommentsShown() 4543 { 4544 InvokeHelper(0x176, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4545 } 4546 4547 void _Document::ResetFormFields() 4548 { 4549 InvokeHelper(0x177, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4550 } 4551 4552 //word2003 4553 void _Document::SaveAs(VARIANT* FileName, VARIANT* FileFormat, VARIANT* LockComments, VARIANT* Password, VARIANT* AddToRecentFiles, VARIANT* WritePassword, VARIANT* ReadOnlyRecommended, VARIANT* EmbedTrueTypeFonts, VARIANT* SaveNativePictureFormat, 4554 VARIANT* SaveFormsData, VARIANT* SaveAsAOCELetter, VARIANT* Encoding, VARIANT* InsertLineBreaks, VARIANT* AllowSubstitutions, VARIANT* LineEnding, VARIANT* AddBiDiMarks) 4555 { 4556 static BYTE parms[] = 4557 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; 4558 InvokeHelper(0x178, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4559 FileName, FileFormat, LockComments, Password, AddToRecentFiles, WritePassword, ReadOnlyRecommended, EmbedTrueTypeFonts, SaveNativePictureFormat, SaveFormsData, SaveAsAOCELetter, Encoding, InsertLineBreaks, AllowSubstitutions, LineEnding, 4560 AddBiDiMarks); 4561 } 4562 4563 //word 2000 4564 void _Document::SaveAs(VARIANT* FileName, VARIANT* FileFormat, VARIANT* LockComments, VARIANT* Password, VARIANT* AddToRecentFiles, VARIANT* WritePassword, VARIANT* ReadOnlyRecommended, VARIANT* EmbedTrueTypeFonts, VARIANT* SaveNativePictureFormat, 4565 VARIANT* SaveFormsData, VARIANT* SaveAsAOCELetter) 4566 { 4567 static BYTE parms[] = 4568 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4569 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4570 FileName, FileFormat, LockComments, Password, AddToRecentFiles, WritePassword, ReadOnlyRecommended, EmbedTrueTypeFonts, SaveNativePictureFormat, SaveFormsData, SaveAsAOCELetter); 4571 } 4572 4573 BOOL _Document::GetEmbedLinguisticData() 4574 { 4575 BOOL result; 4576 InvokeHelper(0x179, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4577 return result; 4578 } 4579 4580 void _Document::SetEmbedLinguisticData(BOOL bNewValue) 4581 { 4582 static BYTE parms[] = 4583 VTS_BOOL; 4584 InvokeHelper(0x179, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4585 bNewValue); 4586 } 4587 4588 BOOL _Document::GetFormattingShowFont() 4589 { 4590 BOOL result; 4591 InvokeHelper(0x1c0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4592 return result; 4593 } 4594 4595 void _Document::SetFormattingShowFont(BOOL bNewValue) 4596 { 4597 static BYTE parms[] = 4598 VTS_BOOL; 4599 InvokeHelper(0x1c0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4600 bNewValue); 4601 } 4602 4603 BOOL _Document::GetFormattingShowClear() 4604 { 4605 BOOL result; 4606 InvokeHelper(0x1c1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4607 return result; 4608 } 4609 4610 void _Document::SetFormattingShowClear(BOOL bNewValue) 4611 { 4612 static BYTE parms[] = 4613 VTS_BOOL; 4614 InvokeHelper(0x1c1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4615 bNewValue); 4616 } 4617 4618 BOOL _Document::GetFormattingShowParagraph() 4619 { 4620 BOOL result; 4621 InvokeHelper(0x1c2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4622 return result; 4623 } 4624 4625 void _Document::SetFormattingShowParagraph(BOOL bNewValue) 4626 { 4627 static BYTE parms[] = 4628 VTS_BOOL; 4629 InvokeHelper(0x1c2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4630 bNewValue); 4631 } 4632 4633 BOOL _Document::GetFormattingShowNumbering() 4634 { 4635 BOOL result; 4636 InvokeHelper(0x1c3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4637 return result; 4638 } 4639 4640 void _Document::SetFormattingShowNumbering(BOOL bNewValue) 4641 { 4642 static BYTE parms[] = 4643 VTS_BOOL; 4644 InvokeHelper(0x1c3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4645 bNewValue); 4646 } 4647 4648 long _Document::GetFormattingShowFilter() 4649 { 4650 long result; 4651 InvokeHelper(0x1c4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4652 return result; 4653 } 4654 4655 void _Document::SetFormattingShowFilter(long nNewValue) 4656 { 4657 static BYTE parms[] = 4658 VTS_I4; 4659 InvokeHelper(0x1c4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4660 nNewValue); 4661 } 4662 4663 void _Document::CheckNewSmartTags() 4664 { 4665 InvokeHelper(0x17a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4666 } 4667 4668 LPDISPATCH _Document::GetPermission() 4669 { 4670 LPDISPATCH result; 4671 InvokeHelper(0x1c5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4672 return result; 4673 } 4674 4675 LPDISPATCH _Document::GetXMLNodes() 4676 { 4677 LPDISPATCH result; 4678 InvokeHelper(0x1cc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4679 return result; 4680 } 4681 4682 LPDISPATCH _Document::GetXMLSchemaReferences() 4683 { 4684 LPDISPATCH result; 4685 InvokeHelper(0x1cd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4686 return result; 4687 } 4688 4689 LPDISPATCH _Document::GetSmartDocument() 4690 { 4691 LPDISPATCH result; 4692 InvokeHelper(0x1ce, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4693 return result; 4694 } 4695 4696 LPDISPATCH _Document::GetSharedWorkspace() 4697 { 4698 LPDISPATCH result; 4699 InvokeHelper(0x1cf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4700 return result; 4701 } 4702 4703 LPDISPATCH _Document::GetSync() 4704 { 4705 LPDISPATCH result; 4706 InvokeHelper(0x1d2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4707 return result; 4708 } 4709 4710 BOOL _Document::GetEnforceStyle() 4711 { 4712 BOOL result; 4713 InvokeHelper(0x1d7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4714 return result; 4715 } 4716 4717 void _Document::SetEnforceStyle(BOOL bNewValue) 4718 { 4719 static BYTE parms[] = 4720 VTS_BOOL; 4721 InvokeHelper(0x1d7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4722 bNewValue); 4723 } 4724 4725 BOOL _Document::GetAutoFormatOverride() 4726 { 4727 BOOL result; 4728 InvokeHelper(0x1d8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4729 return result; 4730 } 4731 4732 void _Document::SetAutoFormatOverride(BOOL bNewValue) 4733 { 4734 static BYTE parms[] = 4735 VTS_BOOL; 4736 InvokeHelper(0x1d8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4737 bNewValue); 4738 } 4739 4740 BOOL _Document::GetXMLSaveDataOnly() 4741 { 4742 BOOL result; 4743 InvokeHelper(0x1d9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4744 return result; 4745 } 4746 4747 void _Document::SetXMLSaveDataOnly(BOOL bNewValue) 4748 { 4749 static BYTE parms[] = 4750 VTS_BOOL; 4751 InvokeHelper(0x1d9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4752 bNewValue); 4753 } 4754 4755 BOOL _Document::GetXMLHideNamespaces() 4756 { 4757 BOOL result; 4758 InvokeHelper(0x1dd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4759 return result; 4760 } 4761 4762 void _Document::SetXMLHideNamespaces(BOOL bNewValue) 4763 { 4764 static BYTE parms[] = 4765 VTS_BOOL; 4766 InvokeHelper(0x1dd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4767 bNewValue); 4768 } 4769 4770 BOOL _Document::GetXMLShowAdvancedErrors() 4771 { 4772 BOOL result; 4773 InvokeHelper(0x1de, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4774 return result; 4775 } 4776 4777 void _Document::SetXMLShowAdvancedErrors(BOOL bNewValue) 4778 { 4779 static BYTE parms[] = 4780 VTS_BOOL; 4781 InvokeHelper(0x1de, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4782 bNewValue); 4783 } 4784 4785 BOOL _Document::GetXMLUseXSLTWhenSaving() 4786 { 4787 BOOL result; 4788 InvokeHelper(0x1da, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4789 return result; 4790 } 4791 4792 void _Document::SetXMLUseXSLTWhenSaving(BOOL bNewValue) 4793 { 4794 static BYTE parms[] = 4795 VTS_BOOL; 4796 InvokeHelper(0x1da, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4797 bNewValue); 4798 } 4799 4800 CString _Document::GetXMLSaveThroughXSLT() 4801 { 4802 CString result; 4803 InvokeHelper(0x1db, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4804 return result; 4805 } 4806 4807 void _Document::SetXMLSaveThroughXSLT(LPCTSTR lpszNewValue) 4808 { 4809 static BYTE parms[] = 4810 VTS_BSTR; 4811 InvokeHelper(0x1db, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4812 lpszNewValue); 4813 } 4814 4815 LPDISPATCH _Document::GetDocumentLibraryVersions() 4816 { 4817 LPDISPATCH result; 4818 InvokeHelper(0x1dc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4819 return result; 4820 } 4821 4822 BOOL _Document::GetReadingModeLayoutFrozen() 4823 { 4824 BOOL result; 4825 InvokeHelper(0x1e1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4826 return result; 4827 } 4828 4829 void _Document::SetReadingModeLayoutFrozen(BOOL bNewValue) 4830 { 4831 static BYTE parms[] = 4832 VTS_BOOL; 4833 InvokeHelper(0x1e1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4834 bNewValue); 4835 } 4836 4837 BOOL _Document::GetRemoveDateAndTime() 4838 { 4839 BOOL result; 4840 InvokeHelper(0x1e4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4841 return result; 4842 } 4843 4844 void _Document::SetRemoveDateAndTime(BOOL bNewValue) 4845 { 4846 static BYTE parms[] = 4847 VTS_BOOL; 4848 InvokeHelper(0x1e4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4849 bNewValue); 4850 } 4851 4852 void _Document::SendFaxOverInternet(VARIANT* Recipients, VARIANT* Subject, VARIANT* ShowMessage) 4853 { 4854 static BYTE parms[] = 4855 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4856 InvokeHelper(0x1d0, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4857 Recipients, Subject, ShowMessage); 4858 } 4859 4860 void _Document::TransformDocument(LPCTSTR Path, BOOL DataOnly) 4861 { 4862 static BYTE parms[] = 4863 VTS_BSTR VTS_BOOL; 4864 InvokeHelper(0x1f4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4865 Path, DataOnly); 4866 } 4867 4868 void _Document::Protect(long Type, VARIANT* NoReset, VARIANT* Password, VARIANT* UseIRM, VARIANT* EnforceStyleLock) 4869 { 4870 static BYTE parms[] = 4871 VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4872 InvokeHelper(0x1d3, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4873 Type, NoReset, Password, UseIRM, EnforceStyleLock); 4874 } 4875 4876 void _Document::SelectAllEditableRanges(VARIANT* EditorID) 4877 { 4878 static BYTE parms[] = 4879 VTS_PVARIANT; 4880 InvokeHelper(0x1d4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4881 EditorID); 4882 } 4883 4884 void _Document::DeleteAllEditableRanges(VARIANT* EditorID) 4885 { 4886 static BYTE parms[] = 4887 VTS_PVARIANT; 4888 InvokeHelper(0x1d5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4889 EditorID); 4890 } 4891 4892 void _Document::DeleteAllInkAnnotations() 4893 { 4894 InvokeHelper(0x1df, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4895 } 4896 4897 void _Document::Compare(LPCTSTR Name, VARIANT* AuthorName, VARIANT* CompareTarget, VARIANT* DetectFormatChanges, VARIANT* IgnoreAllComparisonWarnings, VARIANT* AddToRecentFiles, VARIANT* RemovePersonalInformation, VARIANT* RemoveDateAndTime) 4898 { 4899 static BYTE parms[] = 4900 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4901 InvokeHelper(0x1e5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4902 Name, AuthorName, CompareTarget, DetectFormatChanges, IgnoreAllComparisonWarnings, AddToRecentFiles, RemovePersonalInformation, RemoveDateAndTime); 4903 } 4904 4905 void _Document::RemoveLockedStyles() 4906 { 4907 InvokeHelper(0x1e7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4908 } 4909 4910 LPDISPATCH _Document::GetChildNodeSuggestions() 4911 { 4912 LPDISPATCH result; 4913 InvokeHelper(0x1e6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4914 return result; 4915 } 4916 4917 LPDISPATCH _Document::SelectSingleNode(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes) 4918 { 4919 LPDISPATCH result; 4920 static BYTE parms[] = 4921 VTS_BSTR VTS_BSTR VTS_BOOL; 4922 InvokeHelper(0x1e8, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4923 XPath, PrefixMapping, FastSearchSkippingTextNodes); 4924 return result; 4925 } 4926 4927 LPDISPATCH _Document::SelectNodes(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes) 4928 { 4929 LPDISPATCH result; 4930 static BYTE parms[] = 4931 VTS_BSTR VTS_BSTR VTS_BOOL; 4932 InvokeHelper(0x1e9, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4933 XPath, PrefixMapping, FastSearchSkippingTextNodes); 4934 return result; 4935 } 4936 4937 LPDISPATCH _Document::GetXMLSchemaViolations() 4938 { 4939 LPDISPATCH result; 4940 InvokeHelper(0x1ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4941 return result; 4942 } 4943 4944 long _Document::GetReadingLayoutSizeX() 4945 { 4946 long result; 4947 InvokeHelper(0x1eb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4948 return result; 4949 } 4950 4951 void _Document::SetReadingLayoutSizeX(long nNewValue) 4952 { 4953 static BYTE parms[] = 4954 VTS_I4; 4955 InvokeHelper(0x1eb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4956 nNewValue); 4957 } 4958 4959 long _Document::GetReadingLayoutSizeY() 4960 { 4961 long result; 4962 InvokeHelper(0x1ec, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4963 return result; 4964 } 4965 4966 void _Document::SetReadingLayoutSizeY(long nNewValue) 4967 { 4968 static BYTE parms[] = 4969 VTS_I4; 4970 InvokeHelper(0x1ec, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4971 nNewValue); 4972 }View Code
2
1 ///////////////////////////////////////////////////////////////////////////// 2 // Template properties 3 4 ///////////////////////////////////////////////////////////////////////////// 5 // Template operations 6 7 CString Template::GetName() 8 { 9 CString result; 10 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 11 return result; 12 } 13 14 LPDISPATCH Template::GetApplication() 15 { 16 LPDISPATCH result; 17 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 18 return result; 19 } 20 21 long Template::GetCreator() 22 { 23 long result; 24 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 25 return result; 26 } 27 28 LPDISPATCH Template::GetParent() 29 { 30 LPDISPATCH result; 31 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 32 return result; 33 } 34 35 CString Template::GetPath() 36 { 37 CString result; 38 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 39 return result; 40 } 41 42 LPDISPATCH Template::GetAutoTextEntries() 43 { 44 LPDISPATCH result; 45 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 46 return result; 47 } 48 49 long Template::GetLanguageID() 50 { 51 long result; 52 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 53 return result; 54 } 55 56 void Template::SetLanguageID(long nNewValue) 57 { 58 static BYTE parms[] = 59 VTS_I4; 60 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 61 nNewValue); 62 } 63 64 BOOL Template::GetSaved() 65 { 66 BOOL result; 67 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 68 return result; 69 } 70 71 void Template::SetSaved(BOOL bNewValue) 72 { 73 static BYTE parms[] = 74 VTS_BOOL; 75 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 76 bNewValue); 77 } 78 79 long Template::GetType() 80 { 81 long result; 82 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 83 return result; 84 } 85 86 CString Template::GetFullName() 87 { 88 CString result; 89 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 90 return result; 91 } 92 93 LPDISPATCH Template::GetBuiltInDocumentProperties() 94 { 95 LPDISPATCH result; 96 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 97 return result; 98 } 99 100 LPDISPATCH Template::GetCustomDocumentProperties() 101 { 102 LPDISPATCH result; 103 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 104 return result; 105 } 106 107 LPDISPATCH Template::GetListTemplates() 108 { 109 LPDISPATCH result; 110 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 111 return result; 112 } 113 114 long Template::GetLanguageIDFarEast() 115 { 116 long result; 117 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 118 return result; 119 } 120 121 void Template::SetLanguageIDFarEast(long nNewValue) 122 { 123 static BYTE parms[] = 124 VTS_I4; 125 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 126 nNewValue); 127 } 128 129 LPDISPATCH Template::GetVBProject() 130 { 131 LPDISPATCH result; 132 InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 133 return result; 134 } 135 136 BOOL Template::GetKerningByAlgorithm() 137 { 138 BOOL result; 139 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 140 return result; 141 } 142 143 void Template::SetKerningByAlgorithm(BOOL bNewValue) 144 { 145 static BYTE parms[] = 146 VTS_BOOL; 147 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 148 bNewValue); 149 } 150 151 long Template::GetJustificationMode() 152 { 153 long result; 154 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 155 return result; 156 } 157 158 void Template::SetJustificationMode(long nNewValue) 159 { 160 static BYTE parms[] = 161 VTS_I4; 162 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 163 nNewValue); 164 } 165 166 long Template::GetFarEastLineBreakLevel() 167 { 168 long result; 169 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 170 return result; 171 } 172 173 void Template::SetFarEastLineBreakLevel(long nNewValue) 174 { 175 static BYTE parms[] = 176 VTS_I4; 177 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 178 nNewValue); 179 } 180 181 CString Template::GetNoLineBreakBefore() 182 { 183 CString result; 184 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 185 return result; 186 } 187 188 void Template::SetNoLineBreakBefore(LPCTSTR lpszNewValue) 189 { 190 static BYTE parms[] = 191 VTS_BSTR; 192 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 193 lpszNewValue); 194 } 195 196 CString Template::GetNoLineBreakAfter() 197 { 198 CString result; 199 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 200 return result; 201 } 202 203 void Template::SetNoLineBreakAfter(LPCTSTR lpszNewValue) 204 { 205 static BYTE parms[] = 206 VTS_BSTR; 207 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 208 lpszNewValue); 209 } 210 211 LPDISPATCH Template::OpenAsDocument() 212 { 213 LPDISPATCH result; 214 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 215 return result; 216 } 217 218 void Template::Save() 219 { 220 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 221 } 222 223 long Template::GetNoProofing() 224 { 225 long result; 226 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 227 return result; 228 } 229 230 void Template::SetNoProofing(long nNewValue) 231 { 232 static BYTE parms[] = 233 VTS_I4; 234 InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 235 nNewValue); 236 } 237 238 long Template::GetFarEastLineBreakLanguage() 239 { 240 long result; 241 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 242 return result; 243 } 244 245 void Template::SetFarEastLineBreakLanguage(long nNewValue) 246 { 247 static BYTE parms[] = 248 VTS_I4; 249 InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 250 nNewValue); 251 } 252 253 254 ///////////////////////////////////////////////////////////////////////////// 255 // Templates properties 256 257 ///////////////////////////////////////////////////////////////////////////// 258 // Templates operations 259 260 LPDISPATCH Templates::GetApplication() 261 { 262 LPDISPATCH result; 263 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 264 return result; 265 } 266 267 long Templates::GetCreator() 268 { 269 long result; 270 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 271 return result; 272 } 273 274 LPDISPATCH Templates::GetParent() 275 { 276 LPDISPATCH result; 277 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 278 return result; 279 } 280 281 long Templates::GetCount() 282 { 283 long result; 284 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 285 return result; 286 } 287 288 LPUNKNOWN Templates::Get_NewEnum() 289 { 290 LPUNKNOWN result; 291 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 292 return result; 293 } 294 295 LPDISPATCH Templates::Item(VARIANT* Index) 296 { 297 LPDISPATCH result; 298 static BYTE parms[] = 299 VTS_PVARIANT; 300 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 301 Index); 302 return result; 303 } 304 305 306 ///////////////////////////////////////////////////////////////////////////// 307 // RoutingSlip properties 308 309 ///////////////////////////////////////////////////////////////////////////// 310 // RoutingSlip operations 311 312 LPDISPATCH RoutingSlip::GetApplication() 313 { 314 LPDISPATCH result; 315 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 316 return result; 317 } 318 319 long RoutingSlip::GetCreator() 320 { 321 long result; 322 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 323 return result; 324 } 325 326 LPDISPATCH RoutingSlip::GetParent() 327 { 328 LPDISPATCH result; 329 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 330 return result; 331 } 332 333 CString RoutingSlip::GetSubject() 334 { 335 CString result; 336 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 337 return result; 338 } 339 340 void RoutingSlip::SetSubject(LPCTSTR lpszNewValue) 341 { 342 static BYTE parms[] = 343 VTS_BSTR; 344 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 345 lpszNewValue); 346 } 347 348 CString RoutingSlip::GetMessage() 349 { 350 CString result; 351 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 352 return result; 353 } 354 355 void RoutingSlip::SetMessage(LPCTSTR lpszNewValue) 356 { 357 static BYTE parms[] = 358 VTS_BSTR; 359 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 360 lpszNewValue); 361 } 362 363 long RoutingSlip::GetDelivery() 364 { 365 long result; 366 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 367 return result; 368 } 369 370 void RoutingSlip::SetDelivery(long nNewValue) 371 { 372 static BYTE parms[] = 373 VTS_I4; 374 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 375 nNewValue); 376 } 377 378 BOOL RoutingSlip::GetTrackStatus() 379 { 380 BOOL result; 381 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 382 return result; 383 } 384 385 void RoutingSlip::SetTrackStatus(BOOL bNewValue) 386 { 387 static BYTE parms[] = 388 VTS_BOOL; 389 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 390 bNewValue); 391 } 392 393 long RoutingSlip::GetProtect() 394 { 395 long result; 396 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 397 return result; 398 } 399 400 void RoutingSlip::SetProtect(long nNewValue) 401 { 402 static BYTE parms[] = 403 VTS_I4; 404 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 405 nNewValue); 406 } 407 408 BOOL RoutingSlip::GetReturnWhenDone() 409 { 410 BOOL result; 411 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 412 return result; 413 } 414 415 void RoutingSlip::SetReturnWhenDone(BOOL bNewValue) 416 { 417 static BYTE parms[] = 418 VTS_BOOL; 419 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 420 bNewValue); 421 } 422 423 long RoutingSlip::GetStatus() 424 { 425 long result; 426 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 427 return result; 428 } 429 430 VARIANT RoutingSlip::GetRecipients(VARIANT* Index) 431 { 432 VARIANT result; 433 static BYTE parms[] = 434 VTS_PVARIANT; 435 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms, 436 Index); 437 return result; 438 } 439 440 void RoutingSlip::Reset() 441 { 442 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 443 } 444 445 void RoutingSlip::AddRecipient(LPCTSTR Recipient) 446 { 447 static BYTE parms[] = 448 VTS_BSTR; 449 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 450 Recipient); 451 } 452 453 454 ///////////////////////////////////////////////////////////////////////////// 455 // Bookmark properties 456 457 ///////////////////////////////////////////////////////////////////////////// 458 // Bookmark operations 459 460 CString Bookmark::GetName() 461 { 462 CString result; 463 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 464 return result; 465 } 466 467 LPDISPATCH Bookmark::GetRange() 468 { 469 LPDISPATCH result; 470 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 471 return result; 472 } 473 474 BOOL Bookmark::GetEmpty() 475 { 476 BOOL result; 477 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 478 return result; 479 } 480 481 long Bookmark::GetStart() 482 { 483 long result; 484 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 485 return result; 486 } 487 488 void Bookmark::SetStart(long nNewValue) 489 { 490 static BYTE parms[] = 491 VTS_I4; 492 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 493 nNewValue); 494 } 495 496 long Bookmark::GetEnd() 497 { 498 long result; 499 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 500 return result; 501 } 502 503 void Bookmark::SetEnd(long nNewValue) 504 { 505 static BYTE parms[] = 506 VTS_I4; 507 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 508 nNewValue); 509 } 510 511 BOOL Bookmark::GetColumn() 512 { 513 BOOL result; 514 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 515 return result; 516 } 517 518 long Bookmark::GetStoryType() 519 { 520 long result; 521 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 522 return result; 523 } 524 525 LPDISPATCH Bookmark::GetApplication() 526 { 527 LPDISPATCH result; 528 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 529 return result; 530 } 531 532 long Bookmark::GetCreator() 533 { 534 long result; 535 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 536 return result; 537 } 538 539 LPDISPATCH Bookmark::GetParent() 540 { 541 LPDISPATCH result; 542 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 543 return result; 544 } 545 546 void Bookmark::Select() 547 { 548 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 549 } 550 551 void Bookmark::Delete() 552 { 553 InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 554 } 555 556 LPDISPATCH Bookmark::Copy(LPCTSTR Name) 557 { 558 LPDISPATCH result; 559 static BYTE parms[] = 560 VTS_BSTR; 561 InvokeHelper(0xc, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 562 Name); 563 return result; 564 } 565 566 567 ///////////////////////////////////////////////////////////////////////////// 568 // Bookmarks properties 569 570 ///////////////////////////////////////////////////////////////////////////// 571 // Bookmarks operations 572 573 LPUNKNOWN Bookmarks::Get_NewEnum() 574 { 575 LPUNKNOWN result; 576 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 577 return result; 578 } 579 580 long Bookmarks::GetCount() 581 { 582 long result; 583 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 584 return result; 585 } 586 587 long Bookmarks::GetDefaultSorting() 588 { 589 long result; 590 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 591 return result; 592 } 593 594 void Bookmarks::SetDefaultSorting(long nNewValue) 595 { 596 static BYTE parms[] = 597 VTS_I4; 598 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 599 nNewValue); 600 } 601 602 BOOL Bookmarks::GetShowHidden() 603 { 604 BOOL result; 605 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 606 return result; 607 } 608 609 void Bookmarks::SetShowHidden(BOOL bNewValue) 610 { 611 static BYTE parms[] = 612 VTS_BOOL; 613 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 614 bNewValue); 615 } 616 617 LPDISPATCH Bookmarks::GetApplication() 618 { 619 LPDISPATCH result; 620 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 621 return result; 622 } 623 624 long Bookmarks::GetCreator() 625 { 626 long result; 627 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 628 return result; 629 } 630 631 LPDISPATCH Bookmarks::GetParent() 632 { 633 LPDISPATCH result; 634 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 635 return result; 636 } 637 638 LPDISPATCH Bookmarks::Item(VARIANT* Index) 639 { 640 LPDISPATCH result; 641 static BYTE parms[] = 642 VTS_PVARIANT; 643 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 644 Index); 645 return result; 646 } 647 648 LPDISPATCH Bookmarks::Add(LPCTSTR Name, VARIANT* Range) 649 { 650 LPDISPATCH result; 651 static BYTE parms[] = 652 VTS_BSTR VTS_PVARIANT; 653 InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 654 Name, Range); 655 return result; 656 } 657 658 BOOL Bookmarks::Exists(LPCTSTR Name) 659 { 660 BOOL result; 661 static BYTE parms[] = 662 VTS_BSTR; 663 InvokeHelper(0x6, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 664 Name); 665 return result; 666 } 667 668 669 ///////////////////////////////////////////////////////////////////////////// 670 // Variable properties 671 672 ///////////////////////////////////////////////////////////////////////////// 673 // Variable operations 674 675 LPDISPATCH Variable::GetApplication() 676 { 677 LPDISPATCH result; 678 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 679 return result; 680 } 681 682 long Variable::GetCreator() 683 { 684 long result; 685 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 686 return result; 687 } 688 689 LPDISPATCH Variable::GetParent() 690 { 691 LPDISPATCH result; 692 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 693 return result; 694 } 695 696 CString Variable::GetName() 697 { 698 CString result; 699 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 700 return result; 701 } 702 703 CString Variable::GetValue() 704 { 705 CString result; 706 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 707 return result; 708 } 709 710 void Variable::SetValue(LPCTSTR lpszNewValue) 711 { 712 static BYTE parms[] = 713 VTS_BSTR; 714 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 715 lpszNewValue); 716 } 717 718 long Variable::GetIndex() 719 { 720 long result; 721 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 722 return result; 723 } 724 725 void Variable::Delete() 726 { 727 InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 728 } 729 730 731 ///////////////////////////////////////////////////////////////////////////// 732 // Variables properties 733 734 ///////////////////////////////////////////////////////////////////////////// 735 // Variables operations 736 737 LPUNKNOWN Variables::Get_NewEnum() 738 { 739 LPUNKNOWN result; 740 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 741 return result; 742 } 743 744 long Variables::GetCount() 745 { 746 long result; 747 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 748 return result; 749 } 750 751 LPDISPATCH Variables::GetApplication() 752 { 753 LPDISPATCH result; 754 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 755 return result; 756 } 757 758 long Variables::GetCreator() 759 { 760 long result; 761 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 762 return result; 763 } 764 765 LPDISPATCH Variables::GetParent() 766 { 767 LPDISPATCH result; 768 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 769 return result; 770 } 771 772 LPDISPATCH Variables::Item(VARIANT* Index) 773 { 774 LPDISPATCH result; 775 static BYTE parms[] = 776 VTS_PVARIANT; 777 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 778 Index); 779 return result; 780 } 781 782 LPDISPATCH Variables::Add(LPCTSTR Name, VARIANT* Value) 783 { 784 LPDISPATCH result; 785 static BYTE parms[] = 786 VTS_BSTR VTS_PVARIANT; 787 InvokeHelper(0x7, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 788 Name, Value); 789 return result; 790 } 791 792 793 ///////////////////////////////////////////////////////////////////////////// 794 // RecentFile properties 795 796 ///////////////////////////////////////////////////////////////////////////// 797 // RecentFile operations 798 799 LPDISPATCH RecentFile::GetApplication() 800 { 801 LPDISPATCH result; 802 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 803 return result; 804 } 805 806 long RecentFile::GetCreator() 807 { 808 long result; 809 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 810 return result; 811 } 812 813 LPDISPATCH RecentFile::GetParent() 814 { 815 LPDISPATCH result; 816 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 817 return result; 818 } 819 820 CString RecentFile::GetName() 821 { 822 CString result; 823 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 824 return result; 825 } 826 827 long RecentFile::GetIndex() 828 { 829 long result; 830 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 831 return result; 832 } 833 834 BOOL RecentFile::GetReadOnly() 835 { 836 BOOL result; 837 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 838 return result; 839 } 840 841 void RecentFile::SetReadOnly(BOOL bNewValue) 842 { 843 static BYTE parms[] = 844 VTS_BOOL; 845 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 846 bNewValue); 847 } 848 849 CString RecentFile::GetPath() 850 { 851 CString result; 852 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 853 return result; 854 } 855 856 LPDISPATCH RecentFile::Open() 857 { 858 LPDISPATCH result; 859 InvokeHelper(0x4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 860 return result; 861 } 862 863 void RecentFile::Delete() 864 { 865 InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 866 } 867 868 869 ///////////////////////////////////////////////////////////////////////////// 870 // RecentFiles properties 871 872 ///////////////////////////////////////////////////////////////////////////// 873 // RecentFiles operations 874 875 LPDISPATCH RecentFiles::GetApplication() 876 { 877 LPDISPATCH result; 878 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 879 return result; 880 } 881 882 long RecentFiles::GetCreator() 883 { 884 long result; 885 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 886 return result; 887 } 888 889 LPDISPATCH RecentFiles::GetParent() 890 { 891 LPDISPATCH result; 892 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 893 return result; 894 } 895 896 LPUNKNOWN RecentFiles::Get_NewEnum() 897 { 898 LPUNKNOWN result; 899 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 900 return result; 901 } 902 903 long RecentFiles::GetCount() 904 { 905 long result; 906 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 907 return result; 908 } 909 910 long RecentFiles::GetMaximum() 911 { 912 long result; 913 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 914 return result; 915 } 916 917 void RecentFiles::SetMaximum(long nNewValue) 918 { 919 static BYTE parms[] = 920 VTS_I4; 921 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 922 nNewValue); 923 } 924 925 LPDISPATCH RecentFiles::Item(long Index) 926 { 927 LPDISPATCH result; 928 static BYTE parms[] = 929 VTS_I4; 930 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 931 Index); 932 return result; 933 } 934 935 LPDISPATCH RecentFiles::Add(VARIANT* Document, VARIANT* ReadOnly) 936 { 937 LPDISPATCH result; 938 static BYTE parms[] = 939 VTS_PVARIANT VTS_PVARIANT; 940 InvokeHelper(0x3, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 941 Document, ReadOnly); 942 return result; 943 } 944 945 946 ///////////////////////////////////////////////////////////////////////////// 947 // Window properties 948 949 ///////////////////////////////////////////////////////////////////////////// 950 // Window operations 951 952 LPDISPATCH Window::GetApplication() 953 { 954 LPDISPATCH result; 955 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 956 return result; 957 } 958 959 long Window::GetCreator() 960 { 961 long result; 962 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 963 return result; 964 } 965 966 LPDISPATCH Window::GetParent() 967 { 968 LPDISPATCH result; 969 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 970 return result; 971 } 972 973 LPDISPATCH Window::GetActivePane() 974 { 975 LPDISPATCH result; 976 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 977 return result; 978 } 979 980 LPDISPATCH Window::GetDocument() 981 { 982 LPDISPATCH result; 983 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 984 return result; 985 } 986 987 LPDISPATCH Window::GetPanes() 988 { 989 LPDISPATCH result; 990 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 991 return result; 992 } 993 994 LPDISPATCH Window::GetSelection() 995 { 996 LPDISPATCH result; 997 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 998 return result; 999 } 1000 1001 long Window::GetLeft() 1002 { 1003 long result; 1004 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1005 return result; 1006 } 1007 1008 void Window::SetLeft(long nNewValue) 1009 { 1010 static BYTE parms[] = 1011 VTS_I4; 1012 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1013 nNewValue); 1014 } 1015 1016 long Window::GetTop() 1017 { 1018 long result; 1019 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1020 return result; 1021 } 1022 1023 void Window::SetTop(long nNewValue) 1024 { 1025 static BYTE parms[] = 1026 VTS_I4; 1027 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1028 nNewValue); 1029 } 1030 1031 long Window::GetWidth() 1032 { 1033 long result; 1034 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1035 return result; 1036 } 1037 1038 void Window::SetWidth(long nNewValue) 1039 { 1040 static BYTE parms[] = 1041 VTS_I4; 1042 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1043 nNewValue); 1044 } 1045 1046 long Window::GetHeight() 1047 { 1048 long result; 1049 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1050 return result; 1051 } 1052 1053 void Window::SetHeight(long nNewValue) 1054 { 1055 static BYTE parms[] = 1056 VTS_I4; 1057 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1058 nNewValue); 1059 } 1060 1061 BOOL Window::GetSplit() 1062 { 1063 BOOL result; 1064 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1065 return result; 1066 } 1067 1068 void Window::SetSplit(BOOL bNewValue) 1069 { 1070 static BYTE parms[] = 1071 VTS_BOOL; 1072 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1073 bNewValue); 1074 } 1075 1076 long Window::GetSplitVertical() 1077 { 1078 long result; 1079 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1080 return result; 1081 } 1082 1083 void Window::SetSplitVertical(long nNewValue) 1084 { 1085 static BYTE parms[] = 1086 VTS_I4; 1087 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1088 nNewValue); 1089 } 1090 1091 CString Window::GetCaption() 1092 { 1093 CString result; 1094 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1095 return result; 1096 } 1097 1098 void Window::SetCaption(LPCTSTR lpszNewValue) 1099 { 1100 static BYTE parms[] = 1101 VTS_BSTR; 1102 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1103 lpszNewValue); 1104 } 1105 1106 long Window::GetWindowState() 1107 { 1108 long result; 1109 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1110 return result; 1111 } 1112 1113 void Window::SetWindowState(long nNewValue) 1114 { 1115 static BYTE parms[] = 1116 VTS_I4; 1117 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1118 nNewValue); 1119 } 1120 1121 BOOL Window::GetDisplayRulers() 1122 { 1123 BOOL result; 1124 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1125 return result; 1126 } 1127 1128 void Window::SetDisplayRulers(BOOL bNewValue) 1129 { 1130 static BYTE parms[] = 1131 VTS_BOOL; 1132 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1133 bNewValue); 1134 } 1135 1136 BOOL Window::GetDisplayVerticalRuler() 1137 { 1138 BOOL result; 1139 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1140 return result; 1141 } 1142 1143 void Window::SetDisplayVerticalRuler(BOOL bNewValue) 1144 { 1145 static BYTE parms[] = 1146 VTS_BOOL; 1147 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1148 bNewValue); 1149 } 1150 1151 LPDISPATCH Window::GetView() 1152 { 1153 LPDISPATCH result; 1154 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1155 return result; 1156 } 1157 1158 long Window::GetType() 1159 { 1160 long result; 1161 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1162 return result; 1163 } 1164 1165 LPDISPATCH Window::GetNext() 1166 { 1167 LPDISPATCH result; 1168 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1169 return result; 1170 } 1171 1172 LPDISPATCH Window::GetPrevious() 1173 { 1174 LPDISPATCH result; 1175 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1176 return result; 1177 } 1178 1179 long Window::GetWindowNumber() 1180 { 1181 long result; 1182 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1183 return result; 1184 } 1185 1186 BOOL Window::GetDisplayVerticalScrollBar() 1187 { 1188 BOOL result; 1189 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1190 return result; 1191 } 1192 1193 void Window::SetDisplayVerticalScrollBar(BOOL bNewValue) 1194 { 1195 static BYTE parms[] = 1196 VTS_BOOL; 1197 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1198 bNewValue); 1199 } 1200 1201 BOOL Window::GetDisplayHorizontalScrollBar() 1202 { 1203 BOOL result; 1204 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1205 return result; 1206 } 1207 1208 void Window::SetDisplayHorizontalScrollBar(BOOL bNewValue) 1209 { 1210 static BYTE parms[] = 1211 VTS_BOOL; 1212 InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1213 bNewValue); 1214 } 1215 1216 float Window::GetStyleAreaWidth() 1217 { 1218 float result; 1219 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1220 return result; 1221 } 1222 1223 void Window::SetStyleAreaWidth(float newValue) 1224 { 1225 static BYTE parms[] = 1226 VTS_R4; 1227 InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1228 newValue); 1229 } 1230 1231 BOOL Window::GetDisplayScreenTips() 1232 { 1233 BOOL result; 1234 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1235 return result; 1236 } 1237 1238 void Window::SetDisplayScreenTips(BOOL bNewValue) 1239 { 1240 static BYTE parms[] = 1241 VTS_BOOL; 1242 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1243 bNewValue); 1244 } 1245 1246 long Window::GetHorizontalPercentScrolled() 1247 { 1248 long result; 1249 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1250 return result; 1251 } 1252 1253 void Window::SetHorizontalPercentScrolled(long nNewValue) 1254 { 1255 static BYTE parms[] = 1256 VTS_I4; 1257 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1258 nNewValue); 1259 } 1260 1261 long Window::GetVerticalPercentScrolled() 1262 { 1263 long result; 1264 InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1265 return result; 1266 } 1267 1268 void Window::SetVerticalPercentScrolled(long nNewValue) 1269 { 1270 static BYTE parms[] = 1271 VTS_I4; 1272 InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1273 nNewValue); 1274 } 1275 1276 BOOL Window::GetDocumentMap() 1277 { 1278 BOOL result; 1279 InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1280 return result; 1281 } 1282 1283 void Window::SetDocumentMap(BOOL bNewValue) 1284 { 1285 static BYTE parms[] = 1286 VTS_BOOL; 1287 InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1288 bNewValue); 1289 } 1290 1291 BOOL Window::GetActive() 1292 { 1293 BOOL result; 1294 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1295 return result; 1296 } 1297 1298 long Window::GetDocumentMapPercentWidth() 1299 { 1300 long result; 1301 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1302 return result; 1303 } 1304 1305 void Window::SetDocumentMapPercentWidth(long nNewValue) 1306 { 1307 static BYTE parms[] = 1308 VTS_I4; 1309 InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1310 nNewValue); 1311 } 1312 1313 long Window::GetIndex() 1314 { 1315 long result; 1316 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1317 return result; 1318 } 1319 1320 long Window::GetIMEMode() 1321 { 1322 long result; 1323 InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1324 return result; 1325 } 1326 1327 void Window::SetIMEMode(long nNewValue) 1328 { 1329 static BYTE parms[] = 1330 VTS_I4; 1331 InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1332 nNewValue); 1333 } 1334 1335 void Window::Activate() 1336 { 1337 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1338 } 1339 1340 void Window::Close(VARIANT* SaveChanges, VARIANT* RouteDocument) 1341 { 1342 static BYTE parms[] = 1343 VTS_PVARIANT VTS_PVARIANT; 1344 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1345 SaveChanges, RouteDocument); 1346 } 1347 1348 void Window::LargeScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft) 1349 { 1350 static BYTE parms[] = 1351 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1352 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1353 Down, Up, ToRight, ToLeft); 1354 } 1355 1356 void Window::SmallScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft) 1357 { 1358 static BYTE parms[] = 1359 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1360 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1361 Down, Up, ToRight, ToLeft); 1362 } 1363 1364 LPDISPATCH Window::NewWindow() 1365 { 1366 LPDISPATCH result; 1367 InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL); 1368 return result; 1369 } 1370 1371 void Window::PageScroll(VARIANT* Down, VARIANT* Up) 1372 { 1373 static BYTE parms[] = 1374 VTS_PVARIANT VTS_PVARIANT; 1375 InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1376 Down, Up); 1377 } 1378 1379 void Window::SetFocus() 1380 { 1381 InvokeHelper(0x6d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1382 } 1383 1384 LPDISPATCH Window::RangeFromPoint(long x, long y) 1385 { 1386 LPDISPATCH result; 1387 static BYTE parms[] = 1388 VTS_I4 VTS_I4; 1389 InvokeHelper(0x6e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1390 x, y); 1391 return result; 1392 } 1393 1394 void Window::ScrollIntoView(LPDISPATCH obj, VARIANT* Start) 1395 { 1396 static BYTE parms[] = 1397 VTS_DISPATCH VTS_PVARIANT; 1398 InvokeHelper(0x6f, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1399 obj, Start); 1400 } 1401 1402 void Window::GetPoint(long* ScreenPixelsLeft, long* ScreenPixelsTop, long* ScreenPixelsWidth, long* ScreenPixelsHeight, LPDISPATCH obj) 1403 { 1404 static BYTE parms[] = 1405 VTS_PI4 VTS_PI4 VTS_PI4 VTS_PI4 VTS_DISPATCH; 1406 InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1407 ScreenPixelsLeft, ScreenPixelsTop, ScreenPixelsWidth, ScreenPixelsHeight, obj); 1408 } 1409 1410 long Window::GetUsableWidth() 1411 { 1412 long result; 1413 InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1414 return result; 1415 } 1416 1417 long Window::GetUsableHeight() 1418 { 1419 long result; 1420 InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1421 return result; 1422 } 1423 1424 BOOL Window::GetEnvelopeVisible() 1425 { 1426 BOOL result; 1427 InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1428 return result; 1429 } 1430 1431 void Window::SetEnvelopeVisible(BOOL bNewValue) 1432 { 1433 static BYTE parms[] = 1434 VTS_BOOL; 1435 InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1436 bNewValue); 1437 } 1438 1439 BOOL Window::GetDisplayRightRuler() 1440 { 1441 BOOL result; 1442 InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1443 return result; 1444 } 1445 1446 void Window::SetDisplayRightRuler(BOOL bNewValue) 1447 { 1448 static BYTE parms[] = 1449 VTS_BOOL; 1450 InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1451 bNewValue); 1452 } 1453 1454 BOOL Window::GetDisplayLeftScrollBar() 1455 { 1456 BOOL result; 1457 InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1458 return result; 1459 } 1460 1461 void Window::SetDisplayLeftScrollBar(BOOL bNewValue) 1462 { 1463 static BYTE parms[] = 1464 VTS_BOOL; 1465 InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1466 bNewValue); 1467 } 1468 1469 BOOL Window::GetVisible() 1470 { 1471 BOOL result; 1472 InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1473 return result; 1474 } 1475 1476 void Window::SetVisible(BOOL bNewValue) 1477 { 1478 static BYTE parms[] = 1479 VTS_BOOL; 1480 InvokeHelper(0x24, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1481 bNewValue); 1482 } 1483 1484 void Window::PrintOut(VARIANT* Background, VARIANT* Append, VARIANT* Range, VARIANT* OutputFileName, VARIANT* From, VARIANT* To, VARIANT* Item, VARIANT* Copies, VARIANT* Pages, VARIANT* PageType, VARIANT* PrintToFile, VARIANT* Collate, 1485 VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight) 1486 { 1487 static BYTE parms[] = 1488 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; 1489 InvokeHelper(0x1bd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1490 Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight); 1491 } 1492 1493 void Window::ToggleShowAllReviewers() 1494 { 1495 InvokeHelper(0x1be, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1496 } 1497 1498 BOOL Window::GetThumbnails() 1499 { 1500 BOOL result; 1501 InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1502 return result; 1503 } 1504 1505 void Window::SetThumbnails(BOOL bNewValue) 1506 { 1507 static BYTE parms[] = 1508 VTS_BOOL; 1509 InvokeHelper(0x25, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1510 bNewValue); 1511 } 1512 1513 1514 ///////////////////////////////////////////////////////////////////////////// 1515 // Windows properties 1516 1517 ///////////////////////////////////////////////////////////////////////////// 1518 // Windows operations 1519 1520 LPUNKNOWN Windows::Get_NewEnum() 1521 { 1522 LPUNKNOWN result; 1523 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 1524 return result; 1525 } 1526 1527 long Windows::GetCount() 1528 { 1529 long result; 1530 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1531 return result; 1532 } 1533 1534 LPDISPATCH Windows::GetApplication() 1535 { 1536 LPDISPATCH result; 1537 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1538 return result; 1539 } 1540 1541 long Windows::GetCreator() 1542 { 1543 long result; 1544 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1545 return result; 1546 } 1547 1548 LPDISPATCH Windows::GetParent() 1549 { 1550 LPDISPATCH result; 1551 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1552 return result; 1553 } 1554 1555 LPDISPATCH Windows::Item(VARIANT* Index) 1556 { 1557 LPDISPATCH result; 1558 static BYTE parms[] = 1559 VTS_PVARIANT; 1560 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1561 Index); 1562 return result; 1563 } 1564 1565 LPDISPATCH Windows::Add(VARIANT* Window) 1566 { 1567 LPDISPATCH result; 1568 static BYTE parms[] = 1569 VTS_PVARIANT; 1570 InvokeHelper(0xa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1571 Window); 1572 return result; 1573 } 1574 1575 void Windows::Arrange(VARIANT* ArrangeStyle) 1576 { 1577 static BYTE parms[] = 1578 VTS_PVARIANT; 1579 InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1580 ArrangeStyle); 1581 } 1582 1583 BOOL Windows::CompareSideBySideWith(VARIANT* Document) 1584 { 1585 BOOL result; 1586 static BYTE parms[] = 1587 VTS_PVARIANT; 1588 InvokeHelper(0xc, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 1589 Document); 1590 return result; 1591 } 1592 1593 BOOL Windows::BreakSideBySide() 1594 { 1595 BOOL result; 1596 InvokeHelper(0xd, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL); 1597 return result; 1598 } 1599 1600 void Windows::ResetPositionsSideBySide() 1601 { 1602 InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1603 } 1604 1605 BOOL Windows::GetSyncScrollingSideBySide() 1606 { 1607 BOOL result; 1608 InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1609 return result; 1610 } 1611 1612 void Windows::SetSyncScrollingSideBySide(BOOL bNewValue) 1613 { 1614 static BYTE parms[] = 1615 VTS_BOOL; 1616 InvokeHelper(0x3eb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1617 bNewValue); 1618 } 1619 1620 1621 ///////////////////////////////////////////////////////////////////////////// 1622 // Pane properties 1623 1624 ///////////////////////////////////////////////////////////////////////////// 1625 // Pane operations 1626 1627 LPDISPATCH Pane::GetApplication() 1628 { 1629 LPDISPATCH result; 1630 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1631 return result; 1632 } 1633 1634 long Pane::GetCreator() 1635 { 1636 long result; 1637 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1638 return result; 1639 } 1640 1641 LPDISPATCH Pane::GetParent() 1642 { 1643 LPDISPATCH result; 1644 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1645 return result; 1646 } 1647 1648 LPDISPATCH Pane::GetDocument() 1649 { 1650 LPDISPATCH result; 1651 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1652 return result; 1653 } 1654 1655 LPDISPATCH Pane::GetSelection() 1656 { 1657 LPDISPATCH result; 1658 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1659 return result; 1660 } 1661 1662 BOOL Pane::GetDisplayRulers() 1663 { 1664 BOOL result; 1665 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1666 return result; 1667 } 1668 1669 void Pane::SetDisplayRulers(BOOL bNewValue) 1670 { 1671 static BYTE parms[] = 1672 VTS_BOOL; 1673 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1674 bNewValue); 1675 } 1676 1677 BOOL Pane::GetDisplayVerticalRuler() 1678 { 1679 BOOL result; 1680 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1681 return result; 1682 } 1683 1684 void Pane::SetDisplayVerticalRuler(BOOL bNewValue) 1685 { 1686 static BYTE parms[] = 1687 VTS_BOOL; 1688 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1689 bNewValue); 1690 } 1691 1692 LPDISPATCH Pane::GetZooms() 1693 { 1694 LPDISPATCH result; 1695 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1696 return result; 1697 } 1698 1699 long Pane::GetIndex() 1700 { 1701 long result; 1702 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1703 return result; 1704 } 1705 1706 LPDISPATCH Pane::GetView() 1707 { 1708 LPDISPATCH result; 1709 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1710 return result; 1711 } 1712 1713 LPDISPATCH Pane::GetNext() 1714 { 1715 LPDISPATCH result; 1716 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1717 return result; 1718 } 1719 1720 LPDISPATCH Pane::GetPrevious() 1721 { 1722 LPDISPATCH result; 1723 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1724 return result; 1725 } 1726 1727 long Pane::GetHorizontalPercentScrolled() 1728 { 1729 long result; 1730 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1731 return result; 1732 } 1733 1734 void Pane::SetHorizontalPercentScrolled(long nNewValue) 1735 { 1736 static BYTE parms[] = 1737 VTS_I4; 1738 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1739 nNewValue); 1740 } 1741 1742 long Pane::GetVerticalPercentScrolled() 1743 { 1744 long result; 1745 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1746 return result; 1747 } 1748 1749 void Pane::SetVerticalPercentScrolled(long nNewValue) 1750 { 1751 static BYTE parms[] = 1752 VTS_I4; 1753 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1754 nNewValue); 1755 } 1756 1757 long Pane::GetMinimumFontSize() 1758 { 1759 long result; 1760 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1761 return result; 1762 } 1763 1764 void Pane::SetMinimumFontSize(long nNewValue) 1765 { 1766 static BYTE parms[] = 1767 VTS_I4; 1768 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1769 nNewValue); 1770 } 1771 1772 long Pane::GetBrowseWidth() 1773 { 1774 long result; 1775 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1776 return result; 1777 } 1778 1779 void Pane::Activate() 1780 { 1781 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1782 } 1783 1784 void Pane::Close() 1785 { 1786 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1787 } 1788 1789 void Pane::LargeScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft) 1790 { 1791 static BYTE parms[] = 1792 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1793 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1794 Down, Up, ToRight, ToLeft); 1795 } 1796 1797 void Pane::SmallScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft) 1798 { 1799 static BYTE parms[] = 1800 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1801 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1802 Down, Up, ToRight, ToLeft); 1803 } 1804 1805 void Pane::AutoScroll(long Velocity) 1806 { 1807 static BYTE parms[] = 1808 VTS_I4; 1809 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1810 Velocity); 1811 } 1812 1813 void Pane::PageScroll(VARIANT* Down, VARIANT* Up) 1814 { 1815 static BYTE parms[] = 1816 VTS_PVARIANT VTS_PVARIANT; 1817 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1818 Down, Up); 1819 } 1820 1821 void Pane::NewFrameset() 1822 { 1823 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1824 } 1825 1826 void Pane::TOCInFrameset() 1827 { 1828 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1829 } 1830 1831 LPDISPATCH Pane::GetFrameset() 1832 { 1833 LPDISPATCH result; 1834 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1835 return result; 1836 } 1837 1838 LPDISPATCH Pane::GetPages() 1839 { 1840 LPDISPATCH result; 1841 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1842 return result; 1843 } 1844 1845 1846 ///////////////////////////////////////////////////////////////////////////// 1847 // Panes properties 1848 1849 ///////////////////////////////////////////////////////////////////////////// 1850 // Panes operations 1851 1852 LPUNKNOWN Panes::Get_NewEnum() 1853 { 1854 LPUNKNOWN result; 1855 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 1856 return result; 1857 } 1858 1859 long Panes::GetCount() 1860 { 1861 long result; 1862 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1863 return result; 1864 } 1865 1866 LPDISPATCH Panes::GetApplication() 1867 { 1868 LPDISPATCH result; 1869 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1870 return result; 1871 } 1872 1873 long Panes::GetCreator() 1874 { 1875 long result; 1876 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1877 return result; 1878 } 1879 1880 LPDISPATCH Panes::GetParent() 1881 { 1882 LPDISPATCH result; 1883 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1884 return result; 1885 } 1886 1887 LPDISPATCH Panes::Item(long Index) 1888 { 1889 LPDISPATCH result; 1890 static BYTE parms[] = 1891 VTS_I4; 1892 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1893 Index); 1894 return result; 1895 } 1896 1897 LPDISPATCH Panes::Add(VARIANT* SplitVertical) 1898 { 1899 LPDISPATCH result; 1900 static BYTE parms[] = 1901 VTS_PVARIANT; 1902 InvokeHelper(0x3, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1903 SplitVertical); 1904 return result; 1905 } 1906 1907 1908 ///////////////////////////////////////////////////////////////////////////// 1909 // Range properties 1910 1911 ///////////////////////////////////////////////////////////////////////////// 1912 // Range operations 1913 1914 CString Range::GetText() 1915 { 1916 CString result; 1917 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1918 return result; 1919 } 1920 1921 void Range::SetText(LPCTSTR lpszNewValue) 1922 { 1923 static BYTE parms[] = 1924 VTS_BSTR; 1925 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1926 lpszNewValue); 1927 } 1928 1929 LPDISPATCH Range::GetFormattedText() 1930 { 1931 LPDISPATCH result; 1932 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1933 return result; 1934 } 1935 1936 void Range::SetFormattedText(LPDISPATCH newValue) 1937 { 1938 static BYTE parms[] = 1939 VTS_DISPATCH; 1940 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1941 newValue); 1942 } 1943 1944 long Range::GetStart() 1945 { 1946 long result; 1947 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1948 return result; 1949 } 1950 1951 void Range::SetStart(long nNewValue) 1952 { 1953 static BYTE parms[] = 1954 VTS_I4; 1955 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1956 nNewValue); 1957 } 1958 1959 long Range::GetEnd() 1960 { 1961 long result; 1962 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1963 return result; 1964 } 1965 1966 void Range::SetEnd(long nNewValue) 1967 { 1968 static BYTE parms[] = 1969 VTS_I4; 1970 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1971 nNewValue); 1972 } 1973 1974 LPDISPATCH Range::GetFont() 1975 { 1976 LPDISPATCH result; 1977 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1978 return result; 1979 } 1980 1981 void Range::SetFont(LPDISPATCH newValue) 1982 { 1983 static BYTE parms[] = 1984 VTS_DISPATCH; 1985 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1986 newValue); 1987 } 1988 1989 LPDISPATCH Range::GetDuplicate() 1990 { 1991 LPDISPATCH result; 1992 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1993 return result; 1994 } 1995 1996 long Range::GetStoryType() 1997 { 1998 long result; 1999 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2000 return result; 2001 } 2002 2003 LPDISPATCH Range::GetTables() 2004 { 2005 LPDISPATCH result; 2006 InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2007 return result; 2008 } 2009 2010 LPDISPATCH Range::GetWords() 2011 { 2012 LPDISPATCH result; 2013 InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2014 return result; 2015 } 2016 2017 LPDISPATCH Range::GetSentences() 2018 { 2019 LPDISPATCH result; 2020 InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2021 return result; 2022 } 2023 2024 LPDISPATCH Range::GetCharacters() 2025 { 2026 LPDISPATCH result; 2027 InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2028 return result; 2029 } 2030 2031 LPDISPATCH Range::GetFootnotes() 2032 { 2033 LPDISPATCH result; 2034 InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2035 return result; 2036 } 2037 2038 LPDISPATCH Range::GetEndnotes() 2039 { 2040 LPDISPATCH result; 2041 InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2042 return result; 2043 } 2044 2045 LPDISPATCH Range::GetComments() 2046 { 2047 LPDISPATCH result; 2048 InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2049 return result; 2050 } 2051 2052 LPDISPATCH Range::GetCells() 2053 { 2054 LPDISPATCH result; 2055 InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2056 return result; 2057 } 2058 2059 LPDISPATCH Range::GetSections() 2060 { 2061 LPDISPATCH result; 2062 InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2063 return result; 2064 } 2065 2066 LPDISPATCH Range::GetParagraphs() 2067 { 2068 LPDISPATCH result; 2069 InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2070 return result; 2071 } 2072 2073 LPDISPATCH Range::GetBorders() 2074 { 2075 LPDISPATCH result; 2076 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2077 return result; 2078 } 2079 2080 void Range::SetBorders(LPDISPATCH newValue) 2081 { 2082 static BYTE parms[] = 2083 VTS_DISPATCH; 2084 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2085 newValue); 2086 } 2087 2088 LPDISPATCH Range::GetShading() 2089 { 2090 LPDISPATCH result; 2091 InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2092 return result; 2093 } 2094 2095 LPDISPATCH Range::GetTextRetrievalMode() 2096 { 2097 LPDISPATCH result; 2098 InvokeHelper(0x3e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2099 return result; 2100 } 2101 2102 void Range::SetTextRetrievalMode(LPDISPATCH newValue) 2103 { 2104 static BYTE parms[] = 2105 VTS_DISPATCH; 2106 InvokeHelper(0x3e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2107 newValue); 2108 } 2109 2110 LPDISPATCH Range::GetFields() 2111 { 2112 LPDISPATCH result; 2113 InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2114 return result; 2115 } 2116 2117 LPDISPATCH Range::GetFormFields() 2118 { 2119 LPDISPATCH result; 2120 InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2121 return result; 2122 } 2123 2124 LPDISPATCH Range::GetFrames() 2125 { 2126 LPDISPATCH result; 2127 InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2128 return result; 2129 } 2130 2131 LPDISPATCH Range::GetParagraphFormat() 2132 { 2133 LPDISPATCH result; 2134 InvokeHelper(0x44e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2135 return result; 2136 } 2137 2138 void Range::SetParagraphFormat(LPDISPATCH newValue) 2139 { 2140 static BYTE parms[] = 2141 VTS_DISPATCH; 2142 InvokeHelper(0x44e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2143 newValue); 2144 } 2145 2146 LPDISPATCH Range::GetListFormat() 2147 { 2148 LPDISPATCH result; 2149 InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2150 return result; 2151 } 2152 2153 LPDISPATCH Range::GetBookmarks() 2154 { 2155 LPDISPATCH result; 2156 InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2157 return result; 2158 } 2159 2160 LPDISPATCH Range::GetApplication() 2161 { 2162 LPDISPATCH result; 2163 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2164 return result; 2165 } 2166 2167 long Range::GetCreator() 2168 { 2169 long result; 2170 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2171 return result; 2172 } 2173 2174 LPDISPATCH Range::GetParent() 2175 { 2176 LPDISPATCH result; 2177 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2178 return result; 2179 } 2180 2181 long Range::GetBold() 2182 { 2183 long result; 2184 InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2185 return result; 2186 } 2187 2188 void Range::SetBold(long nNewValue) 2189 { 2190 static BYTE parms[] = 2191 VTS_I4; 2192 InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2193 nNewValue); 2194 } 2195 2196 long Range::GetItalic() 2197 { 2198 long result; 2199 InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2200 return result; 2201 } 2202 2203 void Range::SetItalic(long nNewValue) 2204 { 2205 static BYTE parms[] = 2206 VTS_I4; 2207 InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2208 nNewValue); 2209 } 2210 2211 long Range::GetUnderline() 2212 { 2213 long result; 2214 InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2215 return result; 2216 } 2217 2218 void Range::SetUnderline(long nNewValue) 2219 { 2220 static BYTE parms[] = 2221 VTS_I4; 2222 InvokeHelper(0x8b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2223 nNewValue); 2224 } 2225 2226 long Range::GetEmphasisMark() 2227 { 2228 long result; 2229 InvokeHelper(0x8c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2230 return result; 2231 } 2232 2233 void Range::SetEmphasisMark(long nNewValue) 2234 { 2235 static BYTE parms[] = 2236 VTS_I4; 2237 InvokeHelper(0x8c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2238 nNewValue); 2239 } 2240 2241 BOOL Range::GetDisableCharacterSpaceGrid() 2242 { 2243 BOOL result; 2244 InvokeHelper(0x8d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2245 return result; 2246 } 2247 2248 void Range::SetDisableCharacterSpaceGrid(BOOL bNewValue) 2249 { 2250 static BYTE parms[] = 2251 VTS_BOOL; 2252 InvokeHelper(0x8d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2253 bNewValue); 2254 } 2255 2256 LPDISPATCH Range::GetRevisions() 2257 { 2258 LPDISPATCH result; 2259 InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2260 return result; 2261 } 2262 2263 VARIANT Range::GetStyle() 2264 { 2265 VARIANT result; 2266 InvokeHelper(0x97, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 2267 return result; 2268 } 2269 2270 void Range::SetStyle(VARIANT* newValue) 2271 { 2272 static BYTE parms[] = 2273 VTS_PVARIANT; 2274 InvokeHelper(0x97, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2275 newValue); 2276 } 2277 2278 long Range::GetStoryLength() 2279 { 2280 long result; 2281 InvokeHelper(0x98, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2282 return result; 2283 } 2284 2285 long Range::GetLanguageID() 2286 { 2287 long result; 2288 InvokeHelper(0x99, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2289 return result; 2290 } 2291 2292 void Range::SetLanguageID(long nNewValue) 2293 { 2294 static BYTE parms[] = 2295 VTS_I4; 2296 InvokeHelper(0x99, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2297 nNewValue); 2298 } 2299 2300 LPDISPATCH Range::GetSynonymInfo() 2301 { 2302 LPDISPATCH result; 2303 InvokeHelper(0x9b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2304 return result; 2305 } 2306 2307 LPDISPATCH Range::GetHyperlinks() 2308 { 2309 LPDISPATCH result; 2310 InvokeHelper(0x9c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2311 return result; 2312 } 2313 2314 LPDISPATCH Range::GetListParagraphs() 2315 { 2316 LPDISPATCH result; 2317 InvokeHelper(0x9d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2318 return result; 2319 } 2320 2321 LPDISPATCH Range::GetSubdocuments() 2322 { 2323 LPDISPATCH result; 2324 InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2325 return result; 2326 } 2327 2328 BOOL Range::GetGrammarChecked() 2329 { 2330 BOOL result; 2331 InvokeHelper(0x104, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2332 return result; 2333 } 2334 2335 void Range::SetGrammarChecked(BOOL bNewValue) 2336 { 2337 static BYTE parms[] = 2338 VTS_BOOL; 2339 InvokeHelper(0x104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2340 bNewValue); 2341 } 2342 2343 BOOL Range::GetSpellingChecked() 2344 { 2345 BOOL result; 2346 InvokeHelper(0x105, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2347 return result; 2348 } 2349 2350 void Range::SetSpellingChecked(BOOL bNewValue) 2351 { 2352 static BYTE parms[] = 2353 VTS_BOOL; 2354 InvokeHelper(0x105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2355 bNewValue); 2356 } 2357 2358 long Range::GetHighlightColorIndex() 2359 { 2360 long result; 2361 InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2362 return result; 2363 } 2364 2365 void Range::SetHighlightColorIndex(long nNewValue) 2366 { 2367 static BYTE parms[] = 2368 VTS_I4; 2369 InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2370 nNewValue); 2371 } 2372 2373 LPDISPATCH Range::GetColumns() 2374 { 2375 LPDISPATCH result; 2376 InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2377 return result; 2378 } 2379 2380 LPDISPATCH Range::GetRows() 2381 { 2382 LPDISPATCH result; 2383 InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2384 return result; 2385 } 2386 2387 BOOL Range::GetIsEndOfRowMark() 2388 { 2389 BOOL result; 2390 InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2391 return result; 2392 } 2393 2394 long Range::GetBookmarkID() 2395 { 2396 long result; 2397 InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2398 return result; 2399 } 2400 2401 long Range::GetPreviousBookmarkID() 2402 { 2403 long result; 2404 InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2405 return result; 2406 } 2407 2408 LPDISPATCH Range::GetFind() 2409 { 2410 LPDISPATCH result; 2411 InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2412 return result; 2413 } 2414 2415 LPDISPATCH Range::GetPageSetup() 2416 { 2417 LPDISPATCH result; 2418 InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2419 return result; 2420 } 2421 2422 void Range::SetPageSetup(LPDISPATCH newValue) 2423 { 2424 static BYTE parms[] = 2425 VTS_DISPATCH; 2426 InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2427 newValue); 2428 } 2429 2430 LPDISPATCH Range::GetShapeRange() 2431 { 2432 LPDISPATCH result; 2433 InvokeHelper(0x137, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2434 return result; 2435 } 2436 2437 long Range::GetCase() 2438 { 2439 long result; 2440 InvokeHelper(0x138, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2441 return result; 2442 } 2443 2444 void Range::SetCase(long nNewValue) 2445 { 2446 static BYTE parms[] = 2447 VTS_I4; 2448 InvokeHelper(0x138, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2449 nNewValue); 2450 } 2451 2452 VARIANT Range::GetInformation(long Type) 2453 { 2454 VARIANT result; 2455 static BYTE parms[] = 2456 VTS_I4; 2457 InvokeHelper(0x139, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms, 2458 Type); 2459 return result; 2460 } 2461 2462 LPDISPATCH Range::GetReadabilityStatistics() 2463 { 2464 LPDISPATCH result; 2465 InvokeHelper(0x13a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2466 return result; 2467 } 2468 2469 LPDISPATCH Range::GetGrammaticalErrors() 2470 { 2471 LPDISPATCH result; 2472 InvokeHelper(0x13b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2473 return result; 2474 } 2475 2476 LPDISPATCH Range::GetSpellingErrors() 2477 { 2478 LPDISPATCH result; 2479 InvokeHelper(0x13c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2480 return result; 2481 } 2482 2483 long Range::GetOrientation() 2484 { 2485 long result; 2486 InvokeHelper(0x13d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2487 return result; 2488 } 2489 2490 void Range::SetOrientation(long nNewValue) 2491 { 2492 static BYTE parms[] = 2493 VTS_I4; 2494 InvokeHelper(0x13d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2495 nNewValue); 2496 } 2497 2498 LPDISPATCH Range::GetInlineShapes() 2499 { 2500 LPDISPATCH result; 2501 InvokeHelper(0x13f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2502 return result; 2503 } 2504 2505 LPDISPATCH Range::GetNextStoryRange() 2506 { 2507 LPDISPATCH result; 2508 InvokeHelper(0x140, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2509 return result; 2510 } 2511 2512 long Range::GetLanguageIDFarEast() 2513 { 2514 long result; 2515 InvokeHelper(0x141, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2516 return result; 2517 } 2518 2519 void Range::SetLanguageIDFarEast(long nNewValue) 2520 { 2521 static BYTE parms[] = 2522 VTS_I4; 2523 InvokeHelper(0x141, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2524 nNewValue); 2525 } 2526 2527 long Range::GetLanguageIDOther() 2528 { 2529 long result; 2530 InvokeHelper(0x142, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2531 return result; 2532 } 2533 2534 void Range::SetLanguageIDOther(long nNewValue) 2535 { 2536 static BYTE parms[] = 2537 VTS_I4; 2538 InvokeHelper(0x142, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2539 nNewValue); 2540 } 2541 2542 void Range::Select() 2543 { 2544 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2545 } 2546 2547 void Range::SetRange(long Start, long End) 2548 { 2549 static BYTE parms[] = 2550 VTS_I4 VTS_I4; 2551 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2552 Start, End); 2553 } 2554 2555 void Range::Collapse(VARIANT* Direction) 2556 { 2557 static BYTE parms[] = 2558 VTS_PVARIANT; 2559 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2560 Direction); 2561 } 2562 2563 void Range::InsertBefore(LPCTSTR Text) 2564 { 2565 static BYTE parms[] = 2566 VTS_BSTR; 2567 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2568 Text); 2569 } 2570 2571 void Range::InsertAfter(LPCTSTR Text) 2572 { 2573 static BYTE parms[] = 2574 VTS_BSTR; 2575 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2576 Text); 2577 } 2578 2579 LPDISPATCH Range::Next(VARIANT* Unit, VARIANT* Count) 2580 { 2581 LPDISPATCH result; 2582 static BYTE parms[] = 2583 VTS_PVARIANT VTS_PVARIANT; 2584 InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2585 Unit, Count); 2586 return result; 2587 } 2588 2589 LPDISPATCH Range::Previous(VARIANT* Unit, VARIANT* Count) 2590 { 2591 LPDISPATCH result; 2592 static BYTE parms[] = 2593 VTS_PVARIANT VTS_PVARIANT; 2594 InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2595 Unit, Count); 2596 return result; 2597 } 2598 2599 long Range::StartOf(VARIANT* Unit, VARIANT* Extend) 2600 { 2601 long result; 2602 static BYTE parms[] = 2603 VTS_PVARIANT VTS_PVARIANT; 2604 InvokeHelper(0x6b, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2605 Unit, Extend); 2606 return result; 2607 } 2608 2609 long Range::EndOf(VARIANT* Unit, VARIANT* Extend) 2610 { 2611 long result; 2612 static BYTE parms[] = 2613 VTS_PVARIANT VTS_PVARIANT; 2614 InvokeHelper(0x6c, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2615 Unit, Extend); 2616 return result; 2617 } 2618 2619 long Range::Move(VARIANT* Unit, VARIANT* Count) 2620 { 2621 long result; 2622 static BYTE parms[] = 2623 VTS_PVARIANT VTS_PVARIANT; 2624 InvokeHelper(0x6d, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2625 Unit, Count); 2626 return result; 2627 } 2628 2629 long Range::MoveStart(VARIANT* Unit, VARIANT* Count) 2630 { 2631 long result; 2632 static BYTE parms[] = 2633 VTS_PVARIANT VTS_PVARIANT; 2634 InvokeHelper(0x6e, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2635 Unit, Count); 2636 return result; 2637 } 2638 2639 long Range::MoveEnd(VARIANT* Unit, VARIANT* Count) 2640 { 2641 long result; 2642 static BYTE parms[] = 2643 VTS_PVARIANT VTS_PVARIANT; 2644 InvokeHelper(0x6f, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2645 Unit, Count); 2646 return result; 2647 } 2648 2649 long Range::MoveWhile(VARIANT* Cset, VARIANT* Count) 2650 { 2651 long result; 2652 static BYTE parms[] = 2653 VTS_PVARIANT VTS_PVARIANT; 2654 InvokeHelper(0x70, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2655 Cset, Count); 2656 return result; 2657 } 2658 2659 long Range::MoveStartWhile(VARIANT* Cset, VARIANT* Count) 2660 { 2661 long result; 2662 static BYTE parms[] = 2663 VTS_PVARIANT VTS_PVARIANT; 2664 InvokeHelper(0x71, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2665 Cset, Count); 2666 return result; 2667 } 2668 2669 long Range::MoveEndWhile(VARIANT* Cset, VARIANT* Count) 2670 { 2671 long result; 2672 static BYTE parms[] = 2673 VTS_PVARIANT VTS_PVARIANT; 2674 InvokeHelper(0x72, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2675 Cset, Count); 2676 return result; 2677 } 2678 2679 long Range::MoveUntil(VARIANT* Cset, VARIANT* Count) 2680 { 2681 long result; 2682 static BYTE parms[] = 2683 VTS_PVARIANT VTS_PVARIANT; 2684 InvokeHelper(0x73, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2685 Cset, Count); 2686 return result; 2687 } 2688 2689 long Range::MoveStartUntil(VARIANT* Cset, VARIANT* Count) 2690 { 2691 long result; 2692 static BYTE parms[] = 2693 VTS_PVARIANT VTS_PVARIANT; 2694 InvokeHelper(0x74, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2695 Cset, Count); 2696 return result; 2697 } 2698 2699 long Range::MoveEndUntil(VARIANT* Cset, VARIANT* Count) 2700 { 2701 long result; 2702 static BYTE parms[] = 2703 VTS_PVARIANT VTS_PVARIANT; 2704 InvokeHelper(0x75, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2705 Cset, Count); 2706 return result; 2707 } 2708 2709 void Range::Cut() 2710 { 2711 InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2712 } 2713 2714 void Range::Copy() 2715 { 2716 InvokeHelper(0x78, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2717 } 2718 2719 void Range::Paste() 2720 { 2721 InvokeHelper(0x79, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2722 } 2723 2724 void Range::InsertBreak(VARIANT* Type) 2725 { 2726 static BYTE parms[] = 2727 VTS_PVARIANT; 2728 InvokeHelper(0x7a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2729 Type); 2730 } 2731 2732 void Range::InsertFile(LPCTSTR FileName, VARIANT* Range, VARIANT* ConfirmConversions, VARIANT* Link, VARIANT* Attachment) 2733 { 2734 static BYTE parms[] = 2735 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2736 InvokeHelper(0x7b, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2737 FileName, Range, ConfirmConversions, Link, Attachment); 2738 } 2739 2740 BOOL Range::InStory(LPDISPATCH Range) 2741 { 2742 BOOL result; 2743 static BYTE parms[] = 2744 VTS_DISPATCH; 2745 InvokeHelper(0x7d, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 2746 Range); 2747 return result; 2748 } 2749 2750 BOOL Range::InRange(LPDISPATCH Range) 2751 { 2752 BOOL result; 2753 static BYTE parms[] = 2754 VTS_DISPATCH; 2755 InvokeHelper(0x7e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 2756 Range); 2757 return result; 2758 } 2759 2760 long Range::Delete(VARIANT* Unit, VARIANT* Count) 2761 { 2762 long result; 2763 static BYTE parms[] = 2764 VTS_PVARIANT VTS_PVARIANT; 2765 InvokeHelper(0x7f, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2766 Unit, Count); 2767 return result; 2768 } 2769 2770 void Range::WholeStory() 2771 { 2772 InvokeHelper(0x80, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2773 } 2774 2775 long Range::Expand(VARIANT* Unit) 2776 { 2777 long result; 2778 static BYTE parms[] = 2779 VTS_PVARIANT; 2780 InvokeHelper(0x81, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2781 Unit); 2782 return result; 2783 } 2784 2785 void Range::InsertParagraph() 2786 { 2787 InvokeHelper(0xa0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2788 } 2789 2790 void Range::InsertParagraphAfter() 2791 { 2792 InvokeHelper(0xa1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2793 } 2794 2795 void Range::InsertSymbol(long CharacterNumber, VARIANT* Font, VARIANT* Unicode, VARIANT* Bias) 2796 { 2797 static BYTE parms[] = 2798 VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2799 InvokeHelper(0xa4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2800 CharacterNumber, Font, Unicode, Bias); 2801 } 2802 2803 void Range::CopyAsPicture() 2804 { 2805 InvokeHelper(0xa7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2806 } 2807 2808 void Range::SortAscending() 2809 { 2810 InvokeHelper(0xa9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2811 } 2812 2813 void Range::SortDescending() 2814 { 2815 InvokeHelper(0xaa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2816 } 2817 2818 BOOL Range::IsEqual(LPDISPATCH Range) 2819 { 2820 BOOL result; 2821 static BYTE parms[] = 2822 VTS_DISPATCH; 2823 InvokeHelper(0xab, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 2824 Range); 2825 return result; 2826 } 2827 2828 float Range::Calculate() 2829 { 2830 float result; 2831 InvokeHelper(0xac, DISPATCH_METHOD, VT_R4, (void*)&result, NULL); 2832 return result; 2833 } 2834 2835 LPDISPATCH Range::GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name) 2836 { 2837 LPDISPATCH result; 2838 static BYTE parms[] = 2839 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2840 InvokeHelper(0xad, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2841 What, Which, Count, Name); 2842 return result; 2843 } 2844 2845 LPDISPATCH Range::GoToNext(long What) 2846 { 2847 LPDISPATCH result; 2848 static BYTE parms[] = 2849 VTS_I4; 2850 InvokeHelper(0xae, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2851 What); 2852 return result; 2853 } 2854 2855 LPDISPATCH Range::GoToPrevious(long What) 2856 { 2857 LPDISPATCH result; 2858 static BYTE parms[] = 2859 VTS_I4; 2860 InvokeHelper(0xaf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2861 What); 2862 return result; 2863 } 2864 2865 void Range::PasteSpecial(VARIANT* IconIndex, VARIANT* Link, VARIANT* Placement, VARIANT* DisplayAsIcon, VARIANT* DataType, VARIANT* IconFileName, VARIANT* IconLabel) 2866 { 2867 static BYTE parms[] = 2868 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2869 InvokeHelper(0xb0, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2870 IconIndex, Link, Placement, DisplayAsIcon, DataType, IconFileName, IconLabel); 2871 } 2872 2873 void Range::LookupNameProperties() 2874 { 2875 InvokeHelper(0xb1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2876 } 2877 2878 long Range::ComputeStatistics(long Statistic) 2879 { 2880 long result; 2881 static BYTE parms[] = 2882 VTS_I4; 2883 InvokeHelper(0xb2, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 2884 Statistic); 2885 return result; 2886 } 2887 2888 void Range::Relocate(long Direction) 2889 { 2890 static BYTE parms[] = 2891 VTS_I4; 2892 InvokeHelper(0xb3, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2893 Direction); 2894 } 2895 2896 void Range::CheckSynonyms() 2897 { 2898 InvokeHelper(0xb4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2899 } 2900 2901 void Range::SubscribeTo(LPCTSTR Edition, VARIANT* Format) 2902 { 2903 static BYTE parms[] = 2904 VTS_BSTR VTS_PVARIANT; 2905 InvokeHelper(0xb5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2906 Edition, Format); 2907 } 2908 2909 void Range::CreatePublisher(VARIANT* Edition, VARIANT* ContainsPICT, VARIANT* ContainsRTF, VARIANT* ContainsText) 2910 { 2911 static BYTE parms[] = 2912 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2913 InvokeHelper(0xb6, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2914 Edition, ContainsPICT, ContainsRTF, ContainsText); 2915 } 2916 2917 void Range::InsertAutoText() 2918 { 2919 InvokeHelper(0xb7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2920 } 2921 2922 void Range::InsertDatabase(VARIANT* Format, VARIANT* Style, VARIANT* LinkToSource, VARIANT* Connection, VARIANT* SQLStatement, VARIANT* SQLStatement1, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* WritePasswordDocument, 2923 VARIANT* WritePasswordTemplate, VARIANT* DataSource, VARIANT* From, VARIANT* To, VARIANT* IncludeFields) 2924 { 2925 static BYTE parms[] = 2926 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; 2927 InvokeHelper(0xc2, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2928 Format, Style, LinkToSource, Connection, SQLStatement, SQLStatement1, PasswordDocument, PasswordTemplate, WritePasswordDocument, WritePasswordTemplate, DataSource, From, To, IncludeFields); 2929 } 2930 2931 void Range::AutoFormat() 2932 { 2933 InvokeHelper(0xc3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2934 } 2935 2936 void Range::CheckGrammar() 2937 { 2938 InvokeHelper(0xcc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2939 } 2940 2941 void Range::CheckSpelling(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* AlwaysSuggest, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, 2942 VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 2943 { 2944 static BYTE parms[] = 2945 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2946 InvokeHelper(0xcd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2947 CustomDictionary, IgnoreUppercase, AlwaysSuggest, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10); 2948 } 2949 2950 LPDISPATCH Range::GetSpellingSuggestions(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, 2951 VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10) 2952 { 2953 LPDISPATCH result; 2954 static BYTE parms[] = 2955 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; 2956 InvokeHelper(0xd1, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2957 CustomDictionary, IgnoreUppercase, MainDictionary, SuggestionMode, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10); 2958 return result; 2959 } 2960 2961 void Range::InsertParagraphBefore() 2962 { 2963 InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2964 } 2965 2966 void Range::NextSubdocument() 2967 { 2968 InvokeHelper(0xdb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2969 } 2970 2971 void Range::PreviousSubdocument() 2972 { 2973 InvokeHelper(0xdc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2974 } 2975 2976 void Range::ConvertHangulAndHanja(VARIANT* ConversionsMode, VARIANT* FastConversion, VARIANT* CheckHangulEnding, VARIANT* EnableRecentOrdering, VARIANT* CustomDictionary) 2977 { 2978 static BYTE parms[] = 2979 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2980 InvokeHelper(0xdd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2981 ConversionsMode, FastConversion, CheckHangulEnding, EnableRecentOrdering, CustomDictionary); 2982 } 2983 2984 void Range::PasteAsNestedTable() 2985 { 2986 InvokeHelper(0xde, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2987 } 2988 2989 void Range::ModifyEnclosure(VARIANT* Style, VARIANT* Symbol, VARIANT* EnclosedText) 2990 { 2991 static BYTE parms[] = 2992 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2993 InvokeHelper(0xdf, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2994 Style, Symbol, EnclosedText); 2995 } 2996 2997 void Range::PhoneticGuide(LPCTSTR Text, long Alignment, long Raise, long FontSize, LPCTSTR FontName) 2998 { 2999 static BYTE parms[] = 3000 VTS_BSTR VTS_I4 VTS_I4 VTS_I4 VTS_BSTR; 3001 InvokeHelper(0xe0, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3002 Text, Alignment, Raise, FontSize, FontName); 3003 } 3004 3005 void Range::InsertDateTime(VARIANT* DateTimeFormat, VARIANT* InsertAsField, VARIANT* InsertAsFullWidth, VARIANT* DateLanguage, VARIANT* CalendarType) 3006 { 3007 static BYTE parms[] = 3008 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3009 InvokeHelper(0x1bc, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3010 DateTimeFormat, InsertAsField, InsertAsFullWidth, DateLanguage, CalendarType); 3011 } 3012 3013 void Range::Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3, 3014 VARIANT* SortColumn, VARIANT* Separator, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID) 3015 { 3016 static BYTE parms[] = 3017 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 3018 VTS_PVARIANT; 3019 InvokeHelper(0x1e4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3020 ExcludeHeader, FieldNumber, SortFieldType, SortOrder, FieldNumber2, SortFieldType2, SortOrder2, FieldNumber3, SortFieldType3, SortOrder3, SortColumn, Separator, CaseSensitive, BidiSort, IgnoreThe, IgnoreKashida, IgnoreDiacritics, 3021 IgnoreHe, LanguageID); 3022 } 3023 3024 void Range::DetectLanguage() 3025 { 3026 InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3027 } 3028 3029 LPDISPATCH Range::ConvertToTable(VARIANT* Separator, VARIANT* NumRows, VARIANT* NumColumns, VARIANT* InitialColumnWidth, VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor, 3030 VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit, VARIANT* AutoFitBehavior, VARIANT* DefaultTableBehavior) 3031 { 3032 LPDISPATCH result; 3033 static BYTE parms[] = 3034 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; 3035 InvokeHelper(0x1f2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3036 Separator, NumRows, NumColumns, InitialColumnWidth, Format, ApplyBorders, ApplyShading, ApplyFont, ApplyColor, ApplyHeadingRows, ApplyLastRow, ApplyFirstColumn, ApplyLastColumn, AutoFit, AutoFitBehavior, DefaultTableBehavior); 3037 return result; 3038 } 3039 3040 void Range::TCSCConverter(long WdTCSCConverterDirection, BOOL CommonTerms, BOOL UseVariants) 3041 { 3042 static BYTE parms[] = 3043 VTS_I4 VTS_BOOL VTS_BOOL; 3044 InvokeHelper(0x1f3, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3045 WdTCSCConverterDirection, CommonTerms, UseVariants); 3046 } 3047 3048 BOOL Range::GetLanguageDetected() 3049 { 3050 BOOL result; 3051 InvokeHelper(0x107, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3052 return result; 3053 } 3054 3055 void Range::SetLanguageDetected(BOOL bNewValue) 3056 { 3057 static BYTE parms[] = 3058 VTS_BOOL; 3059 InvokeHelper(0x107, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3060 bNewValue); 3061 } 3062 3063 float Range::GetFitTextWidth() 3064 { 3065 float result; 3066 InvokeHelper(0x108, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3067 return result; 3068 } 3069 3070 void Range::SetFitTextWidth(float newValue) 3071 { 3072 static BYTE parms[] = 3073 VTS_R4; 3074 InvokeHelper(0x108, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3075 newValue); 3076 } 3077 3078 long Range::GetHorizontalInVertical() 3079 { 3080 long result; 3081 InvokeHelper(0x109, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3082 return result; 3083 } 3084 3085 void Range::SetHorizontalInVertical(long nNewValue) 3086 { 3087 static BYTE parms[] = 3088 VTS_I4; 3089 InvokeHelper(0x109, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3090 nNewValue); 3091 } 3092 3093 long Range::GetTwoLinesInOne() 3094 { 3095 long result; 3096 InvokeHelper(0x10a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3097 return result; 3098 } 3099 3100 void Range::SetTwoLinesInOne(long nNewValue) 3101 { 3102 static BYTE parms[] = 3103 VTS_I4; 3104 InvokeHelper(0x10a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3105 nNewValue); 3106 } 3107 3108 BOOL Range::GetCombineCharacters() 3109 { 3110 BOOL result; 3111 InvokeHelper(0x10b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3112 return result; 3113 } 3114 3115 void Range::SetCombineCharacters(BOOL bNewValue) 3116 { 3117 static BYTE parms[] = 3118 VTS_BOOL; 3119 InvokeHelper(0x10b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3120 bNewValue); 3121 } 3122 3123 long Range::GetNoProofing() 3124 { 3125 long result; 3126 InvokeHelper(0x143, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3127 return result; 3128 } 3129 3130 void Range::SetNoProofing(long nNewValue) 3131 { 3132 static BYTE parms[] = 3133 VTS_I4; 3134 InvokeHelper(0x143, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3135 nNewValue); 3136 } 3137 3138 LPDISPATCH Range::GetTopLevelTables() 3139 { 3140 LPDISPATCH result; 3141 InvokeHelper(0x144, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3142 return result; 3143 } 3144 3145 LPDISPATCH Range::GetScripts() 3146 { 3147 LPDISPATCH result; 3148 InvokeHelper(0x145, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3149 return result; 3150 } 3151 3152 long Range::GetCharacterWidth() 3153 { 3154 long result; 3155 InvokeHelper(0x146, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3156 return result; 3157 } 3158 3159 void Range::SetCharacterWidth(long nNewValue) 3160 { 3161 static BYTE parms[] = 3162 VTS_I4; 3163 InvokeHelper(0x146, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3164 nNewValue); 3165 } 3166 3167 long Range::GetKana() 3168 { 3169 long result; 3170 InvokeHelper(0x147, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3171 return result; 3172 } 3173 3174 void Range::SetKana(long nNewValue) 3175 { 3176 static BYTE parms[] = 3177 VTS_I4; 3178 InvokeHelper(0x147, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3179 nNewValue); 3180 } 3181 3182 long Range::GetBoldBi() 3183 { 3184 long result; 3185 InvokeHelper(0x190, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3186 return result; 3187 } 3188 3189 void Range::SetBoldBi(long nNewValue) 3190 { 3191 static BYTE parms[] = 3192 VTS_I4; 3193 InvokeHelper(0x190, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3194 nNewValue); 3195 } 3196 3197 long Range::GetItalicBi() 3198 { 3199 long result; 3200 InvokeHelper(0x191, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3201 return result; 3202 } 3203 3204 void Range::SetItalicBi(long nNewValue) 3205 { 3206 static BYTE parms[] = 3207 VTS_I4; 3208 InvokeHelper(0x191, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3209 nNewValue); 3210 } 3211 3212 CString Range::GetId() 3213 { 3214 CString result; 3215 InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3216 return result; 3217 } 3218 3219 void Range::SetId(LPCTSTR lpszNewValue) 3220 { 3221 static BYTE parms[] = 3222 VTS_BSTR; 3223 InvokeHelper(0x195, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3224 lpszNewValue); 3225 } 3226 3227 LPDISPATCH Range::GetHTMLDivisions() 3228 { 3229 LPDISPATCH result; 3230 InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3231 return result; 3232 } 3233 3234 LPDISPATCH Range::GetSmartTags() 3235 { 3236 LPDISPATCH result; 3237 InvokeHelper(0x197, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3238 return result; 3239 } 3240 3241 BOOL Range::GetShowAll() 3242 { 3243 BOOL result; 3244 InvokeHelper(0x198, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3245 return result; 3246 } 3247 3248 void Range::SetShowAll(BOOL bNewValue) 3249 { 3250 static BYTE parms[] = 3251 VTS_BOOL; 3252 InvokeHelper(0x198, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3253 bNewValue); 3254 } 3255 3256 LPDISPATCH Range::GetDocument() 3257 { 3258 LPDISPATCH result; 3259 InvokeHelper(0x199, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3260 return result; 3261 } 3262 3263 LPDISPATCH Range::GetFootnoteOptions() 3264 { 3265 LPDISPATCH result; 3266 InvokeHelper(0x19a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3267 return result; 3268 } 3269 3270 LPDISPATCH Range::GetEndnoteOptions() 3271 { 3272 LPDISPATCH result; 3273 InvokeHelper(0x19b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3274 return result; 3275 } 3276 3277 void Range::PasteAndFormat(long Type) 3278 { 3279 static BYTE parms[] = 3280 VTS_I4; 3281 InvokeHelper(0x19c, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3282 Type); 3283 } 3284 3285 void Range::PasteExcelTable(BOOL LinkedToExcel, BOOL WordFormatting, BOOL RTF) 3286 { 3287 static BYTE parms[] = 3288 VTS_BOOL VTS_BOOL VTS_BOOL; 3289 InvokeHelper(0x19d, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3290 LinkedToExcel, WordFormatting, RTF); 3291 } 3292 3293 void Range::PasteAppendTable() 3294 { 3295 InvokeHelper(0x19e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3296 } 3297 3298 LPDISPATCH Range::GetXMLNodes() 3299 { 3300 LPDISPATCH result; 3301 InvokeHelper(0x154, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3302 return result; 3303 } 3304 3305 LPDISPATCH Range::GetXMLParentNode() 3306 { 3307 LPDISPATCH result; 3308 InvokeHelper(0x155, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3309 return result; 3310 } 3311 3312 LPDISPATCH Range::GetEditors() 3313 { 3314 LPDISPATCH result; 3315 InvokeHelper(0x157, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3316 return result; 3317 } 3318 3319 CString Range::GetXml(BOOL DataOnly) 3320 { 3321 CString result; 3322 static BYTE parms[] = 3323 VTS_BOOL; 3324 InvokeHelper(0x158, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, 3325 DataOnly); 3326 return result; 3327 } 3328 3329 VARIANT Range::GetEnhMetaFileBits() 3330 { 3331 VARIANT result; 3332 InvokeHelper(0x159, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 3333 return result; 3334 } 3335 3336 LPDISPATCH Range::GoToEditableRange(VARIANT* EditorID) 3337 { 3338 LPDISPATCH result; 3339 static BYTE parms[] = 3340 VTS_PVARIANT; 3341 InvokeHelper(0x19f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3342 EditorID); 3343 return result; 3344 } 3345 3346 void Range::InsertXML(LPCTSTR XML, VARIANT* Transform) 3347 { 3348 static BYTE parms[] = 3349 VTS_BSTR VTS_PVARIANT; 3350 InvokeHelper(0x1a0, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3351 XML, Transform); 3352 } 3353 3354 void Range::InsertCaption(VARIANT* Label, VARIANT* Title, VARIANT* TitleAutoText, VARIANT* Position, VARIANT* ExcludeLabel) 3355 { 3356 static BYTE parms[] = 3357 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3358 InvokeHelper(0x1a1, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3359 Label, Title, TitleAutoText, Position, ExcludeLabel); 3360 } 3361 3362 void Range::InsertCrossReference(VARIANT* ReferenceType, long ReferenceKind, VARIANT* ReferenceItem, VARIANT* InsertAsHyperlink, VARIANT* IncludePosition, VARIANT* SeparateNumbers, VARIANT* SeparatorString) 3363 { 3364 static BYTE parms[] = 3365 VTS_PVARIANT VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3366 InvokeHelper(0x1a2, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3367 ReferenceType, ReferenceKind, ReferenceItem, InsertAsHyperlink, IncludePosition, SeparateNumbers, SeparatorString); 3368 } 3369 3370 3371 ///////////////////////////////////////////////////////////////////////////// 3372 // ListFormat properties 3373 3374 ///////////////////////////////////////////////////////////////////////////// 3375 // ListFormat operations 3376 3377 long ListFormat::GetListLevelNumber() 3378 { 3379 long result; 3380 InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3381 return result; 3382 } 3383 3384 void ListFormat::SetListLevelNumber(long nNewValue) 3385 { 3386 static BYTE parms[] = 3387 VTS_I4; 3388 InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3389 nNewValue); 3390 } 3391 3392 LPDISPATCH ListFormat::GetList() 3393 { 3394 LPDISPATCH result; 3395 InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3396 return result; 3397 } 3398 3399 LPDISPATCH ListFormat::GetListTemplate() 3400 { 3401 LPDISPATCH result; 3402 InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3403 return result; 3404 } 3405 3406 long ListFormat::GetListValue() 3407 { 3408 long result; 3409 InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3410 return result; 3411 } 3412 3413 BOOL ListFormat::GetSingleList() 3414 { 3415 BOOL result; 3416 InvokeHelper(0x48, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3417 return result; 3418 } 3419 3420 BOOL ListFormat::GetSingleListTemplate() 3421 { 3422 BOOL result; 3423 InvokeHelper(0x49, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3424 return result; 3425 } 3426 3427 long ListFormat::GetListType() 3428 { 3429 long result; 3430 InvokeHelper(0x4a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3431 return result; 3432 } 3433 3434 CString ListFormat::GetListString() 3435 { 3436 CString result; 3437 InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3438 return result; 3439 } 3440 3441 LPDISPATCH ListFormat::GetApplication() 3442 { 3443 LPDISPATCH result; 3444 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3445 return result; 3446 } 3447 3448 long ListFormat::GetCreator() 3449 { 3450 long result; 3451 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3452 return result; 3453 } 3454 3455 LPDISPATCH ListFormat::GetParent() 3456 { 3457 LPDISPATCH result; 3458 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3459 return result; 3460 } 3461 3462 long ListFormat::CanContinuePreviousList(LPDISPATCH ListTemplate) 3463 { 3464 long result; 3465 static BYTE parms[] = 3466 VTS_DISPATCH; 3467 InvokeHelper(0xb8, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 3468 ListTemplate); 3469 return result; 3470 } 3471 3472 void ListFormat::RemoveNumbers(VARIANT* NumberType) 3473 { 3474 static BYTE parms[] = 3475 VTS_PVARIANT; 3476 InvokeHelper(0xb9, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3477 NumberType); 3478 } 3479 3480 void ListFormat::ConvertNumbersToText(VARIANT* NumberType) 3481 { 3482 static BYTE parms[] = 3483 VTS_PVARIANT; 3484 InvokeHelper(0xba, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3485 NumberType); 3486 } 3487 3488 long ListFormat::CountNumberedItems(VARIANT* NumberType, VARIANT* Level) 3489 { 3490 long result; 3491 static BYTE parms[] = 3492 VTS_PVARIANT VTS_PVARIANT; 3493 InvokeHelper(0xbb, DISPATCH_METHOD, VT_I4, (void*)&result, parms, 3494 NumberType, Level); 3495 return result; 3496 } 3497 3498 void ListFormat::ListOutdent() 3499 { 3500 InvokeHelper(0xd2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3501 } 3502 3503 void ListFormat::ListIndent() 3504 { 3505 InvokeHelper(0xd3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3506 } 3507 3508 void ListFormat::ApplyBulletDefault(VARIANT* DefaultListBehavior) 3509 { 3510 static BYTE parms[] = 3511 VTS_PVARIANT; 3512 InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3513 DefaultListBehavior); 3514 } 3515 3516 void ListFormat::ApplyNumberDefault(VARIANT* DefaultListBehavior) 3517 { 3518 static BYTE parms[] = 3519 VTS_PVARIANT; 3520 InvokeHelper(0xd5, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3521 DefaultListBehavior); 3522 } 3523 3524 void ListFormat::ApplyOutlineNumberDefault(VARIANT* DefaultListBehavior) 3525 { 3526 static BYTE parms[] = 3527 VTS_PVARIANT; 3528 InvokeHelper(0xd6, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3529 DefaultListBehavior); 3530 } 3531 3532 void ListFormat::ApplyListTemplate(LPDISPATCH ListTemplate, VARIANT* ContinuePreviousList, VARIANT* ApplyTo, VARIANT* DefaultListBehavior) 3533 { 3534 static BYTE parms[] = 3535 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3536 InvokeHelper(0xd7, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3537 ListTemplate, ContinuePreviousList, ApplyTo, DefaultListBehavior); 3538 } 3539 3540 LPDISPATCH ListFormat::GetListPictureBullet() 3541 { 3542 LPDISPATCH result; 3543 InvokeHelper(0x4c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3544 return result; 3545 } 3546 3547 3548 ///////////////////////////////////////////////////////////////////////////// 3549 // Find properties 3550 3551 ///////////////////////////////////////////////////////////////////////////// 3552 // Find operations 3553 3554 LPDISPATCH Find::GetApplication() 3555 { 3556 LPDISPATCH result; 3557 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3558 return result; 3559 } 3560 3561 long Find::GetCreator() 3562 { 3563 long result; 3564 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3565 return result; 3566 } 3567 3568 LPDISPATCH Find::GetParent() 3569 { 3570 LPDISPATCH result; 3571 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3572 return result; 3573 } 3574 3575 BOOL Find::GetForward() 3576 { 3577 BOOL result; 3578 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3579 return result; 3580 } 3581 3582 void Find::SetForward(BOOL bNewValue) 3583 { 3584 static BYTE parms[] = 3585 VTS_BOOL; 3586 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3587 bNewValue); 3588 } 3589 3590 LPDISPATCH Find::GetFont() 3591 { 3592 LPDISPATCH result; 3593 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3594 return result; 3595 } 3596 3597 void Find::SetFont(LPDISPATCH newValue) 3598 { 3599 static BYTE parms[] = 3600 VTS_DISPATCH; 3601 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3602 newValue); 3603 } 3604 3605 BOOL Find::GetFound() 3606 { 3607 BOOL result; 3608 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3609 return result; 3610 } 3611 3612 BOOL Find::GetMatchAllWordForms() 3613 { 3614 BOOL result; 3615 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3616 return result; 3617 } 3618 3619 void Find::SetMatchAllWordForms(BOOL bNewValue) 3620 { 3621 static BYTE parms[] = 3622 VTS_BOOL; 3623 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3624 bNewValue); 3625 } 3626 3627 BOOL Find::GetMatchCase() 3628 { 3629 BOOL result; 3630 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3631 return result; 3632 } 3633 3634 void Find::SetMatchCase(BOOL bNewValue) 3635 { 3636 static BYTE parms[] = 3637 VTS_BOOL; 3638 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3639 bNewValue); 3640 } 3641 3642 BOOL Find::GetMatchWildcards() 3643 { 3644 BOOL result; 3645 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3646 return result; 3647 } 3648 3649 void Find::SetMatchWildcards(BOOL bNewValue) 3650 { 3651 static BYTE parms[] = 3652 VTS_BOOL; 3653 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3654 bNewValue); 3655 } 3656 3657 BOOL Find::GetMatchSoundsLike() 3658 { 3659 BOOL result; 3660 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3661 return result; 3662 } 3663 3664 void Find::SetMatchSoundsLike(BOOL bNewValue) 3665 { 3666 static BYTE parms[] = 3667 VTS_BOOL; 3668 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3669 bNewValue); 3670 } 3671 3672 BOOL Find::GetMatchWholeWord() 3673 { 3674 BOOL result; 3675 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3676 return result; 3677 } 3678 3679 void Find::SetMatchWholeWord(BOOL bNewValue) 3680 { 3681 static BYTE parms[] = 3682 VTS_BOOL; 3683 InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3684 bNewValue); 3685 } 3686 3687 BOOL Find::GetMatchFuzzy() 3688 { 3689 BOOL result; 3690 InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3691 return result; 3692 } 3693 3694 void Find::SetMatchFuzzy(BOOL bNewValue) 3695 { 3696 static BYTE parms[] = 3697 VTS_BOOL; 3698 InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3699 bNewValue); 3700 } 3701 3702 BOOL Find::GetMatchByte() 3703 { 3704 BOOL result; 3705 InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3706 return result; 3707 } 3708 3709 void Find::SetMatchByte(BOOL bNewValue) 3710 { 3711 static BYTE parms[] = 3712 VTS_BOOL; 3713 InvokeHelper(0x29, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3714 bNewValue); 3715 } 3716 3717 LPDISPATCH Find::GetParagraphFormat() 3718 { 3719 LPDISPATCH result; 3720 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3721 return result; 3722 } 3723 3724 void Find::SetParagraphFormat(LPDISPATCH newValue) 3725 { 3726 static BYTE parms[] = 3727 VTS_DISPATCH; 3728 InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3729 newValue); 3730 } 3731 3732 VARIANT Find::GetStyle() 3733 { 3734 VARIANT result; 3735 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 3736 return result; 3737 } 3738 3739 void Find::SetStyle(VARIANT* newValue) 3740 { 3741 static BYTE parms[] = 3742 VTS_PVARIANT; 3743 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3744 newValue); 3745 } 3746 3747 CString Find::GetText() 3748 { 3749 CString result; 3750 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3751 return result; 3752 } 3753 3754 void Find::SetText(LPCTSTR lpszNewValue) 3755 { 3756 static BYTE parms[] = 3757 VTS_BSTR; 3758 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3759 lpszNewValue); 3760 } 3761 3762 long Find::GetLanguageID() 3763 { 3764 long result; 3765 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3766 return result; 3767 } 3768 3769 void Find::SetLanguageID(long nNewValue) 3770 { 3771 static BYTE parms[] = 3772 VTS_I4; 3773 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3774 nNewValue); 3775 } 3776 3777 long Find::GetHighlight() 3778 { 3779 long result; 3780 InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3781 return result; 3782 } 3783 3784 void Find::SetHighlight(long nNewValue) 3785 { 3786 static BYTE parms[] = 3787 VTS_I4; 3788 InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3789 nNewValue); 3790 } 3791 3792 LPDISPATCH Find::GetReplacement() 3793 { 3794 LPDISPATCH result; 3795 InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3796 return result; 3797 } 3798 3799 LPDISPATCH Find::GetFrame() 3800 { 3801 LPDISPATCH result; 3802 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3803 return result; 3804 } 3805 3806 long Find::GetWrap() 3807 { 3808 long result; 3809 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3810 return result; 3811 } 3812 3813 void Find::SetWrap(long nNewValue) 3814 { 3815 static BYTE parms[] = 3816 VTS_I4; 3817 InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3818 nNewValue); 3819 } 3820 3821 BOOL Find::GetFormat() 3822 { 3823 BOOL result; 3824 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3825 return result; 3826 } 3827 3828 void Find::SetFormat(BOOL bNewValue) 3829 { 3830 static BYTE parms[] = 3831 VTS_BOOL; 3832 InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3833 bNewValue); 3834 } 3835 3836 long Find::GetLanguageIDFarEast() 3837 { 3838 long result; 3839 InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3840 return result; 3841 } 3842 3843 void Find::SetLanguageIDFarEast(long nNewValue) 3844 { 3845 static BYTE parms[] = 3846 VTS_I4; 3847 InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3848 nNewValue); 3849 } 3850 3851 long Find::GetLanguageIDOther() 3852 { 3853 long result; 3854 InvokeHelper(0x3c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3855 return result; 3856 } 3857 3858 void Find::SetLanguageIDOther(long nNewValue) 3859 { 3860 static BYTE parms[] = 3861 VTS_I4; 3862 InvokeHelper(0x3c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3863 nNewValue); 3864 } 3865 3866 BOOL Find::GetCorrectHangulEndings() 3867 { 3868 BOOL result; 3869 InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3870 return result; 3871 } 3872 3873 void Find::SetCorrectHangulEndings(BOOL bNewValue) 3874 { 3875 static BYTE parms[] = 3876 VTS_BOOL; 3877 InvokeHelper(0x3d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3878 bNewValue); 3879 } 3880 3881 void Find::ClearFormatting() 3882 { 3883 InvokeHelper(0x1f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3884 } 3885 3886 void Find::SetAllFuzzyOptions() 3887 { 3888 InvokeHelper(0x20, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3889 } 3890 3891 void Find::ClearAllFuzzyOptions() 3892 { 3893 InvokeHelper(0x21, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3894 } 3895 3896 BOOL Find::Execute(VARIANT* FindText, VARIANT* MatchCase, VARIANT* MatchWholeWord, VARIANT* MatchWildcards, VARIANT* MatchSoundsLike, VARIANT* MatchAllWordForms, VARIANT* Forward, VARIANT* Wrap, VARIANT* Format, VARIANT* ReplaceWith, 3897 VARIANT* Replace, VARIANT* MatchKashida, VARIANT* MatchDiacritics, VARIANT* MatchAlefHamza, VARIANT* MatchControl) 3898 { 3899 BOOL result; 3900 static BYTE parms[] = 3901 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; 3902 InvokeHelper(0x1bc, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 3903 FindText, MatchCase, MatchWholeWord, MatchWildcards, MatchSoundsLike, MatchAllWordForms, Forward, Wrap, Format, ReplaceWith, Replace, MatchKashida, MatchDiacritics, MatchAlefHamza, MatchControl); 3904 return result; 3905 } 3906 3907 long Find::GetNoProofing() 3908 { 3909 long result; 3910 InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3911 return result; 3912 } 3913 3914 void Find::SetNoProofing(long nNewValue) 3915 { 3916 static BYTE parms[] = 3917 VTS_I4; 3918 InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3919 nNewValue); 3920 } 3921 3922 BOOL Find::GetMatchKashida() 3923 { 3924 BOOL result; 3925 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3926 return result; 3927 } 3928 3929 void Find::SetMatchKashida(BOOL bNewValue) 3930 { 3931 static BYTE parms[] = 3932 VTS_BOOL; 3933 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3934 bNewValue); 3935 } 3936 3937 BOOL Find::GetMatchDiacritics() 3938 { 3939 BOOL result; 3940 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3941 return result; 3942 } 3943 3944 void Find::SetMatchDiacritics(BOOL bNewValue) 3945 { 3946 static BYTE parms[] = 3947 VTS_BOOL; 3948 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3949 bNewValue); 3950 } 3951 3952 BOOL Find::GetMatchAlefHamza() 3953 { 3954 BOOL result; 3955 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3956 return result; 3957 } 3958 3959 void Find::SetMatchAlefHamza(BOOL bNewValue) 3960 { 3961 static BYTE parms[] = 3962 VTS_BOOL; 3963 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3964 bNewValue); 3965 } 3966 3967 BOOL Find::GetMatchControl() 3968 { 3969 BOOL result; 3970 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3971 return result; 3972 } 3973 3974 void Find::SetMatchControl(BOOL bNewValue) 3975 { 3976 static BYTE parms[] = 3977 VTS_BOOL; 3978 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3979 bNewValue); 3980 } 3981 3982 3983 ///////////////////////////////////////////////////////////////////////////// 3984 // Replacement properties 3985 3986 ///////////////////////////////////////////////////////////////////////////// 3987 // Replacement operations 3988 3989 LPDISPATCH Replacement::GetApplication() 3990 { 3991 LPDISPATCH result; 3992 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3993 return result; 3994 } 3995 3996 long Replacement::GetCreator() 3997 { 3998 long result; 3999 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4000 return result; 4001 } 4002 4003 LPDISPATCH Replacement::GetParent() 4004 { 4005 LPDISPATCH result; 4006 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4007 return result; 4008 } 4009 4010 LPDISPATCH Replacement::GetFont() 4011 { 4012 LPDISPATCH result; 4013 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4014 return result; 4015 } 4016 4017 void Replacement::SetFont(LPDISPATCH newValue) 4018 { 4019 static BYTE parms[] = 4020 VTS_DISPATCH; 4021 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4022 newValue); 4023 } 4024 4025 LPDISPATCH Replacement::GetParagraphFormat() 4026 { 4027 LPDISPATCH result; 4028 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4029 return result; 4030 } 4031 4032 void Replacement::SetParagraphFormat(LPDISPATCH newValue) 4033 { 4034 static BYTE parms[] = 4035 VTS_DISPATCH; 4036 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4037 newValue); 4038 } 4039 4040 VARIANT Replacement::GetStyle() 4041 { 4042 VARIANT result; 4043 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 4044 return result; 4045 } 4046 4047 void Replacement::SetStyle(VARIANT* newValue) 4048 { 4049 static BYTE parms[] = 4050 VTS_PVARIANT; 4051 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4052 newValue); 4053 } 4054 4055 CString Replacement::GetText() 4056 { 4057 CString result; 4058 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4059 return result; 4060 } 4061 4062 void Replacement::SetText(LPCTSTR lpszNewValue) 4063 { 4064 static BYTE parms[] = 4065 VTS_BSTR; 4066 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4067 lpszNewValue); 4068 } 4069 4070 long Replacement::GetLanguageID() 4071 { 4072 long result; 4073 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4074 return result; 4075 } 4076 4077 void Replacement::SetLanguageID(long nNewValue) 4078 { 4079 static BYTE parms[] = 4080 VTS_I4; 4081 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4082 nNewValue); 4083 } 4084 4085 long Replacement::GetHighlight() 4086 { 4087 long result; 4088 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4089 return result; 4090 } 4091 4092 void Replacement::SetHighlight(long nNewValue) 4093 { 4094 static BYTE parms[] = 4095 VTS_I4; 4096 InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4097 nNewValue); 4098 } 4099 4100 LPDISPATCH Replacement::GetFrame() 4101 { 4102 LPDISPATCH result; 4103 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4104 return result; 4105 } 4106 4107 long Replacement::GetLanguageIDFarEast() 4108 { 4109 long result; 4110 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4111 return result; 4112 } 4113 4114 void Replacement::SetLanguageIDFarEast(long nNewValue) 4115 { 4116 static BYTE parms[] = 4117 VTS_I4; 4118 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4119 nNewValue); 4120 } 4121 4122 void Replacement::ClearFormatting() 4123 { 4124 InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4125 } 4126 4127 long Replacement::GetNoProofing() 4128 { 4129 long result; 4130 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4131 return result; 4132 } 4133 4134 void Replacement::SetNoProofing(long nNewValue) 4135 { 4136 static BYTE parms[] = 4137 VTS_I4; 4138 InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4139 nNewValue); 4140 } 4141 4142 4143 ///////////////////////////////////////////////////////////////////////////// 4144 // Characters properties 4145 4146 ///////////////////////////////////////////////////////////////////////////// 4147 // Characters operations 4148 4149 LPUNKNOWN Characters::Get_NewEnum() 4150 { 4151 LPUNKNOWN result; 4152 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4153 return result; 4154 } 4155 4156 long Characters::GetCount() 4157 { 4158 long result; 4159 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4160 return result; 4161 } 4162 4163 LPDISPATCH Characters::GetFirst() 4164 { 4165 LPDISPATCH result; 4166 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4167 return result; 4168 } 4169 4170 LPDISPATCH Characters::GetLast() 4171 { 4172 LPDISPATCH result; 4173 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4174 return result; 4175 } 4176 4177 LPDISPATCH Characters::GetApplication() 4178 { 4179 LPDISPATCH result; 4180 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4181 return result; 4182 } 4183 4184 long Characters::GetCreator() 4185 { 4186 long result; 4187 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4188 return result; 4189 } 4190 4191 LPDISPATCH Characters::GetParent() 4192 { 4193 LPDISPATCH result; 4194 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4195 return result; 4196 } 4197 4198 LPDISPATCH Characters::Item(long Index) 4199 { 4200 LPDISPATCH result; 4201 static BYTE parms[] = 4202 VTS_I4; 4203 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4204 Index); 4205 return result; 4206 } 4207 4208 4209 ///////////////////////////////////////////////////////////////////////////// 4210 // Words properties 4211 4212 ///////////////////////////////////////////////////////////////////////////// 4213 // Words operations 4214 4215 LPUNKNOWN Words::Get_NewEnum() 4216 { 4217 LPUNKNOWN result; 4218 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4219 return result; 4220 } 4221 4222 long Words::GetCount() 4223 { 4224 long result; 4225 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4226 return result; 4227 } 4228 4229 LPDISPATCH Words::GetFirst() 4230 { 4231 LPDISPATCH result; 4232 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4233 return result; 4234 } 4235 4236 LPDISPATCH Words::GetLast() 4237 { 4238 LPDISPATCH result; 4239 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4240 return result; 4241 } 4242 4243 LPDISPATCH Words::GetApplication() 4244 { 4245 LPDISPATCH result; 4246 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4247 return result; 4248 } 4249 4250 long Words::GetCreator() 4251 { 4252 long result; 4253 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4254 return result; 4255 } 4256 4257 LPDISPATCH Words::GetParent() 4258 { 4259 LPDISPATCH result; 4260 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4261 return result; 4262 } 4263 4264 LPDISPATCH Words::Item(long Index) 4265 { 4266 LPDISPATCH result; 4267 static BYTE parms[] = 4268 VTS_I4; 4269 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4270 Index); 4271 return result; 4272 } 4273 4274 4275 ///////////////////////////////////////////////////////////////////////////// 4276 // Sentences properties 4277 4278 ///////////////////////////////////////////////////////////////////////////// 4279 // Sentences operations 4280 4281 LPUNKNOWN Sentences::Get_NewEnum() 4282 { 4283 LPUNKNOWN result; 4284 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4285 return result; 4286 } 4287 4288 long Sentences::GetCount() 4289 { 4290 long result; 4291 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4292 return result; 4293 } 4294 4295 LPDISPATCH Sentences::GetFirst() 4296 { 4297 LPDISPATCH result; 4298 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4299 return result; 4300 } 4301 4302 LPDISPATCH Sentences::GetLast() 4303 { 4304 LPDISPATCH result; 4305 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4306 return result; 4307 } 4308 4309 LPDISPATCH Sentences::GetApplication() 4310 { 4311 LPDISPATCH result; 4312 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4313 return result; 4314 } 4315 4316 long Sentences::GetCreator() 4317 { 4318 long result; 4319 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4320 return result; 4321 } 4322 4323 LPDISPATCH Sentences::GetParent() 4324 { 4325 LPDISPATCH result; 4326 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4327 return result; 4328 } 4329 4330 LPDISPATCH Sentences::Item(long Index) 4331 { 4332 LPDISPATCH result; 4333 static BYTE parms[] = 4334 VTS_I4; 4335 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4336 Index); 4337 return result; 4338 } 4339 4340 4341 ///////////////////////////////////////////////////////////////////////////// 4342 // Sections properties 4343 4344 ///////////////////////////////////////////////////////////////////////////// 4345 // Sections operations 4346 4347 LPUNKNOWN Sections::Get_NewEnum() 4348 { 4349 LPUNKNOWN result; 4350 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4351 return result; 4352 } 4353 4354 long Sections::GetCount() 4355 { 4356 long result; 4357 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4358 return result; 4359 } 4360 4361 LPDISPATCH Sections::GetFirst() 4362 { 4363 LPDISPATCH result; 4364 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4365 return result; 4366 } 4367 4368 LPDISPATCH Sections::GetLast() 4369 { 4370 LPDISPATCH result; 4371 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4372 return result; 4373 } 4374 4375 LPDISPATCH Sections::GetApplication() 4376 { 4377 LPDISPATCH result; 4378 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4379 return result; 4380 } 4381 4382 long Sections::GetCreator() 4383 { 4384 long result; 4385 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4386 return result; 4387 } 4388 4389 LPDISPATCH Sections::GetParent() 4390 { 4391 LPDISPATCH result; 4392 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4393 return result; 4394 } 4395 4396 LPDISPATCH Sections::GetPageSetup() 4397 { 4398 LPDISPATCH result; 4399 InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4400 return result; 4401 } 4402 4403 void Sections::SetPageSetup(LPDISPATCH newValue) 4404 { 4405 static BYTE parms[] = 4406 VTS_DISPATCH; 4407 InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4408 newValue); 4409 } 4410 4411 LPDISPATCH Sections::Item(long Index) 4412 { 4413 LPDISPATCH result; 4414 static BYTE parms[] = 4415 VTS_I4; 4416 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4417 Index); 4418 return result; 4419 } 4420 4421 LPDISPATCH Sections::Add(VARIANT* Range, VARIANT* Start) 4422 { 4423 LPDISPATCH result; 4424 static BYTE parms[] = 4425 VTS_PVARIANT VTS_PVARIANT; 4426 InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4427 Range, Start); 4428 return result; 4429 } 4430 4431 4432 ///////////////////////////////////////////////////////////////////////////// 4433 // Section properties 4434 4435 ///////////////////////////////////////////////////////////////////////////// 4436 // Section operations 4437 4438 LPDISPATCH Section::GetRange() 4439 { 4440 LPDISPATCH result; 4441 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4442 return result; 4443 } 4444 4445 LPDISPATCH Section::GetApplication() 4446 { 4447 LPDISPATCH result; 4448 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4449 return result; 4450 } 4451 4452 long Section::GetCreator() 4453 { 4454 long result; 4455 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4456 return result; 4457 } 4458 4459 LPDISPATCH Section::GetParent() 4460 { 4461 LPDISPATCH result; 4462 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4463 return result; 4464 } 4465 4466 LPDISPATCH Section::GetPageSetup() 4467 { 4468 LPDISPATCH result; 4469 InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4470 return result; 4471 } 4472 4473 void Section::SetPageSetup(LPDISPATCH newValue) 4474 { 4475 static BYTE parms[] = 4476 VTS_DISPATCH; 4477 InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4478 newValue); 4479 } 4480 4481 LPDISPATCH Section::GetHeaders() 4482 { 4483 LPDISPATCH result; 4484 InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4485 return result; 4486 } 4487 4488 LPDISPATCH Section::GetFooters() 4489 { 4490 LPDISPATCH result; 4491 InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4492 return result; 4493 } 4494 4495 BOOL Section::GetProtectedForForms() 4496 { 4497 BOOL result; 4498 InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4499 return result; 4500 } 4501 4502 void Section::SetProtectedForForms(BOOL bNewValue) 4503 { 4504 static BYTE parms[] = 4505 VTS_BOOL; 4506 InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4507 bNewValue); 4508 } 4509 4510 long Section::GetIndex() 4511 { 4512 long result; 4513 InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4514 return result; 4515 } 4516 4517 LPDISPATCH Section::GetBorders() 4518 { 4519 LPDISPATCH result; 4520 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4521 return result; 4522 } 4523 4524 void Section::SetBorders(LPDISPATCH newValue) 4525 { 4526 static BYTE parms[] = 4527 VTS_DISPATCH; 4528 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4529 newValue); 4530 } 4531 4532 4533 ///////////////////////////////////////////////////////////////////////////// 4534 // Paragraphs properties 4535 4536 ///////////////////////////////////////////////////////////////////////////// 4537 // Paragraphs operations 4538 4539 LPUNKNOWN Paragraphs::Get_NewEnum() 4540 { 4541 LPUNKNOWN result; 4542 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4543 return result; 4544 } 4545 4546 long Paragraphs::GetCount() 4547 { 4548 long result; 4549 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4550 return result; 4551 } 4552 4553 LPDISPATCH Paragraphs::GetFirst() 4554 { 4555 LPDISPATCH result; 4556 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4557 return result; 4558 } 4559 4560 LPDISPATCH Paragraphs::GetLast() 4561 { 4562 LPDISPATCH result; 4563 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4564 return result; 4565 } 4566 4567 LPDISPATCH Paragraphs::GetApplication() 4568 { 4569 LPDISPATCH result; 4570 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4571 return result; 4572 } 4573 4574 long Paragraphs::GetCreator() 4575 { 4576 long result; 4577 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4578 return result; 4579 } 4580 4581 LPDISPATCH Paragraphs::GetParent() 4582 { 4583 LPDISPATCH result; 4584 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4585 return result; 4586 } 4587 4588 LPDISPATCH Paragraphs::GetFormat() 4589 { 4590 LPDISPATCH result; 4591 InvokeHelper(0x44e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4592 return result; 4593 } 4594 4595 void Paragraphs::SetFormat(LPDISPATCH newValue) 4596 { 4597 static BYTE parms[] = 4598 VTS_DISPATCH; 4599 InvokeHelper(0x44e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4600 newValue); 4601 } 4602 4603 LPDISPATCH Paragraphs::GetTabStops() 4604 { 4605 LPDISPATCH result; 4606 InvokeHelper(0x44f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4607 return result; 4608 } 4609 4610 void Paragraphs::SetTabStops(LPDISPATCH newValue) 4611 { 4612 static BYTE parms[] = 4613 VTS_DISPATCH; 4614 InvokeHelper(0x44f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4615 newValue); 4616 } 4617 4618 LPDISPATCH Paragraphs::GetBorders() 4619 { 4620 LPDISPATCH result; 4621 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4622 return result; 4623 } 4624 4625 void Paragraphs::SetBorders(LPDISPATCH newValue) 4626 { 4627 static BYTE parms[] = 4628 VTS_DISPATCH; 4629 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4630 newValue); 4631 } 4632 4633 VARIANT Paragraphs::GetStyle() 4634 { 4635 VARIANT result; 4636 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 4637 return result; 4638 } 4639 4640 void Paragraphs::SetStyle(VARIANT* newValue) 4641 { 4642 static BYTE parms[] = 4643 VTS_PVARIANT; 4644 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4645 newValue); 4646 } 4647 4648 long Paragraphs::GetAlignment() 4649 { 4650 long result; 4651 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4652 return result; 4653 } 4654 4655 void Paragraphs::SetAlignment(long nNewValue) 4656 { 4657 static BYTE parms[] = 4658 VTS_I4; 4659 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4660 nNewValue); 4661 } 4662 4663 long Paragraphs::GetKeepTogether() 4664 { 4665 long result; 4666 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4667 return result; 4668 } 4669 4670 void Paragraphs::SetKeepTogether(long nNewValue) 4671 { 4672 static BYTE parms[] = 4673 VTS_I4; 4674 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4675 nNewValue); 4676 } 4677 4678 long Paragraphs::GetKeepWithNext() 4679 { 4680 long result; 4681 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4682 return result; 4683 } 4684 4685 void Paragraphs::SetKeepWithNext(long nNewValue) 4686 { 4687 static BYTE parms[] = 4688 VTS_I4; 4689 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4690 nNewValue); 4691 } 4692 4693 long Paragraphs::GetPageBreakBefore() 4694 { 4695 long result; 4696 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4697 return result; 4698 } 4699 4700 void Paragraphs::SetPageBreakBefore(long nNewValue) 4701 { 4702 static BYTE parms[] = 4703 VTS_I4; 4704 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4705 nNewValue); 4706 } 4707 4708 long Paragraphs::GetNoLineNumber() 4709 { 4710 long result; 4711 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4712 return result; 4713 } 4714 4715 void Paragraphs::SetNoLineNumber(long nNewValue) 4716 { 4717 static BYTE parms[] = 4718 VTS_I4; 4719 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4720 nNewValue); 4721 } 4722 4723 float Paragraphs::GetRightIndent() 4724 { 4725 float result; 4726 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4727 return result; 4728 } 4729 4730 void Paragraphs::SetRightIndent(float newValue) 4731 { 4732 static BYTE parms[] = 4733 VTS_R4; 4734 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4735 newValue); 4736 } 4737 4738 float Paragraphs::GetLeftIndent() 4739 { 4740 float result; 4741 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4742 return result; 4743 } 4744 4745 void Paragraphs::SetLeftIndent(float newValue) 4746 { 4747 static BYTE parms[] = 4748 VTS_R4; 4749 InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4750 newValue); 4751 } 4752 4753 float Paragraphs::GetFirstLineIndent() 4754 { 4755 float result; 4756 InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4757 return result; 4758 } 4759 4760 void Paragraphs::SetFirstLineIndent(float newValue) 4761 { 4762 static BYTE parms[] = 4763 VTS_R4; 4764 InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4765 newValue); 4766 } 4767 4768 float Paragraphs::GetLineSpacing() 4769 { 4770 float result; 4771 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4772 return result; 4773 } 4774 4775 void Paragraphs::SetLineSpacing(float newValue) 4776 { 4777 static BYTE parms[] = 4778 VTS_R4; 4779 InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4780 newValue); 4781 } 4782 4783 long Paragraphs::GetLineSpacingRule() 4784 { 4785 long result; 4786 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4787 return result; 4788 } 4789 4790 void Paragraphs::SetLineSpacingRule(long nNewValue) 4791 { 4792 static BYTE parms[] = 4793 VTS_I4; 4794 InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4795 nNewValue); 4796 } 4797 4798 float Paragraphs::GetSpaceBefore() 4799 { 4800 float result; 4801 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4802 return result; 4803 } 4804 4805 void Paragraphs::SetSpaceBefore(float newValue) 4806 { 4807 static BYTE parms[] = 4808 VTS_R4; 4809 InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4810 newValue); 4811 } 4812 4813 float Paragraphs::GetSpaceAfter() 4814 { 4815 float result; 4816 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4817 return result; 4818 } 4819 4820 void Paragraphs::SetSpaceAfter(float newValue) 4821 { 4822 static BYTE parms[] = 4823 VTS_R4; 4824 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4825 newValue); 4826 } 4827 4828 long Paragraphs::GetHyphenation() 4829 { 4830 long result; 4831 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4832 return result; 4833 } 4834 4835 void Paragraphs::SetHyphenation(long nNewValue) 4836 { 4837 static BYTE parms[] = 4838 VTS_I4; 4839 InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4840 nNewValue); 4841 } 4842 4843 long Paragraphs::GetWidowControl() 4844 { 4845 long result; 4846 InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4847 return result; 4848 } 4849 4850 void Paragraphs::SetWidowControl(long nNewValue) 4851 { 4852 static BYTE parms[] = 4853 VTS_I4; 4854 InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4855 nNewValue); 4856 } 4857 4858 LPDISPATCH Paragraphs::GetShading() 4859 { 4860 LPDISPATCH result; 4861 InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4862 return result; 4863 } 4864 4865 long Paragraphs::GetFarEastLineBreakControl() 4866 { 4867 long result; 4868 InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4869 return result; 4870 } 4871 4872 void Paragraphs::SetFarEastLineBreakControl(long nNewValue) 4873 { 4874 static BYTE parms[] = 4875 VTS_I4; 4876 InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4877 nNewValue); 4878 } 4879 4880 long Paragraphs::GetWordWrap() 4881 { 4882 long result; 4883 InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4884 return result; 4885 } 4886 4887 void Paragraphs::SetWordWrap(long nNewValue) 4888 { 4889 static BYTE parms[] = 4890 VTS_I4; 4891 InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4892 nNewValue); 4893 } 4894 4895 long Paragraphs::GetHangingPunctuation() 4896 { 4897 long result; 4898 InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4899 return result; 4900 } 4901 4902 void Paragraphs::SetHangingPunctuation(long nNewValue) 4903 { 4904 static BYTE parms[] = 4905 VTS_I4; 4906 InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4907 nNewValue); 4908 } 4909 4910 long Paragraphs::GetHalfWidthPunctuationOnTopOfLine() 4911 { 4912 long result; 4913 InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4914 return result; 4915 } 4916 4917 void Paragraphs::SetHalfWidthPunctuationOnTopOfLine(long nNewValue) 4918 { 4919 static BYTE parms[] = 4920 VTS_I4; 4921 InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4922 nNewValue); 4923 } 4924 4925 long Paragraphs::GetAddSpaceBetweenFarEastAndAlpha() 4926 { 4927 long result; 4928 InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4929 return result; 4930 } 4931 4932 void Paragraphs::SetAddSpaceBetweenFarEastAndAlpha(long nNewValue) 4933 { 4934 static BYTE parms[] = 4935 VTS_I4; 4936 InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4937 nNewValue); 4938 } 4939 4940 long Paragraphs::GetAddSpaceBetweenFarEastAndDigit() 4941 { 4942 long result; 4943 InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4944 return result; 4945 } 4946 4947 void Paragraphs::SetAddSpaceBetweenFarEastAndDigit(long nNewValue) 4948 { 4949 static BYTE parms[] = 4950 VTS_I4; 4951 InvokeHelper(0x7a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4952 nNewValue); 4953 } 4954 4955 long Paragraphs::GetBaseLineAlignment() 4956 { 4957 long result; 4958 InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4959 return result; 4960 } 4961 4962 void Paragraphs::SetBaseLineAlignment(long nNewValue) 4963 { 4964 static BYTE parms[] = 4965 VTS_I4; 4966 InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4967 nNewValue); 4968 } 4969 4970 long Paragraphs::GetAutoAdjustRightIndent() 4971 { 4972 long result; 4973 InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4974 return result; 4975 } 4976 4977 void Paragraphs::SetAutoAdjustRightIndent(long nNewValue) 4978 { 4979 static BYTE parms[] = 4980 VTS_I4; 4981 InvokeHelper(0x7c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4982 nNewValue); 4983 } 4984 4985 long Paragraphs::GetDisableLineHeightGrid() 4986 { 4987 long result; 4988 InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4989 return result; 4990 } 4991 4992 void Paragraphs::SetDisableLineHeightGrid(long nNewValue) 4993 { 4994 static BYTE parms[] = 4995 VTS_I4; 4996 InvokeHelper(0x7d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4997 nNewValue); 4998 } 4999 5000 long Paragraphs::GetOutlineLevel() 5001 { 5002 long result; 5003 InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5004 return result; 5005 } 5006 5007 void Paragraphs::SetOutlineLevel(long nNewValue) 5008 { 5009 static BYTE parms[] = 5010 VTS_I4; 5011 InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5012 nNewValue); 5013 } 5014 5015 LPDISPATCH Paragraphs::Item(long Index) 5016 { 5017 LPDISPATCH result; 5018 static BYTE parms[] = 5019 VTS_I4; 5020 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5021 Index); 5022 return result; 5023 } 5024 5025 LPDISPATCH Paragraphs::Add(VARIANT* Range) 5026 { 5027 LPDISPATCH result; 5028 static BYTE parms[] = 5029 VTS_PVARIANT; 5030 InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5031 Range); 5032 return result; 5033 } 5034 5035 void Paragraphs::CloseUp() 5036 { 5037 InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5038 } 5039 5040 void Paragraphs::OpenUp() 5041 { 5042 InvokeHelper(0x12e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5043 } 5044 5045 void Paragraphs::OpenOrCloseUp() 5046 { 5047 InvokeHelper(0x12f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5048 } 5049 5050 void Paragraphs::TabHangingIndent(short Count) 5051 { 5052 static BYTE parms[] = 5053 VTS_I2; 5054 InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 5055 Count); 5056 } 5057 5058 void Paragraphs::TabIndent(short Count) 5059 { 5060 static BYTE parms[] = 5061 VTS_I2; 5062 InvokeHelper(0x132, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 5063 Count); 5064 } 5065 5066 void Paragraphs::Reset() 5067 { 5068 InvokeHelper(0x138, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5069 } 5070 5071 void Paragraphs::Space1() 5072 { 5073 InvokeHelper(0x139, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5074 } 5075 5076 void Paragraphs::Space15() 5077 { 5078 InvokeHelper(0x13a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5079 } 5080 5081 void Paragraphs::Space2() 5082 { 5083 InvokeHelper(0x13b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5084 } 5085 5086 void Paragraphs::IndentCharWidth(short Count) 5087 { 5088 static BYTE parms[] = 5089 VTS_I2; 5090 InvokeHelper(0x140, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 5091 Count); 5092 } 5093 5094 void Paragraphs::IndentFirstLineCharWidth(short Count) 5095 { 5096 static BYTE parms[] = 5097 VTS_I2; 5098 InvokeHelper(0x142, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 5099 Count); 5100 } 5101 5102 void Paragraphs::OutlinePromote() 5103 { 5104 InvokeHelper(0x144, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5105 } 5106 5107 void Paragraphs::OutlineDemote() 5108 { 5109 InvokeHelper(0x145, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5110 } 5111 5112 void Paragraphs::OutlineDemoteToBody() 5113 { 5114 InvokeHelper(0x146, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5115 } 5116 5117 void Paragraphs::Indent() 5118 { 5119 InvokeHelper(0x14d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5120 } 5121 5122 void Paragraphs::Outdent() 5123 { 5124 InvokeHelper(0x14e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5125 } 5126 5127 float Paragraphs::GetCharacterUnitRightIndent() 5128 { 5129 float result; 5130 InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5131 return result; 5132 } 5133 5134 void Paragraphs::SetCharacterUnitRightIndent(float newValue) 5135 { 5136 static BYTE parms[] = 5137 VTS_R4; 5138 InvokeHelper(0x7e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5139 newValue); 5140 } 5141 5142 float Paragraphs::GetCharacterUnitLeftIndent() 5143 { 5144 float result; 5145 InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5146 return result; 5147 } 5148 5149 void Paragraphs::SetCharacterUnitLeftIndent(float newValue) 5150 { 5151 static BYTE parms[] = 5152 VTS_R4; 5153 InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5154 newValue); 5155 } 5156 5157 float Paragraphs::GetCharacterUnitFirstLineIndent() 5158 { 5159 float result; 5160 InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5161 return result; 5162 } 5163 5164 void Paragraphs::SetCharacterUnitFirstLineIndent(float newValue) 5165 { 5166 static BYTE parms[] = 5167 VTS_R4; 5168 InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5169 newValue); 5170 } 5171 5172 float Paragraphs::GetLineUnitBefore() 5173 { 5174 float result; 5175 InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5176 return result; 5177 } 5178 5179 void Paragraphs::SetLineUnitBefore(float newValue) 5180 { 5181 static BYTE parms[] = 5182 VTS_R4; 5183 InvokeHelper(0x81, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5184 newValue); 5185 } 5186 5187 float Paragraphs::GetLineUnitAfter() 5188 { 5189 float result; 5190 InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5191 return result; 5192 } 5193 5194 void Paragraphs::SetLineUnitAfter(float newValue) 5195 { 5196 static BYTE parms[] = 5197 VTS_R4; 5198 InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5199 newValue); 5200 } 5201 5202 long Paragraphs::GetReadingOrder() 5203 { 5204 long result; 5205 InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5206 return result; 5207 } 5208 5209 void Paragraphs::SetReadingOrder(long nNewValue) 5210 { 5211 static BYTE parms[] = 5212 VTS_I4; 5213 InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5214 nNewValue); 5215 } 5216 5217 long Paragraphs::GetSpaceBeforeAuto() 5218 { 5219 long result; 5220 InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5221 return result; 5222 } 5223 5224 void Paragraphs::SetSpaceBeforeAuto(long nNewValue) 5225 { 5226 static BYTE parms[] = 5227 VTS_I4; 5228 InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5229 nNewValue); 5230 } 5231 5232 long Paragraphs::GetSpaceAfterAuto() 5233 { 5234 long result; 5235 InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5236 return result; 5237 } 5238 5239 void Paragraphs::SetSpaceAfterAuto(long nNewValue) 5240 { 5241 static BYTE parms[] = 5242 VTS_I4; 5243 InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5244 nNewValue); 5245 } 5246 5247 void Paragraphs::IncreaseSpacing() 5248 { 5249 InvokeHelper(0x14f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5250 } 5251 5252 void Paragraphs::DecreaseSpacing() 5253 { 5254 InvokeHelper(0x150, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5255 }View Code
3
1 ///////////////////////////////////////////////////////////////////////////// 2 // Paragraph properties 3 4 ///////////////////////////////////////////////////////////////////////////// 5 // Paragraph operations 6 7 LPDISPATCH Paragraph::GetRange() 8 { 9 LPDISPATCH result; 10 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 11 return result; 12 } 13 14 LPDISPATCH Paragraph::GetApplication() 15 { 16 LPDISPATCH result; 17 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 18 return result; 19 } 20 21 long Paragraph::GetCreator() 22 { 23 long result; 24 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 25 return result; 26 } 27 28 LPDISPATCH Paragraph::GetParent() 29 { 30 LPDISPATCH result; 31 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 32 return result; 33 } 34 35 LPDISPATCH Paragraph::GetFormat() 36 { 37 LPDISPATCH result; 38 InvokeHelper(0x44e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 39 return result; 40 } 41 42 void Paragraph::SetFormat(LPDISPATCH newValue) 43 { 44 static BYTE parms[] = 45 VTS_DISPATCH; 46 InvokeHelper(0x44e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 47 newValue); 48 } 49 50 LPDISPATCH Paragraph::GetTabStops() 51 { 52 LPDISPATCH result; 53 InvokeHelper(0x44f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 54 return result; 55 } 56 57 void Paragraph::SetTabStops(LPDISPATCH newValue) 58 { 59 static BYTE parms[] = 60 VTS_DISPATCH; 61 InvokeHelper(0x44f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 62 newValue); 63 } 64 65 LPDISPATCH Paragraph::GetBorders() 66 { 67 LPDISPATCH result; 68 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 69 return result; 70 } 71 72 void Paragraph::SetBorders(LPDISPATCH newValue) 73 { 74 static BYTE parms[] = 75 VTS_DISPATCH; 76 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 77 newValue); 78 } 79 80 LPDISPATCH Paragraph::GetDropCap() 81 { 82 LPDISPATCH result; 83 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 84 return result; 85 } 86 87 VARIANT Paragraph::GetStyle() 88 { 89 VARIANT result; 90 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 91 return result; 92 } 93 94 void Paragraph::SetStyle(VARIANT* newValue) 95 { 96 static BYTE parms[] = 97 VTS_PVARIANT; 98 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 99 newValue); 100 } 101 102 long Paragraph::GetAlignment() 103 { 104 long result; 105 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 106 return result; 107 } 108 109 void Paragraph::SetAlignment(long nNewValue) 110 { 111 static BYTE parms[] = 112 VTS_I4; 113 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 114 nNewValue); 115 } 116 117 long Paragraph::GetKeepTogether() 118 { 119 long result; 120 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 121 return result; 122 } 123 124 void Paragraph::SetKeepTogether(long nNewValue) 125 { 126 static BYTE parms[] = 127 VTS_I4; 128 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 129 nNewValue); 130 } 131 132 long Paragraph::GetKeepWithNext() 133 { 134 long result; 135 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 136 return result; 137 } 138 139 void Paragraph::SetKeepWithNext(long nNewValue) 140 { 141 static BYTE parms[] = 142 VTS_I4; 143 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 144 nNewValue); 145 } 146 147 long Paragraph::GetPageBreakBefore() 148 { 149 long result; 150 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 151 return result; 152 } 153 154 void Paragraph::SetPageBreakBefore(long nNewValue) 155 { 156 static BYTE parms[] = 157 VTS_I4; 158 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 159 nNewValue); 160 } 161 162 long Paragraph::GetNoLineNumber() 163 { 164 long result; 165 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 166 return result; 167 } 168 169 void Paragraph::SetNoLineNumber(long nNewValue) 170 { 171 static BYTE parms[] = 172 VTS_I4; 173 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 174 nNewValue); 175 } 176 177 float Paragraph::GetRightIndent() 178 { 179 float result; 180 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 181 return result; 182 } 183 184 void Paragraph::SetRightIndent(float newValue) 185 { 186 static BYTE parms[] = 187 VTS_R4; 188 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 189 newValue); 190 } 191 192 float Paragraph::GetLeftIndent() 193 { 194 float result; 195 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 196 return result; 197 } 198 199 void Paragraph::SetLeftIndent(float newValue) 200 { 201 static BYTE parms[] = 202 VTS_R4; 203 InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 204 newValue); 205 } 206 207 float Paragraph::GetFirstLineIndent() 208 { 209 float result; 210 InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 211 return result; 212 } 213 214 void Paragraph::SetFirstLineIndent(float newValue) 215 { 216 static BYTE parms[] = 217 VTS_R4; 218 InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 219 newValue); 220 } 221 222 float Paragraph::GetLineSpacing() 223 { 224 float result; 225 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 226 return result; 227 } 228 229 void Paragraph::SetLineSpacing(float newValue) 230 { 231 static BYTE parms[] = 232 VTS_R4; 233 InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 234 newValue); 235 } 236 237 long Paragraph::GetLineSpacingRule() 238 { 239 long result; 240 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 241 return result; 242 } 243 244 void Paragraph::SetLineSpacingRule(long nNewValue) 245 { 246 static BYTE parms[] = 247 VTS_I4; 248 InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 249 nNewValue); 250 } 251 252 float Paragraph::GetSpaceBefore() 253 { 254 float result; 255 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 256 return result; 257 } 258 259 void Paragraph::SetSpaceBefore(float newValue) 260 { 261 static BYTE parms[] = 262 VTS_R4; 263 InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 264 newValue); 265 } 266 267 float Paragraph::GetSpaceAfter() 268 { 269 float result; 270 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 271 return result; 272 } 273 274 void Paragraph::SetSpaceAfter(float newValue) 275 { 276 static BYTE parms[] = 277 VTS_R4; 278 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 279 newValue); 280 } 281 282 long Paragraph::GetHyphenation() 283 { 284 long result; 285 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 286 return result; 287 } 288 289 void Paragraph::SetHyphenation(long nNewValue) 290 { 291 static BYTE parms[] = 292 VTS_I4; 293 InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 294 nNewValue); 295 } 296 297 long Paragraph::GetWidowControl() 298 { 299 long result; 300 InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 301 return result; 302 } 303 304 void Paragraph::SetWidowControl(long nNewValue) 305 { 306 static BYTE parms[] = 307 VTS_I4; 308 InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 309 nNewValue); 310 } 311 312 LPDISPATCH Paragraph::GetShading() 313 { 314 LPDISPATCH result; 315 InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 316 return result; 317 } 318 319 long Paragraph::GetFarEastLineBreakControl() 320 { 321 long result; 322 InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 323 return result; 324 } 325 326 void Paragraph::SetFarEastLineBreakControl(long nNewValue) 327 { 328 static BYTE parms[] = 329 VTS_I4; 330 InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 331 nNewValue); 332 } 333 334 long Paragraph::GetWordWrap() 335 { 336 long result; 337 InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 338 return result; 339 } 340 341 void Paragraph::SetWordWrap(long nNewValue) 342 { 343 static BYTE parms[] = 344 VTS_I4; 345 InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 346 nNewValue); 347 } 348 349 long Paragraph::GetHangingPunctuation() 350 { 351 long result; 352 InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 353 return result; 354 } 355 356 void Paragraph::SetHangingPunctuation(long nNewValue) 357 { 358 static BYTE parms[] = 359 VTS_I4; 360 InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 361 nNewValue); 362 } 363 364 long Paragraph::GetHalfWidthPunctuationOnTopOfLine() 365 { 366 long result; 367 InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 368 return result; 369 } 370 371 void Paragraph::SetHalfWidthPunctuationOnTopOfLine(long nNewValue) 372 { 373 static BYTE parms[] = 374 VTS_I4; 375 InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 376 nNewValue); 377 } 378 379 long Paragraph::GetAddSpaceBetweenFarEastAndAlpha() 380 { 381 long result; 382 InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 383 return result; 384 } 385 386 void Paragraph::SetAddSpaceBetweenFarEastAndAlpha(long nNewValue) 387 { 388 static BYTE parms[] = 389 VTS_I4; 390 InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 391 nNewValue); 392 } 393 394 long Paragraph::GetAddSpaceBetweenFarEastAndDigit() 395 { 396 long result; 397 InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 398 return result; 399 } 400 401 void Paragraph::SetAddSpaceBetweenFarEastAndDigit(long nNewValue) 402 { 403 static BYTE parms[] = 404 VTS_I4; 405 InvokeHelper(0x7a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 406 nNewValue); 407 } 408 409 long Paragraph::GetBaseLineAlignment() 410 { 411 long result; 412 InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 413 return result; 414 } 415 416 void Paragraph::SetBaseLineAlignment(long nNewValue) 417 { 418 static BYTE parms[] = 419 VTS_I4; 420 InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 421 nNewValue); 422 } 423 424 long Paragraph::GetAutoAdjustRightIndent() 425 { 426 long result; 427 InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 428 return result; 429 } 430 431 void Paragraph::SetAutoAdjustRightIndent(long nNewValue) 432 { 433 static BYTE parms[] = 434 VTS_I4; 435 InvokeHelper(0x7c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 436 nNewValue); 437 } 438 439 long Paragraph::GetDisableLineHeightGrid() 440 { 441 long result; 442 InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 443 return result; 444 } 445 446 void Paragraph::SetDisableLineHeightGrid(long nNewValue) 447 { 448 static BYTE parms[] = 449 VTS_I4; 450 InvokeHelper(0x7d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 451 nNewValue); 452 } 453 454 long Paragraph::GetOutlineLevel() 455 { 456 long result; 457 InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 458 return result; 459 } 460 461 void Paragraph::SetOutlineLevel(long nNewValue) 462 { 463 static BYTE parms[] = 464 VTS_I4; 465 InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 466 nNewValue); 467 } 468 469 void Paragraph::CloseUp() 470 { 471 InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 472 } 473 474 void Paragraph::OpenUp() 475 { 476 InvokeHelper(0x12e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 477 } 478 479 void Paragraph::OpenOrCloseUp() 480 { 481 InvokeHelper(0x12f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 482 } 483 484 void Paragraph::TabHangingIndent(short Count) 485 { 486 static BYTE parms[] = 487 VTS_I2; 488 InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 489 Count); 490 } 491 492 void Paragraph::TabIndent(short Count) 493 { 494 static BYTE parms[] = 495 VTS_I2; 496 InvokeHelper(0x132, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 497 Count); 498 } 499 500 void Paragraph::Reset() 501 { 502 InvokeHelper(0x138, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 503 } 504 505 void Paragraph::Space1() 506 { 507 InvokeHelper(0x139, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 508 } 509 510 void Paragraph::Space15() 511 { 512 InvokeHelper(0x13a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 513 } 514 515 void Paragraph::Space2() 516 { 517 InvokeHelper(0x13b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 518 } 519 520 void Paragraph::IndentCharWidth(short Count) 521 { 522 static BYTE parms[] = 523 VTS_I2; 524 InvokeHelper(0x140, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 525 Count); 526 } 527 528 void Paragraph::IndentFirstLineCharWidth(short Count) 529 { 530 static BYTE parms[] = 531 VTS_I2; 532 InvokeHelper(0x142, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 533 Count); 534 } 535 536 LPDISPATCH Paragraph::Next(VARIANT* Count) 537 { 538 LPDISPATCH result; 539 static BYTE parms[] = 540 VTS_PVARIANT; 541 InvokeHelper(0x144, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 542 Count); 543 return result; 544 } 545 546 LPDISPATCH Paragraph::Previous(VARIANT* Count) 547 { 548 LPDISPATCH result; 549 static BYTE parms[] = 550 VTS_PVARIANT; 551 InvokeHelper(0x145, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 552 Count); 553 return result; 554 } 555 556 void Paragraph::OutlinePromote() 557 { 558 InvokeHelper(0x146, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 559 } 560 561 void Paragraph::OutlineDemote() 562 { 563 InvokeHelper(0x147, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 564 } 565 566 void Paragraph::OutlineDemoteToBody() 567 { 568 InvokeHelper(0x148, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 569 } 570 571 void Paragraph::Indent() 572 { 573 InvokeHelper(0x14d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 574 } 575 576 void Paragraph::Outdent() 577 { 578 InvokeHelper(0x14e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 579 } 580 581 float Paragraph::GetCharacterUnitRightIndent() 582 { 583 float result; 584 InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 585 return result; 586 } 587 588 void Paragraph::SetCharacterUnitRightIndent(float newValue) 589 { 590 static BYTE parms[] = 591 VTS_R4; 592 InvokeHelper(0x7e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 593 newValue); 594 } 595 596 float Paragraph::GetCharacterUnitLeftIndent() 597 { 598 float result; 599 InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 600 return result; 601 } 602 603 void Paragraph::SetCharacterUnitLeftIndent(float newValue) 604 { 605 static BYTE parms[] = 606 VTS_R4; 607 InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 608 newValue); 609 } 610 611 float Paragraph::GetCharacterUnitFirstLineIndent() 612 { 613 float result; 614 InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 615 return result; 616 } 617 618 void Paragraph::SetCharacterUnitFirstLineIndent(float newValue) 619 { 620 static BYTE parms[] = 621 VTS_R4; 622 InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 623 newValue); 624 } 625 626 float Paragraph::GetLineUnitBefore() 627 { 628 float result; 629 InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 630 return result; 631 } 632 633 void Paragraph::SetLineUnitBefore(float newValue) 634 { 635 static BYTE parms[] = 636 VTS_R4; 637 InvokeHelper(0x81, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 638 newValue); 639 } 640 641 float Paragraph::GetLineUnitAfter() 642 { 643 float result; 644 InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 645 return result; 646 } 647 648 void Paragraph::SetLineUnitAfter(float newValue) 649 { 650 static BYTE parms[] = 651 VTS_R4; 652 InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 653 newValue); 654 } 655 656 long Paragraph::GetReadingOrder() 657 { 658 long result; 659 InvokeHelper(0xcb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 660 return result; 661 } 662 663 void Paragraph::SetReadingOrder(long nNewValue) 664 { 665 static BYTE parms[] = 666 VTS_I4; 667 InvokeHelper(0xcb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 668 nNewValue); 669 } 670 671 CString Paragraph::GetId() 672 { 673 CString result; 674 InvokeHelper(0xcc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 675 return result; 676 } 677 678 void Paragraph::SetId(LPCTSTR lpszNewValue) 679 { 680 static BYTE parms[] = 681 VTS_BSTR; 682 InvokeHelper(0xcc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 683 lpszNewValue); 684 } 685 686 long Paragraph::GetSpaceBeforeAuto() 687 { 688 long result; 689 InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 690 return result; 691 } 692 693 void Paragraph::SetSpaceBeforeAuto(long nNewValue) 694 { 695 static BYTE parms[] = 696 VTS_I4; 697 InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 698 nNewValue); 699 } 700 701 long Paragraph::GetSpaceAfterAuto() 702 { 703 long result; 704 InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 705 return result; 706 } 707 708 void Paragraph::SetSpaceAfterAuto(long nNewValue) 709 { 710 static BYTE parms[] = 711 VTS_I4; 712 InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 713 nNewValue); 714 } 715 716 BOOL Paragraph::GetIsStyleSeparator() 717 { 718 BOOL result; 719 InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 720 return result; 721 } 722 723 void Paragraph::SelectNumber() 724 { 725 InvokeHelper(0x14f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 726 } 727 728 729 ///////////////////////////////////////////////////////////////////////////// 730 // DropCap properties 731 732 ///////////////////////////////////////////////////////////////////////////// 733 // DropCap operations 734 735 LPDISPATCH DropCap::GetApplication() 736 { 737 LPDISPATCH result; 738 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 739 return result; 740 } 741 742 long DropCap::GetCreator() 743 { 744 long result; 745 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 746 return result; 747 } 748 749 LPDISPATCH DropCap::GetParent() 750 { 751 LPDISPATCH result; 752 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 753 return result; 754 } 755 756 long DropCap::GetPosition() 757 { 758 long result; 759 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 760 return result; 761 } 762 763 void DropCap::SetPosition(long nNewValue) 764 { 765 static BYTE parms[] = 766 VTS_I4; 767 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 768 nNewValue); 769 } 770 771 CString DropCap::GetFontName() 772 { 773 CString result; 774 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 775 return result; 776 } 777 778 void DropCap::SetFontName(LPCTSTR lpszNewValue) 779 { 780 static BYTE parms[] = 781 VTS_BSTR; 782 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 783 lpszNewValue); 784 } 785 786 long DropCap::GetLinesToDrop() 787 { 788 long result; 789 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 790 return result; 791 } 792 793 void DropCap::SetLinesToDrop(long nNewValue) 794 { 795 static BYTE parms[] = 796 VTS_I4; 797 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 798 nNewValue); 799 } 800 801 float DropCap::GetDistanceFromText() 802 { 803 float result; 804 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 805 return result; 806 } 807 808 void DropCap::SetDistanceFromText(float newValue) 809 { 810 static BYTE parms[] = 811 VTS_R4; 812 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 813 newValue); 814 } 815 816 void DropCap::Clear() 817 { 818 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 819 } 820 821 void DropCap::Enable() 822 { 823 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 824 } 825 826 827 ///////////////////////////////////////////////////////////////////////////// 828 // TabStops properties 829 830 ///////////////////////////////////////////////////////////////////////////// 831 // TabStops operations 832 833 LPUNKNOWN TabStops::Get_NewEnum() 834 { 835 LPUNKNOWN result; 836 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 837 return result; 838 } 839 840 long TabStops::GetCount() 841 { 842 long result; 843 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 844 return result; 845 } 846 847 LPDISPATCH TabStops::GetApplication() 848 { 849 LPDISPATCH result; 850 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 851 return result; 852 } 853 854 long TabStops::GetCreator() 855 { 856 long result; 857 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 858 return result; 859 } 860 861 LPDISPATCH TabStops::GetParent() 862 { 863 LPDISPATCH result; 864 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 865 return result; 866 } 867 868 LPDISPATCH TabStops::Item(VARIANT* Index) 869 { 870 LPDISPATCH result; 871 static BYTE parms[] = 872 VTS_PVARIANT; 873 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 874 Index); 875 return result; 876 } 877 878 LPDISPATCH TabStops::Add(float Position, VARIANT* Alignment, VARIANT* Leader) 879 { 880 LPDISPATCH result; 881 static BYTE parms[] = 882 VTS_R4 VTS_PVARIANT VTS_PVARIANT; 883 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 884 Position, Alignment, Leader); 885 return result; 886 } 887 888 void TabStops::ClearAll() 889 { 890 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 891 } 892 893 LPDISPATCH TabStops::Before(float Position) 894 { 895 LPDISPATCH result; 896 static BYTE parms[] = 897 VTS_R4; 898 InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 899 Position); 900 return result; 901 } 902 903 LPDISPATCH TabStops::After(float Position) 904 { 905 LPDISPATCH result; 906 static BYTE parms[] = 907 VTS_R4; 908 InvokeHelper(0x67, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 909 Position); 910 return result; 911 } 912 913 914 ///////////////////////////////////////////////////////////////////////////// 915 // TabStop properties 916 917 ///////////////////////////////////////////////////////////////////////////// 918 // TabStop operations 919 920 LPDISPATCH TabStop::GetApplication() 921 { 922 LPDISPATCH result; 923 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 924 return result; 925 } 926 927 long TabStop::GetCreator() 928 { 929 long result; 930 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 931 return result; 932 } 933 934 LPDISPATCH TabStop::GetParent() 935 { 936 LPDISPATCH result; 937 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 938 return result; 939 } 940 941 long TabStop::GetAlignment() 942 { 943 long result; 944 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 945 return result; 946 } 947 948 void TabStop::SetAlignment(long nNewValue) 949 { 950 static BYTE parms[] = 951 VTS_I4; 952 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 953 nNewValue); 954 } 955 956 long TabStop::GetLeader() 957 { 958 long result; 959 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 960 return result; 961 } 962 963 void TabStop::SetLeader(long nNewValue) 964 { 965 static BYTE parms[] = 966 VTS_I4; 967 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 968 nNewValue); 969 } 970 971 float TabStop::GetPosition() 972 { 973 float result; 974 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 975 return result; 976 } 977 978 void TabStop::SetPosition(float newValue) 979 { 980 static BYTE parms[] = 981 VTS_R4; 982 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 983 newValue); 984 } 985 986 BOOL TabStop::GetCustomTab() 987 { 988 BOOL result; 989 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 990 return result; 991 } 992 993 LPDISPATCH TabStop::GetNext() 994 { 995 LPDISPATCH result; 996 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 997 return result; 998 } 999 1000 LPDISPATCH TabStop::GetPrevious() 1001 { 1002 LPDISPATCH result; 1003 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1004 return result; 1005 } 1006 1007 void TabStop::Clear() 1008 { 1009 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1010 } 1011 1012 1013 ///////////////////////////////////////////////////////////////////////////// 1014 // _ParagraphFormat properties 1015 1016 ///////////////////////////////////////////////////////////////////////////// 1017 // _ParagraphFormat operations 1018 1019 LPDISPATCH _ParagraphFormat::GetApplication() 1020 { 1021 LPDISPATCH result; 1022 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1023 return result; 1024 } 1025 1026 long _ParagraphFormat::GetCreator() 1027 { 1028 long result; 1029 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1030 return result; 1031 } 1032 1033 LPDISPATCH _ParagraphFormat::GetParent() 1034 { 1035 LPDISPATCH result; 1036 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1037 return result; 1038 } 1039 1040 LPDISPATCH _ParagraphFormat::GetDuplicate() 1041 { 1042 LPDISPATCH result; 1043 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1044 return result; 1045 } 1046 1047 VARIANT _ParagraphFormat::GetStyle() 1048 { 1049 VARIANT result; 1050 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 1051 return result; 1052 } 1053 1054 void _ParagraphFormat::SetStyle(VARIANT* newValue) 1055 { 1056 static BYTE parms[] = 1057 VTS_PVARIANT; 1058 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1059 newValue); 1060 } 1061 1062 long _ParagraphFormat::GetAlignment() 1063 { 1064 long result; 1065 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1066 return result; 1067 } 1068 1069 void _ParagraphFormat::SetAlignment(long nNewValue) 1070 { 1071 static BYTE parms[] = 1072 VTS_I4; 1073 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1074 nNewValue); 1075 } 1076 1077 long _ParagraphFormat::GetKeepTogether() 1078 { 1079 long result; 1080 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1081 return result; 1082 } 1083 1084 void _ParagraphFormat::SetKeepTogether(long nNewValue) 1085 { 1086 static BYTE parms[] = 1087 VTS_I4; 1088 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1089 nNewValue); 1090 } 1091 1092 long _ParagraphFormat::GetKeepWithNext() 1093 { 1094 long result; 1095 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1096 return result; 1097 } 1098 1099 void _ParagraphFormat::SetKeepWithNext(long nNewValue) 1100 { 1101 static BYTE parms[] = 1102 VTS_I4; 1103 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1104 nNewValue); 1105 } 1106 1107 long _ParagraphFormat::GetPageBreakBefore() 1108 { 1109 long result; 1110 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1111 return result; 1112 } 1113 1114 void _ParagraphFormat::SetPageBreakBefore(long nNewValue) 1115 { 1116 static BYTE parms[] = 1117 VTS_I4; 1118 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1119 nNewValue); 1120 } 1121 1122 long _ParagraphFormat::GetNoLineNumber() 1123 { 1124 long result; 1125 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1126 return result; 1127 } 1128 1129 void _ParagraphFormat::SetNoLineNumber(long nNewValue) 1130 { 1131 static BYTE parms[] = 1132 VTS_I4; 1133 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1134 nNewValue); 1135 } 1136 1137 float _ParagraphFormat::GetRightIndent() 1138 { 1139 float result; 1140 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1141 return result; 1142 } 1143 1144 void _ParagraphFormat::SetRightIndent(float newValue) 1145 { 1146 static BYTE parms[] = 1147 VTS_R4; 1148 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1149 newValue); 1150 } 1151 1152 float _ParagraphFormat::GetLeftIndent() 1153 { 1154 float result; 1155 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1156 return result; 1157 } 1158 1159 void _ParagraphFormat::SetLeftIndent(float newValue) 1160 { 1161 static BYTE parms[] = 1162 VTS_R4; 1163 InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1164 newValue); 1165 } 1166 1167 float _ParagraphFormat::GetFirstLineIndent() 1168 { 1169 float result; 1170 InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1171 return result; 1172 } 1173 1174 void _ParagraphFormat::SetFirstLineIndent(float newValue) 1175 { 1176 static BYTE parms[] = 1177 VTS_R4; 1178 InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1179 newValue); 1180 } 1181 1182 float _ParagraphFormat::GetLineSpacing() 1183 { 1184 float result; 1185 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1186 return result; 1187 } 1188 1189 void _ParagraphFormat::SetLineSpacing(float newValue) 1190 { 1191 static BYTE parms[] = 1192 VTS_R4; 1193 InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1194 newValue); 1195 } 1196 1197 long _ParagraphFormat::GetLineSpacingRule() 1198 { 1199 long result; 1200 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1201 return result; 1202 } 1203 1204 void _ParagraphFormat::SetLineSpacingRule(long nNewValue) 1205 { 1206 static BYTE parms[] = 1207 VTS_I4; 1208 InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1209 nNewValue); 1210 } 1211 1212 float _ParagraphFormat::GetSpaceBefore() 1213 { 1214 float result; 1215 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1216 return result; 1217 } 1218 1219 void _ParagraphFormat::SetSpaceBefore(float newValue) 1220 { 1221 static BYTE parms[] = 1222 VTS_R4; 1223 InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1224 newValue); 1225 } 1226 1227 float _ParagraphFormat::GetSpaceAfter() 1228 { 1229 float result; 1230 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1231 return result; 1232 } 1233 1234 void _ParagraphFormat::SetSpaceAfter(float newValue) 1235 { 1236 static BYTE parms[] = 1237 VTS_R4; 1238 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1239 newValue); 1240 } 1241 1242 long _ParagraphFormat::GetHyphenation() 1243 { 1244 long result; 1245 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1246 return result; 1247 } 1248 1249 void _ParagraphFormat::SetHyphenation(long nNewValue) 1250 { 1251 static BYTE parms[] = 1252 VTS_I4; 1253 InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1254 nNewValue); 1255 } 1256 1257 long _ParagraphFormat::GetWidowControl() 1258 { 1259 long result; 1260 InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1261 return result; 1262 } 1263 1264 void _ParagraphFormat::SetWidowControl(long nNewValue) 1265 { 1266 static BYTE parms[] = 1267 VTS_I4; 1268 InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1269 nNewValue); 1270 } 1271 1272 long _ParagraphFormat::GetFarEastLineBreakControl() 1273 { 1274 long result; 1275 InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1276 return result; 1277 } 1278 1279 void _ParagraphFormat::SetFarEastLineBreakControl(long nNewValue) 1280 { 1281 static BYTE parms[] = 1282 VTS_I4; 1283 InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1284 nNewValue); 1285 } 1286 1287 long _ParagraphFormat::GetWordWrap() 1288 { 1289 long result; 1290 InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1291 return result; 1292 } 1293 1294 void _ParagraphFormat::SetWordWrap(long nNewValue) 1295 { 1296 static BYTE parms[] = 1297 VTS_I4; 1298 InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1299 nNewValue); 1300 } 1301 1302 long _ParagraphFormat::GetHangingPunctuation() 1303 { 1304 long result; 1305 InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1306 return result; 1307 } 1308 1309 void _ParagraphFormat::SetHangingPunctuation(long nNewValue) 1310 { 1311 static BYTE parms[] = 1312 VTS_I4; 1313 InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1314 nNewValue); 1315 } 1316 1317 long _ParagraphFormat::GetHalfWidthPunctuationOnTopOfLine() 1318 { 1319 long result; 1320 InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1321 return result; 1322 } 1323 1324 void _ParagraphFormat::SetHalfWidthPunctuationOnTopOfLine(long nNewValue) 1325 { 1326 static BYTE parms[] = 1327 VTS_I4; 1328 InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1329 nNewValue); 1330 } 1331 1332 long _ParagraphFormat::GetAddSpaceBetweenFarEastAndAlpha() 1333 { 1334 long result; 1335 InvokeHelper(0x79, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1336 return result; 1337 } 1338 1339 void _ParagraphFormat::SetAddSpaceBetweenFarEastAndAlpha(long nNewValue) 1340 { 1341 static BYTE parms[] = 1342 VTS_I4; 1343 InvokeHelper(0x79, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1344 nNewValue); 1345 } 1346 1347 long _ParagraphFormat::GetAddSpaceBetweenFarEastAndDigit() 1348 { 1349 long result; 1350 InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1351 return result; 1352 } 1353 1354 void _ParagraphFormat::SetAddSpaceBetweenFarEastAndDigit(long nNewValue) 1355 { 1356 static BYTE parms[] = 1357 VTS_I4; 1358 InvokeHelper(0x7a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1359 nNewValue); 1360 } 1361 1362 long _ParagraphFormat::GetBaseLineAlignment() 1363 { 1364 long result; 1365 InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1366 return result; 1367 } 1368 1369 void _ParagraphFormat::SetBaseLineAlignment(long nNewValue) 1370 { 1371 static BYTE parms[] = 1372 VTS_I4; 1373 InvokeHelper(0x7b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1374 nNewValue); 1375 } 1376 1377 long _ParagraphFormat::GetAutoAdjustRightIndent() 1378 { 1379 long result; 1380 InvokeHelper(0x7c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1381 return result; 1382 } 1383 1384 void _ParagraphFormat::SetAutoAdjustRightIndent(long nNewValue) 1385 { 1386 static BYTE parms[] = 1387 VTS_I4; 1388 InvokeHelper(0x7c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1389 nNewValue); 1390 } 1391 1392 long _ParagraphFormat::GetDisableLineHeightGrid() 1393 { 1394 long result; 1395 InvokeHelper(0x7d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1396 return result; 1397 } 1398 1399 void _ParagraphFormat::SetDisableLineHeightGrid(long nNewValue) 1400 { 1401 static BYTE parms[] = 1402 VTS_I4; 1403 InvokeHelper(0x7d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1404 nNewValue); 1405 } 1406 1407 LPDISPATCH _ParagraphFormat::GetTabStops() 1408 { 1409 LPDISPATCH result; 1410 InvokeHelper(0x44f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1411 return result; 1412 } 1413 1414 void _ParagraphFormat::SetTabStops(LPDISPATCH newValue) 1415 { 1416 static BYTE parms[] = 1417 VTS_DISPATCH; 1418 InvokeHelper(0x44f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1419 newValue); 1420 } 1421 1422 LPDISPATCH _ParagraphFormat::GetBorders() 1423 { 1424 LPDISPATCH result; 1425 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1426 return result; 1427 } 1428 1429 void _ParagraphFormat::SetBorders(LPDISPATCH newValue) 1430 { 1431 static BYTE parms[] = 1432 VTS_DISPATCH; 1433 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1434 newValue); 1435 } 1436 1437 LPDISPATCH _ParagraphFormat::GetShading() 1438 { 1439 LPDISPATCH result; 1440 InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1441 return result; 1442 } 1443 1444 long _ParagraphFormat::GetOutlineLevel() 1445 { 1446 long result; 1447 InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1448 return result; 1449 } 1450 1451 void _ParagraphFormat::SetOutlineLevel(long nNewValue) 1452 { 1453 static BYTE parms[] = 1454 VTS_I4; 1455 InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1456 nNewValue); 1457 } 1458 1459 void _ParagraphFormat::CloseUp() 1460 { 1461 InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1462 } 1463 1464 void _ParagraphFormat::OpenUp() 1465 { 1466 InvokeHelper(0x12e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1467 } 1468 1469 void _ParagraphFormat::OpenOrCloseUp() 1470 { 1471 InvokeHelper(0x12f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1472 } 1473 1474 void _ParagraphFormat::TabHangingIndent(short Count) 1475 { 1476 static BYTE parms[] = 1477 VTS_I2; 1478 InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1479 Count); 1480 } 1481 1482 void _ParagraphFormat::TabIndent(short Count) 1483 { 1484 static BYTE parms[] = 1485 VTS_I2; 1486 InvokeHelper(0x132, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1487 Count); 1488 } 1489 1490 void _ParagraphFormat::Reset() 1491 { 1492 InvokeHelper(0x138, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1493 } 1494 1495 void _ParagraphFormat::Space1() 1496 { 1497 InvokeHelper(0x139, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1498 } 1499 1500 void _ParagraphFormat::Space15() 1501 { 1502 InvokeHelper(0x13a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1503 } 1504 1505 void _ParagraphFormat::Space2() 1506 { 1507 InvokeHelper(0x13b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1508 } 1509 1510 void _ParagraphFormat::IndentCharWidth(short Count) 1511 { 1512 static BYTE parms[] = 1513 VTS_I2; 1514 InvokeHelper(0x140, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1515 Count); 1516 } 1517 1518 void _ParagraphFormat::IndentFirstLineCharWidth(short Count) 1519 { 1520 static BYTE parms[] = 1521 VTS_I2; 1522 InvokeHelper(0x142, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1523 Count); 1524 } 1525 1526 float _ParagraphFormat::GetCharacterUnitRightIndent() 1527 { 1528 float result; 1529 InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1530 return result; 1531 } 1532 1533 void _ParagraphFormat::SetCharacterUnitRightIndent(float newValue) 1534 { 1535 static BYTE parms[] = 1536 VTS_R4; 1537 InvokeHelper(0x7e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1538 newValue); 1539 } 1540 1541 float _ParagraphFormat::GetCharacterUnitLeftIndent() 1542 { 1543 float result; 1544 InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1545 return result; 1546 } 1547 1548 void _ParagraphFormat::SetCharacterUnitLeftIndent(float newValue) 1549 { 1550 static BYTE parms[] = 1551 VTS_R4; 1552 InvokeHelper(0x7f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1553 newValue); 1554 } 1555 1556 float _ParagraphFormat::GetCharacterUnitFirstLineIndent() 1557 { 1558 float result; 1559 InvokeHelper(0x80, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1560 return result; 1561 } 1562 1563 void _ParagraphFormat::SetCharacterUnitFirstLineIndent(float newValue) 1564 { 1565 static BYTE parms[] = 1566 VTS_R4; 1567 InvokeHelper(0x80, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1568 newValue); 1569 } 1570 1571 float _ParagraphFormat::GetLineUnitBefore() 1572 { 1573 float result; 1574 InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1575 return result; 1576 } 1577 1578 void _ParagraphFormat::SetLineUnitBefore(float newValue) 1579 { 1580 static BYTE parms[] = 1581 VTS_R4; 1582 InvokeHelper(0x81, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1583 newValue); 1584 } 1585 1586 float _ParagraphFormat::GetLineUnitAfter() 1587 { 1588 float result; 1589 InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1590 return result; 1591 } 1592 1593 void _ParagraphFormat::SetLineUnitAfter(float newValue) 1594 { 1595 static BYTE parms[] = 1596 VTS_R4; 1597 InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1598 newValue); 1599 } 1600 1601 long _ParagraphFormat::GetReadingOrder() 1602 { 1603 long result; 1604 InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1605 return result; 1606 } 1607 1608 void _ParagraphFormat::SetReadingOrder(long nNewValue) 1609 { 1610 static BYTE parms[] = 1611 VTS_I4; 1612 InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1613 nNewValue); 1614 } 1615 1616 long _ParagraphFormat::GetSpaceBeforeAuto() 1617 { 1618 long result; 1619 InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1620 return result; 1621 } 1622 1623 void _ParagraphFormat::SetSpaceBeforeAuto(long nNewValue) 1624 { 1625 static BYTE parms[] = 1626 VTS_I4; 1627 InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1628 nNewValue); 1629 } 1630 1631 long _ParagraphFormat::GetSpaceAfterAuto() 1632 { 1633 long result; 1634 InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1635 return result; 1636 } 1637 1638 void _ParagraphFormat::SetSpaceAfterAuto(long nNewValue) 1639 { 1640 static BYTE parms[] = 1641 VTS_I4; 1642 InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1643 nNewValue); 1644 } 1645 1646 1647 ///////////////////////////////////////////////////////////////////////////// 1648 // _Font properties 1649 1650 ///////////////////////////////////////////////////////////////////////////// 1651 // _Font operations 1652 1653 LPDISPATCH _Font::GetApplication() 1654 { 1655 LPDISPATCH result; 1656 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1657 return result; 1658 } 1659 1660 long _Font::GetCreator() 1661 { 1662 long result; 1663 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1664 return result; 1665 } 1666 1667 LPDISPATCH _Font::GetParent() 1668 { 1669 LPDISPATCH result; 1670 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1671 return result; 1672 } 1673 1674 LPDISPATCH _Font::GetDuplicate() 1675 { 1676 LPDISPATCH result; 1677 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1678 return result; 1679 } 1680 1681 long _Font::GetBold() 1682 { 1683 long result; 1684 InvokeHelper(0x82, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1685 return result; 1686 } 1687 1688 void _Font::SetBold(long nNewValue) 1689 { 1690 static BYTE parms[] = 1691 VTS_I4; 1692 InvokeHelper(0x82, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1693 nNewValue); 1694 } 1695 1696 long _Font::GetItalic() 1697 { 1698 long result; 1699 InvokeHelper(0x83, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1700 return result; 1701 } 1702 1703 void _Font::SetItalic(long nNewValue) 1704 { 1705 static BYTE parms[] = 1706 VTS_I4; 1707 InvokeHelper(0x83, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1708 nNewValue); 1709 } 1710 1711 long _Font::GetHidden() 1712 { 1713 long result; 1714 InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1715 return result; 1716 } 1717 1718 void _Font::SetHidden(long nNewValue) 1719 { 1720 static BYTE parms[] = 1721 VTS_I4; 1722 InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1723 nNewValue); 1724 } 1725 1726 long _Font::GetSmallCaps() 1727 { 1728 long result; 1729 InvokeHelper(0x85, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1730 return result; 1731 } 1732 1733 void _Font::SetSmallCaps(long nNewValue) 1734 { 1735 static BYTE parms[] = 1736 VTS_I4; 1737 InvokeHelper(0x85, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1738 nNewValue); 1739 } 1740 1741 long _Font::GetAllCaps() 1742 { 1743 long result; 1744 InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1745 return result; 1746 } 1747 1748 void _Font::SetAllCaps(long nNewValue) 1749 { 1750 static BYTE parms[] = 1751 VTS_I4; 1752 InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1753 nNewValue); 1754 } 1755 1756 long _Font::GetStrikeThrough() 1757 { 1758 long result; 1759 InvokeHelper(0x87, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1760 return result; 1761 } 1762 1763 void _Font::SetStrikeThrough(long nNewValue) 1764 { 1765 static BYTE parms[] = 1766 VTS_I4; 1767 InvokeHelper(0x87, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1768 nNewValue); 1769 } 1770 1771 long _Font::GetDoubleStrikeThrough() 1772 { 1773 long result; 1774 InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1775 return result; 1776 } 1777 1778 void _Font::SetDoubleStrikeThrough(long nNewValue) 1779 { 1780 static BYTE parms[] = 1781 VTS_I4; 1782 InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1783 nNewValue); 1784 } 1785 1786 long _Font::GetColorIndex() 1787 { 1788 long result; 1789 InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1790 return result; 1791 } 1792 1793 void _Font::SetColorIndex(long nNewValue) 1794 { 1795 static BYTE parms[] = 1796 VTS_I4; 1797 InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1798 nNewValue); 1799 } 1800 1801 long _Font::GetSubscript() 1802 { 1803 long result; 1804 InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1805 return result; 1806 } 1807 1808 void _Font::SetSubscript(long nNewValue) 1809 { 1810 static BYTE parms[] = 1811 VTS_I4; 1812 InvokeHelper(0x8a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1813 nNewValue); 1814 } 1815 1816 long _Font::GetSuperscript() 1817 { 1818 long result; 1819 InvokeHelper(0x8b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1820 return result; 1821 } 1822 1823 void _Font::SetSuperscript(long nNewValue) 1824 { 1825 static BYTE parms[] = 1826 VTS_I4; 1827 InvokeHelper(0x8b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1828 nNewValue); 1829 } 1830 1831 long _Font::GetUnderline() 1832 { 1833 long result; 1834 InvokeHelper(0x8c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1835 return result; 1836 } 1837 1838 void _Font::SetUnderline(long nNewValue) 1839 { 1840 static BYTE parms[] = 1841 VTS_I4; 1842 InvokeHelper(0x8c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1843 nNewValue); 1844 } 1845 1846 float _Font::GetSize() 1847 { 1848 float result; 1849 InvokeHelper(0x8d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1850 return result; 1851 } 1852 1853 void _Font::SetSize(float newValue) 1854 { 1855 static BYTE parms[] = 1856 VTS_R4; 1857 InvokeHelper(0x8d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1858 newValue); 1859 } 1860 1861 CString _Font::GetName() 1862 { 1863 CString result; 1864 InvokeHelper(0x8e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1865 return result; 1866 } 1867 1868 void _Font::SetName(LPCTSTR lpszNewValue) 1869 { 1870 static BYTE parms[] = 1871 VTS_BSTR; 1872 InvokeHelper(0x8e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1873 lpszNewValue); 1874 } 1875 1876 long _Font::GetPosition() 1877 { 1878 long result; 1879 InvokeHelper(0x8f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1880 return result; 1881 } 1882 1883 void _Font::SetPosition(long nNewValue) 1884 { 1885 static BYTE parms[] = 1886 VTS_I4; 1887 InvokeHelper(0x8f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1888 nNewValue); 1889 } 1890 1891 float _Font::GetSpacing() 1892 { 1893 float result; 1894 InvokeHelper(0x90, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1895 return result; 1896 } 1897 1898 void _Font::SetSpacing(float newValue) 1899 { 1900 static BYTE parms[] = 1901 VTS_R4; 1902 InvokeHelper(0x90, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1903 newValue); 1904 } 1905 1906 long _Font::GetScaling() 1907 { 1908 long result; 1909 InvokeHelper(0x91, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1910 return result; 1911 } 1912 1913 void _Font::SetScaling(long nNewValue) 1914 { 1915 static BYTE parms[] = 1916 VTS_I4; 1917 InvokeHelper(0x91, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1918 nNewValue); 1919 } 1920 1921 long _Font::GetShadow() 1922 { 1923 long result; 1924 InvokeHelper(0x92, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1925 return result; 1926 } 1927 1928 void _Font::SetShadow(long nNewValue) 1929 { 1930 static BYTE parms[] = 1931 VTS_I4; 1932 InvokeHelper(0x92, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1933 nNewValue); 1934 } 1935 1936 long _Font::GetOutline() 1937 { 1938 long result; 1939 InvokeHelper(0x93, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1940 return result; 1941 } 1942 1943 void _Font::SetOutline(long nNewValue) 1944 { 1945 static BYTE parms[] = 1946 VTS_I4; 1947 InvokeHelper(0x93, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1948 nNewValue); 1949 } 1950 1951 long _Font::GetEmboss() 1952 { 1953 long result; 1954 InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1955 return result; 1956 } 1957 1958 void _Font::SetEmboss(long nNewValue) 1959 { 1960 static BYTE parms[] = 1961 VTS_I4; 1962 InvokeHelper(0x94, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1963 nNewValue); 1964 } 1965 1966 float _Font::GetKerning() 1967 { 1968 float result; 1969 InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1970 return result; 1971 } 1972 1973 void _Font::SetKerning(float newValue) 1974 { 1975 static BYTE parms[] = 1976 VTS_R4; 1977 InvokeHelper(0x95, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1978 newValue); 1979 } 1980 1981 long _Font::GetEngrave() 1982 { 1983 long result; 1984 InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1985 return result; 1986 } 1987 1988 void _Font::SetEngrave(long nNewValue) 1989 { 1990 static BYTE parms[] = 1991 VTS_I4; 1992 InvokeHelper(0x96, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1993 nNewValue); 1994 } 1995 1996 long _Font::GetAnimation() 1997 { 1998 long result; 1999 InvokeHelper(0x97, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2000 return result; 2001 } 2002 2003 void _Font::SetAnimation(long nNewValue) 2004 { 2005 static BYTE parms[] = 2006 VTS_I4; 2007 InvokeHelper(0x97, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2008 nNewValue); 2009 } 2010 2011 LPDISPATCH _Font::GetBorders() 2012 { 2013 LPDISPATCH result; 2014 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2015 return result; 2016 } 2017 2018 void _Font::SetBorders(LPDISPATCH newValue) 2019 { 2020 static BYTE parms[] = 2021 VTS_DISPATCH; 2022 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2023 newValue); 2024 } 2025 2026 LPDISPATCH _Font::GetShading() 2027 { 2028 LPDISPATCH result; 2029 InvokeHelper(0x99, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2030 return result; 2031 } 2032 2033 long _Font::GetEmphasisMark() 2034 { 2035 long result; 2036 InvokeHelper(0x9a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2037 return result; 2038 } 2039 2040 void _Font::SetEmphasisMark(long nNewValue) 2041 { 2042 static BYTE parms[] = 2043 VTS_I4; 2044 InvokeHelper(0x9a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2045 nNewValue); 2046 } 2047 2048 BOOL _Font::GetDisableCharacterSpaceGrid() 2049 { 2050 BOOL result; 2051 InvokeHelper(0x9b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2052 return result; 2053 } 2054 2055 void _Font::SetDisableCharacterSpaceGrid(BOOL bNewValue) 2056 { 2057 static BYTE parms[] = 2058 VTS_BOOL; 2059 InvokeHelper(0x9b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2060 bNewValue); 2061 } 2062 2063 CString _Font::GetNameFarEast() 2064 { 2065 CString result; 2066 InvokeHelper(0x9c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2067 return result; 2068 } 2069 2070 void _Font::SetNameFarEast(LPCTSTR lpszNewValue) 2071 { 2072 static BYTE parms[] = 2073 VTS_BSTR; 2074 InvokeHelper(0x9c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2075 lpszNewValue); 2076 } 2077 2078 CString _Font::GetNameAscii() 2079 { 2080 CString result; 2081 InvokeHelper(0x9d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2082 return result; 2083 } 2084 2085 void _Font::SetNameAscii(LPCTSTR lpszNewValue) 2086 { 2087 static BYTE parms[] = 2088 VTS_BSTR; 2089 InvokeHelper(0x9d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2090 lpszNewValue); 2091 } 2092 2093 CString _Font::GetNameOther() 2094 { 2095 CString result; 2096 InvokeHelper(0x9e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2097 return result; 2098 } 2099 2100 void _Font::SetNameOther(LPCTSTR lpszNewValue) 2101 { 2102 static BYTE parms[] = 2103 VTS_BSTR; 2104 InvokeHelper(0x9e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2105 lpszNewValue); 2106 } 2107 2108 void _Font::Grow() 2109 { 2110 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2111 } 2112 2113 void _Font::Shrink() 2114 { 2115 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2116 } 2117 2118 void _Font::Reset() 2119 { 2120 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2121 } 2122 2123 void _Font::SetAsTemplateDefault() 2124 { 2125 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2126 } 2127 2128 long _Font::GetColor() 2129 { 2130 long result; 2131 InvokeHelper(0x9f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2132 return result; 2133 } 2134 2135 void _Font::SetColor(long nNewValue) 2136 { 2137 static BYTE parms[] = 2138 VTS_I4; 2139 InvokeHelper(0x9f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2140 nNewValue); 2141 } 2142 2143 long _Font::GetBoldBi() 2144 { 2145 long result; 2146 InvokeHelper(0xa0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2147 return result; 2148 } 2149 2150 void _Font::SetBoldBi(long nNewValue) 2151 { 2152 static BYTE parms[] = 2153 VTS_I4; 2154 InvokeHelper(0xa0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2155 nNewValue); 2156 } 2157 2158 long _Font::GetItalicBi() 2159 { 2160 long result; 2161 InvokeHelper(0xa1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2162 return result; 2163 } 2164 2165 void _Font::SetItalicBi(long nNewValue) 2166 { 2167 static BYTE parms[] = 2168 VTS_I4; 2169 InvokeHelper(0xa1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2170 nNewValue); 2171 } 2172 2173 float _Font::GetSizeBi() 2174 { 2175 float result; 2176 InvokeHelper(0xa2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2177 return result; 2178 } 2179 2180 void _Font::SetSizeBi(float newValue) 2181 { 2182 static BYTE parms[] = 2183 VTS_R4; 2184 InvokeHelper(0xa2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2185 newValue); 2186 } 2187 2188 CString _Font::GetNameBi() 2189 { 2190 CString result; 2191 InvokeHelper(0xa3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2192 return result; 2193 } 2194 2195 void _Font::SetNameBi(LPCTSTR lpszNewValue) 2196 { 2197 static BYTE parms[] = 2198 VTS_BSTR; 2199 InvokeHelper(0xa3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2200 lpszNewValue); 2201 } 2202 2203 long _Font::GetColorIndexBi() 2204 { 2205 long result; 2206 InvokeHelper(0xa4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2207 return result; 2208 } 2209 2210 void _Font::SetColorIndexBi(long nNewValue) 2211 { 2212 static BYTE parms[] = 2213 VTS_I4; 2214 InvokeHelper(0xa4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2215 nNewValue); 2216 } 2217 2218 long _Font::GetDiacriticColor() 2219 { 2220 long result; 2221 InvokeHelper(0xa5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2222 return result; 2223 } 2224 2225 void _Font::SetDiacriticColor(long nNewValue) 2226 { 2227 static BYTE parms[] = 2228 VTS_I4; 2229 InvokeHelper(0xa5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2230 nNewValue); 2231 } 2232 2233 long _Font::GetUnderlineColor() 2234 { 2235 long result; 2236 InvokeHelper(0xa6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2237 return result; 2238 } 2239 2240 void _Font::SetUnderlineColor(long nNewValue) 2241 { 2242 static BYTE parms[] = 2243 VTS_I4; 2244 InvokeHelper(0xa6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2245 nNewValue); 2246 } 2247 2248 2249 ///////////////////////////////////////////////////////////////////////////// 2250 // Table properties 2251 2252 ///////////////////////////////////////////////////////////////////////////// 2253 // Table operations 2254 2255 LPDISPATCH Table::GetRange() 2256 { 2257 LPDISPATCH result; 2258 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2259 return result; 2260 } 2261 2262 LPDISPATCH Table::GetApplication() 2263 { 2264 LPDISPATCH result; 2265 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2266 return result; 2267 } 2268 2269 long Table::GetCreator() 2270 { 2271 long result; 2272 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2273 return result; 2274 } 2275 2276 LPDISPATCH Table::GetParent() 2277 { 2278 LPDISPATCH result; 2279 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2280 return result; 2281 } 2282 2283 LPDISPATCH Table::GetColumns() 2284 { 2285 LPDISPATCH result; 2286 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2287 return result; 2288 } 2289 2290 LPDISPATCH Table::GetRows() 2291 { 2292 LPDISPATCH result; 2293 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2294 return result; 2295 } 2296 2297 LPDISPATCH Table::GetBorders() 2298 { 2299 LPDISPATCH result; 2300 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2301 return result; 2302 } 2303 2304 void Table::SetBorders(LPDISPATCH newValue) 2305 { 2306 static BYTE parms[] = 2307 VTS_DISPATCH; 2308 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2309 newValue); 2310 } 2311 2312 LPDISPATCH Table::GetShading() 2313 { 2314 LPDISPATCH result; 2315 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2316 return result; 2317 } 2318 2319 BOOL Table::GetUniform() 2320 { 2321 BOOL result; 2322 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2323 return result; 2324 } 2325 2326 long Table::GetAutoFormatType() 2327 { 2328 long result; 2329 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2330 return result; 2331 } 2332 2333 void Table::Select() 2334 { 2335 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2336 } 2337 2338 void Table::Delete() 2339 { 2340 InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2341 } 2342 2343 void Table::SortAscending() 2344 { 2345 InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2346 } 2347 2348 void Table::SortDescending() 2349 { 2350 InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2351 } 2352 2353 void Table::AutoFormat(VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor, VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit) 2354 { 2355 static BYTE parms[] = 2356 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 2357 InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2358 Format, ApplyBorders, ApplyShading, ApplyFont, ApplyColor, ApplyHeadingRows, ApplyLastRow, ApplyFirstColumn, ApplyLastColumn, AutoFit); 2359 } 2360 2361 void Table::UpdateAutoFormat() 2362 { 2363 InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2364 } 2365 2366 LPDISPATCH Table::Cell(long Row, long Column) 2367 { 2368 LPDISPATCH result; 2369 static BYTE parms[] = 2370 VTS_I4 VTS_I4; 2371 InvokeHelper(0x11, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2372 Row, Column); 2373 return result; 2374 } 2375 2376 LPDISPATCH Table::Split(VARIANT* BeforeRow) 2377 { 2378 LPDISPATCH result; 2379 static BYTE parms[] = 2380 VTS_PVARIANT; 2381 InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2382 BeforeRow); 2383 return result; 2384 } 2385 2386 LPDISPATCH Table::ConvertToText(VARIANT* Separator, VARIANT* NestedTables) 2387 { 2388 LPDISPATCH result; 2389 static BYTE parms[] = 2390 VTS_PVARIANT VTS_PVARIANT; 2391 InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2392 Separator, NestedTables); 2393 return result; 2394 } 2395 2396 void Table::AutoFitBehavior(long Behavior) 2397 { 2398 static BYTE parms[] = 2399 VTS_I4; 2400 InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2401 Behavior); 2402 } 2403 2404 void Table::Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3, 2405 VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID) 2406 { 2407 static BYTE parms[] = 2408 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; 2409 InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2410 ExcludeHeader, FieldNumber, SortFieldType, SortOrder, FieldNumber2, SortFieldType2, SortOrder2, FieldNumber3, SortFieldType3, SortOrder3, CaseSensitive, BidiSort, IgnoreThe, IgnoreKashida, IgnoreDiacritics, IgnoreHe, LanguageID); 2411 } 2412 2413 LPDISPATCH Table::GetTables() 2414 { 2415 LPDISPATCH result; 2416 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2417 return result; 2418 } 2419 2420 long Table::GetNestingLevel() 2421 { 2422 long result; 2423 InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2424 return result; 2425 } 2426 2427 BOOL Table::GetAllowPageBreaks() 2428 { 2429 BOOL result; 2430 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2431 return result; 2432 } 2433 2434 void Table::SetAllowPageBreaks(BOOL bNewValue) 2435 { 2436 static BYTE parms[] = 2437 VTS_BOOL; 2438 InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2439 bNewValue); 2440 } 2441 2442 BOOL Table::GetAllowAutoFit() 2443 { 2444 BOOL result; 2445 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2446 return result; 2447 } 2448 2449 void Table::SetAllowAutoFit(BOOL bNewValue) 2450 { 2451 static BYTE parms[] = 2452 VTS_BOOL; 2453 InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2454 bNewValue); 2455 } 2456 2457 float Table::GetPreferredWidth() 2458 { 2459 float result; 2460 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2461 return result; 2462 } 2463 2464 void Table::SetPreferredWidth(float newValue) 2465 { 2466 static BYTE parms[] = 2467 VTS_R4; 2468 InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2469 newValue); 2470 } 2471 2472 long Table::GetPreferredWidthType() 2473 { 2474 long result; 2475 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2476 return result; 2477 } 2478 2479 void Table::SetPreferredWidthType(long nNewValue) 2480 { 2481 static BYTE parms[] = 2482 VTS_I4; 2483 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2484 nNewValue); 2485 } 2486 2487 float Table::GetTopPadding() 2488 { 2489 float result; 2490 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2491 return result; 2492 } 2493 2494 void Table::SetTopPadding(float newValue) 2495 { 2496 static BYTE parms[] = 2497 VTS_R4; 2498 InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2499 newValue); 2500 } 2501 2502 float Table::GetBottomPadding() 2503 { 2504 float result; 2505 InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2506 return result; 2507 } 2508 2509 void Table::SetBottomPadding(float newValue) 2510 { 2511 static BYTE parms[] = 2512 VTS_R4; 2513 InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2514 newValue); 2515 } 2516 2517 float Table::GetLeftPadding() 2518 { 2519 float result; 2520 InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2521 return result; 2522 } 2523 2524 void Table::SetLeftPadding(float newValue) 2525 { 2526 static BYTE parms[] = 2527 VTS_R4; 2528 InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2529 newValue); 2530 } 2531 2532 float Table::GetRightPadding() 2533 { 2534 float result; 2535 InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2536 return result; 2537 } 2538 2539 void Table::SetRightPadding(float newValue) 2540 { 2541 static BYTE parms[] = 2542 VTS_R4; 2543 InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2544 newValue); 2545 } 2546 2547 float Table::GetSpacing() 2548 { 2549 float result; 2550 InvokeHelper(0x75, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2551 return result; 2552 } 2553 2554 void Table::SetSpacing(float newValue) 2555 { 2556 static BYTE parms[] = 2557 VTS_R4; 2558 InvokeHelper(0x75, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2559 newValue); 2560 } 2561 2562 long Table::GetTableDirection() 2563 { 2564 long result; 2565 InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2566 return result; 2567 } 2568 2569 void Table::SetTableDirection(long nNewValue) 2570 { 2571 static BYTE parms[] = 2572 VTS_I4; 2573 InvokeHelper(0x76, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2574 nNewValue); 2575 } 2576 2577 CString Table::GetId() 2578 { 2579 CString result; 2580 InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2581 return result; 2582 } 2583 2584 void Table::SetId(LPCTSTR lpszNewValue) 2585 { 2586 static BYTE parms[] = 2587 VTS_BSTR; 2588 InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2589 lpszNewValue); 2590 } 2591 2592 VARIANT Table::GetStyle() 2593 { 2594 VARIANT result; 2595 InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 2596 return result; 2597 } 2598 2599 void Table::SetStyle(VARIANT* newValue) 2600 { 2601 static BYTE parms[] = 2602 VTS_PVARIANT; 2603 InvokeHelper(0xc9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2604 newValue); 2605 } 2606 2607 BOOL Table::GetApplyStyleHeadingRows() 2608 { 2609 BOOL result; 2610 InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2611 return result; 2612 } 2613 2614 void Table::SetApplyStyleHeadingRows(BOOL bNewValue) 2615 { 2616 static BYTE parms[] = 2617 VTS_BOOL; 2618 InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2619 bNewValue); 2620 } 2621 2622 BOOL Table::GetApplyStyleLastRow() 2623 { 2624 BOOL result; 2625 InvokeHelper(0xcb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2626 return result; 2627 } 2628 2629 void Table::SetApplyStyleLastRow(BOOL bNewValue) 2630 { 2631 static BYTE parms[] = 2632 VTS_BOOL; 2633 InvokeHelper(0xcb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2634 bNewValue); 2635 } 2636 2637 BOOL Table::GetApplyStyleFirstColumn() 2638 { 2639 BOOL result; 2640 InvokeHelper(0xcc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2641 return result; 2642 } 2643 2644 void Table::SetApplyStyleFirstColumn(BOOL bNewValue) 2645 { 2646 static BYTE parms[] = 2647 VTS_BOOL; 2648 InvokeHelper(0xcc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2649 bNewValue); 2650 } 2651 2652 BOOL Table::GetApplyStyleLastColumn() 2653 { 2654 BOOL result; 2655 InvokeHelper(0xcd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2656 return result; 2657 } 2658 2659 void Table::SetApplyStyleLastColumn(BOOL bNewValue) 2660 { 2661 static BYTE parms[] = 2662 VTS_BOOL; 2663 InvokeHelper(0xcd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2664 bNewValue); 2665 } 2666 2667 2668 ///////////////////////////////////////////////////////////////////////////// 2669 // Row properties 2670 2671 ///////////////////////////////////////////////////////////////////////////// 2672 // Row operations 2673 2674 LPDISPATCH Row::GetRange() 2675 { 2676 LPDISPATCH result; 2677 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2678 return result; 2679 } 2680 2681 LPDISPATCH Row::GetApplication() 2682 { 2683 LPDISPATCH result; 2684 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2685 return result; 2686 } 2687 2688 long Row::GetCreator() 2689 { 2690 long result; 2691 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2692 return result; 2693 } 2694 2695 LPDISPATCH Row::GetParent() 2696 { 2697 LPDISPATCH result; 2698 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2699 return result; 2700 } 2701 2702 long Row::GetAllowBreakAcrossPages() 2703 { 2704 long result; 2705 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2706 return result; 2707 } 2708 2709 void Row::SetAllowBreakAcrossPages(long nNewValue) 2710 { 2711 static BYTE parms[] = 2712 VTS_I4; 2713 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2714 nNewValue); 2715 } 2716 2717 long Row::GetAlignment() 2718 { 2719 long result; 2720 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2721 return result; 2722 } 2723 2724 void Row::SetAlignment(long nNewValue) 2725 { 2726 static BYTE parms[] = 2727 VTS_I4; 2728 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2729 nNewValue); 2730 } 2731 2732 long Row::GetHeadingFormat() 2733 { 2734 long result; 2735 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2736 return result; 2737 } 2738 2739 void Row::SetHeadingFormat(long nNewValue) 2740 { 2741 static BYTE parms[] = 2742 VTS_I4; 2743 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2744 nNewValue); 2745 } 2746 2747 float Row::GetSpaceBetweenColumns() 2748 { 2749 float result; 2750 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2751 return result; 2752 } 2753 2754 void Row::SetSpaceBetweenColumns(float newValue) 2755 { 2756 static BYTE parms[] = 2757 VTS_R4; 2758 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2759 newValue); 2760 } 2761 2762 float Row::GetHeight() 2763 { 2764 float result; 2765 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2766 return result; 2767 } 2768 2769 void Row::SetHeight(float newValue) 2770 { 2771 static BYTE parms[] = 2772 VTS_R4; 2773 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2774 newValue); 2775 } 2776 2777 long Row::GetHeightRule() 2778 { 2779 long result; 2780 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2781 return result; 2782 } 2783 2784 void Row::SetHeightRule(long nNewValue) 2785 { 2786 static BYTE parms[] = 2787 VTS_I4; 2788 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2789 nNewValue); 2790 } 2791 2792 float Row::GetLeftIndent() 2793 { 2794 float result; 2795 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2796 return result; 2797 } 2798 2799 void Row::SetLeftIndent(float newValue) 2800 { 2801 static BYTE parms[] = 2802 VTS_R4; 2803 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2804 newValue); 2805 } 2806 2807 BOOL Row::GetIsLast() 2808 { 2809 BOOL result; 2810 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2811 return result; 2812 } 2813 2814 BOOL Row::GetIsFirst() 2815 { 2816 BOOL result; 2817 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2818 return result; 2819 } 2820 2821 long Row::GetIndex() 2822 { 2823 long result; 2824 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2825 return result; 2826 } 2827 2828 LPDISPATCH Row::GetCells() 2829 { 2830 LPDISPATCH result; 2831 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2832 return result; 2833 } 2834 2835 LPDISPATCH Row::GetBorders() 2836 { 2837 LPDISPATCH result; 2838 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2839 return result; 2840 } 2841 2842 void Row::SetBorders(LPDISPATCH newValue) 2843 { 2844 static BYTE parms[] = 2845 VTS_DISPATCH; 2846 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2847 newValue); 2848 } 2849 2850 LPDISPATCH Row::GetShading() 2851 { 2852 LPDISPATCH result; 2853 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2854 return result; 2855 } 2856 2857 LPDISPATCH Row::GetNext() 2858 { 2859 LPDISPATCH result; 2860 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2861 return result; 2862 } 2863 2864 LPDISPATCH Row::GetPrevious() 2865 { 2866 LPDISPATCH result; 2867 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2868 return result; 2869 } 2870 2871 void Row::Select() 2872 { 2873 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2874 } 2875 2876 void Row::Delete() 2877 { 2878 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2879 } 2880 2881 void Row::SetLeftIndent(float LeftIndent, long RulerStyle) 2882 { 2883 static BYTE parms[] = 2884 VTS_R4 VTS_I4; 2885 InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2886 LeftIndent, RulerStyle); 2887 } 2888 2889 void Row::SetHeight(float RowHeight, long HeightRule) 2890 { 2891 static BYTE parms[] = 2892 VTS_R4 VTS_I4; 2893 InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2894 RowHeight, HeightRule); 2895 } 2896 2897 LPDISPATCH Row::ConvertToText(VARIANT* Separator, VARIANT* NestedTables) 2898 { 2899 LPDISPATCH result; 2900 static BYTE parms[] = 2901 VTS_PVARIANT VTS_PVARIANT; 2902 InvokeHelper(0x12, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2903 Separator, NestedTables); 2904 return result; 2905 } 2906 2907 long Row::GetNestingLevel() 2908 { 2909 long result; 2910 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2911 return result; 2912 } 2913 2914 CString Row::GetId() 2915 { 2916 CString result; 2917 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2918 return result; 2919 } 2920 2921 void Row::SetId(LPCTSTR lpszNewValue) 2922 { 2923 static BYTE parms[] = 2924 VTS_BSTR; 2925 InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2926 lpszNewValue); 2927 } 2928 2929 2930 ///////////////////////////////////////////////////////////////////////////// 2931 // Column properties 2932 2933 ///////////////////////////////////////////////////////////////////////////// 2934 // Column operations 2935 2936 LPDISPATCH Column::GetApplication() 2937 { 2938 LPDISPATCH result; 2939 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2940 return result; 2941 } 2942 2943 long Column::GetCreator() 2944 { 2945 long result; 2946 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2947 return result; 2948 } 2949 2950 LPDISPATCH Column::GetParent() 2951 { 2952 LPDISPATCH result; 2953 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2954 return result; 2955 } 2956 2957 float Column::GetWidth() 2958 { 2959 float result; 2960 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2961 return result; 2962 } 2963 2964 void Column::SetWidth(float newValue) 2965 { 2966 static BYTE parms[] = 2967 VTS_R4; 2968 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2969 newValue); 2970 } 2971 2972 BOOL Column::GetIsFirst() 2973 { 2974 BOOL result; 2975 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2976 return result; 2977 } 2978 2979 BOOL Column::GetIsLast() 2980 { 2981 BOOL result; 2982 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2983 return result; 2984 } 2985 2986 long Column::GetIndex() 2987 { 2988 long result; 2989 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2990 return result; 2991 } 2992 2993 LPDISPATCH Column::GetCells() 2994 { 2995 LPDISPATCH result; 2996 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2997 return result; 2998 } 2999 3000 LPDISPATCH Column::GetBorders() 3001 { 3002 LPDISPATCH result; 3003 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3004 return result; 3005 } 3006 3007 void Column::SetBorders(LPDISPATCH newValue) 3008 { 3009 static BYTE parms[] = 3010 VTS_DISPATCH; 3011 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3012 newValue); 3013 } 3014 3015 LPDISPATCH Column::GetShading() 3016 { 3017 LPDISPATCH result; 3018 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3019 return result; 3020 } 3021 3022 LPDISPATCH Column::GetNext() 3023 { 3024 LPDISPATCH result; 3025 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3026 return result; 3027 } 3028 3029 LPDISPATCH Column::GetPrevious() 3030 { 3031 LPDISPATCH result; 3032 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3033 return result; 3034 } 3035 3036 void Column::Select() 3037 { 3038 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3039 } 3040 3041 void Column::Delete() 3042 { 3043 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3044 } 3045 3046 void Column::SetWidth(float ColumnWidth, long RulerStyle) 3047 { 3048 static BYTE parms[] = 3049 VTS_R4 VTS_I4; 3050 InvokeHelper(0xc9, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3051 ColumnWidth, RulerStyle); 3052 } 3053 3054 void Column::AutoFit() 3055 { 3056 InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3057 } 3058 3059 void Column::Sort(VARIANT* ExcludeHeader, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID) 3060 { 3061 static BYTE parms[] = 3062 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3063 InvokeHelper(0xcc, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3064 ExcludeHeader, SortFieldType, SortOrder, CaseSensitive, BidiSort, IgnoreThe, IgnoreKashida, IgnoreDiacritics, IgnoreHe, LanguageID); 3065 } 3066 3067 long Column::GetNestingLevel() 3068 { 3069 long result; 3070 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3071 return result; 3072 } 3073 3074 float Column::GetPreferredWidth() 3075 { 3076 float result; 3077 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3078 return result; 3079 } 3080 3081 void Column::SetPreferredWidth(float newValue) 3082 { 3083 static BYTE parms[] = 3084 VTS_R4; 3085 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3086 newValue); 3087 } 3088 3089 long Column::GetPreferredWidthType() 3090 { 3091 long result; 3092 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3093 return result; 3094 } 3095 3096 void Column::SetPreferredWidthType(long nNewValue) 3097 { 3098 static BYTE parms[] = 3099 VTS_I4; 3100 InvokeHelper(0x6b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3101 nNewValue); 3102 } 3103 3104 3105 ///////////////////////////////////////////////////////////////////////////// 3106 // Cell properties 3107 3108 ///////////////////////////////////////////////////////////////////////////// 3109 // Cell operations 3110 3111 LPDISPATCH Cell::GetRange() 3112 { 3113 LPDISPATCH result; 3114 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3115 return result; 3116 } 3117 3118 LPDISPATCH Cell::GetApplication() 3119 { 3120 LPDISPATCH result; 3121 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3122 return result; 3123 } 3124 3125 long Cell::GetCreator() 3126 { 3127 long result; 3128 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3129 return result; 3130 } 3131 3132 LPDISPATCH Cell::GetParent() 3133 { 3134 LPDISPATCH result; 3135 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3136 return result; 3137 } 3138 3139 long Cell::GetRowIndex() 3140 { 3141 long result; 3142 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3143 return result; 3144 } 3145 3146 long Cell::GetColumnIndex() 3147 { 3148 long result; 3149 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3150 return result; 3151 } 3152 3153 float Cell::GetWidth() 3154 { 3155 float result; 3156 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3157 return result; 3158 } 3159 3160 void Cell::SetWidth(float newValue) 3161 { 3162 static BYTE parms[] = 3163 VTS_R4; 3164 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3165 newValue); 3166 } 3167 3168 float Cell::GetHeight() 3169 { 3170 float result; 3171 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3172 return result; 3173 } 3174 3175 void Cell::SetHeight(float newValue) 3176 { 3177 static BYTE parms[] = 3178 VTS_R4; 3179 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3180 newValue); 3181 } 3182 3183 long Cell::GetHeightRule() 3184 { 3185 long result; 3186 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3187 return result; 3188 } 3189 3190 void Cell::SetHeightRule(long nNewValue) 3191 { 3192 static BYTE parms[] = 3193 VTS_I4; 3194 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3195 nNewValue); 3196 } 3197 3198 long Cell::GetVerticalAlignment() 3199 { 3200 long result; 3201 InvokeHelper(0x450, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3202 return result; 3203 } 3204 3205 void Cell::SetVerticalAlignment(long nNewValue) 3206 { 3207 static BYTE parms[] = 3208 VTS_I4; 3209 InvokeHelper(0x450, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3210 nNewValue); 3211 } 3212 3213 LPDISPATCH Cell::GetColumn() 3214 { 3215 LPDISPATCH result; 3216 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3217 return result; 3218 } 3219 3220 LPDISPATCH Cell::GetRow() 3221 { 3222 LPDISPATCH result; 3223 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3224 return result; 3225 } 3226 3227 LPDISPATCH Cell::GetNext() 3228 { 3229 LPDISPATCH result; 3230 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3231 return result; 3232 } 3233 3234 LPDISPATCH Cell::GetPrevious() 3235 { 3236 LPDISPATCH result; 3237 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3238 return result; 3239 } 3240 3241 LPDISPATCH Cell::GetShading() 3242 { 3243 LPDISPATCH result; 3244 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3245 return result; 3246 } 3247 3248 LPDISPATCH Cell::GetBorders() 3249 { 3250 LPDISPATCH result; 3251 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3252 return result; 3253 } 3254 3255 void Cell::SetBorders(LPDISPATCH newValue) 3256 { 3257 static BYTE parms[] = 3258 VTS_DISPATCH; 3259 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3260 newValue); 3261 } 3262 3263 void Cell::Select() 3264 { 3265 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3266 } 3267 3268 void Cell::Delete(VARIANT* ShiftCells) 3269 { 3270 static BYTE parms[] = 3271 VTS_PVARIANT; 3272 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3273 ShiftCells); 3274 } 3275 3276 void Cell::Formula(VARIANT* Formula, VARIANT* NumFormat) 3277 { 3278 static BYTE parms[] = 3279 VTS_PVARIANT VTS_PVARIANT; 3280 InvokeHelper(0xc9, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3281 Formula, NumFormat); 3282 } 3283 3284 void Cell::SetWidth(float ColumnWidth, long RulerStyle) 3285 { 3286 static BYTE parms[] = 3287 VTS_R4 VTS_I4; 3288 InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3289 ColumnWidth, RulerStyle); 3290 } 3291 3292 void Cell::SetHeight(VARIANT* RowHeight, long HeightRule) 3293 { 3294 static BYTE parms[] = 3295 VTS_PVARIANT VTS_I4; 3296 InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3297 RowHeight, HeightRule); 3298 } 3299 3300 void Cell::Merge(LPDISPATCH MergeTo) 3301 { 3302 static BYTE parms[] = 3303 VTS_DISPATCH; 3304 InvokeHelper(0xcc, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3305 MergeTo); 3306 } 3307 3308 void Cell::Split(VARIANT* NumRows, VARIANT* NumColumns) 3309 { 3310 static BYTE parms[] = 3311 VTS_PVARIANT VTS_PVARIANT; 3312 InvokeHelper(0xcd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3313 NumRows, NumColumns); 3314 } 3315 3316 void Cell::AutoSum() 3317 { 3318 InvokeHelper(0xce, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3319 } 3320 3321 LPDISPATCH Cell::GetTables() 3322 { 3323 LPDISPATCH result; 3324 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3325 return result; 3326 } 3327 3328 long Cell::GetNestingLevel() 3329 { 3330 long result; 3331 InvokeHelper(0x6b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3332 return result; 3333 } 3334 3335 BOOL Cell::GetWordWrap() 3336 { 3337 BOOL result; 3338 InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3339 return result; 3340 } 3341 3342 void Cell::SetWordWrap(BOOL bNewValue) 3343 { 3344 static BYTE parms[] = 3345 VTS_BOOL; 3346 InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3347 bNewValue); 3348 } 3349 3350 float Cell::GetPreferredWidth() 3351 { 3352 float result; 3353 InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3354 return result; 3355 } 3356 3357 void Cell::SetPreferredWidth(float newValue) 3358 { 3359 static BYTE parms[] = 3360 VTS_R4; 3361 InvokeHelper(0x6d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3362 newValue); 3363 } 3364 3365 BOOL Cell::GetFitText() 3366 { 3367 BOOL result; 3368 InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3369 return result; 3370 } 3371 3372 void Cell::SetFitText(BOOL bNewValue) 3373 { 3374 static BYTE parms[] = 3375 VTS_BOOL; 3376 InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3377 bNewValue); 3378 } 3379 3380 float Cell::GetTopPadding() 3381 { 3382 float result; 3383 InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3384 return result; 3385 } 3386 3387 void Cell::SetTopPadding(float newValue) 3388 { 3389 static BYTE parms[] = 3390 VTS_R4; 3391 InvokeHelper(0x6f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3392 newValue); 3393 } 3394 3395 float Cell::GetBottomPadding() 3396 { 3397 float result; 3398 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3399 return result; 3400 } 3401 3402 void Cell::SetBottomPadding(float newValue) 3403 { 3404 static BYTE parms[] = 3405 VTS_R4; 3406 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3407 newValue); 3408 } 3409 3410 float Cell::GetLeftPadding() 3411 { 3412 float result; 3413 InvokeHelper(0x71, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3414 return result; 3415 } 3416 3417 void Cell::SetLeftPadding(float newValue) 3418 { 3419 static BYTE parms[] = 3420 VTS_R4; 3421 InvokeHelper(0x71, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3422 newValue); 3423 } 3424 3425 float Cell::GetRightPadding() 3426 { 3427 float result; 3428 InvokeHelper(0x72, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3429 return result; 3430 } 3431 3432 void Cell::SetRightPadding(float newValue) 3433 { 3434 static BYTE parms[] = 3435 VTS_R4; 3436 InvokeHelper(0x72, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3437 newValue); 3438 } 3439 3440 CString Cell::GetId() 3441 { 3442 CString result; 3443 InvokeHelper(0x73, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3444 return result; 3445 } 3446 3447 void Cell::SetId(LPCTSTR lpszNewValue) 3448 { 3449 static BYTE parms[] = 3450 VTS_BSTR; 3451 InvokeHelper(0x73, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3452 lpszNewValue); 3453 } 3454 3455 long Cell::GetPreferredWidthType() 3456 { 3457 long result; 3458 InvokeHelper(0x74, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3459 return result; 3460 } 3461 3462 void Cell::SetPreferredWidthType(long nNewValue) 3463 { 3464 static BYTE parms[] = 3465 VTS_I4; 3466 InvokeHelper(0x74, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3467 nNewValue); 3468 } 3469 3470 3471 ///////////////////////////////////////////////////////////////////////////// 3472 // Tables properties 3473 3474 ///////////////////////////////////////////////////////////////////////////// 3475 // Tables operations 3476 3477 LPUNKNOWN Tables::Get_NewEnum() 3478 { 3479 LPUNKNOWN result; 3480 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 3481 return result; 3482 } 3483 3484 long Tables::GetCount() 3485 { 3486 long result; 3487 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3488 return result; 3489 } 3490 3491 LPDISPATCH Tables::GetApplication() 3492 { 3493 LPDISPATCH result; 3494 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3495 return result; 3496 } 3497 3498 long Tables::GetCreator() 3499 { 3500 long result; 3501 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3502 return result; 3503 } 3504 3505 LPDISPATCH Tables::GetParent() 3506 { 3507 LPDISPATCH result; 3508 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3509 return result; 3510 } 3511 3512 LPDISPATCH Tables::Item(long Index) 3513 { 3514 LPDISPATCH result; 3515 static BYTE parms[] = 3516 VTS_I4; 3517 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3518 Index); 3519 return result; 3520 } 3521 3522 LPDISPATCH Tables::Add(LPDISPATCH Range, long NumRows, long NumColumns, VARIANT* DefaultTableBehavior, VARIANT* AutoFitBehavior) 3523 { 3524 LPDISPATCH result; 3525 static BYTE parms[] = 3526 VTS_DISPATCH VTS_I4 VTS_I4 VTS_PVARIANT VTS_PVARIANT; 3527 InvokeHelper(0xc8, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3528 Range, NumRows, NumColumns, DefaultTableBehavior, AutoFitBehavior); 3529 return result; 3530 } 3531 3532 long Tables::GetNestingLevel() 3533 { 3534 long result; 3535 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3536 return result; 3537 } 3538 3539 3540 ///////////////////////////////////////////////////////////////////////////// 3541 // Rows properties 3542 3543 ///////////////////////////////////////////////////////////////////////////// 3544 // Rows operations 3545 3546 LPUNKNOWN Rows::Get_NewEnum() 3547 { 3548 LPUNKNOWN result; 3549 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 3550 return result; 3551 } 3552 3553 long Rows::GetCount() 3554 { 3555 long result; 3556 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3557 return result; 3558 } 3559 3560 long Rows::GetAllowBreakAcrossPages() 3561 { 3562 long result; 3563 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3564 return result; 3565 } 3566 3567 void Rows::SetAllowBreakAcrossPages(long nNewValue) 3568 { 3569 static BYTE parms[] = 3570 VTS_I4; 3571 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3572 nNewValue); 3573 } 3574 3575 long Rows::GetAlignment() 3576 { 3577 long result; 3578 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3579 return result; 3580 } 3581 3582 void Rows::SetAlignment(long nNewValue) 3583 { 3584 static BYTE parms[] = 3585 VTS_I4; 3586 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3587 nNewValue); 3588 } 3589 3590 long Rows::GetHeadingFormat() 3591 { 3592 long result; 3593 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3594 return result; 3595 } 3596 3597 void Rows::SetHeadingFormat(long nNewValue) 3598 { 3599 static BYTE parms[] = 3600 VTS_I4; 3601 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3602 nNewValue); 3603 } 3604 3605 float Rows::GetSpaceBetweenColumns() 3606 { 3607 float result; 3608 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3609 return result; 3610 } 3611 3612 void Rows::SetSpaceBetweenColumns(float newValue) 3613 { 3614 static BYTE parms[] = 3615 VTS_R4; 3616 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3617 newValue); 3618 } 3619 3620 float Rows::GetHeight() 3621 { 3622 float result; 3623 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3624 return result; 3625 } 3626 3627 void Rows::SetHeight(float newValue) 3628 { 3629 static BYTE parms[] = 3630 VTS_R4; 3631 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3632 newValue); 3633 } 3634 3635 long Rows::GetHeightRule() 3636 { 3637 long result; 3638 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3639 return result; 3640 } 3641 3642 void Rows::SetHeightRule(long nNewValue) 3643 { 3644 static BYTE parms[] = 3645 VTS_I4; 3646 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3647 nNewValue); 3648 } 3649 3650 float Rows::GetLeftIndent() 3651 { 3652 float result; 3653 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3654 return result; 3655 } 3656 3657 void Rows::SetLeftIndent(float newValue) 3658 { 3659 static BYTE parms[] = 3660 VTS_R4; 3661 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3662 newValue); 3663 } 3664 3665 LPDISPATCH Rows::GetFirst() 3666 { 3667 LPDISPATCH result; 3668 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3669 return result; 3670 } 3671 3672 LPDISPATCH Rows::GetLast() 3673 { 3674 LPDISPATCH result; 3675 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3676 return result; 3677 } 3678 3679 LPDISPATCH Rows::GetApplication() 3680 { 3681 LPDISPATCH result; 3682 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3683 return result; 3684 } 3685 3686 long Rows::GetCreator() 3687 { 3688 long result; 3689 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3690 return result; 3691 } 3692 3693 LPDISPATCH Rows::GetParent() 3694 { 3695 LPDISPATCH result; 3696 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3697 return result; 3698 } 3699 3700 LPDISPATCH Rows::GetBorders() 3701 { 3702 LPDISPATCH result; 3703 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3704 return result; 3705 } 3706 3707 void Rows::SetBorders(LPDISPATCH newValue) 3708 { 3709 static BYTE parms[] = 3710 VTS_DISPATCH; 3711 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3712 newValue); 3713 } 3714 3715 LPDISPATCH Rows::GetShading() 3716 { 3717 LPDISPATCH result; 3718 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3719 return result; 3720 } 3721 3722 LPDISPATCH Rows::Item(long Index) 3723 { 3724 LPDISPATCH result; 3725 static BYTE parms[] = 3726 VTS_I4; 3727 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3728 Index); 3729 return result; 3730 } 3731 3732 LPDISPATCH Rows::Add(VARIANT* BeforeRow) 3733 { 3734 LPDISPATCH result; 3735 static BYTE parms[] = 3736 VTS_PVARIANT; 3737 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3738 BeforeRow); 3739 return result; 3740 } 3741 3742 void Rows::Select() 3743 { 3744 InvokeHelper(0xc7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3745 } 3746 3747 void Rows::Delete() 3748 { 3749 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3750 } 3751 3752 void Rows::SetLeftIndent(float LeftIndent, long RulerStyle) 3753 { 3754 static BYTE parms[] = 3755 VTS_R4 VTS_I4; 3756 InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3757 LeftIndent, RulerStyle); 3758 } 3759 3760 void Rows::SetHeight(float RowHeight, long HeightRule) 3761 { 3762 static BYTE parms[] = 3763 VTS_R4 VTS_I4; 3764 InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3765 RowHeight, HeightRule); 3766 } 3767 3768 void Rows::DistributeHeight() 3769 { 3770 InvokeHelper(0xce, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3771 } 3772 3773 LPDISPATCH Rows::ConvertToText(VARIANT* Separator, VARIANT* NestedTables) 3774 { 3775 LPDISPATCH result; 3776 static BYTE parms[] = 3777 VTS_PVARIANT VTS_PVARIANT; 3778 InvokeHelper(0xd2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3779 Separator, NestedTables); 3780 return result; 3781 } 3782 3783 long Rows::GetWrapAroundText() 3784 { 3785 long result; 3786 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3787 return result; 3788 } 3789 3790 void Rows::SetWrapAroundText(long nNewValue) 3791 { 3792 static BYTE parms[] = 3793 VTS_I4; 3794 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3795 nNewValue); 3796 } 3797 3798 float Rows::GetDistanceTop() 3799 { 3800 float result; 3801 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3802 return result; 3803 } 3804 3805 void Rows::SetDistanceTop(float newValue) 3806 { 3807 static BYTE parms[] = 3808 VTS_R4; 3809 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3810 newValue); 3811 } 3812 3813 float Rows::GetDistanceBottom() 3814 { 3815 float result; 3816 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3817 return result; 3818 } 3819 3820 void Rows::SetDistanceBottom(float newValue) 3821 { 3822 static BYTE parms[] = 3823 VTS_R4; 3824 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3825 newValue); 3826 } 3827 3828 float Rows::GetDistanceLeft() 3829 { 3830 float result; 3831 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3832 return result; 3833 } 3834 3835 void Rows::SetDistanceLeft(float newValue) 3836 { 3837 static BYTE parms[] = 3838 VTS_R4; 3839 InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3840 newValue); 3841 } 3842 3843 float Rows::GetDistanceRight() 3844 { 3845 float result; 3846 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3847 return result; 3848 } 3849 3850 void Rows::SetDistanceRight(float newValue) 3851 { 3852 static BYTE parms[] = 3853 VTS_R4; 3854 InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3855 newValue); 3856 } 3857 3858 float Rows::GetHorizontalPosition() 3859 { 3860 float result; 3861 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3862 return result; 3863 } 3864 3865 void Rows::SetHorizontalPosition(float newValue) 3866 { 3867 static BYTE parms[] = 3868 VTS_R4; 3869 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3870 newValue); 3871 } 3872 3873 float Rows::GetVerticalPosition() 3874 { 3875 float result; 3876 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3877 return result; 3878 } 3879 3880 void Rows::SetVerticalPosition(float newValue) 3881 { 3882 static BYTE parms[] = 3883 VTS_R4; 3884 InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3885 newValue); 3886 } 3887 3888 long Rows::GetRelativeHorizontalPosition() 3889 { 3890 long result; 3891 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3892 return result; 3893 } 3894 3895 void Rows::SetRelativeHorizontalPosition(long nNewValue) 3896 { 3897 static BYTE parms[] = 3898 VTS_I4; 3899 InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3900 nNewValue); 3901 } 3902 3903 long Rows::GetRelativeVerticalPosition() 3904 { 3905 long result; 3906 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3907 return result; 3908 } 3909 3910 void Rows::SetRelativeVerticalPosition(long nNewValue) 3911 { 3912 static BYTE parms[] = 3913 VTS_I4; 3914 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3915 nNewValue); 3916 } 3917 3918 long Rows::GetAllowOverlap() 3919 { 3920 long result; 3921 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3922 return result; 3923 } 3924 3925 void Rows::SetAllowOverlap(long nNewValue) 3926 { 3927 static BYTE parms[] = 3928 VTS_I4; 3929 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3930 nNewValue); 3931 } 3932 3933 long Rows::GetNestingLevel() 3934 { 3935 long result; 3936 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3937 return result; 3938 } 3939 3940 long Rows::GetTableDirection() 3941 { 3942 long result; 3943 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3944 return result; 3945 } 3946 3947 void Rows::SetTableDirection(long nNewValue) 3948 { 3949 static BYTE parms[] = 3950 VTS_I4; 3951 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3952 nNewValue); 3953 } 3954 3955 3956 ///////////////////////////////////////////////////////////////////////////// 3957 // Columns properties 3958 3959 ///////////////////////////////////////////////////////////////////////////// 3960 // Columns operations 3961 3962 LPUNKNOWN Columns::Get_NewEnum() 3963 { 3964 LPUNKNOWN result; 3965 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 3966 return result; 3967 } 3968 3969 long Columns::GetCount() 3970 { 3971 long result; 3972 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3973 return result; 3974 } 3975 3976 LPDISPATCH Columns::GetApplication() 3977 { 3978 LPDISPATCH result; 3979 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3980 return result; 3981 } 3982 3983 long Columns::GetCreator() 3984 { 3985 long result; 3986 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3987 return result; 3988 } 3989 3990 LPDISPATCH Columns::GetParent() 3991 { 3992 LPDISPATCH result; 3993 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3994 return result; 3995 } 3996 3997 LPDISPATCH Columns::GetFirst() 3998 { 3999 LPDISPATCH result; 4000 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4001 return result; 4002 } 4003 4004 LPDISPATCH Columns::GetLast() 4005 { 4006 LPDISPATCH result; 4007 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4008 return result; 4009 } 4010 4011 float Columns::GetWidth() 4012 { 4013 float result; 4014 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4015 return result; 4016 } 4017 4018 void Columns::SetWidth(float newValue) 4019 { 4020 static BYTE parms[] = 4021 VTS_R4; 4022 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4023 newValue); 4024 } 4025 4026 LPDISPATCH Columns::GetBorders() 4027 { 4028 LPDISPATCH result; 4029 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4030 return result; 4031 } 4032 4033 void Columns::SetBorders(LPDISPATCH newValue) 4034 { 4035 static BYTE parms[] = 4036 VTS_DISPATCH; 4037 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4038 newValue); 4039 } 4040 4041 LPDISPATCH Columns::GetShading() 4042 { 4043 LPDISPATCH result; 4044 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4045 return result; 4046 } 4047 4048 LPDISPATCH Columns::Item(long Index) 4049 { 4050 LPDISPATCH result; 4051 static BYTE parms[] = 4052 VTS_I4; 4053 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4054 Index); 4055 return result; 4056 } 4057 4058 LPDISPATCH Columns::Add(VARIANT* BeforeColumn) 4059 { 4060 LPDISPATCH result; 4061 static BYTE parms[] = 4062 VTS_PVARIANT; 4063 InvokeHelper(0x5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4064 BeforeColumn); 4065 return result; 4066 } 4067 4068 void Columns::Select() 4069 { 4070 InvokeHelper(0xc7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4071 } 4072 4073 void Columns::Delete() 4074 { 4075 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4076 } 4077 4078 void Columns::SetWidth(float ColumnWidth, long RulerStyle) 4079 { 4080 static BYTE parms[] = 4081 VTS_R4 VTS_I4; 4082 InvokeHelper(0xc9, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4083 ColumnWidth, RulerStyle); 4084 } 4085 4086 void Columns::AutoFit() 4087 { 4088 InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4089 } 4090 4091 void Columns::DistributeWidth() 4092 { 4093 InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4094 } 4095 4096 long Columns::GetNestingLevel() 4097 { 4098 long result; 4099 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4100 return result; 4101 } 4102 4103 float Columns::GetPreferredWidth() 4104 { 4105 float result; 4106 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4107 return result; 4108 } 4109 4110 void Columns::SetPreferredWidth(float newValue) 4111 { 4112 static BYTE parms[] = 4113 VTS_R4; 4114 InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4115 newValue); 4116 } 4117 4118 long Columns::GetPreferredWidthType() 4119 { 4120 long result; 4121 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4122 return result; 4123 } 4124 4125 void Columns::SetPreferredWidthType(long nNewValue) 4126 { 4127 static BYTE parms[] = 4128 VTS_I4; 4129 InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4130 nNewValue); 4131 } 4132 4133 4134 ///////////////////////////////////////////////////////////////////////////// 4135 // Cells properties 4136 4137 ///////////////////////////////////////////////////////////////////////////// 4138 // Cells operations 4139 4140 LPUNKNOWN Cells::Get_NewEnum() 4141 { 4142 LPUNKNOWN result; 4143 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4144 return result; 4145 } 4146 4147 long Cells::GetCount() 4148 { 4149 long result; 4150 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4151 return result; 4152 } 4153 4154 LPDISPATCH Cells::GetApplication() 4155 { 4156 LPDISPATCH result; 4157 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4158 return result; 4159 } 4160 4161 long Cells::GetCreator() 4162 { 4163 long result; 4164 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4165 return result; 4166 } 4167 4168 LPDISPATCH Cells::GetParent() 4169 { 4170 LPDISPATCH result; 4171 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4172 return result; 4173 } 4174 4175 float Cells::GetWidth() 4176 { 4177 float result; 4178 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4179 return result; 4180 } 4181 4182 void Cells::SetWidth(float newValue) 4183 { 4184 static BYTE parms[] = 4185 VTS_R4; 4186 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4187 newValue); 4188 } 4189 4190 float Cells::GetHeight() 4191 { 4192 float result; 4193 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4194 return result; 4195 } 4196 4197 void Cells::SetHeight(float newValue) 4198 { 4199 static BYTE parms[] = 4200 VTS_R4; 4201 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4202 newValue); 4203 } 4204 4205 long Cells::GetHeightRule() 4206 { 4207 long result; 4208 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4209 return result; 4210 } 4211 4212 void Cells::SetHeightRule(long nNewValue) 4213 { 4214 static BYTE parms[] = 4215 VTS_I4; 4216 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4217 nNewValue); 4218 } 4219 4220 long Cells::GetVerticalAlignment() 4221 { 4222 long result; 4223 InvokeHelper(0x450, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4224 return result; 4225 } 4226 4227 void Cells::SetVerticalAlignment(long nNewValue) 4228 { 4229 static BYTE parms[] = 4230 VTS_I4; 4231 InvokeHelper(0x450, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4232 nNewValue); 4233 } 4234 4235 LPDISPATCH Cells::GetBorders() 4236 { 4237 LPDISPATCH result; 4238 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4239 return result; 4240 } 4241 4242 void Cells::SetBorders(LPDISPATCH newValue) 4243 { 4244 static BYTE parms[] = 4245 VTS_DISPATCH; 4246 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4247 newValue); 4248 } 4249 4250 LPDISPATCH Cells::GetShading() 4251 { 4252 LPDISPATCH result; 4253 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4254 return result; 4255 } 4256 4257 LPDISPATCH Cells::Item(long Index) 4258 { 4259 LPDISPATCH result; 4260 static BYTE parms[] = 4261 VTS_I4; 4262 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4263 Index); 4264 return result; 4265 } 4266 4267 LPDISPATCH Cells::Add(VARIANT* BeforeCell) 4268 { 4269 LPDISPATCH result; 4270 static BYTE parms[] = 4271 VTS_PVARIANT; 4272 InvokeHelper(0x4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4273 BeforeCell); 4274 return result; 4275 } 4276 4277 void Cells::Delete(VARIANT* ShiftCells) 4278 { 4279 static BYTE parms[] = 4280 VTS_PVARIANT; 4281 InvokeHelper(0xc8, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4282 ShiftCells); 4283 } 4284 4285 void Cells::SetWidth(float ColumnWidth, long RulerStyle) 4286 { 4287 static BYTE parms[] = 4288 VTS_R4 VTS_I4; 4289 InvokeHelper(0xca, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4290 ColumnWidth, RulerStyle); 4291 } 4292 4293 void Cells::SetHeight(VARIANT* RowHeight, long HeightRule) 4294 { 4295 static BYTE parms[] = 4296 VTS_PVARIANT VTS_I4; 4297 InvokeHelper(0xcb, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4298 RowHeight, HeightRule); 4299 } 4300 4301 void Cells::Merge() 4302 { 4303 InvokeHelper(0xcc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4304 } 4305 4306 void Cells::Split(VARIANT* NumRows, VARIANT* NumColumns, VARIANT* MergeBeforeSplit) 4307 { 4308 static BYTE parms[] = 4309 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4310 InvokeHelper(0xcd, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4311 NumRows, NumColumns, MergeBeforeSplit); 4312 } 4313 4314 void Cells::DistributeHeight() 4315 { 4316 InvokeHelper(0xce, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4317 } 4318 4319 void Cells::DistributeWidth() 4320 { 4321 InvokeHelper(0xcf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4322 } 4323 4324 void Cells::AutoFit() 4325 { 4326 InvokeHelper(0xd0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4327 } 4328 4329 long Cells::GetNestingLevel() 4330 { 4331 long result; 4332 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4333 return result; 4334 } 4335 4336 float Cells::GetPreferredWidth() 4337 { 4338 float result; 4339 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4340 return result; 4341 } 4342 4343 void Cells::SetPreferredWidth(float newValue) 4344 { 4345 static BYTE parms[] = 4346 VTS_R4; 4347 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4348 newValue); 4349 } 4350 4351 long Cells::GetPreferredWidthType() 4352 { 4353 long result; 4354 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4355 return result; 4356 } 4357 4358 void Cells::SetPreferredWidthType(long nNewValue) 4359 { 4360 static BYTE parms[] = 4361 VTS_I4; 4362 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4363 nNewValue); 4364 } 4365 4366 4367 ///////////////////////////////////////////////////////////////////////////// 4368 // AutoCorrect properties 4369 4370 ///////////////////////////////////////////////////////////////////////////// 4371 // AutoCorrect operations 4372 4373 LPDISPATCH AutoCorrect::GetApplication() 4374 { 4375 LPDISPATCH result; 4376 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4377 return result; 4378 } 4379 4380 long AutoCorrect::GetCreator() 4381 { 4382 long result; 4383 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4384 return result; 4385 } 4386 4387 LPDISPATCH AutoCorrect::GetParent() 4388 { 4389 LPDISPATCH result; 4390 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4391 return result; 4392 } 4393 4394 BOOL AutoCorrect::GetCorrectDays() 4395 { 4396 BOOL result; 4397 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4398 return result; 4399 } 4400 4401 void AutoCorrect::SetCorrectDays(BOOL bNewValue) 4402 { 4403 static BYTE parms[] = 4404 VTS_BOOL; 4405 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4406 bNewValue); 4407 } 4408 4409 BOOL AutoCorrect::GetCorrectInitialCaps() 4410 { 4411 BOOL result; 4412 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4413 return result; 4414 } 4415 4416 void AutoCorrect::SetCorrectInitialCaps(BOOL bNewValue) 4417 { 4418 static BYTE parms[] = 4419 VTS_BOOL; 4420 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4421 bNewValue); 4422 } 4423 4424 BOOL AutoCorrect::GetCorrectSentenceCaps() 4425 { 4426 BOOL result; 4427 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4428 return result; 4429 } 4430 4431 void AutoCorrect::SetCorrectSentenceCaps(BOOL bNewValue) 4432 { 4433 static BYTE parms[] = 4434 VTS_BOOL; 4435 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4436 bNewValue); 4437 } 4438 4439 BOOL AutoCorrect::GetReplaceText() 4440 { 4441 BOOL result; 4442 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4443 return result; 4444 } 4445 4446 void AutoCorrect::SetReplaceText(BOOL bNewValue) 4447 { 4448 static BYTE parms[] = 4449 VTS_BOOL; 4450 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4451 bNewValue); 4452 } 4453 4454 LPDISPATCH AutoCorrect::GetEntries() 4455 { 4456 LPDISPATCH result; 4457 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4458 return result; 4459 } 4460 4461 LPDISPATCH AutoCorrect::GetFirstLetterExceptions() 4462 { 4463 LPDISPATCH result; 4464 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4465 return result; 4466 } 4467 4468 BOOL AutoCorrect::GetFirstLetterAutoAdd() 4469 { 4470 BOOL result; 4471 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4472 return result; 4473 } 4474 4475 void AutoCorrect::SetFirstLetterAutoAdd(BOOL bNewValue) 4476 { 4477 static BYTE parms[] = 4478 VTS_BOOL; 4479 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4480 bNewValue); 4481 } 4482 4483 LPDISPATCH AutoCorrect::GetTwoInitialCapsExceptions() 4484 { 4485 LPDISPATCH result; 4486 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4487 return result; 4488 } 4489 4490 BOOL AutoCorrect::GetTwoInitialCapsAutoAdd() 4491 { 4492 BOOL result; 4493 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4494 return result; 4495 } 4496 4497 void AutoCorrect::SetTwoInitialCapsAutoAdd(BOOL bNewValue) 4498 { 4499 static BYTE parms[] = 4500 VTS_BOOL; 4501 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4502 bNewValue); 4503 } 4504 4505 BOOL AutoCorrect::GetCorrectCapsLock() 4506 { 4507 BOOL result; 4508 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4509 return result; 4510 } 4511 4512 void AutoCorrect::SetCorrectCapsLock(BOOL bNewValue) 4513 { 4514 static BYTE parms[] = 4515 VTS_BOOL; 4516 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4517 bNewValue); 4518 } 4519 4520 BOOL AutoCorrect::GetCorrectHangulAndAlphabet() 4521 { 4522 BOOL result; 4523 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4524 return result; 4525 } 4526 4527 void AutoCorrect::SetCorrectHangulAndAlphabet(BOOL bNewValue) 4528 { 4529 static BYTE parms[] = 4530 VTS_BOOL; 4531 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4532 bNewValue); 4533 } 4534 4535 LPDISPATCH AutoCorrect::GetHangulAndAlphabetExceptions() 4536 { 4537 LPDISPATCH result; 4538 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4539 return result; 4540 } 4541 4542 BOOL AutoCorrect::GetHangulAndAlphabetAutoAdd() 4543 { 4544 BOOL result; 4545 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4546 return result; 4547 } 4548 4549 void AutoCorrect::SetHangulAndAlphabetAutoAdd(BOOL bNewValue) 4550 { 4551 static BYTE parms[] = 4552 VTS_BOOL; 4553 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4554 bNewValue); 4555 } 4556 4557 BOOL AutoCorrect::GetReplaceTextFromSpellingChecker() 4558 { 4559 BOOL result; 4560 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4561 return result; 4562 } 4563 4564 void AutoCorrect::SetReplaceTextFromSpellingChecker(BOOL bNewValue) 4565 { 4566 static BYTE parms[] = 4567 VTS_BOOL; 4568 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4569 bNewValue); 4570 } 4571 4572 BOOL AutoCorrect::GetOtherCorrectionsAutoAdd() 4573 { 4574 BOOL result; 4575 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4576 return result; 4577 } 4578 4579 void AutoCorrect::SetOtherCorrectionsAutoAdd(BOOL bNewValue) 4580 { 4581 static BYTE parms[] = 4582 VTS_BOOL; 4583 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4584 bNewValue); 4585 } 4586 4587 LPDISPATCH AutoCorrect::GetOtherCorrectionsExceptions() 4588 { 4589 LPDISPATCH result; 4590 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4591 return result; 4592 } 4593 4594 BOOL AutoCorrect::GetCorrectKeyboardSetting() 4595 { 4596 BOOL result; 4597 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4598 return result; 4599 } 4600 4601 void AutoCorrect::SetCorrectKeyboardSetting(BOOL bNewValue) 4602 { 4603 static BYTE parms[] = 4604 VTS_BOOL; 4605 InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4606 bNewValue); 4607 } 4608 4609 BOOL AutoCorrect::GetCorrectTableCells() 4610 { 4611 BOOL result; 4612 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4613 return result; 4614 } 4615 4616 void AutoCorrect::SetCorrectTableCells(BOOL bNewValue) 4617 { 4618 static BYTE parms[] = 4619 VTS_BOOL; 4620 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4621 bNewValue); 4622 } 4623 4624 BOOL AutoCorrect::GetDisplayAutoCorrectOptions() 4625 { 4626 BOOL result; 4627 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4628 return result; 4629 } 4630 4631 void AutoCorrect::SetDisplayAutoCorrectOptions(BOOL bNewValue) 4632 { 4633 static BYTE parms[] = 4634 VTS_BOOL; 4635 InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4636 bNewValue); 4637 } 4638 4639 4640 ///////////////////////////////////////////////////////////////////////////// 4641 // AutoCorrectEntries properties 4642 4643 ///////////////////////////////////////////////////////////////////////////// 4644 // AutoCorrectEntries operations 4645 4646 LPDISPATCH AutoCorrectEntries::GetApplication() 4647 { 4648 LPDISPATCH result; 4649 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4650 return result; 4651 } 4652 4653 long AutoCorrectEntries::GetCreator() 4654 { 4655 long result; 4656 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4657 return result; 4658 } 4659 4660 LPDISPATCH AutoCorrectEntries::GetParent() 4661 { 4662 LPDISPATCH result; 4663 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4664 return result; 4665 } 4666 4667 LPUNKNOWN AutoCorrectEntries::Get_NewEnum() 4668 { 4669 LPUNKNOWN result; 4670 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4671 return result; 4672 } 4673 4674 long AutoCorrectEntries::GetCount() 4675 { 4676 long result; 4677 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4678 return result; 4679 } 4680 4681 LPDISPATCH AutoCorrectEntries::Item(VARIANT* Index) 4682 { 4683 LPDISPATCH result; 4684 static BYTE parms[] = 4685 VTS_PVARIANT; 4686 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4687 Index); 4688 return result; 4689 } 4690 4691 LPDISPATCH AutoCorrectEntries::Add(LPCTSTR Name, LPCTSTR Value) 4692 { 4693 LPDISPATCH result; 4694 static BYTE parms[] = 4695 VTS_BSTR VTS_BSTR; 4696 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4697 Name, Value); 4698 return result; 4699 } 4700 4701 LPDISPATCH AutoCorrectEntries::AddRichText(LPCTSTR Name, LPDISPATCH Range) 4702 { 4703 LPDISPATCH result; 4704 static BYTE parms[] = 4705 VTS_BSTR VTS_DISPATCH; 4706 InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4707 Name, Range); 4708 return result; 4709 } 4710 4711 4712 ///////////////////////////////////////////////////////////////////////////// 4713 // AutoCorrectEntry properties 4714 4715 ///////////////////////////////////////////////////////////////////////////// 4716 // AutoCorrectEntry operations 4717 4718 LPDISPATCH AutoCorrectEntry::GetApplication() 4719 { 4720 LPDISPATCH result; 4721 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4722 return result; 4723 } 4724 4725 long AutoCorrectEntry::GetCreator() 4726 { 4727 long result; 4728 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4729 return result; 4730 } 4731 4732 LPDISPATCH AutoCorrectEntry::GetParent() 4733 { 4734 LPDISPATCH result; 4735 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4736 return result; 4737 } 4738 4739 long AutoCorrectEntry::GetIndex() 4740 { 4741 long result; 4742 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4743 return result; 4744 } 4745 4746 CString AutoCorrectEntry::GetName() 4747 { 4748 CString result; 4749 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4750 return result; 4751 } 4752 4753 void AutoCorrectEntry::SetName(LPCTSTR lpszNewValue) 4754 { 4755 static BYTE parms[] = 4756 VTS_BSTR; 4757 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4758 lpszNewValue); 4759 } 4760 4761 CString AutoCorrectEntry::GetValue() 4762 { 4763 CString result; 4764 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4765 return result; 4766 } 4767 4768 void AutoCorrectEntry::SetValue(LPCTSTR lpszNewValue) 4769 { 4770 static BYTE parms[] = 4771 VTS_BSTR; 4772 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4773 lpszNewValue); 4774 } 4775 4776 BOOL AutoCorrectEntry::GetRichText() 4777 { 4778 BOOL result; 4779 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4780 return result; 4781 } 4782 4783 void AutoCorrectEntry::Delete() 4784 { 4785 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4786 } 4787 4788 void AutoCorrectEntry::Apply(LPDISPATCH Range) 4789 { 4790 static BYTE parms[] = 4791 VTS_DISPATCH; 4792 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4793 Range); 4794 } 4795 4796 4797 ///////////////////////////////////////////////////////////////////////////// 4798 // FirstLetterExceptions properties 4799 4800 ///////////////////////////////////////////////////////////////////////////// 4801 // FirstLetterExceptions operations 4802 4803 LPDISPATCH FirstLetterExceptions::GetApplication() 4804 { 4805 LPDISPATCH result; 4806 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4807 return result; 4808 } 4809 4810 long FirstLetterExceptions::GetCreator() 4811 { 4812 long result; 4813 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4814 return result; 4815 } 4816 4817 LPDISPATCH FirstLetterExceptions::GetParent() 4818 { 4819 LPDISPATCH result; 4820 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4821 return result; 4822 } 4823 4824 LPUNKNOWN FirstLetterExceptions::Get_NewEnum() 4825 { 4826 LPUNKNOWN result; 4827 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4828 return result; 4829 } 4830 4831 long FirstLetterExceptions::GetCount() 4832 { 4833 long result; 4834 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4835 return result; 4836 } 4837 4838 LPDISPATCH FirstLetterExceptions::Item(VARIANT* Index) 4839 { 4840 LPDISPATCH result; 4841 static BYTE parms[] = 4842 VTS_PVARIANT; 4843 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4844 Index); 4845 return result; 4846 } 4847 4848 LPDISPATCH FirstLetterExceptions::Add(LPCTSTR Name) 4849 { 4850 LPDISPATCH result; 4851 static BYTE parms[] = 4852 VTS_BSTR; 4853 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4854 Name); 4855 return result; 4856 } 4857 4858 4859 ///////////////////////////////////////////////////////////////////////////// 4860 // FirstLetterException properties 4861 4862 ///////////////////////////////////////////////////////////////////////////// 4863 // FirstLetterException operations 4864 4865 LPDISPATCH FirstLetterException::GetApplication() 4866 { 4867 LPDISPATCH result; 4868 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4869 return result; 4870 } 4871 4872 long FirstLetterException::GetCreator() 4873 { 4874 long result; 4875 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4876 return result; 4877 } 4878 4879 LPDISPATCH FirstLetterException::GetParent() 4880 { 4881 LPDISPATCH result; 4882 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4883 return result; 4884 } 4885 4886 long FirstLetterException::GetIndex() 4887 { 4888 long result; 4889 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4890 return result; 4891 } 4892 4893 CString FirstLetterException::GetName() 4894 { 4895 CString result; 4896 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4897 return result; 4898 } 4899 4900 void FirstLetterException::Delete() 4901 { 4902 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4903 } 4904 4905 4906 ///////////////////////////////////////////////////////////////////////////// 4907 // TwoInitialCapsExceptions properties 4908 4909 ///////////////////////////////////////////////////////////////////////////// 4910 // TwoInitialCapsExceptions operations 4911 4912 LPDISPATCH TwoInitialCapsExceptions::GetApplication() 4913 { 4914 LPDISPATCH result; 4915 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4916 return result; 4917 } 4918 4919 long TwoInitialCapsExceptions::GetCreator() 4920 { 4921 long result; 4922 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4923 return result; 4924 } 4925 4926 LPDISPATCH TwoInitialCapsExceptions::GetParent() 4927 { 4928 LPDISPATCH result; 4929 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4930 return result; 4931 } 4932 4933 LPUNKNOWN TwoInitialCapsExceptions::Get_NewEnum() 4934 { 4935 LPUNKNOWN result; 4936 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4937 return result; 4938 } 4939 4940 long TwoInitialCapsExceptions::GetCount() 4941 { 4942 long result; 4943 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4944 return result; 4945 } 4946 4947 LPDISPATCH TwoInitialCapsExceptions::Item(VARIANT* Index) 4948 { 4949 LPDISPATCH result; 4950 static BYTE parms[] = 4951 VTS_PVARIANT; 4952 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4953 Index); 4954 return result; 4955 } 4956 4957 LPDISPATCH TwoInitialCapsExceptions::Add(LPCTSTR Name) 4958 { 4959 LPDISPATCH result; 4960 static BYTE parms[] = 4961 VTS_BSTR; 4962 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4963 Name); 4964 return result; 4965 } 4966 4967 4968 ///////////////////////////////////////////////////////////////////////////// 4969 // TwoInitialCapsException properties 4970 4971 ///////////////////////////////////////////////////////////////////////////// 4972 // TwoInitialCapsException operations 4973 4974 LPDISPATCH TwoInitialCapsException::GetApplication() 4975 { 4976 LPDISPATCH result; 4977 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4978 return result; 4979 } 4980 4981 long TwoInitialCapsException::GetCreator() 4982 { 4983 long result; 4984 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4985 return result; 4986 } 4987 4988 LPDISPATCH TwoInitialCapsException::GetParent() 4989 { 4990 LPDISPATCH result; 4991 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4992 return result; 4993 } 4994 4995 long TwoInitialCapsException::GetIndex() 4996 { 4997 long result; 4998 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4999 return result; 5000 } 5001 5002 CString TwoInitialCapsException::GetName() 5003 { 5004 CString result; 5005 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 5006 return result; 5007 } 5008 5009 void TwoInitialCapsException::Delete() 5010 { 5011 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5012 } 5013 5014 5015 ///////////////////////////////////////////////////////////////////////////// 5016 // Footnotes properties 5017 5018 ///////////////////////////////////////////////////////////////////////////// 5019 // Footnotes operations 5020 5021 LPUNKNOWN Footnotes::Get_NewEnum() 5022 { 5023 LPUNKNOWN result; 5024 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 5025 return result; 5026 } 5027 5028 long Footnotes::GetCount() 5029 { 5030 long result; 5031 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5032 return result; 5033 } 5034 5035 LPDISPATCH Footnotes::GetApplication() 5036 { 5037 LPDISPATCH result; 5038 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5039 return result; 5040 } 5041 5042 long Footnotes::GetCreator() 5043 { 5044 long result; 5045 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5046 return result; 5047 } 5048 5049 LPDISPATCH Footnotes::GetParent() 5050 { 5051 LPDISPATCH result; 5052 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5053 return result; 5054 } 5055 5056 long Footnotes::GetLocation() 5057 { 5058 long result; 5059 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5060 return result; 5061 } 5062 5063 void Footnotes::SetLocation(long nNewValue) 5064 { 5065 static BYTE parms[] = 5066 VTS_I4; 5067 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5068 nNewValue); 5069 } 5070 5071 long Footnotes::GetNumberStyle() 5072 { 5073 long result; 5074 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5075 return result; 5076 } 5077 5078 void Footnotes::SetNumberStyle(long nNewValue) 5079 { 5080 static BYTE parms[] = 5081 VTS_I4; 5082 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5083 nNewValue); 5084 } 5085 5086 long Footnotes::GetStartingNumber() 5087 { 5088 long result; 5089 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5090 return result; 5091 } 5092 5093 void Footnotes::SetStartingNumber(long nNewValue) 5094 { 5095 static BYTE parms[] = 5096 VTS_I4; 5097 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5098 nNewValue); 5099 } 5100 5101 long Footnotes::GetNumberingRule() 5102 { 5103 long result; 5104 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5105 return result; 5106 } 5107 5108 void Footnotes::SetNumberingRule(long nNewValue) 5109 { 5110 static BYTE parms[] = 5111 VTS_I4; 5112 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5113 nNewValue); 5114 } 5115 5116 LPDISPATCH Footnotes::GetSeparator() 5117 { 5118 LPDISPATCH result; 5119 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5120 return result; 5121 } 5122 5123 LPDISPATCH Footnotes::GetContinuationSeparator() 5124 { 5125 LPDISPATCH result; 5126 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5127 return result; 5128 } 5129 5130 LPDISPATCH Footnotes::GetContinuationNotice() 5131 { 5132 LPDISPATCH result; 5133 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5134 return result; 5135 } 5136 5137 LPDISPATCH Footnotes::Item(long Index) 5138 { 5139 LPDISPATCH result; 5140 static BYTE parms[] = 5141 VTS_I4; 5142 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5143 Index); 5144 return result; 5145 } 5146 5147 LPDISPATCH Footnotes::Add(LPDISPATCH Range, VARIANT* Reference, VARIANT* Text) 5148 { 5149 LPDISPATCH result; 5150 static BYTE parms[] = 5151 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT; 5152 InvokeHelper(0x4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5153 Range, Reference, Text); 5154 return result; 5155 } 5156 5157 void Footnotes::Convert() 5158 { 5159 InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5160 } 5161 5162 void Footnotes::SwapWithEndnotes() 5163 { 5164 InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5165 } 5166 5167 void Footnotes::ResetSeparator() 5168 { 5169 InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5170 } 5171 5172 void Footnotes::ResetContinuationSeparator() 5173 { 5174 InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5175 } 5176 5177 void Footnotes::ResetContinuationNotice() 5178 { 5179 InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5180 } 5181 5182 5183 ///////////////////////////////////////////////////////////////////////////// 5184 // Endnotes properties 5185 5186 ///////////////////////////////////////////////////////////////////////////// 5187 // Endnotes operations 5188 5189 LPUNKNOWN Endnotes::Get_NewEnum() 5190 { 5191 LPUNKNOWN result; 5192 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 5193 return result; 5194 } 5195 5196 long Endnotes::GetCount() 5197 { 5198 long result; 5199 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5200 return result; 5201 } 5202 5203 LPDISPATCH Endnotes::GetApplication() 5204 { 5205 LPDISPATCH result; 5206 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5207 return result; 5208 } 5209 5210 long Endnotes::GetCreator() 5211 { 5212 long result; 5213 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5214 return result; 5215 } 5216 5217 LPDISPATCH Endnotes::GetParent() 5218 { 5219 LPDISPATCH result; 5220 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5221 return result; 5222 } 5223 5224 long Endnotes::GetLocation() 5225 { 5226 long result; 5227 InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5228 return result; 5229 } 5230 5231 void Endnotes::SetLocation(long nNewValue) 5232 { 5233 static BYTE parms[] = 5234 VTS_I4; 5235 InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5236 nNewValue); 5237 } 5238 5239 long Endnotes::GetNumberStyle() 5240 { 5241 long result; 5242 InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5243 return result; 5244 } 5245 5246 void Endnotes::SetNumberStyle(long nNewValue) 5247 { 5248 static BYTE parms[] = 5249 VTS_I4; 5250 InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5251 nNewValue); 5252 } 5253 5254 long Endnotes::GetStartingNumber() 5255 { 5256 long result; 5257 InvokeHelper(0x66, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5258 return result; 5259 } 5260 5261 void Endnotes::SetStartingNumber(long nNewValue) 5262 { 5263 static BYTE parms[] = 5264 VTS_I4; 5265 InvokeHelper(0x66, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5266 nNewValue); 5267 } 5268 5269 long Endnotes::GetNumberingRule() 5270 { 5271 long result; 5272 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5273 return result; 5274 } 5275 5276 void Endnotes::SetNumberingRule(long nNewValue) 5277 { 5278 static BYTE parms[] = 5279 VTS_I4; 5280 InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5281 nNewValue); 5282 } 5283 5284 LPDISPATCH Endnotes::GetSeparator() 5285 { 5286 LPDISPATCH result; 5287 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5288 return result; 5289 } 5290 5291 LPDISPATCH Endnotes::GetContinuationSeparator() 5292 { 5293 LPDISPATCH result; 5294 InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5295 return result; 5296 } 5297 5298 LPDISPATCH Endnotes::GetContinuationNotice() 5299 { 5300 LPDISPATCH result; 5301 InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5302 return result; 5303 } 5304 5305 LPDISPATCH Endnotes::Item(long Index) 5306 { 5307 LPDISPATCH result; 5308 static BYTE parms[] = 5309 VTS_I4; 5310 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5311 Index); 5312 return result; 5313 } 5314 5315 LPDISPATCH Endnotes::Add(LPDISPATCH Range, VARIANT* Reference, VARIANT* Text) 5316 { 5317 LPDISPATCH result; 5318 static BYTE parms[] = 5319 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT; 5320 InvokeHelper(0x4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5321 Range, Reference, Text); 5322 return result; 5323 } 5324 5325 void Endnotes::Convert() 5326 { 5327 InvokeHelper(0x5, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5328 } 5329 5330 void Endnotes::SwapWithFootnotes() 5331 { 5332 InvokeHelper(0x6, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5333 } 5334 5335 void Endnotes::ResetSeparator() 5336 { 5337 InvokeHelper(0x7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5338 } 5339 5340 void Endnotes::ResetContinuationSeparator() 5341 { 5342 InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5343 } 5344 5345 void Endnotes::ResetContinuationNotice() 5346 { 5347 InvokeHelper(0x9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5348 } 5349 5350 5351 ///////////////////////////////////////////////////////////////////////////// 5352 // Comments properties 5353 5354 ///////////////////////////////////////////////////////////////////////////// 5355 // Comments operations 5356 5357 LPUNKNOWN Comments::Get_NewEnum() 5358 { 5359 LPUNKNOWN result; 5360 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 5361 return result; 5362 } 5363 5364 long Comments::GetCount() 5365 { 5366 long result; 5367 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5368 return result; 5369 } 5370 5371 LPDISPATCH Comments::GetApplication() 5372 { 5373 LPDISPATCH result; 5374 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5375 return result; 5376 } 5377 5378 long Comments::GetCreator() 5379 { 5380 long result; 5381 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5382 return result; 5383 } 5384 5385 LPDISPATCH Comments::GetParent() 5386 { 5387 LPDISPATCH result; 5388 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5389 return result; 5390 } 5391 5392 CString Comments::GetShowBy() 5393 { 5394 CString result; 5395 InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 5396 return result; 5397 } 5398 5399 void Comments::SetShowBy(LPCTSTR lpszNewValue) 5400 { 5401 static BYTE parms[] = 5402 VTS_BSTR; 5403 InvokeHelper(0x3eb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5404 lpszNewValue); 5405 } 5406 5407 LPDISPATCH Comments::Item(long Index) 5408 { 5409 LPDISPATCH result; 5410 static BYTE parms[] = 5411 VTS_I4; 5412 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5413 Index); 5414 return result; 5415 } 5416 5417 LPDISPATCH Comments::Add(LPDISPATCH Range, VARIANT* Text) 5418 { 5419 LPDISPATCH result; 5420 static BYTE parms[] = 5421 VTS_DISPATCH VTS_PVARIANT; 5422 InvokeHelper(0x4, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 5423 Range, Text); 5424 return result; 5425 } 5426 5427 5428 ///////////////////////////////////////////////////////////////////////////// 5429 // Footnote properties 5430 5431 ///////////////////////////////////////////////////////////////////////////// 5432 // Footnote operations 5433 5434 LPDISPATCH Footnote::GetApplication() 5435 { 5436 LPDISPATCH result; 5437 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5438 return result; 5439 } 5440 5441 long Footnote::GetCreator() 5442 { 5443 long result; 5444 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5445 return result; 5446 } 5447 5448 LPDISPATCH Footnote::GetParent() 5449 { 5450 LPDISPATCH result; 5451 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5452 return result; 5453 } 5454 5455 LPDISPATCH Footnote::GetRange() 5456 { 5457 LPDISPATCH result; 5458 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5459 return result; 5460 } 5461 5462 LPDISPATCH Footnote::GetReference() 5463 { 5464 LPDISPATCH result; 5465 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 5466 return result; 5467 } 5468 5469 long Footnote::GetIndex() 5470 { 5471 long result; 5472 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 5473 return result; 5474 } 5475 5476 void Footnote::Delete() 5477 { 5478 InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 5479 }View Code
4
1 ///////////////////////////////////////////////////////////////////////////// 2 // Endnote properties 3 4 ///////////////////////////////////////////////////////////////////////////// 5 // Endnote operations 6 7 LPDISPATCH Endnote::GetApplication() 8 { 9 LPDISPATCH result; 10 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 11 return result; 12 } 13 14 long Endnote::GetCreator() 15 { 16 long result; 17 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 18 return result; 19 } 20 21 LPDISPATCH Endnote::GetParent() 22 { 23 LPDISPATCH result; 24 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 25 return result; 26 } 27 28 LPDISPATCH Endnote::GetRange() 29 { 30 LPDISPATCH result; 31 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 32 return result; 33 } 34 35 LPDISPATCH Endnote::GetReference() 36 { 37 LPDISPATCH result; 38 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 39 return result; 40 } 41 42 long Endnote::GetIndex() 43 { 44 long result; 45 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 46 return result; 47 } 48 49 void Endnote::Delete() 50 { 51 InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 52 } 53 54 55 ///////////////////////////////////////////////////////////////////////////// 56 // Comment properties 57 58 ///////////////////////////////////////////////////////////////////////////// 59 // Comment operations 60 61 LPDISPATCH Comment::GetApplication() 62 { 63 LPDISPATCH result; 64 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 65 return result; 66 } 67 68 long Comment::GetCreator() 69 { 70 long result; 71 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 72 return result; 73 } 74 75 LPDISPATCH Comment::GetParent() 76 { 77 LPDISPATCH result; 78 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 79 return result; 80 } 81 82 LPDISPATCH Comment::GetRange() 83 { 84 LPDISPATCH result; 85 InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 86 return result; 87 } 88 89 LPDISPATCH Comment::GetReference() 90 { 91 LPDISPATCH result; 92 InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 93 return result; 94 } 95 96 LPDISPATCH Comment::GetScope() 97 { 98 LPDISPATCH result; 99 InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 100 return result; 101 } 102 103 long Comment::GetIndex() 104 { 105 long result; 106 InvokeHelper(0x3ee, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 107 return result; 108 } 109 110 CString Comment::GetAuthor() 111 { 112 CString result; 113 InvokeHelper(0x3ef, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 114 return result; 115 } 116 117 void Comment::SetAuthor(LPCTSTR lpszNewValue) 118 { 119 static BYTE parms[] = 120 VTS_BSTR; 121 InvokeHelper(0x3ef, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 122 lpszNewValue); 123 } 124 125 CString Comment::GetInitial() 126 { 127 CString result; 128 InvokeHelper(0x3f0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 129 return result; 130 } 131 132 void Comment::SetInitial(LPCTSTR lpszNewValue) 133 { 134 static BYTE parms[] = 135 VTS_BSTR; 136 InvokeHelper(0x3f0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 137 lpszNewValue); 138 } 139 140 BOOL Comment::GetShowTip() 141 { 142 BOOL result; 143 InvokeHelper(0x3f1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 144 return result; 145 } 146 147 void Comment::SetShowTip(BOOL bNewValue) 148 { 149 static BYTE parms[] = 150 VTS_BOOL; 151 InvokeHelper(0x3f1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 152 bNewValue); 153 } 154 155 void Comment::Delete() 156 { 157 InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 158 } 159 160 void Comment::Edit() 161 { 162 InvokeHelper(0x3f3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 163 } 164 165 DATE Comment::GetDate() 166 { 167 DATE result; 168 InvokeHelper(0x3f2, DISPATCH_PROPERTYGET, VT_DATE, (void*)&result, NULL); 169 return result; 170 } 171 172 BOOL Comment::GetIsInk() 173 { 174 BOOL result; 175 InvokeHelper(0x3f4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 176 return result; 177 } 178 179 180 ///////////////////////////////////////////////////////////////////////////// 181 // Borders properties 182 183 ///////////////////////////////////////////////////////////////////////////// 184 // Borders operations 185 186 LPDISPATCH Borders::GetApplication() 187 { 188 LPDISPATCH result; 189 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 190 return result; 191 } 192 193 long Borders::GetCreator() 194 { 195 long result; 196 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 197 return result; 198 } 199 200 LPDISPATCH Borders::GetParent() 201 { 202 LPDISPATCH result; 203 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 204 return result; 205 } 206 207 LPUNKNOWN Borders::Get_NewEnum() 208 { 209 LPUNKNOWN result; 210 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 211 return result; 212 } 213 214 long Borders::GetCount() 215 { 216 long result; 217 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 218 return result; 219 } 220 221 long Borders::GetEnable() 222 { 223 long result; 224 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 225 return result; 226 } 227 228 void Borders::SetEnable(long nNewValue) 229 { 230 static BYTE parms[] = 231 VTS_I4; 232 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 233 nNewValue); 234 } 235 236 long Borders::GetDistanceFromTop() 237 { 238 long result; 239 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 240 return result; 241 } 242 243 void Borders::SetDistanceFromTop(long nNewValue) 244 { 245 static BYTE parms[] = 246 VTS_I4; 247 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 248 nNewValue); 249 } 250 251 BOOL Borders::GetShadow() 252 { 253 BOOL result; 254 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 255 return result; 256 } 257 258 void Borders::SetShadow(BOOL bNewValue) 259 { 260 static BYTE parms[] = 261 VTS_BOOL; 262 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 263 bNewValue); 264 } 265 266 long Borders::GetInsideLineStyle() 267 { 268 long result; 269 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 270 return result; 271 } 272 273 void Borders::SetInsideLineStyle(long nNewValue) 274 { 275 static BYTE parms[] = 276 VTS_I4; 277 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 278 nNewValue); 279 } 280 281 long Borders::GetOutsideLineStyle() 282 { 283 long result; 284 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 285 return result; 286 } 287 288 void Borders::SetOutsideLineStyle(long nNewValue) 289 { 290 static BYTE parms[] = 291 VTS_I4; 292 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 293 nNewValue); 294 } 295 296 long Borders::GetInsideLineWidth() 297 { 298 long result; 299 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 300 return result; 301 } 302 303 void Borders::SetInsideLineWidth(long nNewValue) 304 { 305 static BYTE parms[] = 306 VTS_I4; 307 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 308 nNewValue); 309 } 310 311 long Borders::GetOutsideLineWidth() 312 { 313 long result; 314 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 315 return result; 316 } 317 318 void Borders::SetOutsideLineWidth(long nNewValue) 319 { 320 static BYTE parms[] = 321 VTS_I4; 322 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 323 nNewValue); 324 } 325 326 long Borders::GetInsideColorIndex() 327 { 328 long result; 329 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 330 return result; 331 } 332 333 void Borders::SetInsideColorIndex(long nNewValue) 334 { 335 static BYTE parms[] = 336 VTS_I4; 337 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 338 nNewValue); 339 } 340 341 long Borders::GetOutsideColorIndex() 342 { 343 long result; 344 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 345 return result; 346 } 347 348 void Borders::SetOutsideColorIndex(long nNewValue) 349 { 350 static BYTE parms[] = 351 VTS_I4; 352 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 353 nNewValue); 354 } 355 356 long Borders::GetDistanceFromLeft() 357 { 358 long result; 359 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 360 return result; 361 } 362 363 void Borders::SetDistanceFromLeft(long nNewValue) 364 { 365 static BYTE parms[] = 366 VTS_I4; 367 InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 368 nNewValue); 369 } 370 371 long Borders::GetDistanceFromBottom() 372 { 373 long result; 374 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 375 return result; 376 } 377 378 void Borders::SetDistanceFromBottom(long nNewValue) 379 { 380 static BYTE parms[] = 381 VTS_I4; 382 InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 383 nNewValue); 384 } 385 386 long Borders::GetDistanceFromRight() 387 { 388 long result; 389 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 390 return result; 391 } 392 393 void Borders::SetDistanceFromRight(long nNewValue) 394 { 395 static BYTE parms[] = 396 VTS_I4; 397 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 398 nNewValue); 399 } 400 401 BOOL Borders::GetAlwaysInFront() 402 { 403 BOOL result; 404 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 405 return result; 406 } 407 408 void Borders::SetAlwaysInFront(BOOL bNewValue) 409 { 410 static BYTE parms[] = 411 VTS_BOOL; 412 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 413 bNewValue); 414 } 415 416 BOOL Borders::GetSurroundHeader() 417 { 418 BOOL result; 419 InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 420 return result; 421 } 422 423 void Borders::SetSurroundHeader(BOOL bNewValue) 424 { 425 static BYTE parms[] = 426 VTS_BOOL; 427 InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 428 bNewValue); 429 } 430 431 BOOL Borders::GetSurroundFooter() 432 { 433 BOOL result; 434 InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 435 return result; 436 } 437 438 void Borders::SetSurroundFooter(BOOL bNewValue) 439 { 440 static BYTE parms[] = 441 VTS_BOOL; 442 InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 443 bNewValue); 444 } 445 446 BOOL Borders::GetJoinBorders() 447 { 448 BOOL result; 449 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 450 return result; 451 } 452 453 void Borders::SetJoinBorders(BOOL bNewValue) 454 { 455 static BYTE parms[] = 456 VTS_BOOL; 457 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 458 bNewValue); 459 } 460 461 BOOL Borders::GetHasHorizontal() 462 { 463 BOOL result; 464 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 465 return result; 466 } 467 468 BOOL Borders::GetHasVertical() 469 { 470 BOOL result; 471 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 472 return result; 473 } 474 475 long Borders::GetDistanceFrom() 476 { 477 long result; 478 InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 479 return result; 480 } 481 482 void Borders::SetDistanceFrom(long nNewValue) 483 { 484 static BYTE parms[] = 485 VTS_I4; 486 InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 487 nNewValue); 488 } 489 490 BOOL Borders::GetEnableFirstPageInSection() 491 { 492 BOOL result; 493 InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 494 return result; 495 } 496 497 void Borders::SetEnableFirstPageInSection(BOOL bNewValue) 498 { 499 static BYTE parms[] = 500 VTS_BOOL; 501 InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 502 bNewValue); 503 } 504 505 BOOL Borders::GetEnableOtherPagesInSection() 506 { 507 BOOL result; 508 InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 509 return result; 510 } 511 512 void Borders::SetEnableOtherPagesInSection(BOOL bNewValue) 513 { 514 static BYTE parms[] = 515 VTS_BOOL; 516 InvokeHelper(0x1f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 517 bNewValue); 518 } 519 520 LPDISPATCH Borders::Item(long Index) 521 { 522 LPDISPATCH result; 523 static BYTE parms[] = 524 VTS_I4; 525 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 526 Index); 527 return result; 528 } 529 530 void Borders::ApplyPageBordersToAllSections() 531 { 532 InvokeHelper(0x7d0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 533 } 534 535 long Borders::GetInsideColor() 536 { 537 long result; 538 InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 539 return result; 540 } 541 542 void Borders::SetInsideColor(long nNewValue) 543 { 544 static BYTE parms[] = 545 VTS_I4; 546 InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 547 nNewValue); 548 } 549 550 long Borders::GetOutsideColor() 551 { 552 long result; 553 InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 554 return result; 555 } 556 557 void Borders::SetOutsideColor(long nNewValue) 558 { 559 static BYTE parms[] = 560 VTS_I4; 561 InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 562 nNewValue); 563 } 564 565 566 ///////////////////////////////////////////////////////////////////////////// 567 // Border properties 568 569 ///////////////////////////////////////////////////////////////////////////// 570 // Border operations 571 572 LPDISPATCH Border::GetApplication() 573 { 574 LPDISPATCH result; 575 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 576 return result; 577 } 578 579 long Border::GetCreator() 580 { 581 long result; 582 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 583 return result; 584 } 585 586 LPDISPATCH Border::GetParent() 587 { 588 LPDISPATCH result; 589 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 590 return result; 591 } 592 593 BOOL Border::GetVisible() 594 { 595 BOOL result; 596 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 597 return result; 598 } 599 600 void Border::SetVisible(BOOL bNewValue) 601 { 602 static BYTE parms[] = 603 VTS_BOOL; 604 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 605 bNewValue); 606 } 607 608 long Border::GetColorIndex() 609 { 610 long result; 611 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 612 return result; 613 } 614 615 void Border::SetColorIndex(long nNewValue) 616 { 617 static BYTE parms[] = 618 VTS_I4; 619 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 620 nNewValue); 621 } 622 623 BOOL Border::GetInside() 624 { 625 BOOL result; 626 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 627 return result; 628 } 629 630 long Border::GetLineStyle() 631 { 632 long result; 633 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 634 return result; 635 } 636 637 void Border::SetLineStyle(long nNewValue) 638 { 639 static BYTE parms[] = 640 VTS_I4; 641 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 642 nNewValue); 643 } 644 645 long Border::GetLineWidth() 646 { 647 long result; 648 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 649 return result; 650 } 651 652 void Border::SetLineWidth(long nNewValue) 653 { 654 static BYTE parms[] = 655 VTS_I4; 656 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 657 nNewValue); 658 } 659 660 long Border::GetArtStyle() 661 { 662 long result; 663 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 664 return result; 665 } 666 667 void Border::SetArtStyle(long nNewValue) 668 { 669 static BYTE parms[] = 670 VTS_I4; 671 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 672 nNewValue); 673 } 674 675 long Border::GetArtWidth() 676 { 677 long result; 678 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 679 return result; 680 } 681 682 void Border::SetArtWidth(long nNewValue) 683 { 684 static BYTE parms[] = 685 VTS_I4; 686 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 687 nNewValue); 688 } 689 690 long Border::GetColor() 691 { 692 long result; 693 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 694 return result; 695 } 696 697 void Border::SetColor(long nNewValue) 698 { 699 static BYTE parms[] = 700 VTS_I4; 701 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 702 nNewValue); 703 } 704 705 706 ///////////////////////////////////////////////////////////////////////////// 707 // Shading properties 708 709 ///////////////////////////////////////////////////////////////////////////// 710 // Shading operations 711 712 LPDISPATCH Shading::GetApplication() 713 { 714 LPDISPATCH result; 715 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 716 return result; 717 } 718 719 long Shading::GetCreator() 720 { 721 long result; 722 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 723 return result; 724 } 725 726 LPDISPATCH Shading::GetParent() 727 { 728 LPDISPATCH result; 729 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 730 return result; 731 } 732 733 long Shading::GetForegroundPatternColorIndex() 734 { 735 long result; 736 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 737 return result; 738 } 739 740 void Shading::SetForegroundPatternColorIndex(long nNewValue) 741 { 742 static BYTE parms[] = 743 VTS_I4; 744 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 745 nNewValue); 746 } 747 748 long Shading::GetBackgroundPatternColorIndex() 749 { 750 long result; 751 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 752 return result; 753 } 754 755 void Shading::SetBackgroundPatternColorIndex(long nNewValue) 756 { 757 static BYTE parms[] = 758 VTS_I4; 759 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 760 nNewValue); 761 } 762 763 long Shading::GetTexture() 764 { 765 long result; 766 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 767 return result; 768 } 769 770 void Shading::SetTexture(long nNewValue) 771 { 772 static BYTE parms[] = 773 VTS_I4; 774 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 775 nNewValue); 776 } 777 778 long Shading::GetForegroundPatternColor() 779 { 780 long result; 781 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 782 return result; 783 } 784 785 void Shading::SetForegroundPatternColor(long nNewValue) 786 { 787 static BYTE parms[] = 788 VTS_I4; 789 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 790 nNewValue); 791 } 792 793 long Shading::GetBackgroundPatternColor() 794 { 795 long result; 796 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 797 return result; 798 } 799 800 void Shading::SetBackgroundPatternColor(long nNewValue) 801 { 802 static BYTE parms[] = 803 VTS_I4; 804 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 805 nNewValue); 806 } 807 808 809 ///////////////////////////////////////////////////////////////////////////// 810 // TextRetrievalMode properties 811 812 ///////////////////////////////////////////////////////////////////////////// 813 // TextRetrievalMode operations 814 815 LPDISPATCH TextRetrievalMode::GetApplication() 816 { 817 LPDISPATCH result; 818 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 819 return result; 820 } 821 822 long TextRetrievalMode::GetCreator() 823 { 824 long result; 825 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 826 return result; 827 } 828 829 LPDISPATCH TextRetrievalMode::GetParent() 830 { 831 LPDISPATCH result; 832 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 833 return result; 834 } 835 836 long TextRetrievalMode::GetViewType() 837 { 838 long result; 839 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 840 return result; 841 } 842 843 void TextRetrievalMode::SetViewType(long nNewValue) 844 { 845 static BYTE parms[] = 846 VTS_I4; 847 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 848 nNewValue); 849 } 850 851 LPDISPATCH TextRetrievalMode::GetDuplicate() 852 { 853 LPDISPATCH result; 854 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 855 return result; 856 } 857 858 BOOL TextRetrievalMode::GetIncludeHiddenText() 859 { 860 BOOL result; 861 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 862 return result; 863 } 864 865 void TextRetrievalMode::SetIncludeHiddenText(BOOL bNewValue) 866 { 867 static BYTE parms[] = 868 VTS_BOOL; 869 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 870 bNewValue); 871 } 872 873 BOOL TextRetrievalMode::GetIncludeFieldCodes() 874 { 875 BOOL result; 876 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 877 return result; 878 } 879 880 void TextRetrievalMode::SetIncludeFieldCodes(BOOL bNewValue) 881 { 882 static BYTE parms[] = 883 VTS_BOOL; 884 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 885 bNewValue); 886 } 887 888 889 ///////////////////////////////////////////////////////////////////////////// 890 // AutoTextEntries properties 891 892 ///////////////////////////////////////////////////////////////////////////// 893 // AutoTextEntries operations 894 895 LPDISPATCH AutoTextEntries::GetApplication() 896 { 897 LPDISPATCH result; 898 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 899 return result; 900 } 901 902 long AutoTextEntries::GetCreator() 903 { 904 long result; 905 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 906 return result; 907 } 908 909 LPDISPATCH AutoTextEntries::GetParent() 910 { 911 LPDISPATCH result; 912 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 913 return result; 914 } 915 916 LPUNKNOWN AutoTextEntries::Get_NewEnum() 917 { 918 LPUNKNOWN result; 919 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 920 return result; 921 } 922 923 long AutoTextEntries::GetCount() 924 { 925 long result; 926 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 927 return result; 928 } 929 930 LPDISPATCH AutoTextEntries::Item(VARIANT* Index) 931 { 932 LPDISPATCH result; 933 static BYTE parms[] = 934 VTS_PVARIANT; 935 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 936 Index); 937 return result; 938 } 939 940 LPDISPATCH AutoTextEntries::Add(LPCTSTR Name, LPDISPATCH Range) 941 { 942 LPDISPATCH result; 943 static BYTE parms[] = 944 VTS_BSTR VTS_DISPATCH; 945 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 946 Name, Range); 947 return result; 948 } 949 950 LPDISPATCH AutoTextEntries::AppendToSpike(LPDISPATCH Range) 951 { 952 LPDISPATCH result; 953 static BYTE parms[] = 954 VTS_DISPATCH; 955 InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 956 Range); 957 return result; 958 } 959 960 961 ///////////////////////////////////////////////////////////////////////////// 962 // AutoTextEntry properties 963 964 ///////////////////////////////////////////////////////////////////////////// 965 // AutoTextEntry operations 966 967 LPDISPATCH AutoTextEntry::GetApplication() 968 { 969 LPDISPATCH result; 970 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 971 return result; 972 } 973 974 long AutoTextEntry::GetCreator() 975 { 976 long result; 977 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 978 return result; 979 } 980 981 LPDISPATCH AutoTextEntry::GetParent() 982 { 983 LPDISPATCH result; 984 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 985 return result; 986 } 987 988 long AutoTextEntry::GetIndex() 989 { 990 long result; 991 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 992 return result; 993 } 994 995 CString AutoTextEntry::GetName() 996 { 997 CString result; 998 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 999 return result; 1000 } 1001 1002 void AutoTextEntry::SetName(LPCTSTR lpszNewValue) 1003 { 1004 static BYTE parms[] = 1005 VTS_BSTR; 1006 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1007 lpszNewValue); 1008 } 1009 1010 CString AutoTextEntry::GetStyleName() 1011 { 1012 CString result; 1013 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1014 return result; 1015 } 1016 1017 CString AutoTextEntry::GetValue() 1018 { 1019 CString result; 1020 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1021 return result; 1022 } 1023 1024 void AutoTextEntry::SetValue(LPCTSTR lpszNewValue) 1025 { 1026 static BYTE parms[] = 1027 VTS_BSTR; 1028 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1029 lpszNewValue); 1030 } 1031 1032 void AutoTextEntry::Delete() 1033 { 1034 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1035 } 1036 1037 LPDISPATCH AutoTextEntry::Insert(LPDISPATCH Where, VARIANT* RichText) 1038 { 1039 LPDISPATCH result; 1040 static BYTE parms[] = 1041 VTS_DISPATCH VTS_PVARIANT; 1042 InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1043 Where, RichText); 1044 return result; 1045 } 1046 1047 1048 ///////////////////////////////////////////////////////////////////////////// 1049 // System properties 1050 1051 ///////////////////////////////////////////////////////////////////////////// 1052 // System operations 1053 1054 LPDISPATCH System::GetApplication() 1055 { 1056 LPDISPATCH result; 1057 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1058 return result; 1059 } 1060 1061 long System::GetCreator() 1062 { 1063 long result; 1064 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1065 return result; 1066 } 1067 1068 LPDISPATCH System::GetParent() 1069 { 1070 LPDISPATCH result; 1071 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1072 return result; 1073 } 1074 1075 CString System::GetOperatingSystem() 1076 { 1077 CString result; 1078 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1079 return result; 1080 } 1081 1082 CString System::GetProcessorType() 1083 { 1084 CString result; 1085 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1086 return result; 1087 } 1088 1089 CString System::GetVersion() 1090 { 1091 CString result; 1092 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1093 return result; 1094 } 1095 1096 long System::GetFreeDiskSpace() 1097 { 1098 long result; 1099 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1100 return result; 1101 } 1102 1103 CString System::GetLanguageDesignation() 1104 { 1105 CString result; 1106 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1107 return result; 1108 } 1109 1110 long System::GetHorizontalResolution() 1111 { 1112 long result; 1113 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1114 return result; 1115 } 1116 1117 long System::GetVerticalResolution() 1118 { 1119 long result; 1120 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1121 return result; 1122 } 1123 1124 CString System::GetProfileString(LPCTSTR Section, LPCTSTR Key) 1125 { 1126 CString result; 1127 static BYTE parms[] = 1128 VTS_BSTR VTS_BSTR; 1129 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, 1130 Section, Key); 1131 return result; 1132 } 1133 1134 void System::SetProfileString(LPCTSTR Section, LPCTSTR Key, LPCTSTR lpszNewValue) 1135 { 1136 static BYTE parms[] = 1137 VTS_BSTR VTS_BSTR VTS_BSTR; 1138 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1139 Section, Key, lpszNewValue); 1140 } 1141 1142 CString System::GetPrivateProfileString(LPCTSTR FileName, LPCTSTR Section, LPCTSTR Key) 1143 { 1144 CString result; 1145 static BYTE parms[] = 1146 VTS_BSTR VTS_BSTR VTS_BSTR; 1147 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms, 1148 FileName, Section, Key); 1149 return result; 1150 } 1151 1152 void System::SetPrivateProfileString(LPCTSTR FileName, LPCTSTR Section, LPCTSTR Key, LPCTSTR lpszNewValue) 1153 { 1154 static BYTE parms[] = 1155 VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR; 1156 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1157 FileName, Section, Key, lpszNewValue); 1158 } 1159 1160 BOOL System::GetMathCoprocessorInstalled() 1161 { 1162 BOOL result; 1163 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1164 return result; 1165 } 1166 1167 CString System::GetComputerType() 1168 { 1169 CString result; 1170 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1171 return result; 1172 } 1173 1174 CString System::GetMacintoshName() 1175 { 1176 CString result; 1177 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1178 return result; 1179 } 1180 1181 BOOL System::GetQuickDrawInstalled() 1182 { 1183 BOOL result; 1184 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1185 return result; 1186 } 1187 1188 long System::GetCursor() 1189 { 1190 long result; 1191 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1192 return result; 1193 } 1194 1195 void System::SetCursor(long nNewValue) 1196 { 1197 static BYTE parms[] = 1198 VTS_I4; 1199 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1200 nNewValue); 1201 } 1202 1203 void System::MSInfo() 1204 { 1205 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1206 } 1207 1208 void System::Connect(LPCTSTR Path, VARIANT* Drive, VARIANT* Password) 1209 { 1210 static BYTE parms[] = 1211 VTS_BSTR VTS_PVARIANT VTS_PVARIANT; 1212 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1213 Path, Drive, Password); 1214 } 1215 1216 long System::GetCountryRegion() 1217 { 1218 long result; 1219 InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1220 return result; 1221 } 1222 1223 1224 ///////////////////////////////////////////////////////////////////////////// 1225 // OLEFormat properties 1226 1227 ///////////////////////////////////////////////////////////////////////////// 1228 // OLEFormat operations 1229 1230 LPDISPATCH OLEFormat::GetApplication() 1231 { 1232 LPDISPATCH result; 1233 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1234 return result; 1235 } 1236 1237 long OLEFormat::GetCreator() 1238 { 1239 long result; 1240 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1241 return result; 1242 } 1243 1244 LPDISPATCH OLEFormat::GetParent() 1245 { 1246 LPDISPATCH result; 1247 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1248 return result; 1249 } 1250 1251 CString OLEFormat::GetClassType() 1252 { 1253 CString result; 1254 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1255 return result; 1256 } 1257 1258 void OLEFormat::SetClassType(LPCTSTR lpszNewValue) 1259 { 1260 static BYTE parms[] = 1261 VTS_BSTR; 1262 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1263 lpszNewValue); 1264 } 1265 1266 BOOL OLEFormat::GetDisplayAsIcon() 1267 { 1268 BOOL result; 1269 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1270 return result; 1271 } 1272 1273 void OLEFormat::SetDisplayAsIcon(BOOL bNewValue) 1274 { 1275 static BYTE parms[] = 1276 VTS_BOOL; 1277 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1278 bNewValue); 1279 } 1280 1281 CString OLEFormat::GetIconName() 1282 { 1283 CString result; 1284 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1285 return result; 1286 } 1287 1288 void OLEFormat::SetIconName(LPCTSTR lpszNewValue) 1289 { 1290 static BYTE parms[] = 1291 VTS_BSTR; 1292 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1293 lpszNewValue); 1294 } 1295 1296 CString OLEFormat::GetIconPath() 1297 { 1298 CString result; 1299 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1300 return result; 1301 } 1302 1303 long OLEFormat::GetIconIndex() 1304 { 1305 long result; 1306 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1307 return result; 1308 } 1309 1310 void OLEFormat::SetIconIndex(long nNewValue) 1311 { 1312 static BYTE parms[] = 1313 VTS_I4; 1314 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1315 nNewValue); 1316 } 1317 1318 CString OLEFormat::GetIconLabel() 1319 { 1320 CString result; 1321 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1322 return result; 1323 } 1324 1325 void OLEFormat::SetIconLabel(LPCTSTR lpszNewValue) 1326 { 1327 static BYTE parms[] = 1328 VTS_BSTR; 1329 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1330 lpszNewValue); 1331 } 1332 1333 CString OLEFormat::GetLabel() 1334 { 1335 CString result; 1336 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1337 return result; 1338 } 1339 1340 LPDISPATCH OLEFormat::GetObject() 1341 { 1342 LPDISPATCH result; 1343 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1344 return result; 1345 } 1346 1347 CString OLEFormat::GetProgID() 1348 { 1349 CString result; 1350 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1351 return result; 1352 } 1353 1354 void OLEFormat::Activate() 1355 { 1356 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1357 } 1358 1359 void OLEFormat::Edit() 1360 { 1361 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1362 } 1363 1364 void OLEFormat::Open() 1365 { 1366 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1367 } 1368 1369 void OLEFormat::DoVerb(VARIANT* VerbIndex) 1370 { 1371 static BYTE parms[] = 1372 VTS_PVARIANT; 1373 InvokeHelper(0x6d, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1374 VerbIndex); 1375 } 1376 1377 void OLEFormat::ConvertTo(VARIANT* ClassType, VARIANT* DisplayAsIcon, VARIANT* IconFileName, VARIANT* IconIndex, VARIANT* IconLabel) 1378 { 1379 static BYTE parms[] = 1380 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1381 InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1382 ClassType, DisplayAsIcon, IconFileName, IconIndex, IconLabel); 1383 } 1384 1385 void OLEFormat::ActivateAs(LPCTSTR ClassType) 1386 { 1387 static BYTE parms[] = 1388 VTS_BSTR; 1389 InvokeHelper(0x6f, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 1390 ClassType); 1391 } 1392 1393 BOOL OLEFormat::GetPreserveFormattingOnUpdate() 1394 { 1395 BOOL result; 1396 InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1397 return result; 1398 } 1399 1400 void OLEFormat::SetPreserveFormattingOnUpdate(BOOL bNewValue) 1401 { 1402 static BYTE parms[] = 1403 VTS_BOOL; 1404 InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1405 bNewValue); 1406 } 1407 1408 1409 ///////////////////////////////////////////////////////////////////////////// 1410 // LinkFormat properties 1411 1412 ///////////////////////////////////////////////////////////////////////////// 1413 // LinkFormat operations 1414 1415 LPDISPATCH LinkFormat::GetApplication() 1416 { 1417 LPDISPATCH result; 1418 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1419 return result; 1420 } 1421 1422 long LinkFormat::GetCreator() 1423 { 1424 long result; 1425 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1426 return result; 1427 } 1428 1429 LPDISPATCH LinkFormat::GetParent() 1430 { 1431 LPDISPATCH result; 1432 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1433 return result; 1434 } 1435 1436 BOOL LinkFormat::GetAutoUpdate() 1437 { 1438 BOOL result; 1439 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1440 return result; 1441 } 1442 1443 void LinkFormat::SetAutoUpdate(BOOL bNewValue) 1444 { 1445 static BYTE parms[] = 1446 VTS_BOOL; 1447 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1448 bNewValue); 1449 } 1450 1451 CString LinkFormat::GetSourceName() 1452 { 1453 CString result; 1454 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1455 return result; 1456 } 1457 1458 CString LinkFormat::GetSourcePath() 1459 { 1460 CString result; 1461 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1462 return result; 1463 } 1464 1465 BOOL LinkFormat::GetLocked() 1466 { 1467 BOOL result; 1468 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1469 return result; 1470 } 1471 1472 void LinkFormat::SetLocked(BOOL bNewValue) 1473 { 1474 static BYTE parms[] = 1475 VTS_BOOL; 1476 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1477 bNewValue); 1478 } 1479 1480 long LinkFormat::GetType() 1481 { 1482 long result; 1483 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1484 return result; 1485 } 1486 1487 CString LinkFormat::GetSourceFullName() 1488 { 1489 CString result; 1490 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1491 return result; 1492 } 1493 1494 void LinkFormat::SetSourceFullName(LPCTSTR lpszNewValue) 1495 { 1496 static BYTE parms[] = 1497 VTS_BSTR; 1498 InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1499 lpszNewValue); 1500 } 1501 1502 BOOL LinkFormat::GetSavePictureWithDocument() 1503 { 1504 BOOL result; 1505 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1506 return result; 1507 } 1508 1509 void LinkFormat::SetSavePictureWithDocument(BOOL bNewValue) 1510 { 1511 static BYTE parms[] = 1512 VTS_BOOL; 1513 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1514 bNewValue); 1515 } 1516 1517 void LinkFormat::BreakLink() 1518 { 1519 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1520 } 1521 1522 void LinkFormat::Update() 1523 { 1524 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1525 } 1526 1527 1528 ///////////////////////////////////////////////////////////////////////////// 1529 // _OLEControl properties 1530 1531 ///////////////////////////////////////////////////////////////////////////// 1532 // _OLEControl operations 1533 1534 float _OLEControl::GetLeft() 1535 { 1536 float result; 1537 InvokeHelper(0x80010103, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1538 return result; 1539 } 1540 1541 void _OLEControl::SetLeft(float newValue) 1542 { 1543 static BYTE parms[] = 1544 VTS_R4; 1545 InvokeHelper(0x80010103, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1546 newValue); 1547 } 1548 1549 float _OLEControl::GetTop() 1550 { 1551 float result; 1552 InvokeHelper(0x80010104, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1553 return result; 1554 } 1555 1556 void _OLEControl::SetTop(float newValue) 1557 { 1558 static BYTE parms[] = 1559 VTS_R4; 1560 InvokeHelper(0x80010104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1561 newValue); 1562 } 1563 1564 float _OLEControl::GetHeight() 1565 { 1566 float result; 1567 InvokeHelper(0x80010105, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1568 return result; 1569 } 1570 1571 void _OLEControl::SetHeight(float newValue) 1572 { 1573 static BYTE parms[] = 1574 VTS_R4; 1575 InvokeHelper(0x80010105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1576 newValue); 1577 } 1578 1579 float _OLEControl::GetWidth() 1580 { 1581 float result; 1582 InvokeHelper(0x80010106, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 1583 return result; 1584 } 1585 1586 void _OLEControl::SetWidth(float newValue) 1587 { 1588 static BYTE parms[] = 1589 VTS_R4; 1590 InvokeHelper(0x80010106, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1591 newValue); 1592 } 1593 1594 CString _OLEControl::GetName() 1595 { 1596 CString result; 1597 InvokeHelper(0x80010000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1598 return result; 1599 } 1600 1601 void _OLEControl::SetName(LPCTSTR lpszNewValue) 1602 { 1603 static BYTE parms[] = 1604 VTS_BSTR; 1605 InvokeHelper(0x80010000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1606 lpszNewValue); 1607 } 1608 1609 LPDISPATCH _OLEControl::GetAutomation() 1610 { 1611 LPDISPATCH result; 1612 InvokeHelper(0x80010107, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1613 return result; 1614 } 1615 1616 void _OLEControl::Select() 1617 { 1618 InvokeHelper(0x80010220, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1619 } 1620 1621 void _OLEControl::Copy() 1622 { 1623 InvokeHelper(0x80010228, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1624 } 1625 1626 void _OLEControl::Cut() 1627 { 1628 InvokeHelper(0x80010229, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1629 } 1630 1631 void _OLEControl::Delete() 1632 { 1633 InvokeHelper(0x80010250, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1634 } 1635 1636 void _OLEControl::Activate() 1637 { 1638 InvokeHelper(0x80010251, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1639 } 1640 1641 1642 ///////////////////////////////////////////////////////////////////////////// 1643 // Fields properties 1644 1645 ///////////////////////////////////////////////////////////////////////////// 1646 // Fields operations 1647 1648 LPDISPATCH Fields::GetApplication() 1649 { 1650 LPDISPATCH result; 1651 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1652 return result; 1653 } 1654 1655 long Fields::GetCreator() 1656 { 1657 long result; 1658 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1659 return result; 1660 } 1661 1662 LPDISPATCH Fields::GetParent() 1663 { 1664 LPDISPATCH result; 1665 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1666 return result; 1667 } 1668 1669 long Fields::GetCount() 1670 { 1671 long result; 1672 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1673 return result; 1674 } 1675 1676 long Fields::GetLocked() 1677 { 1678 long result; 1679 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1680 return result; 1681 } 1682 1683 void Fields::SetLocked(long nNewValue) 1684 { 1685 static BYTE parms[] = 1686 VTS_I4; 1687 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1688 nNewValue); 1689 } 1690 1691 LPUNKNOWN Fields::Get_NewEnum() 1692 { 1693 LPUNKNOWN result; 1694 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 1695 return result; 1696 } 1697 1698 LPDISPATCH Fields::Item(long Index) 1699 { 1700 LPDISPATCH result; 1701 static BYTE parms[] = 1702 VTS_I4; 1703 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1704 Index); 1705 return result; 1706 } 1707 1708 void Fields::ToggleShowCodes() 1709 { 1710 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1711 } 1712 1713 long Fields::Update() 1714 { 1715 long result; 1716 InvokeHelper(0x65, DISPATCH_METHOD, VT_I4, (void*)&result, NULL); 1717 return result; 1718 } 1719 1720 void Fields::Unlink() 1721 { 1722 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1723 } 1724 1725 void Fields::UpdateSource() 1726 { 1727 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1728 } 1729 1730 LPDISPATCH Fields::Add(LPDISPATCH Range, VARIANT* Type, VARIANT* Text, VARIANT* PreserveFormatting) 1731 { 1732 LPDISPATCH result; 1733 static BYTE parms[] = 1734 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 1735 InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 1736 Range, Type, Text, PreserveFormatting); 1737 return result; 1738 } 1739 1740 1741 ///////////////////////////////////////////////////////////////////////////// 1742 // Field properties 1743 1744 ///////////////////////////////////////////////////////////////////////////// 1745 // Field operations 1746 1747 LPDISPATCH Field::GetApplication() 1748 { 1749 LPDISPATCH result; 1750 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1751 return result; 1752 } 1753 1754 long Field::GetCreator() 1755 { 1756 long result; 1757 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1758 return result; 1759 } 1760 1761 LPDISPATCH Field::GetParent() 1762 { 1763 LPDISPATCH result; 1764 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1765 return result; 1766 } 1767 1768 LPDISPATCH Field::GetCode() 1769 { 1770 LPDISPATCH result; 1771 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1772 return result; 1773 } 1774 1775 void Field::SetCode(LPDISPATCH newValue) 1776 { 1777 static BYTE parms[] = 1778 VTS_DISPATCH; 1779 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1780 newValue); 1781 } 1782 1783 long Field::GetType() 1784 { 1785 long result; 1786 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1787 return result; 1788 } 1789 1790 BOOL Field::GetLocked() 1791 { 1792 BOOL result; 1793 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1794 return result; 1795 } 1796 1797 void Field::SetLocked(BOOL bNewValue) 1798 { 1799 static BYTE parms[] = 1800 VTS_BOOL; 1801 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1802 bNewValue); 1803 } 1804 1805 long Field::GetKind() 1806 { 1807 long result; 1808 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1809 return result; 1810 } 1811 1812 LPDISPATCH Field::GetResult() 1813 { 1814 LPDISPATCH result; 1815 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1816 return result; 1817 } 1818 1819 void Field::SetResult(LPDISPATCH newValue) 1820 { 1821 static BYTE parms[] = 1822 VTS_DISPATCH; 1823 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1824 newValue); 1825 } 1826 1827 CString Field::GetData() 1828 { 1829 CString result; 1830 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 1831 return result; 1832 } 1833 1834 void Field::SetData(LPCTSTR lpszNewValue) 1835 { 1836 static BYTE parms[] = 1837 VTS_BSTR; 1838 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1839 lpszNewValue); 1840 } 1841 1842 LPDISPATCH Field::GetNext() 1843 { 1844 LPDISPATCH result; 1845 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1846 return result; 1847 } 1848 1849 LPDISPATCH Field::GetPrevious() 1850 { 1851 LPDISPATCH result; 1852 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1853 return result; 1854 } 1855 1856 long Field::GetIndex() 1857 { 1858 long result; 1859 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1860 return result; 1861 } 1862 1863 BOOL Field::GetShowCodes() 1864 { 1865 BOOL result; 1866 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 1867 return result; 1868 } 1869 1870 void Field::SetShowCodes(BOOL bNewValue) 1871 { 1872 static BYTE parms[] = 1873 VTS_BOOL; 1874 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1875 bNewValue); 1876 } 1877 1878 LPDISPATCH Field::GetLinkFormat() 1879 { 1880 LPDISPATCH result; 1881 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1882 return result; 1883 } 1884 1885 LPDISPATCH Field::GetOLEFormat() 1886 { 1887 LPDISPATCH result; 1888 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1889 return result; 1890 } 1891 1892 LPDISPATCH Field::GetInlineShape() 1893 { 1894 LPDISPATCH result; 1895 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1896 return result; 1897 } 1898 1899 void Field::Select() 1900 { 1901 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1902 } 1903 1904 BOOL Field::Update() 1905 { 1906 BOOL result; 1907 InvokeHelper(0x65, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL); 1908 return result; 1909 } 1910 1911 void Field::Unlink() 1912 { 1913 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1914 } 1915 1916 void Field::UpdateSource() 1917 { 1918 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1919 } 1920 1921 void Field::DoClick() 1922 { 1923 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1924 } 1925 1926 void Field::Copy() 1927 { 1928 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1929 } 1930 1931 void Field::Cut() 1932 { 1933 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1934 } 1935 1936 void Field::Delete() 1937 { 1938 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1939 } 1940 1941 1942 ///////////////////////////////////////////////////////////////////////////// 1943 // Browser properties 1944 1945 ///////////////////////////////////////////////////////////////////////////// 1946 // Browser operations 1947 1948 LPDISPATCH Browser::GetApplication() 1949 { 1950 LPDISPATCH result; 1951 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1952 return result; 1953 } 1954 1955 long Browser::GetCreator() 1956 { 1957 long result; 1958 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1959 return result; 1960 } 1961 1962 LPDISPATCH Browser::GetParent() 1963 { 1964 LPDISPATCH result; 1965 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 1966 return result; 1967 } 1968 1969 long Browser::GetTarget() 1970 { 1971 long result; 1972 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 1973 return result; 1974 } 1975 1976 void Browser::SetTarget(long nNewValue) 1977 { 1978 static BYTE parms[] = 1979 VTS_I4; 1980 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 1981 nNewValue); 1982 } 1983 1984 void Browser::Next() 1985 { 1986 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1987 } 1988 1989 void Browser::Previous() 1990 { 1991 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 1992 } 1993 1994 1995 ///////////////////////////////////////////////////////////////////////////// 1996 // Styles properties 1997 1998 ///////////////////////////////////////////////////////////////////////////// 1999 // Styles operations 2000 2001 LPDISPATCH Styles::GetApplication() 2002 { 2003 LPDISPATCH result; 2004 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2005 return result; 2006 } 2007 2008 long Styles::GetCreator() 2009 { 2010 long result; 2011 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2012 return result; 2013 } 2014 2015 LPDISPATCH Styles::GetParent() 2016 { 2017 LPDISPATCH result; 2018 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2019 return result; 2020 } 2021 2022 LPUNKNOWN Styles::Get_NewEnum() 2023 { 2024 LPUNKNOWN result; 2025 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 2026 return result; 2027 } 2028 2029 long Styles::GetCount() 2030 { 2031 long result; 2032 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2033 return result; 2034 } 2035 2036 LPDISPATCH Styles::Item(VARIANT* Index) 2037 { 2038 LPDISPATCH result; 2039 static BYTE parms[] = 2040 VTS_PVARIANT; 2041 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2042 Index); 2043 return result; 2044 } 2045 2046 LPDISPATCH Styles::Add(LPCTSTR Name, VARIANT* Type) 2047 { 2048 LPDISPATCH result; 2049 static BYTE parms[] = 2050 VTS_BSTR VTS_PVARIANT; 2051 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2052 Name, Type); 2053 return result; 2054 } 2055 2056 2057 ///////////////////////////////////////////////////////////////////////////// 2058 // Style properties 2059 2060 ///////////////////////////////////////////////////////////////////////////// 2061 // Style operations 2062 2063 LPDISPATCH Style::GetApplication() 2064 { 2065 LPDISPATCH result; 2066 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2067 return result; 2068 } 2069 2070 long Style::GetCreator() 2071 { 2072 long result; 2073 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2074 return result; 2075 } 2076 2077 LPDISPATCH Style::GetParent() 2078 { 2079 LPDISPATCH result; 2080 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2081 return result; 2082 } 2083 2084 CString Style::GetNameLocal() 2085 { 2086 CString result; 2087 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2088 return result; 2089 } 2090 2091 void Style::SetNameLocal(LPCTSTR lpszNewValue) 2092 { 2093 static BYTE parms[] = 2094 VTS_BSTR; 2095 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2096 lpszNewValue); 2097 } 2098 2099 VARIANT Style::GetBaseStyle() 2100 { 2101 VARIANT result; 2102 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 2103 return result; 2104 } 2105 2106 void Style::SetBaseStyle(VARIANT* newValue) 2107 { 2108 static BYTE parms[] = 2109 VTS_PVARIANT; 2110 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2111 newValue); 2112 } 2113 2114 CString Style::GetDescription() 2115 { 2116 CString result; 2117 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2118 return result; 2119 } 2120 2121 long Style::GetType() 2122 { 2123 long result; 2124 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2125 return result; 2126 } 2127 2128 BOOL Style::GetBuiltIn() 2129 { 2130 BOOL result; 2131 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2132 return result; 2133 } 2134 2135 VARIANT Style::GetNextParagraphStyle() 2136 { 2137 VARIANT result; 2138 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 2139 return result; 2140 } 2141 2142 void Style::SetNextParagraphStyle(VARIANT* newValue) 2143 { 2144 static BYTE parms[] = 2145 VTS_PVARIANT; 2146 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2147 newValue); 2148 } 2149 2150 BOOL Style::GetInUse() 2151 { 2152 BOOL result; 2153 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2154 return result; 2155 } 2156 2157 LPDISPATCH Style::GetShading() 2158 { 2159 LPDISPATCH result; 2160 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2161 return result; 2162 } 2163 2164 LPDISPATCH Style::GetBorders() 2165 { 2166 LPDISPATCH result; 2167 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2168 return result; 2169 } 2170 2171 void Style::SetBorders(LPDISPATCH newValue) 2172 { 2173 static BYTE parms[] = 2174 VTS_DISPATCH; 2175 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2176 newValue); 2177 } 2178 2179 LPDISPATCH Style::GetParagraphFormat() 2180 { 2181 LPDISPATCH result; 2182 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2183 return result; 2184 } 2185 2186 void Style::SetParagraphFormat(LPDISPATCH newValue) 2187 { 2188 static BYTE parms[] = 2189 VTS_DISPATCH; 2190 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2191 newValue); 2192 } 2193 2194 LPDISPATCH Style::GetFont() 2195 { 2196 LPDISPATCH result; 2197 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2198 return result; 2199 } 2200 2201 void Style::SetFont(LPDISPATCH newValue) 2202 { 2203 static BYTE parms[] = 2204 VTS_DISPATCH; 2205 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2206 newValue); 2207 } 2208 2209 LPDISPATCH Style::GetFrame() 2210 { 2211 LPDISPATCH result; 2212 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2213 return result; 2214 } 2215 2216 long Style::GetLanguageID() 2217 { 2218 long result; 2219 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2220 return result; 2221 } 2222 2223 void Style::SetLanguageID(long nNewValue) 2224 { 2225 static BYTE parms[] = 2226 VTS_I4; 2227 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2228 nNewValue); 2229 } 2230 2231 BOOL Style::GetAutomaticallyUpdate() 2232 { 2233 BOOL result; 2234 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2235 return result; 2236 } 2237 2238 void Style::SetAutomaticallyUpdate(BOOL bNewValue) 2239 { 2240 static BYTE parms[] = 2241 VTS_BOOL; 2242 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2243 bNewValue); 2244 } 2245 2246 LPDISPATCH Style::GetListTemplate() 2247 { 2248 LPDISPATCH result; 2249 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2250 return result; 2251 } 2252 2253 long Style::GetListLevelNumber() 2254 { 2255 long result; 2256 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2257 return result; 2258 } 2259 2260 long Style::GetLanguageIDFarEast() 2261 { 2262 long result; 2263 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2264 return result; 2265 } 2266 2267 void Style::SetLanguageIDFarEast(long nNewValue) 2268 { 2269 static BYTE parms[] = 2270 VTS_I4; 2271 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2272 nNewValue); 2273 } 2274 2275 void Style::Delete() 2276 { 2277 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2278 } 2279 2280 void Style::LinkToListTemplate(LPDISPATCH ListTemplate, VARIANT* ListLevelNumber) 2281 { 2282 static BYTE parms[] = 2283 VTS_DISPATCH VTS_PVARIANT; 2284 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 2285 ListTemplate, ListLevelNumber); 2286 } 2287 2288 long Style::GetNoProofing() 2289 { 2290 long result; 2291 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2292 return result; 2293 } 2294 2295 void Style::SetNoProofing(long nNewValue) 2296 { 2297 static BYTE parms[] = 2298 VTS_I4; 2299 InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2300 nNewValue); 2301 } 2302 2303 VARIANT Style::GetLinkStyle() 2304 { 2305 VARIANT result; 2306 InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL); 2307 return result; 2308 } 2309 2310 void Style::SetLinkStyle(VARIANT* newValue) 2311 { 2312 static BYTE parms[] = 2313 VTS_PVARIANT; 2314 InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2315 newValue); 2316 } 2317 2318 BOOL Style::GetNoSpaceBetweenParagraphsOfSameStyle() 2319 { 2320 BOOL result; 2321 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2322 return result; 2323 } 2324 2325 void Style::SetNoSpaceBetweenParagraphsOfSameStyle(BOOL bNewValue) 2326 { 2327 static BYTE parms[] = 2328 VTS_BOOL; 2329 InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2330 bNewValue); 2331 } 2332 2333 LPDISPATCH Style::GetTable() 2334 { 2335 LPDISPATCH result; 2336 InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2337 return result; 2338 } 2339 2340 BOOL Style::GetLocked() 2341 { 2342 BOOL result; 2343 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2344 return result; 2345 } 2346 2347 void Style::SetLocked(BOOL bNewValue) 2348 { 2349 static BYTE parms[] = 2350 VTS_BOOL; 2351 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2352 bNewValue); 2353 } 2354 2355 2356 ///////////////////////////////////////////////////////////////////////////// 2357 // Frames properties 2358 2359 ///////////////////////////////////////////////////////////////////////////// 2360 // Frames operations 2361 2362 LPDISPATCH Frames::GetApplication() 2363 { 2364 LPDISPATCH result; 2365 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2366 return result; 2367 } 2368 2369 long Frames::GetCreator() 2370 { 2371 long result; 2372 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2373 return result; 2374 } 2375 2376 LPDISPATCH Frames::GetParent() 2377 { 2378 LPDISPATCH result; 2379 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2380 return result; 2381 } 2382 2383 LPUNKNOWN Frames::Get_NewEnum() 2384 { 2385 LPUNKNOWN result; 2386 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 2387 return result; 2388 } 2389 2390 long Frames::GetCount() 2391 { 2392 long result; 2393 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2394 return result; 2395 } 2396 2397 LPDISPATCH Frames::Item(long Index) 2398 { 2399 LPDISPATCH result; 2400 static BYTE parms[] = 2401 VTS_I4; 2402 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2403 Index); 2404 return result; 2405 } 2406 2407 LPDISPATCH Frames::Add(LPDISPATCH Range) 2408 { 2409 LPDISPATCH result; 2410 static BYTE parms[] = 2411 VTS_DISPATCH; 2412 InvokeHelper(0x64, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2413 Range); 2414 return result; 2415 } 2416 2417 void Frames::Delete() 2418 { 2419 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2420 } 2421 2422 2423 ///////////////////////////////////////////////////////////////////////////// 2424 // Frame properties 2425 2426 ///////////////////////////////////////////////////////////////////////////// 2427 // Frame operations 2428 2429 LPDISPATCH Frame::GetApplication() 2430 { 2431 LPDISPATCH result; 2432 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2433 return result; 2434 } 2435 2436 long Frame::GetCreator() 2437 { 2438 long result; 2439 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2440 return result; 2441 } 2442 2443 LPDISPATCH Frame::GetParent() 2444 { 2445 LPDISPATCH result; 2446 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2447 return result; 2448 } 2449 2450 long Frame::GetHeightRule() 2451 { 2452 long result; 2453 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2454 return result; 2455 } 2456 2457 void Frame::SetHeightRule(long nNewValue) 2458 { 2459 static BYTE parms[] = 2460 VTS_I4; 2461 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2462 nNewValue); 2463 } 2464 2465 long Frame::GetWidthRule() 2466 { 2467 long result; 2468 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2469 return result; 2470 } 2471 2472 void Frame::SetWidthRule(long nNewValue) 2473 { 2474 static BYTE parms[] = 2475 VTS_I4; 2476 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2477 nNewValue); 2478 } 2479 2480 float Frame::GetHorizontalDistanceFromText() 2481 { 2482 float result; 2483 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2484 return result; 2485 } 2486 2487 void Frame::SetHorizontalDistanceFromText(float newValue) 2488 { 2489 static BYTE parms[] = 2490 VTS_R4; 2491 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2492 newValue); 2493 } 2494 2495 float Frame::GetHeight() 2496 { 2497 float result; 2498 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2499 return result; 2500 } 2501 2502 void Frame::SetHeight(float newValue) 2503 { 2504 static BYTE parms[] = 2505 VTS_R4; 2506 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2507 newValue); 2508 } 2509 2510 float Frame::GetHorizontalPosition() 2511 { 2512 float result; 2513 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2514 return result; 2515 } 2516 2517 void Frame::SetHorizontalPosition(float newValue) 2518 { 2519 static BYTE parms[] = 2520 VTS_R4; 2521 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2522 newValue); 2523 } 2524 2525 BOOL Frame::GetLockAnchor() 2526 { 2527 BOOL result; 2528 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2529 return result; 2530 } 2531 2532 void Frame::SetLockAnchor(BOOL bNewValue) 2533 { 2534 static BYTE parms[] = 2535 VTS_BOOL; 2536 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2537 bNewValue); 2538 } 2539 2540 long Frame::GetRelativeHorizontalPosition() 2541 { 2542 long result; 2543 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2544 return result; 2545 } 2546 2547 void Frame::SetRelativeHorizontalPosition(long nNewValue) 2548 { 2549 static BYTE parms[] = 2550 VTS_I4; 2551 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2552 nNewValue); 2553 } 2554 2555 long Frame::GetRelativeVerticalPosition() 2556 { 2557 long result; 2558 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2559 return result; 2560 } 2561 2562 void Frame::SetRelativeVerticalPosition(long nNewValue) 2563 { 2564 static BYTE parms[] = 2565 VTS_I4; 2566 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2567 nNewValue); 2568 } 2569 2570 float Frame::GetVerticalDistanceFromText() 2571 { 2572 float result; 2573 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2574 return result; 2575 } 2576 2577 void Frame::SetVerticalDistanceFromText(float newValue) 2578 { 2579 static BYTE parms[] = 2580 VTS_R4; 2581 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2582 newValue); 2583 } 2584 2585 float Frame::GetVerticalPosition() 2586 { 2587 float result; 2588 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2589 return result; 2590 } 2591 2592 void Frame::SetVerticalPosition(float newValue) 2593 { 2594 static BYTE parms[] = 2595 VTS_R4; 2596 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2597 newValue); 2598 } 2599 2600 float Frame::GetWidth() 2601 { 2602 float result; 2603 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 2604 return result; 2605 } 2606 2607 void Frame::SetWidth(float newValue) 2608 { 2609 static BYTE parms[] = 2610 VTS_R4; 2611 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2612 newValue); 2613 } 2614 2615 BOOL Frame::GetTextWrap() 2616 { 2617 BOOL result; 2618 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2619 return result; 2620 } 2621 2622 void Frame::SetTextWrap(BOOL bNewValue) 2623 { 2624 static BYTE parms[] = 2625 VTS_BOOL; 2626 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2627 bNewValue); 2628 } 2629 2630 LPDISPATCH Frame::GetShading() 2631 { 2632 LPDISPATCH result; 2633 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2634 return result; 2635 } 2636 2637 LPDISPATCH Frame::GetBorders() 2638 { 2639 LPDISPATCH result; 2640 InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2641 return result; 2642 } 2643 2644 void Frame::SetBorders(LPDISPATCH newValue) 2645 { 2646 static BYTE parms[] = 2647 VTS_DISPATCH; 2648 InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2649 newValue); 2650 } 2651 2652 LPDISPATCH Frame::GetRange() 2653 { 2654 LPDISPATCH result; 2655 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2656 return result; 2657 } 2658 2659 void Frame::Delete() 2660 { 2661 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2662 } 2663 2664 void Frame::Select() 2665 { 2666 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2667 } 2668 2669 void Frame::Copy() 2670 { 2671 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2672 } 2673 2674 void Frame::Cut() 2675 { 2676 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2677 } 2678 2679 2680 ///////////////////////////////////////////////////////////////////////////// 2681 // FormFields properties 2682 2683 ///////////////////////////////////////////////////////////////////////////// 2684 // FormFields operations 2685 2686 LPDISPATCH FormFields::GetApplication() 2687 { 2688 LPDISPATCH result; 2689 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2690 return result; 2691 } 2692 2693 long FormFields::GetCreator() 2694 { 2695 long result; 2696 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2697 return result; 2698 } 2699 2700 LPDISPATCH FormFields::GetParent() 2701 { 2702 LPDISPATCH result; 2703 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2704 return result; 2705 } 2706 2707 long FormFields::GetCount() 2708 { 2709 long result; 2710 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2711 return result; 2712 } 2713 2714 BOOL FormFields::GetShaded() 2715 { 2716 BOOL result; 2717 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2718 return result; 2719 } 2720 2721 void FormFields::SetShaded(BOOL bNewValue) 2722 { 2723 static BYTE parms[] = 2724 VTS_BOOL; 2725 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2726 bNewValue); 2727 } 2728 2729 LPUNKNOWN FormFields::Get_NewEnum() 2730 { 2731 LPUNKNOWN result; 2732 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 2733 return result; 2734 } 2735 2736 LPDISPATCH FormFields::Item(VARIANT* Index) 2737 { 2738 LPDISPATCH result; 2739 static BYTE parms[] = 2740 VTS_PVARIANT; 2741 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2742 Index); 2743 return result; 2744 } 2745 2746 LPDISPATCH FormFields::Add(LPDISPATCH Range, long Type) 2747 { 2748 LPDISPATCH result; 2749 static BYTE parms[] = 2750 VTS_DISPATCH VTS_I4; 2751 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 2752 Range, Type); 2753 return result; 2754 } 2755 2756 2757 ///////////////////////////////////////////////////////////////////////////// 2758 // FormField properties 2759 2760 ///////////////////////////////////////////////////////////////////////////// 2761 // FormField operations 2762 2763 LPDISPATCH FormField::GetApplication() 2764 { 2765 LPDISPATCH result; 2766 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2767 return result; 2768 } 2769 2770 long FormField::GetCreator() 2771 { 2772 long result; 2773 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2774 return result; 2775 } 2776 2777 LPDISPATCH FormField::GetParent() 2778 { 2779 LPDISPATCH result; 2780 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2781 return result; 2782 } 2783 2784 long FormField::GetType() 2785 { 2786 long result; 2787 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 2788 return result; 2789 } 2790 2791 CString FormField::GetName() 2792 { 2793 CString result; 2794 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2795 return result; 2796 } 2797 2798 void FormField::SetName(LPCTSTR lpszNewValue) 2799 { 2800 static BYTE parms[] = 2801 VTS_BSTR; 2802 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2803 lpszNewValue); 2804 } 2805 2806 CString FormField::GetEntryMacro() 2807 { 2808 CString result; 2809 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2810 return result; 2811 } 2812 2813 void FormField::SetEntryMacro(LPCTSTR lpszNewValue) 2814 { 2815 static BYTE parms[] = 2816 VTS_BSTR; 2817 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2818 lpszNewValue); 2819 } 2820 2821 CString FormField::GetExitMacro() 2822 { 2823 CString result; 2824 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2825 return result; 2826 } 2827 2828 void FormField::SetExitMacro(LPCTSTR lpszNewValue) 2829 { 2830 static BYTE parms[] = 2831 VTS_BSTR; 2832 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2833 lpszNewValue); 2834 } 2835 2836 BOOL FormField::GetOwnHelp() 2837 { 2838 BOOL result; 2839 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2840 return result; 2841 } 2842 2843 void FormField::SetOwnHelp(BOOL bNewValue) 2844 { 2845 static BYTE parms[] = 2846 VTS_BOOL; 2847 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2848 bNewValue); 2849 } 2850 2851 BOOL FormField::GetOwnStatus() 2852 { 2853 BOOL result; 2854 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2855 return result; 2856 } 2857 2858 void FormField::SetOwnStatus(BOOL bNewValue) 2859 { 2860 static BYTE parms[] = 2861 VTS_BOOL; 2862 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2863 bNewValue); 2864 } 2865 2866 CString FormField::GetHelpText() 2867 { 2868 CString result; 2869 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2870 return result; 2871 } 2872 2873 void FormField::SetHelpText(LPCTSTR lpszNewValue) 2874 { 2875 static BYTE parms[] = 2876 VTS_BSTR; 2877 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2878 lpszNewValue); 2879 } 2880 2881 CString FormField::GetStatusText() 2882 { 2883 CString result; 2884 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2885 return result; 2886 } 2887 2888 void FormField::SetStatusText(LPCTSTR lpszNewValue) 2889 { 2890 static BYTE parms[] = 2891 VTS_BSTR; 2892 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2893 lpszNewValue); 2894 } 2895 2896 BOOL FormField::GetEnabled() 2897 { 2898 BOOL result; 2899 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2900 return result; 2901 } 2902 2903 void FormField::SetEnabled(BOOL bNewValue) 2904 { 2905 static BYTE parms[] = 2906 VTS_BOOL; 2907 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2908 bNewValue); 2909 } 2910 2911 CString FormField::GetResult() 2912 { 2913 CString result; 2914 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 2915 return result; 2916 } 2917 2918 void FormField::SetResult(LPCTSTR lpszNewValue) 2919 { 2920 static BYTE parms[] = 2921 VTS_BSTR; 2922 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2923 lpszNewValue); 2924 } 2925 2926 LPDISPATCH FormField::GetTextInput() 2927 { 2928 LPDISPATCH result; 2929 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2930 return result; 2931 } 2932 2933 LPDISPATCH FormField::GetCheckBox() 2934 { 2935 LPDISPATCH result; 2936 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2937 return result; 2938 } 2939 2940 LPDISPATCH FormField::GetDropDown() 2941 { 2942 LPDISPATCH result; 2943 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2944 return result; 2945 } 2946 2947 LPDISPATCH FormField::GetNext() 2948 { 2949 LPDISPATCH result; 2950 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2951 return result; 2952 } 2953 2954 LPDISPATCH FormField::GetPrevious() 2955 { 2956 LPDISPATCH result; 2957 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2958 return result; 2959 } 2960 2961 BOOL FormField::GetCalculateOnExit() 2962 { 2963 BOOL result; 2964 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 2965 return result; 2966 } 2967 2968 void FormField::SetCalculateOnExit(BOOL bNewValue) 2969 { 2970 static BYTE parms[] = 2971 VTS_BOOL; 2972 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 2973 bNewValue); 2974 } 2975 2976 LPDISPATCH FormField::GetRange() 2977 { 2978 LPDISPATCH result; 2979 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 2980 return result; 2981 } 2982 2983 void FormField::Select() 2984 { 2985 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2986 } 2987 2988 void FormField::Copy() 2989 { 2990 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2991 } 2992 2993 void FormField::Cut() 2994 { 2995 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 2996 } 2997 2998 void FormField::Delete() 2999 { 3000 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3001 } 3002 3003 3004 ///////////////////////////////////////////////////////////////////////////// 3005 // TextInput properties 3006 3007 ///////////////////////////////////////////////////////////////////////////// 3008 // TextInput operations 3009 3010 LPDISPATCH TextInput::GetApplication() 3011 { 3012 LPDISPATCH result; 3013 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3014 return result; 3015 } 3016 3017 long TextInput::GetCreator() 3018 { 3019 long result; 3020 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3021 return result; 3022 } 3023 3024 LPDISPATCH TextInput::GetParent() 3025 { 3026 LPDISPATCH result; 3027 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3028 return result; 3029 } 3030 3031 BOOL TextInput::GetValid() 3032 { 3033 BOOL result; 3034 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3035 return result; 3036 } 3037 3038 CString TextInput::GetDefault() 3039 { 3040 CString result; 3041 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3042 return result; 3043 } 3044 3045 void TextInput::SetDefault(LPCTSTR lpszNewValue) 3046 { 3047 static BYTE parms[] = 3048 VTS_BSTR; 3049 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3050 lpszNewValue); 3051 } 3052 3053 long TextInput::GetType() 3054 { 3055 long result; 3056 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3057 return result; 3058 } 3059 3060 CString TextInput::GetFormat() 3061 { 3062 CString result; 3063 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3064 return result; 3065 } 3066 3067 long TextInput::GetWidth() 3068 { 3069 long result; 3070 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3071 return result; 3072 } 3073 3074 void TextInput::SetWidth(long nNewValue) 3075 { 3076 static BYTE parms[] = 3077 VTS_I4; 3078 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3079 nNewValue); 3080 } 3081 3082 void TextInput::Clear() 3083 { 3084 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3085 } 3086 3087 void TextInput::EditType(long Type, VARIANT* Default, VARIANT* Format, VARIANT* Enabled) 3088 { 3089 static BYTE parms[] = 3090 VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3091 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3092 Type, Default, Format, Enabled); 3093 } 3094 3095 3096 ///////////////////////////////////////////////////////////////////////////// 3097 // CheckBox properties 3098 3099 ///////////////////////////////////////////////////////////////////////////// 3100 // CheckBox operations 3101 3102 LPDISPATCH CheckBox::GetApplication() 3103 { 3104 LPDISPATCH result; 3105 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3106 return result; 3107 } 3108 3109 long CheckBox::GetCreator() 3110 { 3111 long result; 3112 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3113 return result; 3114 } 3115 3116 LPDISPATCH CheckBox::GetParent() 3117 { 3118 LPDISPATCH result; 3119 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3120 return result; 3121 } 3122 3123 BOOL CheckBox::GetValid() 3124 { 3125 BOOL result; 3126 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3127 return result; 3128 } 3129 3130 BOOL CheckBox::GetAutoSize() 3131 { 3132 BOOL result; 3133 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3134 return result; 3135 } 3136 3137 void CheckBox::SetAutoSize(BOOL bNewValue) 3138 { 3139 static BYTE parms[] = 3140 VTS_BOOL; 3141 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3142 bNewValue); 3143 } 3144 3145 float CheckBox::GetSize() 3146 { 3147 float result; 3148 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 3149 return result; 3150 } 3151 3152 void CheckBox::SetSize(float newValue) 3153 { 3154 static BYTE parms[] = 3155 VTS_R4; 3156 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3157 newValue); 3158 } 3159 3160 BOOL CheckBox::GetDefault() 3161 { 3162 BOOL result; 3163 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3164 return result; 3165 } 3166 3167 void CheckBox::SetDefault(BOOL bNewValue) 3168 { 3169 static BYTE parms[] = 3170 VTS_BOOL; 3171 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3172 bNewValue); 3173 } 3174 3175 BOOL CheckBox::GetValue() 3176 { 3177 BOOL result; 3178 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3179 return result; 3180 } 3181 3182 void CheckBox::SetValue(BOOL bNewValue) 3183 { 3184 static BYTE parms[] = 3185 VTS_BOOL; 3186 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3187 bNewValue); 3188 } 3189 3190 3191 ///////////////////////////////////////////////////////////////////////////// 3192 // DropDown properties 3193 3194 ///////////////////////////////////////////////////////////////////////////// 3195 // DropDown operations 3196 3197 LPDISPATCH DropDown::GetApplication() 3198 { 3199 LPDISPATCH result; 3200 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3201 return result; 3202 } 3203 3204 long DropDown::GetCreator() 3205 { 3206 long result; 3207 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3208 return result; 3209 } 3210 3211 LPDISPATCH DropDown::GetParent() 3212 { 3213 LPDISPATCH result; 3214 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3215 return result; 3216 } 3217 3218 BOOL DropDown::GetValid() 3219 { 3220 BOOL result; 3221 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3222 return result; 3223 } 3224 3225 long DropDown::GetDefault() 3226 { 3227 long result; 3228 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3229 return result; 3230 } 3231 3232 void DropDown::SetDefault(long nNewValue) 3233 { 3234 static BYTE parms[] = 3235 VTS_I4; 3236 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3237 nNewValue); 3238 } 3239 3240 long DropDown::GetValue() 3241 { 3242 long result; 3243 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3244 return result; 3245 } 3246 3247 void DropDown::SetValue(long nNewValue) 3248 { 3249 static BYTE parms[] = 3250 VTS_I4; 3251 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3252 nNewValue); 3253 } 3254 3255 LPDISPATCH DropDown::GetListEntries() 3256 { 3257 LPDISPATCH result; 3258 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3259 return result; 3260 } 3261 3262 3263 ///////////////////////////////////////////////////////////////////////////// 3264 // ListEntries properties 3265 3266 ///////////////////////////////////////////////////////////////////////////// 3267 // ListEntries operations 3268 3269 LPDISPATCH ListEntries::GetApplication() 3270 { 3271 LPDISPATCH result; 3272 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3273 return result; 3274 } 3275 3276 long ListEntries::GetCreator() 3277 { 3278 long result; 3279 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3280 return result; 3281 } 3282 3283 LPDISPATCH ListEntries::GetParent() 3284 { 3285 LPDISPATCH result; 3286 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3287 return result; 3288 } 3289 3290 LPUNKNOWN ListEntries::Get_NewEnum() 3291 { 3292 LPUNKNOWN result; 3293 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 3294 return result; 3295 } 3296 3297 long ListEntries::GetCount() 3298 { 3299 long result; 3300 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3301 return result; 3302 } 3303 3304 LPDISPATCH ListEntries::Item(VARIANT* Index) 3305 { 3306 LPDISPATCH result; 3307 static BYTE parms[] = 3308 VTS_PVARIANT; 3309 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3310 Index); 3311 return result; 3312 } 3313 3314 LPDISPATCH ListEntries::Add(LPCTSTR Name, VARIANT* Index) 3315 { 3316 LPDISPATCH result; 3317 static BYTE parms[] = 3318 VTS_BSTR VTS_PVARIANT; 3319 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3320 Name, Index); 3321 return result; 3322 } 3323 3324 void ListEntries::Clear() 3325 { 3326 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3327 } 3328 3329 3330 ///////////////////////////////////////////////////////////////////////////// 3331 // ListEntry properties 3332 3333 ///////////////////////////////////////////////////////////////////////////// 3334 // ListEntry operations 3335 3336 LPDISPATCH ListEntry::GetApplication() 3337 { 3338 LPDISPATCH result; 3339 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3340 return result; 3341 } 3342 3343 long ListEntry::GetCreator() 3344 { 3345 long result; 3346 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3347 return result; 3348 } 3349 3350 LPDISPATCH ListEntry::GetParent() 3351 { 3352 LPDISPATCH result; 3353 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3354 return result; 3355 } 3356 3357 long ListEntry::GetIndex() 3358 { 3359 long result; 3360 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3361 return result; 3362 } 3363 3364 CString ListEntry::GetName() 3365 { 3366 CString result; 3367 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3368 return result; 3369 } 3370 3371 void ListEntry::SetName(LPCTSTR lpszNewValue) 3372 { 3373 static BYTE parms[] = 3374 VTS_BSTR; 3375 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3376 lpszNewValue); 3377 } 3378 3379 void ListEntry::Delete() 3380 { 3381 InvokeHelper(0xb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3382 } 3383 3384 3385 ///////////////////////////////////////////////////////////////////////////// 3386 // TablesOfFigures properties 3387 3388 ///////////////////////////////////////////////////////////////////////////// 3389 // TablesOfFigures operations 3390 3391 LPDISPATCH TablesOfFigures::GetApplication() 3392 { 3393 LPDISPATCH result; 3394 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3395 return result; 3396 } 3397 3398 long TablesOfFigures::GetCreator() 3399 { 3400 long result; 3401 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3402 return result; 3403 } 3404 3405 LPDISPATCH TablesOfFigures::GetParent() 3406 { 3407 LPDISPATCH result; 3408 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3409 return result; 3410 } 3411 3412 LPUNKNOWN TablesOfFigures::Get_NewEnum() 3413 { 3414 LPUNKNOWN result; 3415 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 3416 return result; 3417 } 3418 3419 long TablesOfFigures::GetCount() 3420 { 3421 long result; 3422 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3423 return result; 3424 } 3425 3426 long TablesOfFigures::GetFormat() 3427 { 3428 long result; 3429 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3430 return result; 3431 } 3432 3433 void TablesOfFigures::SetFormat(long nNewValue) 3434 { 3435 static BYTE parms[] = 3436 VTS_I4; 3437 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3438 nNewValue); 3439 } 3440 3441 LPDISPATCH TablesOfFigures::Item(long Index) 3442 { 3443 LPDISPATCH result; 3444 static BYTE parms[] = 3445 VTS_I4; 3446 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3447 Index); 3448 return result; 3449 } 3450 3451 LPDISPATCH TablesOfFigures::MarkEntry(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* TableID, VARIANT* Level) 3452 { 3453 LPDISPATCH result; 3454 static BYTE parms[] = 3455 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3456 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3457 Range, Entry, EntryAutoText, TableID, Level); 3458 return result; 3459 } 3460 3461 LPDISPATCH TablesOfFigures::Add(LPDISPATCH Range, VARIANT* Caption, VARIANT* IncludeLabel, VARIANT* UseHeadingStyles, VARIANT* UpperHeadingLevel, VARIANT* LowerHeadingLevel, VARIANT* UseFields, VARIANT* TableID, VARIANT* RightAlignPageNumbers, 3462 VARIANT* IncludePageNumbers, VARIANT* AddedStyles, VARIANT* UseHyperlinks, VARIANT* HidePageNumbersInWeb) 3463 { 3464 LPDISPATCH result; 3465 static BYTE parms[] = 3466 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3467 InvokeHelper(0x1bc, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 3468 Range, Caption, IncludeLabel, UseHeadingStyles, UpperHeadingLevel, LowerHeadingLevel, UseFields, TableID, RightAlignPageNumbers, IncludePageNumbers, AddedStyles, UseHyperlinks, HidePageNumbersInWeb); 3469 return result; 3470 } 3471 3472 3473 ///////////////////////////////////////////////////////////////////////////// 3474 // TableOfFigures properties 3475 3476 ///////////////////////////////////////////////////////////////////////////// 3477 // TableOfFigures operations 3478 3479 LPDISPATCH TableOfFigures::GetApplication() 3480 { 3481 LPDISPATCH result; 3482 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3483 return result; 3484 } 3485 3486 long TableOfFigures::GetCreator() 3487 { 3488 long result; 3489 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3490 return result; 3491 } 3492 3493 LPDISPATCH TableOfFigures::GetParent() 3494 { 3495 LPDISPATCH result; 3496 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3497 return result; 3498 } 3499 3500 CString TableOfFigures::GetCaption() 3501 { 3502 CString result; 3503 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3504 return result; 3505 } 3506 3507 void TableOfFigures::SetCaption(LPCTSTR lpszNewValue) 3508 { 3509 static BYTE parms[] = 3510 VTS_BSTR; 3511 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3512 lpszNewValue); 3513 } 3514 3515 BOOL TableOfFigures::GetIncludeLabel() 3516 { 3517 BOOL result; 3518 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3519 return result; 3520 } 3521 3522 void TableOfFigures::SetIncludeLabel(BOOL bNewValue) 3523 { 3524 static BYTE parms[] = 3525 VTS_BOOL; 3526 InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3527 bNewValue); 3528 } 3529 3530 BOOL TableOfFigures::GetRightAlignPageNumbers() 3531 { 3532 BOOL result; 3533 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3534 return result; 3535 } 3536 3537 void TableOfFigures::SetRightAlignPageNumbers(BOOL bNewValue) 3538 { 3539 static BYTE parms[] = 3540 VTS_BOOL; 3541 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3542 bNewValue); 3543 } 3544 3545 BOOL TableOfFigures::GetUseHeadingStyles() 3546 { 3547 BOOL result; 3548 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3549 return result; 3550 } 3551 3552 void TableOfFigures::SetUseHeadingStyles(BOOL bNewValue) 3553 { 3554 static BYTE parms[] = 3555 VTS_BOOL; 3556 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3557 bNewValue); 3558 } 3559 3560 long TableOfFigures::GetLowerHeadingLevel() 3561 { 3562 long result; 3563 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3564 return result; 3565 } 3566 3567 void TableOfFigures::SetLowerHeadingLevel(long nNewValue) 3568 { 3569 static BYTE parms[] = 3570 VTS_I4; 3571 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3572 nNewValue); 3573 } 3574 3575 long TableOfFigures::GetUpperHeadingLevel() 3576 { 3577 long result; 3578 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3579 return result; 3580 } 3581 3582 void TableOfFigures::SetUpperHeadingLevel(long nNewValue) 3583 { 3584 static BYTE parms[] = 3585 VTS_I4; 3586 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3587 nNewValue); 3588 } 3589 3590 BOOL TableOfFigures::GetIncludePageNumbers() 3591 { 3592 BOOL result; 3593 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3594 return result; 3595 } 3596 3597 void TableOfFigures::SetIncludePageNumbers(BOOL bNewValue) 3598 { 3599 static BYTE parms[] = 3600 VTS_BOOL; 3601 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3602 bNewValue); 3603 } 3604 3605 LPDISPATCH TableOfFigures::GetRange() 3606 { 3607 LPDISPATCH result; 3608 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3609 return result; 3610 } 3611 3612 BOOL TableOfFigures::GetUseFields() 3613 { 3614 BOOL result; 3615 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3616 return result; 3617 } 3618 3619 void TableOfFigures::SetUseFields(BOOL bNewValue) 3620 { 3621 static BYTE parms[] = 3622 VTS_BOOL; 3623 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3624 bNewValue); 3625 } 3626 3627 CString TableOfFigures::GetTableID() 3628 { 3629 CString result; 3630 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3631 return result; 3632 } 3633 3634 void TableOfFigures::SetTableID(LPCTSTR lpszNewValue) 3635 { 3636 static BYTE parms[] = 3637 VTS_BSTR; 3638 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3639 lpszNewValue); 3640 } 3641 3642 LPDISPATCH TableOfFigures::GetHeadingStyles() 3643 { 3644 LPDISPATCH result; 3645 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3646 return result; 3647 } 3648 3649 long TableOfFigures::GetTabLeader() 3650 { 3651 long result; 3652 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3653 return result; 3654 } 3655 3656 void TableOfFigures::SetTabLeader(long nNewValue) 3657 { 3658 static BYTE parms[] = 3659 VTS_I4; 3660 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3661 nNewValue); 3662 } 3663 3664 void TableOfFigures::Delete() 3665 { 3666 InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3667 } 3668 3669 void TableOfFigures::UpdatePageNumbers() 3670 { 3671 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3672 } 3673 3674 void TableOfFigures::Update() 3675 { 3676 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3677 } 3678 3679 BOOL TableOfFigures::GetUseHyperlinks() 3680 { 3681 BOOL result; 3682 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3683 return result; 3684 } 3685 3686 void TableOfFigures::SetUseHyperlinks(BOOL bNewValue) 3687 { 3688 static BYTE parms[] = 3689 VTS_BOOL; 3690 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3691 bNewValue); 3692 } 3693 3694 BOOL TableOfFigures::GetHidePageNumbersInWeb() 3695 { 3696 BOOL result; 3697 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3698 return result; 3699 } 3700 3701 void TableOfFigures::SetHidePageNumbersInWeb(BOOL bNewValue) 3702 { 3703 static BYTE parms[] = 3704 VTS_BOOL; 3705 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3706 bNewValue); 3707 } 3708 3709 3710 ///////////////////////////////////////////////////////////////////////////// 3711 // MailMerge properties 3712 3713 ///////////////////////////////////////////////////////////////////////////// 3714 // MailMerge operations 3715 3716 LPDISPATCH MailMerge::GetApplication() 3717 { 3718 LPDISPATCH result; 3719 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3720 return result; 3721 } 3722 3723 long MailMerge::GetCreator() 3724 { 3725 long result; 3726 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3727 return result; 3728 } 3729 3730 LPDISPATCH MailMerge::GetParent() 3731 { 3732 LPDISPATCH result; 3733 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3734 return result; 3735 } 3736 3737 long MailMerge::GetMainDocumentType() 3738 { 3739 long result; 3740 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3741 return result; 3742 } 3743 3744 void MailMerge::SetMainDocumentType(long nNewValue) 3745 { 3746 static BYTE parms[] = 3747 VTS_I4; 3748 InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3749 nNewValue); 3750 } 3751 3752 long MailMerge::GetState() 3753 { 3754 long result; 3755 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3756 return result; 3757 } 3758 3759 long MailMerge::GetDestination() 3760 { 3761 long result; 3762 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3763 return result; 3764 } 3765 3766 void MailMerge::SetDestination(long nNewValue) 3767 { 3768 static BYTE parms[] = 3769 VTS_I4; 3770 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3771 nNewValue); 3772 } 3773 3774 LPDISPATCH MailMerge::GetDataSource() 3775 { 3776 LPDISPATCH result; 3777 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3778 return result; 3779 } 3780 3781 LPDISPATCH MailMerge::GetFields() 3782 { 3783 LPDISPATCH result; 3784 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 3785 return result; 3786 } 3787 3788 long MailMerge::GetViewMailMergeFieldCodes() 3789 { 3790 long result; 3791 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3792 return result; 3793 } 3794 3795 void MailMerge::SetViewMailMergeFieldCodes(long nNewValue) 3796 { 3797 static BYTE parms[] = 3798 VTS_I4; 3799 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3800 nNewValue); 3801 } 3802 3803 BOOL MailMerge::GetSuppressBlankLines() 3804 { 3805 BOOL result; 3806 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3807 return result; 3808 } 3809 3810 void MailMerge::SetSuppressBlankLines(BOOL bNewValue) 3811 { 3812 static BYTE parms[] = 3813 VTS_BOOL; 3814 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3815 bNewValue); 3816 } 3817 3818 BOOL MailMerge::GetMailAsAttachment() 3819 { 3820 BOOL result; 3821 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3822 return result; 3823 } 3824 3825 void MailMerge::SetMailAsAttachment(BOOL bNewValue) 3826 { 3827 static BYTE parms[] = 3828 VTS_BOOL; 3829 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3830 bNewValue); 3831 } 3832 3833 CString MailMerge::GetMailAddressFieldName() 3834 { 3835 CString result; 3836 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3837 return result; 3838 } 3839 3840 void MailMerge::SetMailAddressFieldName(LPCTSTR lpszNewValue) 3841 { 3842 static BYTE parms[] = 3843 VTS_BSTR; 3844 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3845 lpszNewValue); 3846 } 3847 3848 CString MailMerge::GetMailSubject() 3849 { 3850 CString result; 3851 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3852 return result; 3853 } 3854 3855 void MailMerge::SetMailSubject(LPCTSTR lpszNewValue) 3856 { 3857 static BYTE parms[] = 3858 VTS_BSTR; 3859 InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3860 lpszNewValue); 3861 } 3862 3863 void MailMerge::CreateDataSource(VARIANT* Name, VARIANT* PasswordDocument, VARIANT* WritePasswordDocument, VARIANT* HeaderRecord, VARIANT* MSQuery, VARIANT* SQLStatement, VARIANT* SQLStatement1, VARIANT* Connection, VARIANT* LinkToSource) 3864 { 3865 static BYTE parms[] = 3866 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3867 InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3868 Name, PasswordDocument, WritePasswordDocument, HeaderRecord, MSQuery, SQLStatement, SQLStatement1, Connection, LinkToSource); 3869 } 3870 3871 void MailMerge::CreateHeaderSource(LPCTSTR Name, VARIANT* PasswordDocument, VARIANT* WritePasswordDocument, VARIANT* HeaderRecord) 3872 { 3873 static BYTE parms[] = 3874 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3875 InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3876 Name, PasswordDocument, WritePasswordDocument, HeaderRecord); 3877 } 3878 3879 void MailMerge::Execute(VARIANT* Pause) 3880 { 3881 static BYTE parms[] = 3882 VTS_PVARIANT; 3883 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3884 Pause); 3885 } 3886 3887 void MailMerge::Check() 3888 { 3889 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3890 } 3891 3892 void MailMerge::EditDataSource() 3893 { 3894 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3895 } 3896 3897 void MailMerge::EditHeaderSource() 3898 { 3899 InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3900 } 3901 3902 void MailMerge::EditMainDocument() 3903 { 3904 InvokeHelper(0x6d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 3905 } 3906 3907 BOOL MailMerge::GetHighlightMergeFields() 3908 { 3909 BOOL result; 3910 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 3911 return result; 3912 } 3913 3914 void MailMerge::SetHighlightMergeFields(BOOL bNewValue) 3915 { 3916 static BYTE parms[] = 3917 VTS_BOOL; 3918 InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3919 bNewValue); 3920 } 3921 3922 long MailMerge::GetMailFormat() 3923 { 3924 long result; 3925 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3926 return result; 3927 } 3928 3929 void MailMerge::SetMailFormat(long nNewValue) 3930 { 3931 static BYTE parms[] = 3932 VTS_I4; 3933 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3934 nNewValue); 3935 } 3936 3937 CString MailMerge::GetShowSendToCustom() 3938 { 3939 CString result; 3940 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 3941 return result; 3942 } 3943 3944 void MailMerge::SetShowSendToCustom(LPCTSTR lpszNewValue) 3945 { 3946 static BYTE parms[] = 3947 VTS_BSTR; 3948 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3949 lpszNewValue); 3950 } 3951 3952 long MailMerge::GetWizardState() 3953 { 3954 long result; 3955 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 3956 return result; 3957 } 3958 3959 void MailMerge::SetWizardState(long nNewValue) 3960 { 3961 static BYTE parms[] = 3962 VTS_I4; 3963 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 3964 nNewValue); 3965 } 3966 3967 void MailMerge::OpenDataSource(LPCTSTR Name, VARIANT* Format, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* LinkToSource, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, 3968 VARIANT* WritePasswordDocument, VARIANT* WritePasswordTemplate, VARIANT* Connection, VARIANT* SQLStatement, VARIANT* SQLStatement1, VARIANT* OpenExclusive, VARIANT* SubType) 3969 { 3970 static BYTE parms[] = 3971 VTS_BSTR 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; 3972 InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3973 Name, Format, ConfirmConversions, ReadOnly, LinkToSource, AddToRecentFiles, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate, Connection, SQLStatement, SQLStatement1, OpenExclusive, SubType); 3974 } 3975 3976 void MailMerge::OpenHeaderSource(LPCTSTR Name, VARIANT* Format, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, 3977 VARIANT* WritePasswordTemplate, VARIANT* OpenExclusive) 3978 { 3979 static BYTE parms[] = 3980 VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3981 InvokeHelper(0x71, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3982 Name, Format, ConfirmConversions, ReadOnly, AddToRecentFiles, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate, OpenExclusive); 3983 } 3984 3985 void MailMerge::ShowWizard(VARIANT* InitialState, VARIANT* ShowDocumentStep, VARIANT* ShowTemplateStep, VARIANT* ShowDataStep, VARIANT* ShowWriteStep, VARIANT* ShowPreviewStep, VARIANT* ShowMergeStep) 3986 { 3987 static BYTE parms[] = 3988 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 3989 InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 3990 InitialState, ShowDocumentStep, ShowTemplateStep, ShowDataStep, ShowWriteStep, ShowPreviewStep, ShowMergeStep); 3991 } 3992 3993 3994 ///////////////////////////////////////////////////////////////////////////// 3995 // MailMergeFields properties 3996 3997 ///////////////////////////////////////////////////////////////////////////// 3998 // MailMergeFields operations 3999 4000 LPDISPATCH MailMergeFields::GetApplication() 4001 { 4002 LPDISPATCH result; 4003 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4004 return result; 4005 } 4006 4007 long MailMergeFields::GetCreator() 4008 { 4009 long result; 4010 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4011 return result; 4012 } 4013 4014 LPDISPATCH MailMergeFields::GetParent() 4015 { 4016 LPDISPATCH result; 4017 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4018 return result; 4019 } 4020 4021 LPUNKNOWN MailMergeFields::Get_NewEnum() 4022 { 4023 LPUNKNOWN result; 4024 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4025 return result; 4026 } 4027 4028 long MailMergeFields::GetCount() 4029 { 4030 long result; 4031 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4032 return result; 4033 } 4034 4035 LPDISPATCH MailMergeFields::Item(long Index) 4036 { 4037 LPDISPATCH result; 4038 static BYTE parms[] = 4039 VTS_I4; 4040 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4041 Index); 4042 return result; 4043 } 4044 4045 LPDISPATCH MailMergeFields::Add(LPDISPATCH Range, LPCTSTR Name) 4046 { 4047 LPDISPATCH result; 4048 static BYTE parms[] = 4049 VTS_DISPATCH VTS_BSTR; 4050 InvokeHelper(0x65, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4051 Range, Name); 4052 return result; 4053 } 4054 4055 LPDISPATCH MailMergeFields::AddAsk(LPDISPATCH Range, LPCTSTR Name, VARIANT* Prompt, VARIANT* DefaultAskText, VARIANT* AskOnce) 4056 { 4057 LPDISPATCH result; 4058 static BYTE parms[] = 4059 VTS_DISPATCH VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4060 InvokeHelper(0x66, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4061 Range, Name, Prompt, DefaultAskText, AskOnce); 4062 return result; 4063 } 4064 4065 LPDISPATCH MailMergeFields::AddFillIn(LPDISPATCH Range, VARIANT* Prompt, VARIANT* DefaultFillInText, VARIANT* AskOnce) 4066 { 4067 LPDISPATCH result; 4068 static BYTE parms[] = 4069 VTS_DISPATCH VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4070 InvokeHelper(0x67, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4071 Range, Prompt, DefaultFillInText, AskOnce); 4072 return result; 4073 } 4074 4075 LPDISPATCH MailMergeFields::AddIf(LPDISPATCH Range, LPCTSTR MergeField, long Comparison, VARIANT* CompareTo, VARIANT* TrueAutoText, VARIANT* TrueText, VARIANT* FalseAutoText, VARIANT* FalseText) 4076 { 4077 LPDISPATCH result; 4078 static BYTE parms[] = 4079 VTS_DISPATCH VTS_BSTR VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 4080 InvokeHelper(0x68, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4081 Range, MergeField, Comparison, CompareTo, TrueAutoText, TrueText, FalseAutoText, FalseText); 4082 return result; 4083 } 4084 4085 LPDISPATCH MailMergeFields::AddMergeRec(LPDISPATCH Range) 4086 { 4087 LPDISPATCH result; 4088 static BYTE parms[] = 4089 VTS_DISPATCH; 4090 InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4091 Range); 4092 return result; 4093 } 4094 4095 LPDISPATCH MailMergeFields::AddMergeSeq(LPDISPATCH Range) 4096 { 4097 LPDISPATCH result; 4098 static BYTE parms[] = 4099 VTS_DISPATCH; 4100 InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4101 Range); 4102 return result; 4103 } 4104 4105 LPDISPATCH MailMergeFields::AddNext(LPDISPATCH Range) 4106 { 4107 LPDISPATCH result; 4108 static BYTE parms[] = 4109 VTS_DISPATCH; 4110 InvokeHelper(0x6b, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4111 Range); 4112 return result; 4113 } 4114 4115 LPDISPATCH MailMergeFields::AddNextIf(LPDISPATCH Range, LPCTSTR MergeField, long Comparison, VARIANT* CompareTo) 4116 { 4117 LPDISPATCH result; 4118 static BYTE parms[] = 4119 VTS_DISPATCH VTS_BSTR VTS_I4 VTS_PVARIANT; 4120 InvokeHelper(0x6c, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4121 Range, MergeField, Comparison, CompareTo); 4122 return result; 4123 } 4124 4125 LPDISPATCH MailMergeFields::AddSet(LPDISPATCH Range, LPCTSTR Name, VARIANT* ValueText, VARIANT* ValueAutoText) 4126 { 4127 LPDISPATCH result; 4128 static BYTE parms[] = 4129 VTS_DISPATCH VTS_BSTR VTS_PVARIANT VTS_PVARIANT; 4130 InvokeHelper(0x6d, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4131 Range, Name, ValueText, ValueAutoText); 4132 return result; 4133 } 4134 4135 LPDISPATCH MailMergeFields::AddSkipIf(LPDISPATCH Range, LPCTSTR MergeField, long Comparison, VARIANT* CompareTo) 4136 { 4137 LPDISPATCH result; 4138 static BYTE parms[] = 4139 VTS_DISPATCH VTS_BSTR VTS_I4 VTS_PVARIANT; 4140 InvokeHelper(0x6e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4141 Range, MergeField, Comparison, CompareTo); 4142 return result; 4143 } 4144 4145 4146 ///////////////////////////////////////////////////////////////////////////// 4147 // MailMergeField properties 4148 4149 ///////////////////////////////////////////////////////////////////////////// 4150 // MailMergeField operations 4151 4152 LPDISPATCH MailMergeField::GetApplication() 4153 { 4154 LPDISPATCH result; 4155 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4156 return result; 4157 } 4158 4159 long MailMergeField::GetCreator() 4160 { 4161 long result; 4162 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4163 return result; 4164 } 4165 4166 LPDISPATCH MailMergeField::GetParent() 4167 { 4168 LPDISPATCH result; 4169 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4170 return result; 4171 } 4172 4173 long MailMergeField::GetType() 4174 { 4175 long result; 4176 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4177 return result; 4178 } 4179 4180 BOOL MailMergeField::GetLocked() 4181 { 4182 BOOL result; 4183 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4184 return result; 4185 } 4186 4187 void MailMergeField::SetLocked(BOOL bNewValue) 4188 { 4189 static BYTE parms[] = 4190 VTS_BOOL; 4191 InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4192 bNewValue); 4193 } 4194 4195 LPDISPATCH MailMergeField::GetCode() 4196 { 4197 LPDISPATCH result; 4198 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4199 return result; 4200 } 4201 4202 void MailMergeField::SetCode(LPDISPATCH newValue) 4203 { 4204 static BYTE parms[] = 4205 VTS_DISPATCH; 4206 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4207 newValue); 4208 } 4209 4210 LPDISPATCH MailMergeField::GetNext() 4211 { 4212 LPDISPATCH result; 4213 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4214 return result; 4215 } 4216 4217 LPDISPATCH MailMergeField::GetPrevious() 4218 { 4219 LPDISPATCH result; 4220 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4221 return result; 4222 } 4223 4224 void MailMergeField::Select() 4225 { 4226 InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4227 } 4228 4229 void MailMergeField::Copy() 4230 { 4231 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4232 } 4233 4234 void MailMergeField::Cut() 4235 { 4236 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4237 } 4238 4239 void MailMergeField::Delete() 4240 { 4241 InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4242 } 4243 4244 4245 ///////////////////////////////////////////////////////////////////////////// 4246 // MailMergeDataSource properties 4247 4248 ///////////////////////////////////////////////////////////////////////////// 4249 // MailMergeDataSource operations 4250 4251 LPDISPATCH MailMergeDataSource::GetApplication() 4252 { 4253 LPDISPATCH result; 4254 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4255 return result; 4256 } 4257 4258 long MailMergeDataSource::GetCreator() 4259 { 4260 long result; 4261 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4262 return result; 4263 } 4264 4265 LPDISPATCH MailMergeDataSource::GetParent() 4266 { 4267 LPDISPATCH result; 4268 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4269 return result; 4270 } 4271 4272 CString MailMergeDataSource::GetName() 4273 { 4274 CString result; 4275 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4276 return result; 4277 } 4278 4279 CString MailMergeDataSource::GetHeaderSourceName() 4280 { 4281 CString result; 4282 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4283 return result; 4284 } 4285 4286 long MailMergeDataSource::GetType() 4287 { 4288 long result; 4289 InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4290 return result; 4291 } 4292 4293 long MailMergeDataSource::GetHeaderSourceType() 4294 { 4295 long result; 4296 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4297 return result; 4298 } 4299 4300 CString MailMergeDataSource::GetConnectString() 4301 { 4302 CString result; 4303 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4304 return result; 4305 } 4306 4307 CString MailMergeDataSource::GetQueryString() 4308 { 4309 CString result; 4310 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4311 return result; 4312 } 4313 4314 void MailMergeDataSource::SetQueryString(LPCTSTR lpszNewValue) 4315 { 4316 static BYTE parms[] = 4317 VTS_BSTR; 4318 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4319 lpszNewValue); 4320 } 4321 4322 long MailMergeDataSource::GetActiveRecord() 4323 { 4324 long result; 4325 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4326 return result; 4327 } 4328 4329 void MailMergeDataSource::SetActiveRecord(long nNewValue) 4330 { 4331 static BYTE parms[] = 4332 VTS_I4; 4333 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4334 nNewValue); 4335 } 4336 4337 long MailMergeDataSource::GetFirstRecord() 4338 { 4339 long result; 4340 InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4341 return result; 4342 } 4343 4344 void MailMergeDataSource::SetFirstRecord(long nNewValue) 4345 { 4346 static BYTE parms[] = 4347 VTS_I4; 4348 InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4349 nNewValue); 4350 } 4351 4352 long MailMergeDataSource::GetLastRecord() 4353 { 4354 long result; 4355 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4356 return result; 4357 } 4358 4359 void MailMergeDataSource::SetLastRecord(long nNewValue) 4360 { 4361 static BYTE parms[] = 4362 VTS_I4; 4363 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4364 nNewValue); 4365 } 4366 4367 LPDISPATCH MailMergeDataSource::GetFieldNames() 4368 { 4369 LPDISPATCH result; 4370 InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4371 return result; 4372 } 4373 4374 LPDISPATCH MailMergeDataSource::GetDataFields() 4375 { 4376 LPDISPATCH result; 4377 InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4378 return result; 4379 } 4380 4381 long MailMergeDataSource::GetRecordCount() 4382 { 4383 long result; 4384 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4385 return result; 4386 } 4387 4388 BOOL MailMergeDataSource::GetIncluded() 4389 { 4390 BOOL result; 4391 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4392 return result; 4393 } 4394 4395 void MailMergeDataSource::SetIncluded(BOOL bNewValue) 4396 { 4397 static BYTE parms[] = 4398 VTS_BOOL; 4399 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4400 bNewValue); 4401 } 4402 4403 BOOL MailMergeDataSource::GetInvalidAddress() 4404 { 4405 BOOL result; 4406 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4407 return result; 4408 } 4409 4410 void MailMergeDataSource::SetInvalidAddress(BOOL bNewValue) 4411 { 4412 static BYTE parms[] = 4413 VTS_BOOL; 4414 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4415 bNewValue); 4416 } 4417 4418 CString MailMergeDataSource::GetInvalidComments() 4419 { 4420 CString result; 4421 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4422 return result; 4423 } 4424 4425 void MailMergeDataSource::SetInvalidComments(LPCTSTR lpszNewValue) 4426 { 4427 static BYTE parms[] = 4428 VTS_BSTR; 4429 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4430 lpszNewValue); 4431 } 4432 4433 LPDISPATCH MailMergeDataSource::GetMappedDataFields() 4434 { 4435 LPDISPATCH result; 4436 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4437 return result; 4438 } 4439 4440 CString MailMergeDataSource::GetTableName() 4441 { 4442 CString result; 4443 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4444 return result; 4445 } 4446 4447 BOOL MailMergeDataSource::FindRecord(LPCTSTR FindText, VARIANT* Field) 4448 { 4449 BOOL result; 4450 static BYTE parms[] = 4451 VTS_BSTR VTS_PVARIANT; 4452 InvokeHelper(0x66, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms, 4453 FindText, Field); 4454 return result; 4455 } 4456 4457 void MailMergeDataSource::SetAllIncludedFlags(BOOL Included) 4458 { 4459 static BYTE parms[] = 4460 VTS_BOOL; 4461 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4462 Included); 4463 } 4464 4465 void MailMergeDataSource::SetAllErrorFlags(BOOL Invalid, LPCTSTR InvalidComment) 4466 { 4467 static BYTE parms[] = 4468 VTS_BOOL VTS_BSTR; 4469 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 4470 Invalid, InvalidComment); 4471 } 4472 4473 void MailMergeDataSource::Close() 4474 { 4475 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4476 } 4477 4478 4479 ///////////////////////////////////////////////////////////////////////////// 4480 // MailMergeFieldNames properties 4481 4482 ///////////////////////////////////////////////////////////////////////////// 4483 // MailMergeFieldNames operations 4484 4485 LPDISPATCH MailMergeFieldNames::GetApplication() 4486 { 4487 LPDISPATCH result; 4488 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4489 return result; 4490 } 4491 4492 long MailMergeFieldNames::GetCreator() 4493 { 4494 long result; 4495 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4496 return result; 4497 } 4498 4499 LPDISPATCH MailMergeFieldNames::GetParent() 4500 { 4501 LPDISPATCH result; 4502 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4503 return result; 4504 } 4505 4506 LPUNKNOWN MailMergeFieldNames::Get_NewEnum() 4507 { 4508 LPUNKNOWN result; 4509 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4510 return result; 4511 } 4512 4513 long MailMergeFieldNames::GetCount() 4514 { 4515 long result; 4516 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4517 return result; 4518 } 4519 4520 LPDISPATCH MailMergeFieldNames::Item(VARIANT* Index) 4521 { 4522 LPDISPATCH result; 4523 static BYTE parms[] = 4524 VTS_PVARIANT; 4525 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4526 Index); 4527 return result; 4528 } 4529 4530 4531 ///////////////////////////////////////////////////////////////////////////// 4532 // MailMergeFieldName properties 4533 4534 ///////////////////////////////////////////////////////////////////////////// 4535 // MailMergeFieldName operations 4536 4537 LPDISPATCH MailMergeFieldName::GetApplication() 4538 { 4539 LPDISPATCH result; 4540 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4541 return result; 4542 } 4543 4544 long MailMergeFieldName::GetCreator() 4545 { 4546 long result; 4547 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4548 return result; 4549 } 4550 4551 LPDISPATCH MailMergeFieldName::GetParent() 4552 { 4553 LPDISPATCH result; 4554 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4555 return result; 4556 } 4557 4558 CString MailMergeFieldName::GetName() 4559 { 4560 CString result; 4561 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4562 return result; 4563 } 4564 4565 long MailMergeFieldName::GetIndex() 4566 { 4567 long result; 4568 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4569 return result; 4570 } 4571 4572 4573 ///////////////////////////////////////////////////////////////////////////// 4574 // MailMergeDataFields properties 4575 4576 ///////////////////////////////////////////////////////////////////////////// 4577 // MailMergeDataFields operations 4578 4579 LPDISPATCH MailMergeDataFields::GetApplication() 4580 { 4581 LPDISPATCH result; 4582 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4583 return result; 4584 } 4585 4586 long MailMergeDataFields::GetCreator() 4587 { 4588 long result; 4589 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4590 return result; 4591 } 4592 4593 LPDISPATCH MailMergeDataFields::GetParent() 4594 { 4595 LPDISPATCH result; 4596 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4597 return result; 4598 } 4599 4600 LPUNKNOWN MailMergeDataFields::Get_NewEnum() 4601 { 4602 LPUNKNOWN result; 4603 InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 4604 return result; 4605 } 4606 4607 long MailMergeDataFields::GetCount() 4608 { 4609 long result; 4610 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4611 return result; 4612 } 4613 4614 LPDISPATCH MailMergeDataFields::Item(VARIANT* Index) 4615 { 4616 LPDISPATCH result; 4617 static BYTE parms[] = 4618 VTS_PVARIANT; 4619 InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms, 4620 Index); 4621 return result; 4622 } 4623 4624 4625 ///////////////////////////////////////////////////////////////////////////// 4626 // MailMergeDataField properties 4627 4628 ///////////////////////////////////////////////////////////////////////////// 4629 // MailMergeDataField operations 4630 4631 LPDISPATCH MailMergeDataField::GetApplication() 4632 { 4633 LPDISPATCH result; 4634 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4635 return result; 4636 } 4637 4638 long MailMergeDataField::GetCreator() 4639 { 4640 long result; 4641 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4642 return result; 4643 } 4644 4645 LPDISPATCH MailMergeDataField::GetParent() 4646 { 4647 LPDISPATCH result; 4648 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4649 return result; 4650 } 4651 4652 CString MailMergeDataField::GetValue() 4653 { 4654 CString result; 4655 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4656 return result; 4657 } 4658 4659 CString MailMergeDataField::GetName() 4660 { 4661 CString result; 4662 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4663 return result; 4664 } 4665 4666 long MailMergeDataField::GetIndex() 4667 { 4668 long result; 4669 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4670 return result; 4671 } 4672 4673 4674 ///////////////////////////////////////////////////////////////////////////// 4675 // Envelope properties 4676 4677 ///////////////////////////////////////////////////////////////////////////// 4678 // Envelope operations 4679 4680 LPDISPATCH Envelope::GetApplication() 4681 { 4682 LPDISPATCH result; 4683 InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4684 return result; 4685 } 4686 4687 long Envelope::GetCreator() 4688 { 4689 long result; 4690 InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4691 return result; 4692 } 4693 4694 LPDISPATCH Envelope::GetParent() 4695 { 4696 LPDISPATCH result; 4697 InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4698 return result; 4699 } 4700 4701 LPDISPATCH Envelope::GetAddress() 4702 { 4703 LPDISPATCH result; 4704 InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4705 return result; 4706 } 4707 4708 LPDISPATCH Envelope::GetReturnAddress() 4709 { 4710 LPDISPATCH result; 4711 InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4712 return result; 4713 } 4714 4715 BOOL Envelope::GetDefaultPrintBarCode() 4716 { 4717 BOOL result; 4718 InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4719 return result; 4720 } 4721 4722 void Envelope::SetDefaultPrintBarCode(BOOL bNewValue) 4723 { 4724 static BYTE parms[] = 4725 VTS_BOOL; 4726 InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4727 bNewValue); 4728 } 4729 4730 BOOL Envelope::GetDefaultPrintFIMA() 4731 { 4732 BOOL result; 4733 InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4734 return result; 4735 } 4736 4737 void Envelope::SetDefaultPrintFIMA(BOOL bNewValue) 4738 { 4739 static BYTE parms[] = 4740 VTS_BOOL; 4741 InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4742 bNewValue); 4743 } 4744 4745 float Envelope::GetDefaultHeight() 4746 { 4747 float result; 4748 InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4749 return result; 4750 } 4751 4752 void Envelope::SetDefaultHeight(float newValue) 4753 { 4754 static BYTE parms[] = 4755 VTS_R4; 4756 InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4757 newValue); 4758 } 4759 4760 float Envelope::GetDefaultWidth() 4761 { 4762 float result; 4763 InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4764 return result; 4765 } 4766 4767 void Envelope::SetDefaultWidth(float newValue) 4768 { 4769 static BYTE parms[] = 4770 VTS_R4; 4771 InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4772 newValue); 4773 } 4774 4775 CString Envelope::GetDefaultSize() 4776 { 4777 CString result; 4778 InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL); 4779 return result; 4780 } 4781 4782 void Envelope::SetDefaultSize(LPCTSTR lpszNewValue) 4783 { 4784 static BYTE parms[] = 4785 VTS_BSTR; 4786 InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4787 lpszNewValue); 4788 } 4789 4790 BOOL Envelope::GetDefaultOmitReturnAddress() 4791 { 4792 BOOL result; 4793 InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4794 return result; 4795 } 4796 4797 void Envelope::SetDefaultOmitReturnAddress(BOOL bNewValue) 4798 { 4799 static BYTE parms[] = 4800 VTS_BOOL; 4801 InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4802 bNewValue); 4803 } 4804 4805 long Envelope::GetFeedSource() 4806 { 4807 long result; 4808 InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4809 return result; 4810 } 4811 4812 void Envelope::SetFeedSource(long nNewValue) 4813 { 4814 static BYTE parms[] = 4815 VTS_I4; 4816 InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4817 nNewValue); 4818 } 4819 4820 float Envelope::GetAddressFromLeft() 4821 { 4822 float result; 4823 InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4824 return result; 4825 } 4826 4827 void Envelope::SetAddressFromLeft(float newValue) 4828 { 4829 static BYTE parms[] = 4830 VTS_R4; 4831 InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4832 newValue); 4833 } 4834 4835 float Envelope::GetAddressFromTop() 4836 { 4837 float result; 4838 InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4839 return result; 4840 } 4841 4842 void Envelope::SetAddressFromTop(float newValue) 4843 { 4844 static BYTE parms[] = 4845 VTS_R4; 4846 InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4847 newValue); 4848 } 4849 4850 float Envelope::GetReturnAddressFromLeft() 4851 { 4852 float result; 4853 InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4854 return result; 4855 } 4856 4857 void Envelope::SetReturnAddressFromLeft(float newValue) 4858 { 4859 static BYTE parms[] = 4860 VTS_R4; 4861 InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4862 newValue); 4863 } 4864 4865 float Envelope::GetReturnAddressFromTop() 4866 { 4867 float result; 4868 InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4869 return result; 4870 } 4871 4872 void Envelope::SetReturnAddressFromTop(float newValue) 4873 { 4874 static BYTE parms[] = 4875 VTS_R4; 4876 InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4877 newValue); 4878 } 4879 4880 LPDISPATCH Envelope::GetAddressStyle() 4881 { 4882 LPDISPATCH result; 4883 InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4884 return result; 4885 } 4886 4887 LPDISPATCH Envelope::GetReturnAddressStyle() 4888 { 4889 LPDISPATCH result; 4890 InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL); 4891 return result; 4892 } 4893 4894 long Envelope::GetDefaultOrientation() 4895 { 4896 long result; 4897 InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 4898 return result; 4899 } 4900 4901 void Envelope::SetDefaultOrientation(long nNewValue) 4902 { 4903 static BYTE parms[] = 4904 VTS_I4; 4905 InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4906 nNewValue); 4907 } 4908 4909 BOOL Envelope::GetDefaultFaceUp() 4910 { 4911 BOOL result; 4912 InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4913 return result; 4914 } 4915 4916 void Envelope::SetDefaultFaceUp(BOOL bNewValue) 4917 { 4918 static BYTE parms[] = 4919 VTS_BOOL; 4920 InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4921 bNewValue); 4922 } 4923 4924 void Envelope::UpdateDocument() 4925 { 4926 InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4927 } 4928 4929 void Envelope::Options() 4930 { 4931 InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL); 4932 } 4933 4934 BOOL Envelope::GetVertical() 4935 { 4936 BOOL result; 4937 InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 4938 return result; 4939 } 4940 4941 void Envelope::SetVertical(BOOL bNewValue) 4942 { 4943 static BYTE parms[] = 4944 VTS_BOOL; 4945 InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4946 bNewValue); 4947 } 4948 4949 float Envelope::GetRecipientNamefromLeft() 4950 { 4951 float result; 4952 InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4953 return result; 4954 } 4955 4956 void Envelope::SetRecipientNamefromLeft(float newValue) 4957 { 4958 static BYTE parms[] = 4959 VTS_R4; 4960 InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4961 newValue); 4962 } 4963 4964 float Envelope::GetRecipientNamefromTop() 4965 { 4966 float result; 4967 InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4968 return result; 4969 } 4970 4971 void Envelope::SetRecipientNamefromTop(float newValue) 4972 { 4973 static BYTE parms[] = 4974 VTS_R4; 4975 InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4976 newValue); 4977 } 4978 4979 float Envelope::GetRecipientPostalfromLeft() 4980 { 4981 float result; 4982 InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4983 return result; 4984 } 4985 4986 void Envelope::SetRecipientPostalfromLeft(float newValue) 4987 { 4988 static BYTE parms[] = 4989 VTS_R4; 4990 InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 4991 newValue); 4992 } 4993 4994 float Envelope::GetRecipientPostalfromTop() 4995 { 4996 float result; 4997 InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 4998 return result; 4999 } 5000 5001 void Envelope::SetRecipientPostalfromTop(float newValue) 5002 { 5003 static BYTE parms[] = 5004 VTS_R4; 5005 InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5006 newValue); 5007 } 5008 5009 float Envelope::GetSenderNamefromLeft() 5010 { 5011 float result; 5012 InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5013 return result; 5014 } 5015 5016 void Envelope::SetSenderNamefromLeft(float newValue) 5017 { 5018 static BYTE parms[] = 5019 VTS_R4; 5020 InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5021 newValue); 5022 } 5023 5024 float Envelope::GetSenderNamefromTop() 5025 { 5026 float result; 5027 InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5028 return result; 5029 } 5030 5031 void Envelope::SetSenderNamefromTop(float newValue) 5032 { 5033 static BYTE parms[] = 5034 VTS_R4; 5035 InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5036 newValue); 5037 } 5038 5039 float Envelope::GetSenderPostalfromLeft() 5040 { 5041 float result; 5042 InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5043 return result; 5044 } 5045 5046 void Envelope::SetSenderPostalfromLeft(float newValue) 5047 { 5048 static BYTE parms[] = 5049 VTS_R4; 5050 InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5051 newValue); 5052 } 5053 5054 float Envelope::GetSenderPostalfromTop() 5055 { 5056 float result; 5057 InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 5058 return result; 5059 } 5060 5061 void Envelope::SetSenderPostalfromTop(float newValue) 5062 { 5063 static BYTE parms[] = 5064 VTS_R4; 5065 InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 5066 newValue); 5067 } 5068 5069 void Envelope::Insert(VARIANT* ExtractAddress, VARIANT* Address, VARIANT* AutoText, VARIANT* OmitReturnAddress, VARIANT* ReturnAddress, VARIANT* ReturnAutoText, VARIANT* PrintBarCode, VARIANT* PrintFIMA, VARIANT* Size, VARIANT* Height, VARIANT* Width, 5070 VARIANT* FeedSource, VARIANT* AddressFromLeft, VARIANT* AddressFromTop, VARIANT* ReturnAddressFromLeft, VARIANT* ReturnAddressFromTop, VARIANT* DefaultFaceUp, VARIANT* DefaultOrientation, VARIANT* PrintEPostage, VARIANT* Vertical, 5071 VARIANT* RecipientNamefromLeft, VARIANT* RecipientNamefromTop, VARIANT* RecipientPostalfromLeft, VARIANT* RecipientPostalfromTop, VARIANT* SenderNamefromLeft, VARIANT* SenderNamefromTop, VARIANT* SenderPostalfromLeft, 5072 VARIANT* SenderPostalfromTop) 5073 { 5074 static BYTE parms[] = 5075 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 5076 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 5077 InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 5078 ExtractAddress, Address, AutoText, OmitReturnAddress, ReturnAddress, ReturnAutoText, PrintBarCode, PrintFIMA, Size, Height, Width, FeedSource, AddressFromLeft, AddressFromTop, ReturnAddressFromLeft, ReturnAddressFromTop, DefaultFaceUp, 5079 DefaultOrientation, PrintEPostage, Vertical, RecipientNamefromLeft, RecipientNamefromTop, RecipientPostalfromLeft, RecipientPostalfromTop, SenderNamefromLeft, SenderNamefromTop, SenderPostalfromLeft, SenderPostalfromTop); 5080 } 5081 5082 void Envelope::PrintOut(VARIANT* ExtractAddress, VARIANT* Address, VARIANT* AutoText, VARIANT* OmitReturnAddress, VARIANT* ReturnAddress, VARIANT* ReturnAutoText, VARIANT* PrintBarCode, VARIANT* PrintFIMA, VARIANT* Size, VARIANT* Height, 5083 VARIANT* Width, VARIANT* FeedSource, VARIANT* AddressFromLeft, VARIANT* AddressFromTop, VARIANT* ReturnAddressFromLeft, VARIANT* ReturnAddressFromTop, VARIANT* DefaultFaceUp, VARIANT* DefaultOrientation, VARIANT* PrintEPostage, 5084 VARIANT* Vertical, VARIANT* RecipientNamefromLeft, VARIANT* RecipientNamefromTop, VARIANT* RecipientPostalfromLeft, VARIANT* RecipientPostalfromTop, VARIANT* SenderNamefromLeft, VARIANT* SenderNamefromTop, VARIANT* SenderPostalfromLeft, 5085 VARIANT* SenderPostalfromTop) 5086 { 5087 static BYTE parms[] = 5088 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 5089 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT; 5090 InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 5091 ExtractAddress, Address, AutoText, OmitReturnAddress, ReturnAddress, ReturnAutoText, PrintBarCode, PrintFIMA, Size, Height, Width, FeedSource, AddressFromLeft, AddressFromTop, ReturnAddressFromLeft, ReturnAddressFromTop, DefaultFaceUp, 5092 DefaultOrientation, PrintEPostage, Vertical, RecipientNamefromLeft, RecipientNamefromTop, RecipientPostalfromLeft, RecipientPostalfromTop, SenderNamefromLeft, SenderNamefromTop, SenderPostalfromLeft, SenderPostalfromTop); 5093 }View Code