MFC vc++ 写 word 文件,msword.h文件
msword.h文件太大分成2个上传
1
1 // Machine generated IDispatch wrapper class(es) created with ClassWizard 2 ///////////////////////////////////////////////////////////////////////////// 3 // _Application wrapper class 4 5 class _Application : public COleDispatchDriver 6 { 7 public: 8 _Application() {} // Calls COleDispatchDriver default constructor 9 _Application(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 10 _Application(const _Application& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 11 12 // Attributes 13 public: 14 15 // Operations 16 public: 17 LPDISPATCH GetApplication(); 18 long GetCreator(); 19 LPDISPATCH GetParent(); 20 CString GetName(); 21 LPDISPATCH GetDocuments(); 22 LPDISPATCH GetWindows(); 23 LPDISPATCH GetActiveDocument(); 24 LPDISPATCH GetActiveWindow(); 25 LPDISPATCH GetSelection(); 26 LPDISPATCH GetWordBasic(); 27 LPDISPATCH GetRecentFiles(); 28 LPDISPATCH GetNormalTemplate(); 29 LPDISPATCH GetSystem(); 30 LPDISPATCH GetAutoCorrect(); 31 LPDISPATCH GetFontNames(); 32 LPDISPATCH GetLandscapeFontNames(); 33 LPDISPATCH GetPortraitFontNames(); 34 LPDISPATCH GetLanguages(); 35 LPDISPATCH GetAssistant(); 36 LPDISPATCH GetBrowser(); 37 LPDISPATCH GetFileConverters(); 38 LPDISPATCH GetMailingLabel(); 39 LPDISPATCH GetDialogs(); 40 LPDISPATCH GetCaptionLabels(); 41 LPDISPATCH GetAutoCaptions(); 42 LPDISPATCH GetAddIns(); 43 BOOL GetVisible(); 44 void SetVisible(BOOL bNewValue); 45 CString GetVersion(); 46 BOOL GetScreenUpdating(); 47 void SetScreenUpdating(BOOL bNewValue); 48 BOOL GetPrintPreview(); 49 void SetPrintPreview(BOOL bNewValue); 50 LPDISPATCH GetTasks(); 51 BOOL GetDisplayStatusBar(); 52 void SetDisplayStatusBar(BOOL bNewValue); 53 BOOL GetSpecialMode(); 54 long GetUsableWidth(); 55 long GetUsableHeight(); 56 BOOL GetMathCoprocessorAvailable(); 57 BOOL GetMouseAvailable(); 58 VARIANT GetInternational(long Index); 59 CString GetBuild(); 60 BOOL GetCapsLock(); 61 BOOL GetNumLock(); 62 CString GetUserName_(); 63 void SetUserName(LPCTSTR lpszNewValue); 64 CString GetUserInitials(); 65 void SetUserInitials(LPCTSTR lpszNewValue); 66 CString GetUserAddress(); 67 void SetUserAddress(LPCTSTR lpszNewValue); 68 LPDISPATCH GetMacroContainer(); 69 BOOL GetDisplayRecentFiles(); 70 void SetDisplayRecentFiles(BOOL bNewValue); 71 LPDISPATCH GetCommandBars(); 72 LPDISPATCH GetSynonymInfo(LPCTSTR Word, VARIANT* LanguageID); 73 LPDISPATCH GetVbe(); 74 CString GetDefaultSaveFormat(); 75 void SetDefaultSaveFormat(LPCTSTR lpszNewValue); 76 LPDISPATCH GetListGalleries(); 77 CString GetActivePrinter(); 78 void SetActivePrinter(LPCTSTR lpszNewValue); 79 LPDISPATCH GetTemplates(); 80 LPDISPATCH GetCustomizationContext(); 81 void SetCustomizationContext(LPDISPATCH newValue); 82 LPDISPATCH GetKeyBindings(); 83 LPDISPATCH GetKeysBoundTo(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter); 84 LPDISPATCH GetFindKey(long KeyCode, VARIANT* KeyCode2); 85 CString GetCaption(); 86 void SetCaption(LPCTSTR lpszNewValue); 87 CString GetPath(); 88 BOOL GetDisplayScrollBars(); 89 void SetDisplayScrollBars(BOOL bNewValue); 90 CString GetStartupPath(); 91 void SetStartupPath(LPCTSTR lpszNewValue); 92 long GetBackgroundSavingStatus(); 93 long GetBackgroundPrintingStatus(); 94 long GetLeft(); 95 void SetLeft(long nNewValue); 96 long GetTop(); 97 void SetTop(long nNewValue); 98 long GetWidth(); 99 void SetWidth(long nNewValue); 100 long GetHeight(); 101 void SetHeight(long nNewValue); 102 long GetWindowState(); 103 void SetWindowState(long nNewValue); 104 BOOL GetDisplayAutoCompleteTips(); 105 void SetDisplayAutoCompleteTips(BOOL bNewValue); 106 LPDISPATCH GetOptions(); 107 long GetDisplayAlerts(); 108 void SetDisplayAlerts(long nNewValue); 109 LPDISPATCH GetCustomDictionaries(); 110 CString GetPathSeparator(); 111 void SetStatusBar(LPCTSTR lpszNewValue); 112 BOOL GetMAPIAvailable(); 113 BOOL GetDisplayScreenTips(); 114 void SetDisplayScreenTips(BOOL bNewValue); 115 long GetEnableCancelKey(); 116 void SetEnableCancelKey(long nNewValue); 117 BOOL GetUserControl(); 118 LPDISPATCH GetFileSearch(); 119 long GetMailSystem(); 120 CString GetDefaultTableSeparator(); 121 void SetDefaultTableSeparator(LPCTSTR lpszNewValue); 122 BOOL GetShowVisualBasicEditor(); 123 void SetShowVisualBasicEditor(BOOL bNewValue); 124 CString GetBrowseExtraFileTypes(); 125 void SetBrowseExtraFileTypes(LPCTSTR lpszNewValue); 126 BOOL GetIsObjectValid(LPDISPATCH Object); 127 LPDISPATCH GetHangulHanjaDictionaries(); 128 LPDISPATCH GetMailMessage(); 129 BOOL GetFocusInMailHeader(); 130 void Quit(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument); 131 void ScreenRefresh(); 132 void LookupNameProperties(LPCTSTR Name); 133 void SubstituteFont(LPCTSTR UnavailableFont, LPCTSTR SubstituteFont); 134 BOOL Repeat(VARIANT* Times); 135 void DDEExecute(long Channel, LPCTSTR Command); 136 long DDEInitiate(LPCTSTR App, LPCTSTR Topic); 137 void DDEPoke(long Channel, LPCTSTR Item, LPCTSTR Data); 138 CString DDERequest(long Channel, LPCTSTR Item); 139 void DDETerminate(long Channel); 140 void DDETerminateAll(); 141 long BuildKeyCode(long Arg1, VARIANT* Arg2, VARIANT* Arg3, VARIANT* Arg4); 142 CString KeyString(long KeyCode, VARIANT* KeyCode2); 143 void OrganizerCopy(LPCTSTR Source, LPCTSTR Destination, LPCTSTR Name, long Object); 144 void OrganizerDelete(LPCTSTR Source, LPCTSTR Name, long Object); 145 void OrganizerRename(LPCTSTR Source, LPCTSTR Name, LPCTSTR NewName, long Object); 146 // method 'AddAddress' not emitted because of invalid return type or parameter type 147 CString GetAddress(VARIANT* Name, VARIANT* AddressProperties, VARIANT* UseAutoText, VARIANT* DisplaySelectDialog, VARIANT* SelectDialog, VARIANT* CheckNamesDialog, VARIANT* RecentAddressesChoice, VARIANT* UpdateRecentAddresses); 148 BOOL CheckGrammar(LPCTSTR String); 149 BOOL CheckSpelling(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, 150 VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 151 void ResetIgnoreAll(); 152 LPDISPATCH GetSpellingSuggestions(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, 153 VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 154 void GoBack(); 155 void Help(VARIANT* HelpType); 156 void AutomaticChange(); 157 void ShowMe(); 158 void HelpTool(); 159 LPDISPATCH NewWindow(); 160 void ListCommands(BOOL ListAllCommands); 161 void ShowClipboard(); 162 void OnTime(VARIANT* When, LPCTSTR Name, VARIANT* Tolerance); 163 void NextLetter(); 164 short MountVolume(LPCTSTR Zone, LPCTSTR Server, LPCTSTR Volume, VARIANT* User, VARIANT* UserPassword, VARIANT* VolumePassword); 165 CString CleanString(LPCTSTR String); 166 void SendFax(); 167 void ChangeFileOpenDirectory(LPCTSTR Path); 168 void GoForward(); 169 void Move(long Left, long Top); 170 void Resize(long Width, long Height); 171 float InchesToPoints(float Inches); 172 float CentimetersToPoints(float Centimeters); 173 float MillimetersToPoints(float Millimeters); 174 float PicasToPoints(float Picas); 175 float LinesToPoints(float Lines); 176 float PointsToInches(float Points); 177 float PointsToCentimeters(float Points); 178 float PointsToMillimeters(float Points); 179 float PointsToPicas(float Points); 180 float PointsToLines(float Points); 181 void Activate(); 182 float PointsToPixels(float Points, VARIANT* fVertical); 183 float PixelsToPoints(float Pixels, VARIANT* fVertical); 184 void KeyboardLatin(); 185 void KeyboardBidi(); 186 void ToggleKeyboard(); 187 long Keyboard(long LangId); 188 CString ProductCode(); 189 LPDISPATCH DefaultWebOptions(); 190 void SetDefaultTheme(LPCTSTR Name, long DocumentType); 191 CString GetDefaultTheme(long DocumentType); 192 LPDISPATCH GetEmailOptions(); 193 long GetLanguage(); 194 LPDISPATCH GetCOMAddIns(); 195 BOOL GetCheckLanguage(); 196 void SetCheckLanguage(BOOL bNewValue); 197 LPDISPATCH GetLanguageSettings(); 198 LPDISPATCH GetAnswerWizard(); 199 long GetFeatureInstall(); 200 void SetFeatureInstall(long nNewValue); 201 VARIANT 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, 202 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, 203 VARIANT* varg28, VARIANT* varg29, VARIANT* varg30); 204 void 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, 205 VARIANT* FileName, VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight); 206 long GetAutomationSecurity(); 207 void SetAutomationSecurity(long nNewValue); 208 LPDISPATCH GetFileDialog(long FileDialogType); 209 CString GetEmailTemplate(); 210 void SetEmailTemplate(LPCTSTR lpszNewValue); 211 BOOL GetShowWindowsInTaskbar(); 212 void SetShowWindowsInTaskbar(BOOL bNewValue); 213 LPDISPATCH GetNewDocument(); 214 BOOL GetShowStartupDialog(); 215 void SetShowStartupDialog(BOOL bNewValue); 216 LPDISPATCH GetAutoCorrectEmail(); 217 LPDISPATCH GetTaskPanes(); 218 BOOL GetDefaultLegalBlackline(); 219 void SetDefaultLegalBlackline(BOOL bNewValue); 220 LPDISPATCH GetSmartTagRecognizers(); 221 LPDISPATCH GetSmartTagTypes(); 222 LPDISPATCH GetXMLNamespaces(); 223 void PutFocusInMailHeader(); 224 BOOL GetArbitraryXMLSupportAvailable(); 225 }; 226 ///////////////////////////////////////////////////////////////////////////// 227 // _Global wrapper class 228 229 class _Global : public COleDispatchDriver 230 { 231 public: 232 _Global() {} // Calls COleDispatchDriver default constructor 233 _Global(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 234 _Global(const _Global& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 235 236 // Attributes 237 public: 238 239 // Operations 240 public: 241 LPDISPATCH GetApplication(); 242 long GetCreator(); 243 LPDISPATCH GetParent(); 244 CString GetName(); 245 LPDISPATCH GetDocuments(); 246 LPDISPATCH GetWindows(); 247 LPDISPATCH GetActiveDocument(); 248 LPDISPATCH GetActiveWindow(); 249 LPDISPATCH GetSelection(); 250 LPDISPATCH GetWordBasic(); 251 BOOL GetPrintPreview(); 252 void SetPrintPreview(BOOL bNewValue); 253 LPDISPATCH GetRecentFiles(); 254 LPDISPATCH GetNormalTemplate(); 255 LPDISPATCH GetSystem(); 256 LPDISPATCH GetAutoCorrect(); 257 LPDISPATCH GetFontNames(); 258 LPDISPATCH GetLandscapeFontNames(); 259 LPDISPATCH GetPortraitFontNames(); 260 LPDISPATCH GetLanguages(); 261 LPDISPATCH GetAssistant(); 262 LPDISPATCH GetFileConverters(); 263 LPDISPATCH GetDialogs(); 264 LPDISPATCH GetCaptionLabels(); 265 LPDISPATCH GetAutoCaptions(); 266 LPDISPATCH GetAddIns(); 267 LPDISPATCH GetTasks(); 268 LPDISPATCH GetMacroContainer(); 269 LPDISPATCH GetCommandBars(); 270 LPDISPATCH GetSynonymInfo(LPCTSTR Word, VARIANT* LanguageID); 271 LPDISPATCH GetVbe(); 272 LPDISPATCH GetListGalleries(); 273 CString GetActivePrinter(); 274 void SetActivePrinter(LPCTSTR lpszNewValue); 275 LPDISPATCH GetTemplates(); 276 LPDISPATCH GetCustomizationContext(); 277 void SetCustomizationContext(LPDISPATCH newValue); 278 LPDISPATCH GetKeyBindings(); 279 LPDISPATCH GetKeysBoundTo(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter); 280 LPDISPATCH GetFindKey(long KeyCode, VARIANT* KeyCode2); 281 LPDISPATCH GetOptions(); 282 LPDISPATCH GetCustomDictionaries(); 283 void SetStatusBar(LPCTSTR lpszNewValue); 284 BOOL GetShowVisualBasicEditor(); 285 void SetShowVisualBasicEditor(BOOL bNewValue); 286 BOOL GetIsObjectValid(LPDISPATCH Object); 287 LPDISPATCH GetHangulHanjaDictionaries(); 288 BOOL Repeat(VARIANT* Times); 289 void DDEExecute(long Channel, LPCTSTR Command); 290 long DDEInitiate(LPCTSTR App, LPCTSTR Topic); 291 void DDEPoke(long Channel, LPCTSTR Item, LPCTSTR Data); 292 CString DDERequest(long Channel, LPCTSTR Item); 293 void DDETerminate(long Channel); 294 void DDETerminateAll(); 295 long BuildKeyCode(long Arg1, VARIANT* Arg2, VARIANT* Arg3, VARIANT* Arg4); 296 CString KeyString(long KeyCode, VARIANT* KeyCode2); 297 BOOL CheckSpelling(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, 298 VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 299 LPDISPATCH GetSpellingSuggestions(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, 300 VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 301 void Help(VARIANT* HelpType); 302 LPDISPATCH NewWindow(); 303 CString CleanString(LPCTSTR String); 304 void ChangeFileOpenDirectory(LPCTSTR Path); 305 float InchesToPoints(float Inches); 306 float CentimetersToPoints(float Centimeters); 307 float MillimetersToPoints(float Millimeters); 308 float PicasToPoints(float Picas); 309 float LinesToPoints(float Lines); 310 float PointsToInches(float Points); 311 float PointsToCentimeters(float Points); 312 float PointsToMillimeters(float Points); 313 float PointsToPicas(float Points); 314 float PointsToLines(float Points); 315 float PointsToPixels(float Points, VARIANT* fVertical); 316 float PixelsToPoints(float Pixels, VARIANT* fVertical); 317 LPDISPATCH GetLanguageSettings(); 318 LPDISPATCH GetAnswerWizard(); 319 LPDISPATCH GetAutoCorrectEmail(); 320 }; 321 ///////////////////////////////////////////////////////////////////////////// 322 // FontNames wrapper class 323 324 class FontNames : public COleDispatchDriver 325 { 326 public: 327 FontNames() {} // Calls COleDispatchDriver default constructor 328 FontNames(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 329 FontNames(const FontNames& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 330 331 // Attributes 332 public: 333 334 // Operations 335 public: 336 LPUNKNOWN Get_NewEnum(); 337 long GetCount(); 338 LPDISPATCH GetApplication(); 339 long GetCreator(); 340 LPDISPATCH GetParent(); 341 CString Item(long Index); 342 }; 343 ///////////////////////////////////////////////////////////////////////////// 344 // Languages wrapper class 345 346 class Languages : public COleDispatchDriver 347 { 348 public: 349 Languages() {} // Calls COleDispatchDriver default constructor 350 Languages(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 351 Languages(const Languages& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 352 353 // Attributes 354 public: 355 356 // Operations 357 public: 358 LPUNKNOWN Get_NewEnum(); 359 long GetCount(); 360 LPDISPATCH GetApplication(); 361 long GetCreator(); 362 LPDISPATCH GetParent(); 363 LPDISPATCH Item(VARIANT* Index); 364 }; 365 ///////////////////////////////////////////////////////////////////////////// 366 // Language wrapper class 367 368 class Language : public COleDispatchDriver 369 { 370 public: 371 Language() {} // Calls COleDispatchDriver default constructor 372 Language(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 373 Language(const Language& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 374 375 // Attributes 376 public: 377 378 // Operations 379 public: 380 LPDISPATCH GetApplication(); 381 long GetCreator(); 382 LPDISPATCH GetParent(); 383 long GetId(); 384 CString GetNameLocal(); 385 CString GetName(); 386 LPDISPATCH GetActiveGrammarDictionary(); 387 LPDISPATCH GetActiveHyphenationDictionary(); 388 LPDISPATCH GetActiveSpellingDictionary(); 389 LPDISPATCH GetActiveThesaurusDictionary(); 390 CString GetDefaultWritingStyle(); 391 void SetDefaultWritingStyle(LPCTSTR lpszNewValue); 392 VARIANT GetWritingStyleList(); 393 long GetSpellingDictionaryType(); 394 void SetSpellingDictionaryType(long nNewValue); 395 }; 396 ///////////////////////////////////////////////////////////////////////////// 397 // Documents wrapper class 398 399 class Documents : public COleDispatchDriver 400 { 401 public: 402 Documents() {} // Calls COleDispatchDriver default constructor 403 Documents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 404 Documents(const Documents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 405 406 // Attributes 407 public: 408 409 // Operations 410 public: 411 LPUNKNOWN Get_NewEnum(); 412 long GetCount(); 413 LPDISPATCH GetApplication(); 414 long GetCreator(); 415 LPDISPATCH GetParent(); 416 LPDISPATCH Item(VARIANT* Index); 417 void Close(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument); 418 void Save(VARIANT* NoPrompt, VARIANT* OriginalFormat); 419 LPDISPATCH Add(VARIANT* Template, VARIANT* NewTemplate, VARIANT* DocumentType, VARIANT* Visible); 420 void CheckOut(LPCTSTR FileName); 421 BOOL CanCheckOut(LPCTSTR FileName); 422 //office 20003 423 LPDISPATCH Open(VARIANT* FileName, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, 424 VARIANT* WritePasswordTemplate, VARIANT* Format, VARIANT* Encoding, VARIANT* Visible, VARIANT* OpenAndRepair, VARIANT* DocumentDirection, VARIANT* NoEncodingDialog, VARIANT* XMLTransform); 425 //word 2000 426 LPDISPATCH Open(VARIANT* FileName, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, 427 VARIANT* WritePasswordTemplate, VARIANT* Format, VARIANT* Encoding, VARIANT* Visible); 428 }; 429 ///////////////////////////////////////////////////////////////////////////// 430 // _Document wrapper class 431 432 class _Document : public COleDispatchDriver 433 { 434 public: 435 _Document() {} // Calls COleDispatchDriver default constructor 436 _Document(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 437 _Document(const _Document& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 438 439 // Attributes 440 public: 441 442 // Operations 443 public: 444 CString GetName(); 445 LPDISPATCH GetApplication(); 446 long GetCreator(); 447 LPDISPATCH GetParent(); 448 LPDISPATCH GetBuiltInDocumentProperties(); 449 LPDISPATCH GetCustomDocumentProperties(); 450 CString GetPath(); 451 LPDISPATCH GetBookmarks(); 452 LPDISPATCH GetTables(); 453 LPDISPATCH GetFootnotes(); 454 LPDISPATCH GetEndnotes(); 455 LPDISPATCH GetComments(); 456 long GetType(); 457 BOOL GetAutoHyphenation(); 458 void SetAutoHyphenation(BOOL bNewValue); 459 BOOL GetHyphenateCaps(); 460 void SetHyphenateCaps(BOOL bNewValue); 461 long GetHyphenationZone(); 462 void SetHyphenationZone(long nNewValue); 463 long GetConsecutiveHyphensLimit(); 464 void SetConsecutiveHyphensLimit(long nNewValue); 465 LPDISPATCH GetSections(); 466 LPDISPATCH GetParagraphs(); 467 LPDISPATCH GetWords(); 468 LPDISPATCH GetSentences(); 469 LPDISPATCH GetCharacters(); 470 LPDISPATCH GetFields(); 471 LPDISPATCH GetFormFields(); 472 LPDISPATCH GetStyles(); 473 LPDISPATCH GetFrames(); 474 LPDISPATCH GetTablesOfFigures(); 475 LPDISPATCH GetVariables(); 476 LPDISPATCH GetMailMerge(); 477 LPDISPATCH GetEnvelope(); 478 CString GetFullName(); 479 LPDISPATCH GetRevisions(); 480 LPDISPATCH GetTablesOfContents(); 481 LPDISPATCH GetTablesOfAuthorities(); 482 LPDISPATCH GetPageSetup(); 483 void SetPageSetup(LPDISPATCH newValue); 484 LPDISPATCH GetWindows(); 485 BOOL GetHasRoutingSlip(); 486 void SetHasRoutingSlip(BOOL bNewValue); 487 LPDISPATCH GetRoutingSlip(); 488 BOOL GetRouted(); 489 LPDISPATCH GetTablesOfAuthoritiesCategories(); 490 LPDISPATCH GetIndexes(); 491 BOOL GetSaved(); 492 void SetSaved(BOOL bNewValue); 493 LPDISPATCH GetContent(); 494 LPDISPATCH GetActiveWindow(); 495 long GetKind(); 496 void SetKind(long nNewValue); 497 BOOL GetReadOnly(); 498 LPDISPATCH GetSubdocuments(); 499 BOOL GetIsMasterDocument(); 500 float GetDefaultTabStop(); 501 void SetDefaultTabStop(float newValue); 502 BOOL GetEmbedTrueTypeFonts(); 503 void SetEmbedTrueTypeFonts(BOOL bNewValue); 504 BOOL GetSaveFormsData(); 505 void SetSaveFormsData(BOOL bNewValue); 506 BOOL GetReadOnlyRecommended(); 507 void SetReadOnlyRecommended(BOOL bNewValue); 508 BOOL GetSaveSubsetFonts(); 509 void SetSaveSubsetFonts(BOOL bNewValue); 510 BOOL GetCompatibility(long Type); 511 void SetCompatibility(long Type, BOOL bNewValue); 512 LPDISPATCH GetStoryRanges(); 513 LPDISPATCH GetCommandBars(); 514 BOOL GetIsSubdocument(); 515 long GetSaveFormat(); 516 long GetProtectionType(); 517 LPDISPATCH GetHyperlinks(); 518 LPDISPATCH GetShapes(); 519 LPDISPATCH GetListTemplates(); 520 LPDISPATCH GetLists(); 521 BOOL GetUpdateStylesOnOpen(); 522 void SetUpdateStylesOnOpen(BOOL bNewValue); 523 VARIANT GetAttachedTemplate(); 524 void SetAttachedTemplate(VARIANT* newValue); 525 LPDISPATCH GetInlineShapes(); 526 LPDISPATCH GetBackground(); 527 void SetBackground(LPDISPATCH newValue); 528 BOOL GetGrammarChecked(); 529 void SetGrammarChecked(BOOL bNewValue); 530 BOOL GetSpellingChecked(); 531 void SetSpellingChecked(BOOL bNewValue); 532 BOOL GetShowGrammaticalErrors(); 533 void SetShowGrammaticalErrors(BOOL bNewValue); 534 BOOL GetShowSpellingErrors(); 535 void SetShowSpellingErrors(BOOL bNewValue); 536 LPDISPATCH GetVersions(); 537 BOOL GetShowSummary(); 538 void SetShowSummary(BOOL bNewValue); 539 long GetSummaryViewMode(); 540 void SetSummaryViewMode(long nNewValue); 541 long GetSummaryLength(); 542 void SetSummaryLength(long nNewValue); 543 BOOL GetPrintFractionalWidths(); 544 void SetPrintFractionalWidths(BOOL bNewValue); 545 BOOL GetPrintPostScriptOverText(); 546 void SetPrintPostScriptOverText(BOOL bNewValue); 547 LPDISPATCH GetContainer(); 548 BOOL GetPrintFormsData(); 549 void SetPrintFormsData(BOOL bNewValue); 550 LPDISPATCH GetListParagraphs(); 551 void SetPassword(LPCTSTR lpszNewValue); 552 void SetWritePassword(LPCTSTR lpszNewValue); 553 BOOL GetHasPassword(); 554 BOOL GetWriteReserved(); 555 CString GetActiveWritingStyle(VARIANT* LanguageID); 556 void SetActiveWritingStyle(VARIANT* LanguageID, LPCTSTR lpszNewValue); 557 BOOL GetUserControl(); 558 void SetUserControl(BOOL bNewValue); 559 BOOL GetHasMailer(); 560 void SetHasMailer(BOOL bNewValue); 561 LPDISPATCH GetMailer(); 562 LPDISPATCH GetReadabilityStatistics(); 563 LPDISPATCH GetGrammaticalErrors(); 564 LPDISPATCH GetSpellingErrors(); 565 LPDISPATCH GetVBProject(); 566 BOOL GetFormsDesign(); 567 CString Get_CodeName(); 568 void Set_CodeName(LPCTSTR lpszNewValue); 569 CString GetCodeName(); 570 BOOL GetSnapToGrid(); 571 void SetSnapToGrid(BOOL bNewValue); 572 BOOL GetSnapToShapes(); 573 void SetSnapToShapes(BOOL bNewValue); 574 float GetGridDistanceHorizontal(); 575 void SetGridDistanceHorizontal(float newValue); 576 float GetGridDistanceVertical(); 577 void SetGridDistanceVertical(float newValue); 578 float GetGridOriginHorizontal(); 579 void SetGridOriginHorizontal(float newValue); 580 float GetGridOriginVertical(); 581 void SetGridOriginVertical(float newValue); 582 long GetGridSpaceBetweenHorizontalLines(); 583 void SetGridSpaceBetweenHorizontalLines(long nNewValue); 584 long GetGridSpaceBetweenVerticalLines(); 585 void SetGridSpaceBetweenVerticalLines(long nNewValue); 586 BOOL GetGridOriginFromMargin(); 587 void SetGridOriginFromMargin(BOOL bNewValue); 588 BOOL GetKerningByAlgorithm(); 589 void SetKerningByAlgorithm(BOOL bNewValue); 590 long GetJustificationMode(); 591 void SetJustificationMode(long nNewValue); 592 long GetFarEastLineBreakLevel(); 593 void SetFarEastLineBreakLevel(long nNewValue); 594 CString GetNoLineBreakBefore(); 595 void SetNoLineBreakBefore(LPCTSTR lpszNewValue); 596 CString GetNoLineBreakAfter(); 597 void SetNoLineBreakAfter(LPCTSTR lpszNewValue); 598 BOOL GetTrackRevisions(); 599 void SetTrackRevisions(BOOL bNewValue); 600 BOOL GetPrintRevisions(); 601 void SetPrintRevisions(BOOL bNewValue); 602 BOOL GetShowRevisions(); 603 void SetShowRevisions(BOOL bNewValue); 604 void Close(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument); 605 void Repaginate(); 606 void FitToPages(); 607 void ManualHyphenation(); 608 void Select(); 609 void DataForm(); 610 void Route(); 611 void Save(); 612 void SendMail(); 613 LPDISPATCH Range(VARIANT* Start, VARIANT* End); 614 void RunAutoMacro(long Which); 615 void Activate(); 616 void PrintPreview(); 617 LPDISPATCH GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name); 618 BOOL Undo(VARIANT* Times); 619 BOOL Redo(VARIANT* Times); 620 long ComputeStatistics(long Statistic, VARIANT* IncludeFootnotesAndEndnotes); 621 void MakeCompatibilityDefault(); 622 void Unprotect(VARIANT* Password); 623 void EditionOptions(long Type, long Option, LPCTSTR Name, VARIANT* Format); 624 void RunLetterWizard(VARIANT* LetterContent, VARIANT* WizardMode); 625 LPDISPATCH GetLetterContent(); 626 void SetLetterContent(VARIANT* LetterContent); 627 void CopyStylesFromTemplate(LPCTSTR Template); 628 void UpdateStyles(); 629 void CheckGrammar(); 630 void CheckSpelling(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* AlwaysSuggest, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, 631 VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 632 void FollowHyperlink(VARIANT* Address, VARIANT* SubAddress, VARIANT* NewWindow, VARIANT* AddHistory, VARIANT* ExtraInfo, VARIANT* Method, VARIANT* HeaderInfo); 633 void AddToFavorites(); 634 void Reload(); 635 LPDISPATCH AutoSummarize(VARIANT* Length, VARIANT* Mode, VARIANT* UpdateProperties); 636 void RemoveNumbers(VARIANT* NumberType); 637 void ConvertNumbersToText(VARIANT* NumberType); 638 long CountNumberedItems(VARIANT* NumberType, VARIANT* Level); 639 void Post(); 640 void ToggleFormsDesign(); 641 void UpdateSummaryProperties(); 642 VARIANT GetCrossReferenceItems(VARIANT* ReferenceType); 643 void AutoFormat(); 644 void ViewCode(); 645 void ViewPropertyBrowser(); 646 void ForwardMailer(); 647 void Reply(); 648 void ReplyAll(); 649 void SendMailer(VARIANT* FileFormat, VARIANT* Priority); 650 void UndoClear(); 651 void PresentIt(); 652 void SendFax(LPCTSTR Address, VARIANT* Subject); 653 void ClosePrintPreview(); 654 void CheckConsistency(); 655 LPDISPATCH CreateLetterContent(LPCTSTR DateFormat, BOOL IncludeHeaderFooter, LPCTSTR PageDesign, long LetterStyle, BOOL Letterhead, long LetterheadLocation, float LetterheadSize, LPCTSTR RecipientName, LPCTSTR RecipientAddress, 656 LPCTSTR Salutation, long SalutationType, LPCTSTR RecipientReference, LPCTSTR MailingInstructions, LPCTSTR AttentionLine, LPCTSTR Subject, LPCTSTR CCList, LPCTSTR ReturnAddress, LPCTSTR SenderName, LPCTSTR Closing, LPCTSTR SenderCompany, 657 LPCTSTR SenderJobTitle, LPCTSTR SenderInitials, long EnclosureNumber, VARIANT* InfoBlock, VARIANT* RecipientCode, VARIANT* RecipientGender, VARIANT* ReturnAddressShortForm, VARIANT* SenderCity, VARIANT* SenderCode, VARIANT* SenderGender, 658 VARIANT* SenderReference); 659 void AcceptAllRevisions(); 660 void RejectAllRevisions(); 661 void DetectLanguage(); 662 void ApplyTheme(LPCTSTR Name); 663 void RemoveTheme(); 664 void WebPagePreview(); 665 void ReloadAs(long Encoding); 666 CString GetActiveTheme(); 667 CString GetActiveThemeDisplayName(); 668 LPDISPATCH GetEmail(); 669 LPDISPATCH GetScripts(); 670 BOOL GetLanguageDetected(); 671 void SetLanguageDetected(BOOL bNewValue); 672 long GetFarEastLineBreakLanguage(); 673 void SetFarEastLineBreakLanguage(long nNewValue); 674 LPDISPATCH GetFrameset(); 675 VARIANT GetClickAndTypeParagraphStyle(); 676 void SetClickAndTypeParagraphStyle(VARIANT* newValue); 677 LPDISPATCH GetHTMLProject(); 678 LPDISPATCH GetWebOptions(); 679 long GetOpenEncoding(); 680 long GetSaveEncoding(); 681 void SetSaveEncoding(long nNewValue); 682 BOOL GetOptimizeForWord97(); 683 void SetOptimizeForWord97(BOOL bNewValue); 684 BOOL GetVBASigned(); 685 void ConvertVietDoc(long CodePageOrigin); 686 void 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, 687 VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight); 688 LPDISPATCH GetMailEnvelope(); 689 BOOL GetDisableFeatures(); 690 void SetDisableFeatures(BOOL bNewValue); 691 BOOL GetDoNotEmbedSystemFonts(); 692 void SetDoNotEmbedSystemFonts(BOOL bNewValue); 693 LPDISPATCH GetSignatures(); 694 CString GetDefaultTargetFrame(); 695 void SetDefaultTargetFrame(LPCTSTR lpszNewValue); 696 LPDISPATCH GetHTMLDivisions(); 697 long GetDisableFeaturesIntroducedAfter(); 698 void SetDisableFeaturesIntroducedAfter(long nNewValue); 699 BOOL GetRemovePersonalInformation(); 700 void SetRemovePersonalInformation(BOOL bNewValue); 701 LPDISPATCH GetSmartTags(); 702 void CheckIn(BOOL SaveChanges, VARIANT* Comments, BOOL MakePublic); 703 BOOL CanCheckin(); 704 void Merge(LPCTSTR FileName, VARIANT* MergeTarget, VARIANT* DetectFormatChanges, VARIANT* UseFormattingFrom, VARIANT* AddToRecentFiles); 705 BOOL GetEmbedSmartTags(); 706 void SetEmbedSmartTags(BOOL bNewValue); 707 BOOL GetSmartTagsAsXMLProps(); 708 void SetSmartTagsAsXMLProps(BOOL bNewValue); 709 long GetTextEncoding(); 710 void SetTextEncoding(long nNewValue); 711 long GetTextLineEnding(); 712 void SetTextLineEnding(long nNewValue); 713 void SendForReview(VARIANT* Recipients, VARIANT* Subject, VARIANT* ShowMessage, VARIANT* IncludeAttachment); 714 void ReplyWithChanges(VARIANT* ShowMessage); 715 void EndReview(); 716 LPDISPATCH GetStyleSheets(); 717 VARIANT GetDefaultTableStyle(); 718 CString GetPasswordEncryptionProvider(); 719 CString GetPasswordEncryptionAlgorithm(); 720 long GetPasswordEncryptionKeyLength(); 721 BOOL GetPasswordEncryptionFileProperties(); 722 void SetPasswordEncryptionOptions(LPCTSTR PasswordEncryptionProvider, LPCTSTR PasswordEncryptionAlgorithm, long PasswordEncryptionKeyLength, VARIANT* PasswordEncryptionFileProperties); 723 void RecheckSmartTags(); 724 void RemoveSmartTags(); 725 void SetDefaultTableStyle(VARIANT* Style, BOOL SetInTemplate); 726 void DeleteAllComments(); 727 void AcceptAllRevisionsShown(); 728 void RejectAllRevisionsShown(); 729 void DeleteAllCommentsShown(); 730 void ResetFormFields(); 731 //word2003 732 void SaveAs(VARIANT* FileName, VARIANT* FileFormat, VARIANT* LockComments, VARIANT* Password, VARIANT* AddToRecentFiles, VARIANT* WritePassword, VARIANT* ReadOnlyRecommended, VARIANT* EmbedTrueTypeFonts, VARIANT* SaveNativePictureFormat, 733 VARIANT* SaveFormsData, VARIANT* SaveAsAOCELetter, VARIANT* Encoding, VARIANT* InsertLineBreaks, VARIANT* AllowSubstitutions, VARIANT* LineEnding, VARIANT* AddBiDiMarks); 734 //word2000 735 void SaveAs(VARIANT* FileName, VARIANT* FileFormat, VARIANT* LockComments, VARIANT* Password, VARIANT* AddToRecentFiles, VARIANT* WritePassword, VARIANT* ReadOnlyRecommended, VARIANT* EmbedTrueTypeFonts, VARIANT* SaveNativePictureFormat, 736 VARIANT* SaveFormsData, VARIANT* SaveAsAOCELetter); 737 738 BOOL GetEmbedLinguisticData(); 739 void SetEmbedLinguisticData(BOOL bNewValue); 740 BOOL GetFormattingShowFont(); 741 void SetFormattingShowFont(BOOL bNewValue); 742 BOOL GetFormattingShowClear(); 743 void SetFormattingShowClear(BOOL bNewValue); 744 BOOL GetFormattingShowParagraph(); 745 void SetFormattingShowParagraph(BOOL bNewValue); 746 BOOL GetFormattingShowNumbering(); 747 void SetFormattingShowNumbering(BOOL bNewValue); 748 long GetFormattingShowFilter(); 749 void SetFormattingShowFilter(long nNewValue); 750 void CheckNewSmartTags(); 751 LPDISPATCH GetPermission(); 752 LPDISPATCH GetXMLNodes(); 753 LPDISPATCH GetXMLSchemaReferences(); 754 LPDISPATCH GetSmartDocument(); 755 LPDISPATCH GetSharedWorkspace(); 756 LPDISPATCH GetSync(); 757 BOOL GetEnforceStyle(); 758 void SetEnforceStyle(BOOL bNewValue); 759 BOOL GetAutoFormatOverride(); 760 void SetAutoFormatOverride(BOOL bNewValue); 761 BOOL GetXMLSaveDataOnly(); 762 void SetXMLSaveDataOnly(BOOL bNewValue); 763 BOOL GetXMLHideNamespaces(); 764 void SetXMLHideNamespaces(BOOL bNewValue); 765 BOOL GetXMLShowAdvancedErrors(); 766 void SetXMLShowAdvancedErrors(BOOL bNewValue); 767 BOOL GetXMLUseXSLTWhenSaving(); 768 void SetXMLUseXSLTWhenSaving(BOOL bNewValue); 769 CString GetXMLSaveThroughXSLT(); 770 void SetXMLSaveThroughXSLT(LPCTSTR lpszNewValue); 771 LPDISPATCH GetDocumentLibraryVersions(); 772 BOOL GetReadingModeLayoutFrozen(); 773 void SetReadingModeLayoutFrozen(BOOL bNewValue); 774 BOOL GetRemoveDateAndTime(); 775 void SetRemoveDateAndTime(BOOL bNewValue); 776 void SendFaxOverInternet(VARIANT* Recipients, VARIANT* Subject, VARIANT* ShowMessage); 777 void TransformDocument(LPCTSTR Path, BOOL DataOnly); 778 void Protect(long Type, VARIANT* NoReset, VARIANT* Password, VARIANT* UseIRM, VARIANT* EnforceStyleLock); 779 void SelectAllEditableRanges(VARIANT* EditorID); 780 void DeleteAllEditableRanges(VARIANT* EditorID); 781 void DeleteAllInkAnnotations(); 782 void Compare(LPCTSTR Name, VARIANT* AuthorName, VARIANT* CompareTarget, VARIANT* DetectFormatChanges, VARIANT* IgnoreAllComparisonWarnings, VARIANT* AddToRecentFiles, VARIANT* RemovePersonalInformation, VARIANT* RemoveDateAndTime); 783 void RemoveLockedStyles(); 784 LPDISPATCH GetChildNodeSuggestions(); 785 LPDISPATCH SelectSingleNode(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes); 786 LPDISPATCH SelectNodes(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes); 787 LPDISPATCH GetXMLSchemaViolations(); 788 long GetReadingLayoutSizeX(); 789 void SetReadingLayoutSizeX(long nNewValue); 790 long GetReadingLayoutSizeY(); 791 void SetReadingLayoutSizeY(long nNewValue); 792 }; 793 ///////////////////////////////////////////////////////////////////////////// 794 // Template wrapper class 795 796 class Template : public COleDispatchDriver 797 { 798 public: 799 Template() {} // Calls COleDispatchDriver default constructor 800 Template(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 801 Template(const Template& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 802 803 // Attributes 804 public: 805 806 // Operations 807 public: 808 CString GetName(); 809 LPDISPATCH GetApplication(); 810 long GetCreator(); 811 LPDISPATCH GetParent(); 812 CString GetPath(); 813 LPDISPATCH GetAutoTextEntries(); 814 long GetLanguageID(); 815 void SetLanguageID(long nNewValue); 816 BOOL GetSaved(); 817 void SetSaved(BOOL bNewValue); 818 long GetType(); 819 CString GetFullName(); 820 LPDISPATCH GetBuiltInDocumentProperties(); 821 LPDISPATCH GetCustomDocumentProperties(); 822 LPDISPATCH GetListTemplates(); 823 long GetLanguageIDFarEast(); 824 void SetLanguageIDFarEast(long nNewValue); 825 LPDISPATCH GetVBProject(); 826 BOOL GetKerningByAlgorithm(); 827 void SetKerningByAlgorithm(BOOL bNewValue); 828 long GetJustificationMode(); 829 void SetJustificationMode(long nNewValue); 830 long GetFarEastLineBreakLevel(); 831 void SetFarEastLineBreakLevel(long nNewValue); 832 CString GetNoLineBreakBefore(); 833 void SetNoLineBreakBefore(LPCTSTR lpszNewValue); 834 CString GetNoLineBreakAfter(); 835 void SetNoLineBreakAfter(LPCTSTR lpszNewValue); 836 LPDISPATCH OpenAsDocument(); 837 void Save(); 838 long GetNoProofing(); 839 void SetNoProofing(long nNewValue); 840 long GetFarEastLineBreakLanguage(); 841 void SetFarEastLineBreakLanguage(long nNewValue); 842 }; 843 ///////////////////////////////////////////////////////////////////////////// 844 // Templates wrapper class 845 846 class Templates : public COleDispatchDriver 847 { 848 public: 849 Templates() {} // Calls COleDispatchDriver default constructor 850 Templates(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 851 Templates(const Templates& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 852 853 // Attributes 854 public: 855 856 // Operations 857 public: 858 LPDISPATCH GetApplication(); 859 long GetCreator(); 860 LPDISPATCH GetParent(); 861 long GetCount(); 862 LPUNKNOWN Get_NewEnum(); 863 LPDISPATCH Item(VARIANT* Index); 864 }; 865 ///////////////////////////////////////////////////////////////////////////// 866 // RoutingSlip wrapper class 867 868 class RoutingSlip : public COleDispatchDriver 869 { 870 public: 871 RoutingSlip() {} // Calls COleDispatchDriver default constructor 872 RoutingSlip(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 873 RoutingSlip(const RoutingSlip& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 874 875 // Attributes 876 public: 877 878 // Operations 879 public: 880 LPDISPATCH GetApplication(); 881 long GetCreator(); 882 LPDISPATCH GetParent(); 883 CString GetSubject(); 884 void SetSubject(LPCTSTR lpszNewValue); 885 CString GetMessage(); 886 void SetMessage(LPCTSTR lpszNewValue); 887 long GetDelivery(); 888 void SetDelivery(long nNewValue); 889 BOOL GetTrackStatus(); 890 void SetTrackStatus(BOOL bNewValue); 891 long GetProtect(); 892 void SetProtect(long nNewValue); 893 BOOL GetReturnWhenDone(); 894 void SetReturnWhenDone(BOOL bNewValue); 895 long GetStatus(); 896 VARIANT GetRecipients(VARIANT* Index); 897 void Reset(); 898 void AddRecipient(LPCTSTR Recipient); 899 }; 900 ///////////////////////////////////////////////////////////////////////////// 901 // Bookmark wrapper class 902 903 class Bookmark : public COleDispatchDriver 904 { 905 public: 906 Bookmark() {} // Calls COleDispatchDriver default constructor 907 Bookmark(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 908 Bookmark(const Bookmark& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 909 910 // Attributes 911 public: 912 913 // Operations 914 public: 915 CString GetName(); 916 LPDISPATCH GetRange(); 917 BOOL GetEmpty(); 918 long GetStart(); 919 void SetStart(long nNewValue); 920 long GetEnd(); 921 void SetEnd(long nNewValue); 922 BOOL GetColumn(); 923 long GetStoryType(); 924 LPDISPATCH GetApplication(); 925 long GetCreator(); 926 LPDISPATCH GetParent(); 927 void Select(); 928 void Delete(); 929 LPDISPATCH Copy(LPCTSTR Name); 930 }; 931 ///////////////////////////////////////////////////////////////////////////// 932 // Bookmarks wrapper class 933 934 class Bookmarks : public COleDispatchDriver 935 { 936 public: 937 Bookmarks() {} // Calls COleDispatchDriver default constructor 938 Bookmarks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 939 Bookmarks(const Bookmarks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 940 941 // Attributes 942 public: 943 944 // Operations 945 public: 946 LPUNKNOWN Get_NewEnum(); 947 long GetCount(); 948 long GetDefaultSorting(); 949 void SetDefaultSorting(long nNewValue); 950 BOOL GetShowHidden(); 951 void SetShowHidden(BOOL bNewValue); 952 LPDISPATCH GetApplication(); 953 long GetCreator(); 954 LPDISPATCH GetParent(); 955 LPDISPATCH Item(VARIANT* Index); 956 LPDISPATCH Add(LPCTSTR Name, VARIANT* Range); 957 BOOL Exists(LPCTSTR Name); 958 }; 959 ///////////////////////////////////////////////////////////////////////////// 960 // Variable wrapper class 961 962 class Variable : public COleDispatchDriver 963 { 964 public: 965 Variable() {} // Calls COleDispatchDriver default constructor 966 Variable(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 967 Variable(const Variable& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 968 969 // Attributes 970 public: 971 972 // Operations 973 public: 974 LPDISPATCH GetApplication(); 975 long GetCreator(); 976 LPDISPATCH GetParent(); 977 CString GetName(); 978 CString GetValue(); 979 void SetValue(LPCTSTR lpszNewValue); 980 long GetIndex(); 981 void Delete(); 982 }; 983 ///////////////////////////////////////////////////////////////////////////// 984 // Variables wrapper class 985 986 class Variables : public COleDispatchDriver 987 { 988 public: 989 Variables() {} // Calls COleDispatchDriver default constructor 990 Variables(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 991 Variables(const Variables& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 992 993 // Attributes 994 public: 995 996 // Operations 997 public: 998 LPUNKNOWN Get_NewEnum(); 999 long GetCount(); 1000 LPDISPATCH GetApplication(); 1001 long GetCreator(); 1002 LPDISPATCH GetParent(); 1003 LPDISPATCH Item(VARIANT* Index); 1004 LPDISPATCH Add(LPCTSTR Name, VARIANT* Value); 1005 }; 1006 ///////////////////////////////////////////////////////////////////////////// 1007 // RecentFile wrapper class 1008 1009 class RecentFile : public COleDispatchDriver 1010 { 1011 public: 1012 RecentFile() {} // Calls COleDispatchDriver default constructor 1013 RecentFile(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1014 RecentFile(const RecentFile& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1015 1016 // Attributes 1017 public: 1018 1019 // Operations 1020 public: 1021 LPDISPATCH GetApplication(); 1022 long GetCreator(); 1023 LPDISPATCH GetParent(); 1024 CString GetName(); 1025 long GetIndex(); 1026 BOOL GetReadOnly(); 1027 void SetReadOnly(BOOL bNewValue); 1028 CString GetPath(); 1029 LPDISPATCH Open(); 1030 void Delete(); 1031 }; 1032 ///////////////////////////////////////////////////////////////////////////// 1033 // RecentFiles wrapper class 1034 1035 class RecentFiles : public COleDispatchDriver 1036 { 1037 public: 1038 RecentFiles() {} // Calls COleDispatchDriver default constructor 1039 RecentFiles(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1040 RecentFiles(const RecentFiles& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1041 1042 // Attributes 1043 public: 1044 1045 // Operations 1046 public: 1047 LPDISPATCH GetApplication(); 1048 long GetCreator(); 1049 LPDISPATCH GetParent(); 1050 LPUNKNOWN Get_NewEnum(); 1051 long GetCount(); 1052 long GetMaximum(); 1053 void SetMaximum(long nNewValue); 1054 LPDISPATCH Item(long Index); 1055 LPDISPATCH Add(VARIANT* Document, VARIANT* ReadOnly); 1056 }; 1057 ///////////////////////////////////////////////////////////////////////////// 1058 // Window wrapper class 1059 1060 class Window : public COleDispatchDriver 1061 { 1062 public: 1063 Window() {} // Calls COleDispatchDriver default constructor 1064 Window(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1065 Window(const Window& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1066 1067 // Attributes 1068 public: 1069 1070 // Operations 1071 public: 1072 LPDISPATCH GetApplication(); 1073 long GetCreator(); 1074 LPDISPATCH GetParent(); 1075 LPDISPATCH GetActivePane(); 1076 LPDISPATCH GetDocument(); 1077 LPDISPATCH GetPanes(); 1078 LPDISPATCH GetSelection(); 1079 long GetLeft(); 1080 void SetLeft(long nNewValue); 1081 long GetTop(); 1082 void SetTop(long nNewValue); 1083 long GetWidth(); 1084 void SetWidth(long nNewValue); 1085 long GetHeight(); 1086 void SetHeight(long nNewValue); 1087 BOOL GetSplit(); 1088 void SetSplit(BOOL bNewValue); 1089 long GetSplitVertical(); 1090 void SetSplitVertical(long nNewValue); 1091 CString GetCaption(); 1092 void SetCaption(LPCTSTR lpszNewValue); 1093 long GetWindowState(); 1094 void SetWindowState(long nNewValue); 1095 BOOL GetDisplayRulers(); 1096 void SetDisplayRulers(BOOL bNewValue); 1097 BOOL GetDisplayVerticalRuler(); 1098 void SetDisplayVerticalRuler(BOOL bNewValue); 1099 LPDISPATCH GetView(); 1100 long GetType(); 1101 LPDISPATCH GetNext(); 1102 LPDISPATCH GetPrevious(); 1103 long GetWindowNumber(); 1104 BOOL GetDisplayVerticalScrollBar(); 1105 void SetDisplayVerticalScrollBar(BOOL bNewValue); 1106 BOOL GetDisplayHorizontalScrollBar(); 1107 void SetDisplayHorizontalScrollBar(BOOL bNewValue); 1108 float GetStyleAreaWidth(); 1109 void SetStyleAreaWidth(float newValue); 1110 BOOL GetDisplayScreenTips(); 1111 void SetDisplayScreenTips(BOOL bNewValue); 1112 long GetHorizontalPercentScrolled(); 1113 void SetHorizontalPercentScrolled(long nNewValue); 1114 long GetVerticalPercentScrolled(); 1115 void SetVerticalPercentScrolled(long nNewValue); 1116 BOOL GetDocumentMap(); 1117 void SetDocumentMap(BOOL bNewValue); 1118 BOOL GetActive(); 1119 long GetDocumentMapPercentWidth(); 1120 void SetDocumentMapPercentWidth(long nNewValue); 1121 long GetIndex(); 1122 long GetIMEMode(); 1123 void SetIMEMode(long nNewValue); 1124 void Activate(); 1125 void Close(VARIANT* SaveChanges, VARIANT* RouteDocument); 1126 void LargeScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft); 1127 void SmallScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft); 1128 LPDISPATCH NewWindow(); 1129 void PageScroll(VARIANT* Down, VARIANT* Up); 1130 void SetFocus(); 1131 LPDISPATCH RangeFromPoint(long x, long y); 1132 void ScrollIntoView(LPDISPATCH obj, VARIANT* Start); 1133 void GetPoint(long* ScreenPixelsLeft, long* ScreenPixelsTop, long* ScreenPixelsWidth, long* ScreenPixelsHeight, LPDISPATCH obj); 1134 long GetUsableWidth(); 1135 long GetUsableHeight(); 1136 BOOL GetEnvelopeVisible(); 1137 void SetEnvelopeVisible(BOOL bNewValue); 1138 BOOL GetDisplayRightRuler(); 1139 void SetDisplayRightRuler(BOOL bNewValue); 1140 BOOL GetDisplayLeftScrollBar(); 1141 void SetDisplayLeftScrollBar(BOOL bNewValue); 1142 BOOL GetVisible(); 1143 void SetVisible(BOOL bNewValue); 1144 void 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, 1145 VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight); 1146 void ToggleShowAllReviewers(); 1147 BOOL GetThumbnails(); 1148 void SetThumbnails(BOOL bNewValue); 1149 }; 1150 ///////////////////////////////////////////////////////////////////////////// 1151 // Windows wrapper class 1152 1153 class Windows : public COleDispatchDriver 1154 { 1155 public: 1156 Windows() {} // Calls COleDispatchDriver default constructor 1157 Windows(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1158 Windows(const Windows& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1159 1160 // Attributes 1161 public: 1162 1163 // Operations 1164 public: 1165 LPUNKNOWN Get_NewEnum(); 1166 long GetCount(); 1167 LPDISPATCH GetApplication(); 1168 long GetCreator(); 1169 LPDISPATCH GetParent(); 1170 LPDISPATCH Item(VARIANT* Index); 1171 LPDISPATCH Add(VARIANT* Window); 1172 void Arrange(VARIANT* ArrangeStyle); 1173 BOOL CompareSideBySideWith(VARIANT* Document); 1174 BOOL BreakSideBySide(); 1175 void ResetPositionsSideBySide(); 1176 BOOL GetSyncScrollingSideBySide(); 1177 void SetSyncScrollingSideBySide(BOOL bNewValue); 1178 }; 1179 ///////////////////////////////////////////////////////////////////////////// 1180 // Pane wrapper class 1181 1182 class Pane : public COleDispatchDriver 1183 { 1184 public: 1185 Pane() {} // Calls COleDispatchDriver default constructor 1186 Pane(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1187 Pane(const Pane& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1188 1189 // Attributes 1190 public: 1191 1192 // Operations 1193 public: 1194 LPDISPATCH GetApplication(); 1195 long GetCreator(); 1196 LPDISPATCH GetParent(); 1197 LPDISPATCH GetDocument(); 1198 LPDISPATCH GetSelection(); 1199 BOOL GetDisplayRulers(); 1200 void SetDisplayRulers(BOOL bNewValue); 1201 BOOL GetDisplayVerticalRuler(); 1202 void SetDisplayVerticalRuler(BOOL bNewValue); 1203 LPDISPATCH GetZooms(); 1204 long GetIndex(); 1205 LPDISPATCH GetView(); 1206 LPDISPATCH GetNext(); 1207 LPDISPATCH GetPrevious(); 1208 long GetHorizontalPercentScrolled(); 1209 void SetHorizontalPercentScrolled(long nNewValue); 1210 long GetVerticalPercentScrolled(); 1211 void SetVerticalPercentScrolled(long nNewValue); 1212 long GetMinimumFontSize(); 1213 void SetMinimumFontSize(long nNewValue); 1214 long GetBrowseWidth(); 1215 void Activate(); 1216 void Close(); 1217 void LargeScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft); 1218 void SmallScroll(VARIANT* Down, VARIANT* Up, VARIANT* ToRight, VARIANT* ToLeft); 1219 void AutoScroll(long Velocity); 1220 void PageScroll(VARIANT* Down, VARIANT* Up); 1221 void NewFrameset(); 1222 void TOCInFrameset(); 1223 LPDISPATCH GetFrameset(); 1224 LPDISPATCH GetPages(); 1225 }; 1226 ///////////////////////////////////////////////////////////////////////////// 1227 // Panes wrapper class 1228 1229 class Panes : public COleDispatchDriver 1230 { 1231 public: 1232 Panes() {} // Calls COleDispatchDriver default constructor 1233 Panes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1234 Panes(const Panes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1235 1236 // Attributes 1237 public: 1238 1239 // Operations 1240 public: 1241 LPUNKNOWN Get_NewEnum(); 1242 long GetCount(); 1243 LPDISPATCH GetApplication(); 1244 long GetCreator(); 1245 LPDISPATCH GetParent(); 1246 LPDISPATCH Item(long Index); 1247 LPDISPATCH Add(VARIANT* SplitVertical); 1248 }; 1249 ///////////////////////////////////////////////////////////////////////////// 1250 // Range wrapper class 1251 1252 class Range : public COleDispatchDriver 1253 { 1254 public: 1255 Range() {} // Calls COleDispatchDriver default constructor 1256 Range(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1257 Range(const Range& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1258 1259 // Attributes 1260 public: 1261 1262 // Operations 1263 public: 1264 CString GetText(); 1265 void SetText(LPCTSTR lpszNewValue); 1266 LPDISPATCH GetFormattedText(); 1267 void SetFormattedText(LPDISPATCH newValue); 1268 long GetStart(); 1269 void SetStart(long nNewValue); 1270 long GetEnd(); 1271 void SetEnd(long nNewValue); 1272 LPDISPATCH GetFont(); 1273 void SetFont(LPDISPATCH newValue); 1274 LPDISPATCH GetDuplicate(); 1275 long GetStoryType(); 1276 LPDISPATCH GetTables(); 1277 LPDISPATCH GetWords(); 1278 LPDISPATCH GetSentences(); 1279 LPDISPATCH GetCharacters(); 1280 LPDISPATCH GetFootnotes(); 1281 LPDISPATCH GetEndnotes(); 1282 LPDISPATCH GetComments(); 1283 LPDISPATCH GetCells(); 1284 LPDISPATCH GetSections(); 1285 LPDISPATCH GetParagraphs(); 1286 LPDISPATCH GetBorders(); 1287 void SetBorders(LPDISPATCH newValue); 1288 LPDISPATCH GetShading(); 1289 LPDISPATCH GetTextRetrievalMode(); 1290 void SetTextRetrievalMode(LPDISPATCH newValue); 1291 LPDISPATCH GetFields(); 1292 LPDISPATCH GetFormFields(); 1293 LPDISPATCH GetFrames(); 1294 LPDISPATCH GetParagraphFormat(); 1295 void SetParagraphFormat(LPDISPATCH newValue); 1296 LPDISPATCH GetListFormat(); 1297 LPDISPATCH GetBookmarks(); 1298 LPDISPATCH GetApplication(); 1299 long GetCreator(); 1300 LPDISPATCH GetParent(); 1301 long GetBold(); 1302 void SetBold(long nNewValue); 1303 long GetItalic(); 1304 void SetItalic(long nNewValue); 1305 long GetUnderline(); 1306 void SetUnderline(long nNewValue); 1307 long GetEmphasisMark(); 1308 void SetEmphasisMark(long nNewValue); 1309 BOOL GetDisableCharacterSpaceGrid(); 1310 void SetDisableCharacterSpaceGrid(BOOL bNewValue); 1311 LPDISPATCH GetRevisions(); 1312 VARIANT GetStyle(); 1313 void SetStyle(VARIANT* newValue); 1314 long GetStoryLength(); 1315 long GetLanguageID(); 1316 void SetLanguageID(long nNewValue); 1317 LPDISPATCH GetSynonymInfo(); 1318 LPDISPATCH GetHyperlinks(); 1319 LPDISPATCH GetListParagraphs(); 1320 LPDISPATCH GetSubdocuments(); 1321 BOOL GetGrammarChecked(); 1322 void SetGrammarChecked(BOOL bNewValue); 1323 BOOL GetSpellingChecked(); 1324 void SetSpellingChecked(BOOL bNewValue); 1325 long GetHighlightColorIndex(); 1326 void SetHighlightColorIndex(long nNewValue); 1327 LPDISPATCH GetColumns(); 1328 LPDISPATCH GetRows(); 1329 BOOL GetIsEndOfRowMark(); 1330 long GetBookmarkID(); 1331 long GetPreviousBookmarkID(); 1332 LPDISPATCH GetFind(); 1333 LPDISPATCH GetPageSetup(); 1334 void SetPageSetup(LPDISPATCH newValue); 1335 LPDISPATCH GetShapeRange(); 1336 long GetCase(); 1337 void SetCase(long nNewValue); 1338 VARIANT GetInformation(long Type); 1339 LPDISPATCH GetReadabilityStatistics(); 1340 LPDISPATCH GetGrammaticalErrors(); 1341 LPDISPATCH GetSpellingErrors(); 1342 long GetOrientation(); 1343 void SetOrientation(long nNewValue); 1344 LPDISPATCH GetInlineShapes(); 1345 LPDISPATCH GetNextStoryRange(); 1346 long GetLanguageIDFarEast(); 1347 void SetLanguageIDFarEast(long nNewValue); 1348 long GetLanguageIDOther(); 1349 void SetLanguageIDOther(long nNewValue); 1350 void Select(); 1351 void SetRange(long Start, long End); 1352 void Collapse(VARIANT* Direction); 1353 void InsertBefore(LPCTSTR Text); 1354 void InsertAfter(LPCTSTR Text); 1355 LPDISPATCH Next(VARIANT* Unit, VARIANT* Count); 1356 LPDISPATCH Previous(VARIANT* Unit, VARIANT* Count); 1357 long StartOf(VARIANT* Unit, VARIANT* Extend); 1358 long EndOf(VARIANT* Unit, VARIANT* Extend); 1359 long Move(VARIANT* Unit, VARIANT* Count); 1360 long MoveStart(VARIANT* Unit, VARIANT* Count); 1361 long MoveEnd(VARIANT* Unit, VARIANT* Count); 1362 long MoveWhile(VARIANT* Cset, VARIANT* Count); 1363 long MoveStartWhile(VARIANT* Cset, VARIANT* Count); 1364 long MoveEndWhile(VARIANT* Cset, VARIANT* Count); 1365 long MoveUntil(VARIANT* Cset, VARIANT* Count); 1366 long MoveStartUntil(VARIANT* Cset, VARIANT* Count); 1367 long MoveEndUntil(VARIANT* Cset, VARIANT* Count); 1368 void Cut(); 1369 void Copy(); 1370 void Paste(); 1371 void InsertBreak(VARIANT* Type); 1372 void InsertFile(LPCTSTR FileName, VARIANT* Range, VARIANT* ConfirmConversions, VARIANT* Link, VARIANT* Attachment); 1373 BOOL InStory(LPDISPATCH Range); 1374 BOOL InRange(LPDISPATCH Range); 1375 long Delete(VARIANT* Unit, VARIANT* Count); 1376 void WholeStory(); 1377 long Expand(VARIANT* Unit); 1378 void InsertParagraph(); 1379 void InsertParagraphAfter(); 1380 void InsertSymbol(long CharacterNumber, VARIANT* Font, VARIANT* Unicode, VARIANT* Bias); 1381 void CopyAsPicture(); 1382 void SortAscending(); 1383 void SortDescending(); 1384 BOOL IsEqual(LPDISPATCH Range); 1385 float Calculate(); 1386 LPDISPATCH GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name); 1387 LPDISPATCH GoToNext(long What); 1388 LPDISPATCH GoToPrevious(long What); 1389 void PasteSpecial(VARIANT* IconIndex, VARIANT* Link, VARIANT* Placement, VARIANT* DisplayAsIcon, VARIANT* DataType, VARIANT* IconFileName, VARIANT* IconLabel); 1390 void LookupNameProperties(); 1391 long ComputeStatistics(long Statistic); 1392 void Relocate(long Direction); 1393 void CheckSynonyms(); 1394 void SubscribeTo(LPCTSTR Edition, VARIANT* Format); 1395 void CreatePublisher(VARIANT* Edition, VARIANT* ContainsPICT, VARIANT* ContainsRTF, VARIANT* ContainsText); 1396 void InsertAutoText(); 1397 void InsertDatabase(VARIANT* Format, VARIANT* Style, VARIANT* LinkToSource, VARIANT* Connection, VARIANT* SQLStatement, VARIANT* SQLStatement1, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* WritePasswordDocument, 1398 VARIANT* WritePasswordTemplate, VARIANT* DataSource, VARIANT* From, VARIANT* To, VARIANT* IncludeFields); 1399 void AutoFormat(); 1400 void CheckGrammar(); 1401 void CheckSpelling(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* AlwaysSuggest, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, 1402 VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 1403 LPDISPATCH GetSpellingSuggestions(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, 1404 VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10); 1405 void InsertParagraphBefore(); 1406 void NextSubdocument(); 1407 void PreviousSubdocument(); 1408 void ConvertHangulAndHanja(VARIANT* ConversionsMode, VARIANT* FastConversion, VARIANT* CheckHangulEnding, VARIANT* EnableRecentOrdering, VARIANT* CustomDictionary); 1409 void PasteAsNestedTable(); 1410 void ModifyEnclosure(VARIANT* Style, VARIANT* Symbol, VARIANT* EnclosedText); 1411 void PhoneticGuide(LPCTSTR Text, long Alignment, long Raise, long FontSize, LPCTSTR FontName); 1412 void InsertDateTime(VARIANT* DateTimeFormat, VARIANT* InsertAsField, VARIANT* InsertAsFullWidth, VARIANT* DateLanguage, VARIANT* CalendarType); 1413 void Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3, 1414 VARIANT* SortColumn, VARIANT* Separator, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID); 1415 void DetectLanguage(); 1416 LPDISPATCH ConvertToTable(VARIANT* Separator, VARIANT* NumRows, VARIANT* NumColumns, VARIANT* InitialColumnWidth, VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor, 1417 VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit, VARIANT* AutoFitBehavior, VARIANT* DefaultTableBehavior); 1418 void TCSCConverter(long WdTCSCConverterDirection, BOOL CommonTerms, BOOL UseVariants); 1419 BOOL GetLanguageDetected(); 1420 void SetLanguageDetected(BOOL bNewValue); 1421 float GetFitTextWidth(); 1422 void SetFitTextWidth(float newValue); 1423 long GetHorizontalInVertical(); 1424 void SetHorizontalInVertical(long nNewValue); 1425 long GetTwoLinesInOne(); 1426 void SetTwoLinesInOne(long nNewValue); 1427 BOOL GetCombineCharacters(); 1428 void SetCombineCharacters(BOOL bNewValue); 1429 long GetNoProofing(); 1430 void SetNoProofing(long nNewValue); 1431 LPDISPATCH GetTopLevelTables(); 1432 LPDISPATCH GetScripts(); 1433 long GetCharacterWidth(); 1434 void SetCharacterWidth(long nNewValue); 1435 long GetKana(); 1436 void SetKana(long nNewValue); 1437 long GetBoldBi(); 1438 void SetBoldBi(long nNewValue); 1439 long GetItalicBi(); 1440 void SetItalicBi(long nNewValue); 1441 CString GetId(); 1442 void SetId(LPCTSTR lpszNewValue); 1443 LPDISPATCH GetHTMLDivisions(); 1444 LPDISPATCH GetSmartTags(); 1445 BOOL GetShowAll(); 1446 void SetShowAll(BOOL bNewValue); 1447 LPDISPATCH GetDocument(); 1448 LPDISPATCH GetFootnoteOptions(); 1449 LPDISPATCH GetEndnoteOptions(); 1450 void PasteAndFormat(long Type); 1451 void PasteExcelTable(BOOL LinkedToExcel, BOOL WordFormatting, BOOL RTF); 1452 void PasteAppendTable(); 1453 LPDISPATCH GetXMLNodes(); 1454 LPDISPATCH GetXMLParentNode(); 1455 LPDISPATCH GetEditors(); 1456 CString GetXml(BOOL DataOnly); 1457 VARIANT GetEnhMetaFileBits(); 1458 LPDISPATCH GoToEditableRange(VARIANT* EditorID); 1459 void InsertXML(LPCTSTR XML, VARIANT* Transform); 1460 void InsertCaption(VARIANT* Label, VARIANT* Title, VARIANT* TitleAutoText, VARIANT* Position, VARIANT* ExcludeLabel); 1461 void InsertCrossReference(VARIANT* ReferenceType, long ReferenceKind, VARIANT* ReferenceItem, VARIANT* InsertAsHyperlink, VARIANT* IncludePosition, VARIANT* SeparateNumbers, VARIANT* SeparatorString); 1462 }; 1463 ///////////////////////////////////////////////////////////////////////////// 1464 // ListFormat wrapper class 1465 1466 class ListFormat : public COleDispatchDriver 1467 { 1468 public: 1469 ListFormat() {} // Calls COleDispatchDriver default constructor 1470 ListFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1471 ListFormat(const ListFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1472 1473 // Attributes 1474 public: 1475 1476 // Operations 1477 public: 1478 long GetListLevelNumber(); 1479 void SetListLevelNumber(long nNewValue); 1480 LPDISPATCH GetList(); 1481 LPDISPATCH GetListTemplate(); 1482 long GetListValue(); 1483 BOOL GetSingleList(); 1484 BOOL GetSingleListTemplate(); 1485 long GetListType(); 1486 CString GetListString(); 1487 LPDISPATCH GetApplication(); 1488 long GetCreator(); 1489 LPDISPATCH GetParent(); 1490 long CanContinuePreviousList(LPDISPATCH ListTemplate); 1491 void RemoveNumbers(VARIANT* NumberType); 1492 void ConvertNumbersToText(VARIANT* NumberType); 1493 long CountNumberedItems(VARIANT* NumberType, VARIANT* Level); 1494 void ListOutdent(); 1495 void ListIndent(); 1496 void ApplyBulletDefault(VARIANT* DefaultListBehavior); 1497 void ApplyNumberDefault(VARIANT* DefaultListBehavior); 1498 void ApplyOutlineNumberDefault(VARIANT* DefaultListBehavior); 1499 void ApplyListTemplate(LPDISPATCH ListTemplate, VARIANT* ContinuePreviousList, VARIANT* ApplyTo, VARIANT* DefaultListBehavior); 1500 LPDISPATCH GetListPictureBullet(); 1501 }; 1502 ///////////////////////////////////////////////////////////////////////////// 1503 // Find wrapper class 1504 1505 class Find : public COleDispatchDriver 1506 { 1507 public: 1508 Find() {} // Calls COleDispatchDriver default constructor 1509 Find(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1510 Find(const Find& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1511 1512 // Attributes 1513 public: 1514 1515 // Operations 1516 public: 1517 LPDISPATCH GetApplication(); 1518 long GetCreator(); 1519 LPDISPATCH GetParent(); 1520 BOOL GetForward(); 1521 void SetForward(BOOL bNewValue); 1522 LPDISPATCH GetFont(); 1523 void SetFont(LPDISPATCH newValue); 1524 BOOL GetFound(); 1525 BOOL GetMatchAllWordForms(); 1526 void SetMatchAllWordForms(BOOL bNewValue); 1527 BOOL GetMatchCase(); 1528 void SetMatchCase(BOOL bNewValue); 1529 BOOL GetMatchWildcards(); 1530 void SetMatchWildcards(BOOL bNewValue); 1531 BOOL GetMatchSoundsLike(); 1532 void SetMatchSoundsLike(BOOL bNewValue); 1533 BOOL GetMatchWholeWord(); 1534 void SetMatchWholeWord(BOOL bNewValue); 1535 BOOL GetMatchFuzzy(); 1536 void SetMatchFuzzy(BOOL bNewValue); 1537 BOOL GetMatchByte(); 1538 void SetMatchByte(BOOL bNewValue); 1539 LPDISPATCH GetParagraphFormat(); 1540 void SetParagraphFormat(LPDISPATCH newValue); 1541 VARIANT GetStyle(); 1542 void SetStyle(VARIANT* newValue); 1543 CString GetText(); 1544 void SetText(LPCTSTR lpszNewValue); 1545 long GetLanguageID(); 1546 void SetLanguageID(long nNewValue); 1547 long GetHighlight(); 1548 void SetHighlight(long nNewValue); 1549 LPDISPATCH GetReplacement(); 1550 LPDISPATCH GetFrame(); 1551 long GetWrap(); 1552 void SetWrap(long nNewValue); 1553 BOOL GetFormat(); 1554 void SetFormat(BOOL bNewValue); 1555 long GetLanguageIDFarEast(); 1556 void SetLanguageIDFarEast(long nNewValue); 1557 long GetLanguageIDOther(); 1558 void SetLanguageIDOther(long nNewValue); 1559 BOOL GetCorrectHangulEndings(); 1560 void SetCorrectHangulEndings(BOOL bNewValue); 1561 void ClearFormatting(); 1562 void SetAllFuzzyOptions(); 1563 void ClearAllFuzzyOptions(); 1564 BOOL Execute(VARIANT* FindText, VARIANT* MatchCase, VARIANT* MatchWholeWord, VARIANT* MatchWildcards, VARIANT* MatchSoundsLike, VARIANT* MatchAllWordForms, VARIANT* Forward, VARIANT* Wrap, VARIANT* Format, VARIANT* ReplaceWith, 1565 VARIANT* Replace, VARIANT* MatchKashida, VARIANT* MatchDiacritics, VARIANT* MatchAlefHamza, VARIANT* MatchControl); 1566 long GetNoProofing(); 1567 void SetNoProofing(long nNewValue); 1568 BOOL GetMatchKashida(); 1569 void SetMatchKashida(BOOL bNewValue); 1570 BOOL GetMatchDiacritics(); 1571 void SetMatchDiacritics(BOOL bNewValue); 1572 BOOL GetMatchAlefHamza(); 1573 void SetMatchAlefHamza(BOOL bNewValue); 1574 BOOL GetMatchControl(); 1575 void SetMatchControl(BOOL bNewValue); 1576 }; 1577 ///////////////////////////////////////////////////////////////////////////// 1578 // Replacement wrapper class 1579 1580 class Replacement : public COleDispatchDriver 1581 { 1582 public: 1583 Replacement() {} // Calls COleDispatchDriver default constructor 1584 Replacement(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1585 Replacement(const Replacement& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1586 1587 // Attributes 1588 public: 1589 1590 // Operations 1591 public: 1592 LPDISPATCH GetApplication(); 1593 long GetCreator(); 1594 LPDISPATCH GetParent(); 1595 LPDISPATCH GetFont(); 1596 void SetFont(LPDISPATCH newValue); 1597 LPDISPATCH GetParagraphFormat(); 1598 void SetParagraphFormat(LPDISPATCH newValue); 1599 VARIANT GetStyle(); 1600 void SetStyle(VARIANT* newValue); 1601 CString GetText(); 1602 void SetText(LPCTSTR lpszNewValue); 1603 long GetLanguageID(); 1604 void SetLanguageID(long nNewValue); 1605 long GetHighlight(); 1606 void SetHighlight(long nNewValue); 1607 LPDISPATCH GetFrame(); 1608 long GetLanguageIDFarEast(); 1609 void SetLanguageIDFarEast(long nNewValue); 1610 void ClearFormatting(); 1611 long GetNoProofing(); 1612 void SetNoProofing(long nNewValue); 1613 }; 1614 ///////////////////////////////////////////////////////////////////////////// 1615 // Characters wrapper class 1616 1617 class Characters : public COleDispatchDriver 1618 { 1619 public: 1620 Characters() {} // Calls COleDispatchDriver default constructor 1621 Characters(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1622 Characters(const Characters& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1623 1624 // Attributes 1625 public: 1626 1627 // Operations 1628 public: 1629 LPUNKNOWN Get_NewEnum(); 1630 long GetCount(); 1631 LPDISPATCH GetFirst(); 1632 LPDISPATCH GetLast(); 1633 LPDISPATCH GetApplication(); 1634 long GetCreator(); 1635 LPDISPATCH GetParent(); 1636 LPDISPATCH Item(long Index); 1637 }; 1638 ///////////////////////////////////////////////////////////////////////////// 1639 // Words wrapper class 1640 1641 class Words : public COleDispatchDriver 1642 { 1643 public: 1644 Words() {} // Calls COleDispatchDriver default constructor 1645 Words(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1646 Words(const Words& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1647 1648 // Attributes 1649 public: 1650 1651 // Operations 1652 public: 1653 LPUNKNOWN Get_NewEnum(); 1654 long GetCount(); 1655 LPDISPATCH GetFirst(); 1656 LPDISPATCH GetLast(); 1657 LPDISPATCH GetApplication(); 1658 long GetCreator(); 1659 LPDISPATCH GetParent(); 1660 LPDISPATCH Item(long Index); 1661 }; 1662 ///////////////////////////////////////////////////////////////////////////// 1663 // Sentences wrapper class 1664 1665 class Sentences : public COleDispatchDriver 1666 { 1667 public: 1668 Sentences() {} // Calls COleDispatchDriver default constructor 1669 Sentences(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1670 Sentences(const Sentences& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1671 1672 // Attributes 1673 public: 1674 1675 // Operations 1676 public: 1677 LPUNKNOWN Get_NewEnum(); 1678 long GetCount(); 1679 LPDISPATCH GetFirst(); 1680 LPDISPATCH GetLast(); 1681 LPDISPATCH GetApplication(); 1682 long GetCreator(); 1683 LPDISPATCH GetParent(); 1684 LPDISPATCH Item(long Index); 1685 }; 1686 ///////////////////////////////////////////////////////////////////////////// 1687 // Sections wrapper class 1688 1689 class Sections : public COleDispatchDriver 1690 { 1691 public: 1692 Sections() {} // Calls COleDispatchDriver default constructor 1693 Sections(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1694 Sections(const Sections& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1695 1696 // Attributes 1697 public: 1698 1699 // Operations 1700 public: 1701 LPUNKNOWN Get_NewEnum(); 1702 long GetCount(); 1703 LPDISPATCH GetFirst(); 1704 LPDISPATCH GetLast(); 1705 LPDISPATCH GetApplication(); 1706 long GetCreator(); 1707 LPDISPATCH GetParent(); 1708 LPDISPATCH GetPageSetup(); 1709 void SetPageSetup(LPDISPATCH newValue); 1710 LPDISPATCH Item(long Index); 1711 LPDISPATCH Add(VARIANT* Range, VARIANT* Start); 1712 }; 1713 ///////////////////////////////////////////////////////////////////////////// 1714 // Section wrapper class 1715 1716 class Section : public COleDispatchDriver 1717 { 1718 public: 1719 Section() {} // Calls COleDispatchDriver default constructor 1720 Section(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1721 Section(const Section& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1722 1723 // Attributes 1724 public: 1725 1726 // Operations 1727 public: 1728 LPDISPATCH GetRange(); 1729 LPDISPATCH GetApplication(); 1730 long GetCreator(); 1731 LPDISPATCH GetParent(); 1732 LPDISPATCH GetPageSetup(); 1733 void SetPageSetup(LPDISPATCH newValue); 1734 LPDISPATCH GetHeaders(); 1735 LPDISPATCH GetFooters(); 1736 BOOL GetProtectedForForms(); 1737 void SetProtectedForForms(BOOL bNewValue); 1738 long GetIndex(); 1739 LPDISPATCH GetBorders(); 1740 void SetBorders(LPDISPATCH newValue); 1741 }; 1742 ///////////////////////////////////////////////////////////////////////////// 1743 // Paragraphs wrapper class 1744 1745 class Paragraphs : public COleDispatchDriver 1746 { 1747 public: 1748 Paragraphs() {} // Calls COleDispatchDriver default constructor 1749 Paragraphs(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1750 Paragraphs(const Paragraphs& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1751 1752 // Attributes 1753 public: 1754 1755 // Operations 1756 public: 1757 LPUNKNOWN Get_NewEnum(); 1758 long GetCount(); 1759 LPDISPATCH GetFirst(); 1760 LPDISPATCH GetLast(); 1761 LPDISPATCH GetApplication(); 1762 long GetCreator(); 1763 LPDISPATCH GetParent(); 1764 LPDISPATCH GetFormat(); 1765 void SetFormat(LPDISPATCH newValue); 1766 LPDISPATCH GetTabStops(); 1767 void SetTabStops(LPDISPATCH newValue); 1768 LPDISPATCH GetBorders(); 1769 void SetBorders(LPDISPATCH newValue); 1770 VARIANT GetStyle(); 1771 void SetStyle(VARIANT* newValue); 1772 long GetAlignment(); 1773 void SetAlignment(long nNewValue); 1774 long GetKeepTogether(); 1775 void SetKeepTogether(long nNewValue); 1776 long GetKeepWithNext(); 1777 void SetKeepWithNext(long nNewValue); 1778 long GetPageBreakBefore(); 1779 void SetPageBreakBefore(long nNewValue); 1780 long GetNoLineNumber(); 1781 void SetNoLineNumber(long nNewValue); 1782 float GetRightIndent(); 1783 void SetRightIndent(float newValue); 1784 float GetLeftIndent(); 1785 void SetLeftIndent(float newValue); 1786 float GetFirstLineIndent(); 1787 void SetFirstLineIndent(float newValue); 1788 float GetLineSpacing(); 1789 void SetLineSpacing(float newValue); 1790 long GetLineSpacingRule(); 1791 void SetLineSpacingRule(long nNewValue); 1792 float GetSpaceBefore(); 1793 void SetSpaceBefore(float newValue); 1794 float GetSpaceAfter(); 1795 void SetSpaceAfter(float newValue); 1796 long GetHyphenation(); 1797 void SetHyphenation(long nNewValue); 1798 long GetWidowControl(); 1799 void SetWidowControl(long nNewValue); 1800 LPDISPATCH GetShading(); 1801 long GetFarEastLineBreakControl(); 1802 void SetFarEastLineBreakControl(long nNewValue); 1803 long GetWordWrap(); 1804 void SetWordWrap(long nNewValue); 1805 long GetHangingPunctuation(); 1806 void SetHangingPunctuation(long nNewValue); 1807 long GetHalfWidthPunctuationOnTopOfLine(); 1808 void SetHalfWidthPunctuationOnTopOfLine(long nNewValue); 1809 long GetAddSpaceBetweenFarEastAndAlpha(); 1810 void SetAddSpaceBetweenFarEastAndAlpha(long nNewValue); 1811 long GetAddSpaceBetweenFarEastAndDigit(); 1812 void SetAddSpaceBetweenFarEastAndDigit(long nNewValue); 1813 long GetBaseLineAlignment(); 1814 void SetBaseLineAlignment(long nNewValue); 1815 long GetAutoAdjustRightIndent(); 1816 void SetAutoAdjustRightIndent(long nNewValue); 1817 long GetDisableLineHeightGrid(); 1818 void SetDisableLineHeightGrid(long nNewValue); 1819 long GetOutlineLevel(); 1820 void SetOutlineLevel(long nNewValue); 1821 LPDISPATCH Item(long Index); 1822 LPDISPATCH Add(VARIANT* Range); 1823 void CloseUp(); 1824 void OpenUp(); 1825 void OpenOrCloseUp(); 1826 void TabHangingIndent(short Count); 1827 void TabIndent(short Count); 1828 void Reset(); 1829 void Space1(); 1830 void Space15(); 1831 void Space2(); 1832 void IndentCharWidth(short Count); 1833 void IndentFirstLineCharWidth(short Count); 1834 void OutlinePromote(); 1835 void OutlineDemote(); 1836 void OutlineDemoteToBody(); 1837 void Indent(); 1838 void Outdent(); 1839 float GetCharacterUnitRightIndent(); 1840 void SetCharacterUnitRightIndent(float newValue); 1841 float GetCharacterUnitLeftIndent(); 1842 void SetCharacterUnitLeftIndent(float newValue); 1843 float GetCharacterUnitFirstLineIndent(); 1844 void SetCharacterUnitFirstLineIndent(float newValue); 1845 float GetLineUnitBefore(); 1846 void SetLineUnitBefore(float newValue); 1847 float GetLineUnitAfter(); 1848 void SetLineUnitAfter(float newValue); 1849 long GetReadingOrder(); 1850 void SetReadingOrder(long nNewValue); 1851 long GetSpaceBeforeAuto(); 1852 void SetSpaceBeforeAuto(long nNewValue); 1853 long GetSpaceAfterAuto(); 1854 void SetSpaceAfterAuto(long nNewValue); 1855 void IncreaseSpacing(); 1856 void DecreaseSpacing(); 1857 }; 1858 ///////////////////////////////////////////////////////////////////////////// 1859 // Paragraph wrapper class 1860 1861 class Paragraph : public COleDispatchDriver 1862 { 1863 public: 1864 Paragraph() {} // Calls COleDispatchDriver default constructor 1865 Paragraph(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1866 Paragraph(const Paragraph& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1867 1868 // Attributes 1869 public: 1870 1871 // Operations 1872 public: 1873 LPDISPATCH GetRange(); 1874 LPDISPATCH GetApplication(); 1875 long GetCreator(); 1876 LPDISPATCH GetParent(); 1877 LPDISPATCH GetFormat(); 1878 void SetFormat(LPDISPATCH newValue); 1879 LPDISPATCH GetTabStops(); 1880 void SetTabStops(LPDISPATCH newValue); 1881 LPDISPATCH GetBorders(); 1882 void SetBorders(LPDISPATCH newValue); 1883 LPDISPATCH GetDropCap(); 1884 VARIANT GetStyle(); 1885 void SetStyle(VARIANT* newValue); 1886 long GetAlignment(); 1887 void SetAlignment(long nNewValue); 1888 long GetKeepTogether(); 1889 void SetKeepTogether(long nNewValue); 1890 long GetKeepWithNext(); 1891 void SetKeepWithNext(long nNewValue); 1892 long GetPageBreakBefore(); 1893 void SetPageBreakBefore(long nNewValue); 1894 long GetNoLineNumber(); 1895 void SetNoLineNumber(long nNewValue); 1896 float GetRightIndent(); 1897 void SetRightIndent(float newValue); 1898 float GetLeftIndent(); 1899 void SetLeftIndent(float newValue); 1900 float GetFirstLineIndent(); 1901 void SetFirstLineIndent(float newValue); 1902 float GetLineSpacing(); 1903 void SetLineSpacing(float newValue); 1904 long GetLineSpacingRule(); 1905 void SetLineSpacingRule(long nNewValue); 1906 float GetSpaceBefore(); 1907 void SetSpaceBefore(float newValue); 1908 float GetSpaceAfter(); 1909 void SetSpaceAfter(float newValue); 1910 long GetHyphenation(); 1911 void SetHyphenation(long nNewValue); 1912 long GetWidowControl(); 1913 void SetWidowControl(long nNewValue); 1914 LPDISPATCH GetShading(); 1915 long GetFarEastLineBreakControl(); 1916 void SetFarEastLineBreakControl(long nNewValue); 1917 long GetWordWrap(); 1918 void SetWordWrap(long nNewValue); 1919 long GetHangingPunctuation(); 1920 void SetHangingPunctuation(long nNewValue); 1921 long GetHalfWidthPunctuationOnTopOfLine(); 1922 void SetHalfWidthPunctuationOnTopOfLine(long nNewValue); 1923 long GetAddSpaceBetweenFarEastAndAlpha(); 1924 void SetAddSpaceBetweenFarEastAndAlpha(long nNewValue); 1925 long GetAddSpaceBetweenFarEastAndDigit(); 1926 void SetAddSpaceBetweenFarEastAndDigit(long nNewValue); 1927 long GetBaseLineAlignment(); 1928 void SetBaseLineAlignment(long nNewValue); 1929 long GetAutoAdjustRightIndent(); 1930 void SetAutoAdjustRightIndent(long nNewValue); 1931 long GetDisableLineHeightGrid(); 1932 void SetDisableLineHeightGrid(long nNewValue); 1933 long GetOutlineLevel(); 1934 void SetOutlineLevel(long nNewValue); 1935 void CloseUp(); 1936 void OpenUp(); 1937 void OpenOrCloseUp(); 1938 void TabHangingIndent(short Count); 1939 void TabIndent(short Count); 1940 void Reset(); 1941 void Space1(); 1942 void Space15(); 1943 void Space2(); 1944 void IndentCharWidth(short Count); 1945 void IndentFirstLineCharWidth(short Count); 1946 LPDISPATCH Next(VARIANT* Count); 1947 LPDISPATCH Previous(VARIANT* Count); 1948 void OutlinePromote(); 1949 void OutlineDemote(); 1950 void OutlineDemoteToBody(); 1951 void Indent(); 1952 void Outdent(); 1953 float GetCharacterUnitRightIndent(); 1954 void SetCharacterUnitRightIndent(float newValue); 1955 float GetCharacterUnitLeftIndent(); 1956 void SetCharacterUnitLeftIndent(float newValue); 1957 float GetCharacterUnitFirstLineIndent(); 1958 void SetCharacterUnitFirstLineIndent(float newValue); 1959 float GetLineUnitBefore(); 1960 void SetLineUnitBefore(float newValue); 1961 float GetLineUnitAfter(); 1962 void SetLineUnitAfter(float newValue); 1963 long GetReadingOrder(); 1964 void SetReadingOrder(long nNewValue); 1965 CString GetId(); 1966 void SetId(LPCTSTR lpszNewValue); 1967 long GetSpaceBeforeAuto(); 1968 void SetSpaceBeforeAuto(long nNewValue); 1969 long GetSpaceAfterAuto(); 1970 void SetSpaceAfterAuto(long nNewValue); 1971 BOOL GetIsStyleSeparator(); 1972 void SelectNumber(); 1973 }; 1974 ///////////////////////////////////////////////////////////////////////////// 1975 // DropCap wrapper class 1976 1977 class DropCap : public COleDispatchDriver 1978 { 1979 public: 1980 DropCap() {} // Calls COleDispatchDriver default constructor 1981 DropCap(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1982 DropCap(const DropCap& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1983 1984 // Attributes 1985 public: 1986 1987 // Operations 1988 public: 1989 LPDISPATCH GetApplication(); 1990 long GetCreator(); 1991 LPDISPATCH GetParent(); 1992 long GetPosition(); 1993 void SetPosition(long nNewValue); 1994 CString GetFontName(); 1995 void SetFontName(LPCTSTR lpszNewValue); 1996 long GetLinesToDrop(); 1997 void SetLinesToDrop(long nNewValue); 1998 float GetDistanceFromText(); 1999 void SetDistanceFromText(float newValue); 2000 void Clear(); 2001 void Enable(); 2002 }; 2003 ///////////////////////////////////////////////////////////////////////////// 2004 // TabStops wrapper class 2005 2006 class TabStops : public COleDispatchDriver 2007 { 2008 public: 2009 TabStops() {} // Calls COleDispatchDriver default constructor 2010 TabStops(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2011 TabStops(const TabStops& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2012 2013 // Attributes 2014 public: 2015 2016 // Operations 2017 public: 2018 LPUNKNOWN Get_NewEnum(); 2019 long GetCount(); 2020 LPDISPATCH GetApplication(); 2021 long GetCreator(); 2022 LPDISPATCH GetParent(); 2023 LPDISPATCH Item(VARIANT* Index); 2024 LPDISPATCH Add(float Position, VARIANT* Alignment, VARIANT* Leader); 2025 void ClearAll(); 2026 LPDISPATCH Before(float Position); 2027 LPDISPATCH After(float Position); 2028 }; 2029 ///////////////////////////////////////////////////////////////////////////// 2030 // TabStop wrapper class 2031 2032 class TabStop : public COleDispatchDriver 2033 { 2034 public: 2035 TabStop() {} // Calls COleDispatchDriver default constructor 2036 TabStop(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2037 TabStop(const TabStop& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2038 2039 // Attributes 2040 public: 2041 2042 // Operations 2043 public: 2044 LPDISPATCH GetApplication(); 2045 long GetCreator(); 2046 LPDISPATCH GetParent(); 2047 long GetAlignment(); 2048 void SetAlignment(long nNewValue); 2049 long GetLeader(); 2050 void SetLeader(long nNewValue); 2051 float GetPosition(); 2052 void SetPosition(float newValue); 2053 BOOL GetCustomTab(); 2054 LPDISPATCH GetNext(); 2055 LPDISPATCH GetPrevious(); 2056 void Clear(); 2057 }; 2058 ///////////////////////////////////////////////////////////////////////////// 2059 // _ParagraphFormat wrapper class 2060 2061 class _ParagraphFormat : public COleDispatchDriver 2062 { 2063 public: 2064 _ParagraphFormat() {} // Calls COleDispatchDriver default constructor 2065 _ParagraphFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2066 _ParagraphFormat(const _ParagraphFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2067 2068 // Attributes 2069 public: 2070 2071 // Operations 2072 public: 2073 LPDISPATCH GetApplication(); 2074 long GetCreator(); 2075 LPDISPATCH GetParent(); 2076 LPDISPATCH GetDuplicate(); 2077 VARIANT GetStyle(); 2078 void SetStyle(VARIANT* newValue); 2079 long GetAlignment(); 2080 void SetAlignment(long nNewValue); 2081 long GetKeepTogether(); 2082 void SetKeepTogether(long nNewValue); 2083 long GetKeepWithNext(); 2084 void SetKeepWithNext(long nNewValue); 2085 long GetPageBreakBefore(); 2086 void SetPageBreakBefore(long nNewValue); 2087 long GetNoLineNumber(); 2088 void SetNoLineNumber(long nNewValue); 2089 float GetRightIndent(); 2090 void SetRightIndent(float newValue); 2091 float GetLeftIndent(); 2092 void SetLeftIndent(float newValue); 2093 float GetFirstLineIndent(); 2094 void SetFirstLineIndent(float newValue); 2095 float GetLineSpacing(); 2096 void SetLineSpacing(float newValue); 2097 long GetLineSpacingRule(); 2098 void SetLineSpacingRule(long nNewValue); 2099 float GetSpaceBefore(); 2100 void SetSpaceBefore(float newValue); 2101 float GetSpaceAfter(); 2102 void SetSpaceAfter(float newValue); 2103 long GetHyphenation(); 2104 void SetHyphenation(long nNewValue); 2105 long GetWidowControl(); 2106 void SetWidowControl(long nNewValue); 2107 long GetFarEastLineBreakControl(); 2108 void SetFarEastLineBreakControl(long nNewValue); 2109 long GetWordWrap(); 2110 void SetWordWrap(long nNewValue); 2111 long GetHangingPunctuation(); 2112 void SetHangingPunctuation(long nNewValue); 2113 long GetHalfWidthPunctuationOnTopOfLine(); 2114 void SetHalfWidthPunctuationOnTopOfLine(long nNewValue); 2115 long GetAddSpaceBetweenFarEastAndAlpha(); 2116 void SetAddSpaceBetweenFarEastAndAlpha(long nNewValue); 2117 long GetAddSpaceBetweenFarEastAndDigit(); 2118 void SetAddSpaceBetweenFarEastAndDigit(long nNewValue); 2119 long GetBaseLineAlignment(); 2120 void SetBaseLineAlignment(long nNewValue); 2121 long GetAutoAdjustRightIndent(); 2122 void SetAutoAdjustRightIndent(long nNewValue); 2123 long GetDisableLineHeightGrid(); 2124 void SetDisableLineHeightGrid(long nNewValue); 2125 LPDISPATCH GetTabStops(); 2126 void SetTabStops(LPDISPATCH newValue); 2127 LPDISPATCH GetBorders(); 2128 void SetBorders(LPDISPATCH newValue); 2129 LPDISPATCH GetShading(); 2130 long GetOutlineLevel(); 2131 void SetOutlineLevel(long nNewValue); 2132 void CloseUp(); 2133 void OpenUp(); 2134 void OpenOrCloseUp(); 2135 void TabHangingIndent(short Count); 2136 void TabIndent(short Count); 2137 void Reset(); 2138 void Space1(); 2139 void Space15(); 2140 void Space2(); 2141 void IndentCharWidth(short Count); 2142 void IndentFirstLineCharWidth(short Count); 2143 float GetCharacterUnitRightIndent(); 2144 void SetCharacterUnitRightIndent(float newValue); 2145 float GetCharacterUnitLeftIndent(); 2146 void SetCharacterUnitLeftIndent(float newValue); 2147 float GetCharacterUnitFirstLineIndent(); 2148 void SetCharacterUnitFirstLineIndent(float newValue); 2149 float GetLineUnitBefore(); 2150 void SetLineUnitBefore(float newValue); 2151 float GetLineUnitAfter(); 2152 void SetLineUnitAfter(float newValue); 2153 long GetReadingOrder(); 2154 void SetReadingOrder(long nNewValue); 2155 long GetSpaceBeforeAuto(); 2156 void SetSpaceBeforeAuto(long nNewValue); 2157 long GetSpaceAfterAuto(); 2158 void SetSpaceAfterAuto(long nNewValue); 2159 }; 2160 ///////////////////////////////////////////////////////////////////////////// 2161 // _Font wrapper class 2162 2163 class _Font : public COleDispatchDriver 2164 { 2165 public: 2166 _Font() {} // Calls COleDispatchDriver default constructor 2167 _Font(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2168 _Font(const _Font& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2169 2170 // Attributes 2171 public: 2172 2173 // Operations 2174 public: 2175 LPDISPATCH GetApplication(); 2176 long GetCreator(); 2177 LPDISPATCH GetParent(); 2178 LPDISPATCH GetDuplicate(); 2179 long GetBold(); 2180 void SetBold(long nNewValue); 2181 long GetItalic(); 2182 void SetItalic(long nNewValue); 2183 long GetHidden(); 2184 void SetHidden(long nNewValue); 2185 long GetSmallCaps(); 2186 void SetSmallCaps(long nNewValue); 2187 long GetAllCaps(); 2188 void SetAllCaps(long nNewValue); 2189 long GetStrikeThrough(); 2190 void SetStrikeThrough(long nNewValue); 2191 long GetDoubleStrikeThrough(); 2192 void SetDoubleStrikeThrough(long nNewValue); 2193 long GetColorIndex(); 2194 void SetColorIndex(long nNewValue); 2195 long GetSubscript(); 2196 void SetSubscript(long nNewValue); 2197 long GetSuperscript(); 2198 void SetSuperscript(long nNewValue); 2199 long GetUnderline(); 2200 void SetUnderline(long nNewValue); 2201 float GetSize(); 2202 void SetSize(float newValue); 2203 CString GetName(); 2204 void SetName(LPCTSTR lpszNewValue); 2205 long GetPosition(); 2206 void SetPosition(long nNewValue); 2207 float GetSpacing(); 2208 void SetSpacing(float newValue); 2209 long GetScaling(); 2210 void SetScaling(long nNewValue); 2211 long GetShadow(); 2212 void SetShadow(long nNewValue); 2213 long GetOutline(); 2214 void SetOutline(long nNewValue); 2215 long GetEmboss(); 2216 void SetEmboss(long nNewValue); 2217 float GetKerning(); 2218 void SetKerning(float newValue); 2219 long GetEngrave(); 2220 void SetEngrave(long nNewValue); 2221 long GetAnimation(); 2222 void SetAnimation(long nNewValue); 2223 LPDISPATCH GetBorders(); 2224 void SetBorders(LPDISPATCH newValue); 2225 LPDISPATCH GetShading(); 2226 long GetEmphasisMark(); 2227 void SetEmphasisMark(long nNewValue); 2228 BOOL GetDisableCharacterSpaceGrid(); 2229 void SetDisableCharacterSpaceGrid(BOOL bNewValue); 2230 CString GetNameFarEast(); 2231 void SetNameFarEast(LPCTSTR lpszNewValue); 2232 CString GetNameAscii(); 2233 void SetNameAscii(LPCTSTR lpszNewValue); 2234 CString GetNameOther(); 2235 void SetNameOther(LPCTSTR lpszNewValue); 2236 void Grow(); 2237 void Shrink(); 2238 void Reset(); 2239 void SetAsTemplateDefault(); 2240 long GetColor(); 2241 void SetColor(long nNewValue); 2242 long GetBoldBi(); 2243 void SetBoldBi(long nNewValue); 2244 long GetItalicBi(); 2245 void SetItalicBi(long nNewValue); 2246 float GetSizeBi(); 2247 void SetSizeBi(float newValue); 2248 CString GetNameBi(); 2249 void SetNameBi(LPCTSTR lpszNewValue); 2250 long GetColorIndexBi(); 2251 void SetColorIndexBi(long nNewValue); 2252 long GetDiacriticColor(); 2253 void SetDiacriticColor(long nNewValue); 2254 long GetUnderlineColor(); 2255 void SetUnderlineColor(long nNewValue); 2256 }; 2257 ///////////////////////////////////////////////////////////////////////////// 2258 // Table wrapper class 2259 2260 class Table : public COleDispatchDriver 2261 { 2262 public: 2263 Table() {} // Calls COleDispatchDriver default constructor 2264 Table(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2265 Table(const Table& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2266 2267 // Attributes 2268 public: 2269 2270 // Operations 2271 public: 2272 LPDISPATCH GetRange(); 2273 LPDISPATCH GetApplication(); 2274 long GetCreator(); 2275 LPDISPATCH GetParent(); 2276 LPDISPATCH GetColumns(); 2277 LPDISPATCH GetRows(); 2278 LPDISPATCH GetBorders(); 2279 void SetBorders(LPDISPATCH newValue); 2280 LPDISPATCH GetShading(); 2281 BOOL GetUniform(); 2282 long GetAutoFormatType(); 2283 void Select(); 2284 void Delete(); 2285 void SortAscending(); 2286 void SortDescending(); 2287 void AutoFormat(VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor, VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit); 2288 void UpdateAutoFormat(); 2289 LPDISPATCH Cell(long Row, long Column); 2290 LPDISPATCH Split(VARIANT* BeforeRow); 2291 LPDISPATCH ConvertToText(VARIANT* Separator, VARIANT* NestedTables); 2292 void AutoFitBehavior(long Behavior); 2293 void Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3, 2294 VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID); 2295 LPDISPATCH GetTables(); 2296 long GetNestingLevel(); 2297 BOOL GetAllowPageBreaks(); 2298 void SetAllowPageBreaks(BOOL bNewValue); 2299 BOOL GetAllowAutoFit(); 2300 void SetAllowAutoFit(BOOL bNewValue); 2301 float GetPreferredWidth(); 2302 void SetPreferredWidth(float newValue); 2303 long GetPreferredWidthType(); 2304 void SetPreferredWidthType(long nNewValue); 2305 float GetTopPadding(); 2306 void SetTopPadding(float newValue); 2307 float GetBottomPadding(); 2308 void SetBottomPadding(float newValue); 2309 float GetLeftPadding(); 2310 void SetLeftPadding(float newValue); 2311 float GetRightPadding(); 2312 void SetRightPadding(float newValue); 2313 float GetSpacing(); 2314 void SetSpacing(float newValue); 2315 long GetTableDirection(); 2316 void SetTableDirection(long nNewValue); 2317 CString GetId(); 2318 void SetId(LPCTSTR lpszNewValue); 2319 VARIANT GetStyle(); 2320 void SetStyle(VARIANT* newValue); 2321 BOOL GetApplyStyleHeadingRows(); 2322 void SetApplyStyleHeadingRows(BOOL bNewValue); 2323 BOOL GetApplyStyleLastRow(); 2324 void SetApplyStyleLastRow(BOOL bNewValue); 2325 BOOL GetApplyStyleFirstColumn(); 2326 void SetApplyStyleFirstColumn(BOOL bNewValue); 2327 BOOL GetApplyStyleLastColumn(); 2328 void SetApplyStyleLastColumn(BOOL bNewValue); 2329 }; 2330 ///////////////////////////////////////////////////////////////////////////// 2331 // Row wrapper class 2332 2333 class Row : public COleDispatchDriver 2334 { 2335 public: 2336 Row() {} // Calls COleDispatchDriver default constructor 2337 Row(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2338 Row(const Row& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2339 2340 // Attributes 2341 public: 2342 2343 // Operations 2344 public: 2345 LPDISPATCH GetRange(); 2346 LPDISPATCH GetApplication(); 2347 long GetCreator(); 2348 LPDISPATCH GetParent(); 2349 long GetAllowBreakAcrossPages(); 2350 void SetAllowBreakAcrossPages(long nNewValue); 2351 long GetAlignment(); 2352 void SetAlignment(long nNewValue); 2353 long GetHeadingFormat(); 2354 void SetHeadingFormat(long nNewValue); 2355 float GetSpaceBetweenColumns(); 2356 void SetSpaceBetweenColumns(float newValue); 2357 float GetHeight(); 2358 void SetHeight(float newValue); 2359 long GetHeightRule(); 2360 void SetHeightRule(long nNewValue); 2361 float GetLeftIndent(); 2362 void SetLeftIndent(float newValue); 2363 BOOL GetIsLast(); 2364 BOOL GetIsFirst(); 2365 long GetIndex(); 2366 LPDISPATCH GetCells(); 2367 LPDISPATCH GetBorders(); 2368 void SetBorders(LPDISPATCH newValue); 2369 LPDISPATCH GetShading(); 2370 LPDISPATCH GetNext(); 2371 LPDISPATCH GetPrevious(); 2372 void Select(); 2373 void Delete(); 2374 void SetLeftIndent(float LeftIndent, long RulerStyle); 2375 void SetHeight(float RowHeight, long HeightRule); 2376 LPDISPATCH ConvertToText(VARIANT* Separator, VARIANT* NestedTables); 2377 long GetNestingLevel(); 2378 CString GetId(); 2379 void SetId(LPCTSTR lpszNewValue); 2380 }; 2381 ///////////////////////////////////////////////////////////////////////////// 2382 // Column wrapper class 2383 2384 class Column : public COleDispatchDriver 2385 { 2386 public: 2387 Column() {} // Calls COleDispatchDriver default constructor 2388 Column(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2389 Column(const Column& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2390 2391 // Attributes 2392 public: 2393 2394 // Operations 2395 public: 2396 LPDISPATCH GetApplication(); 2397 long GetCreator(); 2398 LPDISPATCH GetParent(); 2399 float GetWidth(); 2400 void SetWidth(float newValue); 2401 BOOL GetIsFirst(); 2402 BOOL GetIsLast(); 2403 long GetIndex(); 2404 LPDISPATCH GetCells(); 2405 LPDISPATCH GetBorders(); 2406 void SetBorders(LPDISPATCH newValue); 2407 LPDISPATCH GetShading(); 2408 LPDISPATCH GetNext(); 2409 LPDISPATCH GetPrevious(); 2410 void Select(); 2411 void Delete(); 2412 void SetWidth(float ColumnWidth, long RulerStyle); 2413 void AutoFit(); 2414 void Sort(VARIANT* ExcludeHeader, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID); 2415 long GetNestingLevel(); 2416 float GetPreferredWidth(); 2417 void SetPreferredWidth(float newValue); 2418 long GetPreferredWidthType(); 2419 void SetPreferredWidthType(long nNewValue); 2420 }; 2421 ///////////////////////////////////////////////////////////////////////////// 2422 // Cell wrapper class 2423 2424 class Cell : public COleDispatchDriver 2425 { 2426 public: 2427 Cell() {} // Calls COleDispatchDriver default constructor 2428 Cell(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2429 Cell(const Cell& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2430 2431 // Attributes 2432 public: 2433 2434 // Operations 2435 public: 2436 LPDISPATCH GetRange(); 2437 LPDISPATCH GetApplication(); 2438 long GetCreator(); 2439 LPDISPATCH GetParent(); 2440 long GetRowIndex(); 2441 long GetColumnIndex(); 2442 float GetWidth(); 2443 void SetWidth(float newValue); 2444 float GetHeight(); 2445 void SetHeight(float newValue); 2446 long GetHeightRule(); 2447 void SetHeightRule(long nNewValue); 2448 long GetVerticalAlignment(); 2449 void SetVerticalAlignment(long nNewValue); 2450 LPDISPATCH GetColumn(); 2451 LPDISPATCH GetRow(); 2452 LPDISPATCH GetNext(); 2453 LPDISPATCH GetPrevious(); 2454 LPDISPATCH GetShading(); 2455 LPDISPATCH GetBorders(); 2456 void SetBorders(LPDISPATCH newValue); 2457 void Select(); 2458 void Delete(VARIANT* ShiftCells); 2459 void Formula(VARIANT* Formula, VARIANT* NumFormat); 2460 void SetWidth(float ColumnWidth, long RulerStyle); 2461 void SetHeight(VARIANT* RowHeight, long HeightRule); 2462 void Merge(LPDISPATCH MergeTo); 2463 void Split(VARIANT* NumRows, VARIANT* NumColumns); 2464 void AutoSum(); 2465 LPDISPATCH GetTables(); 2466 long GetNestingLevel(); 2467 BOOL GetWordWrap(); 2468 void SetWordWrap(BOOL bNewValue); 2469 float GetPreferredWidth(); 2470 void SetPreferredWidth(float newValue); 2471 BOOL GetFitText(); 2472 void SetFitText(BOOL bNewValue); 2473 float GetTopPadding(); 2474 void SetTopPadding(float newValue); 2475 float GetBottomPadding(); 2476 void SetBottomPadding(float newValue); 2477 float GetLeftPadding(); 2478 void SetLeftPadding(float newValue); 2479 float GetRightPadding(); 2480 void SetRightPadding(float newValue); 2481 CString GetId(); 2482 void SetId(LPCTSTR lpszNewValue); 2483 long GetPreferredWidthType(); 2484 void SetPreferredWidthType(long nNewValue); 2485 }; 2486 ///////////////////////////////////////////////////////////////////////////// 2487 // Tables wrapper class 2488 2489 class Tables : public COleDispatchDriver 2490 { 2491 public: 2492 Tables() {} // Calls COleDispatchDriver default constructor 2493 Tables(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2494 Tables(const Tables& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2495 2496 // Attributes 2497 public: 2498 2499 // Operations 2500 public: 2501 LPUNKNOWN Get_NewEnum(); 2502 long GetCount(); 2503 LPDISPATCH GetApplication(); 2504 long GetCreator(); 2505 LPDISPATCH GetParent(); 2506 LPDISPATCH Item(long Index); 2507 LPDISPATCH Add(LPDISPATCH Range, long NumRows, long NumColumns, VARIANT* DefaultTableBehavior, VARIANT* AutoFitBehavior); 2508 long GetNestingLevel(); 2509 }; 2510 ///////////////////////////////////////////////////////////////////////////// 2511 // Rows wrapper class 2512 2513 class Rows : public COleDispatchDriver 2514 { 2515 public: 2516 Rows() {} // Calls COleDispatchDriver default constructor 2517 Rows(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2518 Rows(const Rows& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2519 2520 // Attributes 2521 public: 2522 2523 // Operations 2524 public: 2525 LPUNKNOWN Get_NewEnum(); 2526 long GetCount(); 2527 long GetAllowBreakAcrossPages(); 2528 void SetAllowBreakAcrossPages(long nNewValue); 2529 long GetAlignment(); 2530 void SetAlignment(long nNewValue); 2531 long GetHeadingFormat(); 2532 void SetHeadingFormat(long nNewValue); 2533 float GetSpaceBetweenColumns(); 2534 void SetSpaceBetweenColumns(float newValue); 2535 float GetHeight(); 2536 void SetHeight(float newValue); 2537 long GetHeightRule(); 2538 void SetHeightRule(long nNewValue); 2539 float GetLeftIndent(); 2540 void SetLeftIndent(float newValue); 2541 LPDISPATCH GetFirst(); 2542 LPDISPATCH GetLast(); 2543 LPDISPATCH GetApplication(); 2544 long GetCreator(); 2545 LPDISPATCH GetParent(); 2546 LPDISPATCH GetBorders(); 2547 void SetBorders(LPDISPATCH newValue); 2548 LPDISPATCH GetShading(); 2549 LPDISPATCH Item(long Index); 2550 LPDISPATCH Add(VARIANT* BeforeRow); 2551 void Select(); 2552 void Delete(); 2553 void SetLeftIndent(float LeftIndent, long RulerStyle); 2554 void SetHeight(float RowHeight, long HeightRule); 2555 void DistributeHeight(); 2556 LPDISPATCH ConvertToText(VARIANT* Separator, VARIANT* NestedTables); 2557 long GetWrapAroundText(); 2558 void SetWrapAroundText(long nNewValue); 2559 float GetDistanceTop(); 2560 void SetDistanceTop(float newValue); 2561 float GetDistanceBottom(); 2562 void SetDistanceBottom(float newValue); 2563 float GetDistanceLeft(); 2564 void SetDistanceLeft(float newValue); 2565 float GetDistanceRight(); 2566 void SetDistanceRight(float newValue); 2567 float GetHorizontalPosition(); 2568 void SetHorizontalPosition(float newValue); 2569 float GetVerticalPosition(); 2570 void SetVerticalPosition(float newValue); 2571 long GetRelativeHorizontalPosition(); 2572 void SetRelativeHorizontalPosition(long nNewValue); 2573 long GetRelativeVerticalPosition(); 2574 void SetRelativeVerticalPosition(long nNewValue); 2575 long GetAllowOverlap(); 2576 void SetAllowOverlap(long nNewValue); 2577 long GetNestingLevel(); 2578 long GetTableDirection(); 2579 void SetTableDirection(long nNewValue); 2580 }; 2581 ///////////////////////////////////////////////////////////////////////////// 2582 // Columns wrapper class 2583 2584 class Columns : public COleDispatchDriver 2585 { 2586 public: 2587 Columns() {} // Calls COleDispatchDriver default constructor 2588 Columns(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2589 Columns(const Columns& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2590 2591 // Attributes 2592 public: 2593 2594 // Operations 2595 public: 2596 LPUNKNOWN Get_NewEnum(); 2597 long GetCount(); 2598 LPDISPATCH GetApplication(); 2599 long GetCreator(); 2600 LPDISPATCH GetParent(); 2601 LPDISPATCH GetFirst(); 2602 LPDISPATCH GetLast(); 2603 float GetWidth(); 2604 void SetWidth(float newValue); 2605 LPDISPATCH GetBorders(); 2606 void SetBorders(LPDISPATCH newValue); 2607 LPDISPATCH GetShading(); 2608 LPDISPATCH Item(long Index); 2609 LPDISPATCH Add(VARIANT* BeforeColumn); 2610 void Select(); 2611 void Delete(); 2612 void SetWidth(float ColumnWidth, long RulerStyle); 2613 void AutoFit(); 2614 void DistributeWidth(); 2615 long GetNestingLevel(); 2616 float GetPreferredWidth(); 2617 void SetPreferredWidth(float newValue); 2618 long GetPreferredWidthType(); 2619 void SetPreferredWidthType(long nNewValue); 2620 }; 2621 ///////////////////////////////////////////////////////////////////////////// 2622 // Cells wrapper class 2623 2624 class Cells : public COleDispatchDriver 2625 { 2626 public: 2627 Cells() {} // Calls COleDispatchDriver default constructor 2628 Cells(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2629 Cells(const Cells& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2630 2631 // Attributes 2632 public: 2633 2634 // Operations 2635 public: 2636 LPUNKNOWN Get_NewEnum(); 2637 long GetCount(); 2638 LPDISPATCH GetApplication(); 2639 long GetCreator(); 2640 LPDISPATCH GetParent(); 2641 float GetWidth(); 2642 void SetWidth(float newValue); 2643 float GetHeight(); 2644 void SetHeight(float newValue); 2645 long GetHeightRule(); 2646 void SetHeightRule(long nNewValue); 2647 long GetVerticalAlignment(); 2648 void SetVerticalAlignment(long nNewValue); 2649 LPDISPATCH GetBorders(); 2650 void SetBorders(LPDISPATCH newValue); 2651 LPDISPATCH GetShading(); 2652 LPDISPATCH Item(long Index); 2653 LPDISPATCH Add(VARIANT* BeforeCell); 2654 void Delete(VARIANT* ShiftCells); 2655 void SetWidth(float ColumnWidth, long RulerStyle); 2656 void SetHeight(VARIANT* RowHeight, long HeightRule); 2657 void Merge(); 2658 void Split(VARIANT* NumRows, VARIANT* NumColumns, VARIANT* MergeBeforeSplit); 2659 void DistributeHeight(); 2660 void DistributeWidth(); 2661 void AutoFit(); 2662 long GetNestingLevel(); 2663 float GetPreferredWidth(); 2664 void SetPreferredWidth(float newValue); 2665 long GetPreferredWidthType(); 2666 void SetPreferredWidthType(long nNewValue); 2667 }; 2668 ///////////////////////////////////////////////////////////////////////////// 2669 // AutoCorrect wrapper class 2670 2671 class AutoCorrect : public COleDispatchDriver 2672 { 2673 public: 2674 AutoCorrect() {} // Calls COleDispatchDriver default constructor 2675 AutoCorrect(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2676 AutoCorrect(const AutoCorrect& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2677 2678 // Attributes 2679 public: 2680 2681 // Operations 2682 public: 2683 LPDISPATCH GetApplication(); 2684 long GetCreator(); 2685 LPDISPATCH GetParent(); 2686 BOOL GetCorrectDays(); 2687 void SetCorrectDays(BOOL bNewValue); 2688 BOOL GetCorrectInitialCaps(); 2689 void SetCorrectInitialCaps(BOOL bNewValue); 2690 BOOL GetCorrectSentenceCaps(); 2691 void SetCorrectSentenceCaps(BOOL bNewValue); 2692 BOOL GetReplaceText(); 2693 void SetReplaceText(BOOL bNewValue); 2694 LPDISPATCH GetEntries(); 2695 LPDISPATCH GetFirstLetterExceptions(); 2696 BOOL GetFirstLetterAutoAdd(); 2697 void SetFirstLetterAutoAdd(BOOL bNewValue); 2698 LPDISPATCH GetTwoInitialCapsExceptions(); 2699 BOOL GetTwoInitialCapsAutoAdd(); 2700 void SetTwoInitialCapsAutoAdd(BOOL bNewValue); 2701 BOOL GetCorrectCapsLock(); 2702 void SetCorrectCapsLock(BOOL bNewValue); 2703 BOOL GetCorrectHangulAndAlphabet(); 2704 void SetCorrectHangulAndAlphabet(BOOL bNewValue); 2705 LPDISPATCH GetHangulAndAlphabetExceptions(); 2706 BOOL GetHangulAndAlphabetAutoAdd(); 2707 void SetHangulAndAlphabetAutoAdd(BOOL bNewValue); 2708 BOOL GetReplaceTextFromSpellingChecker(); 2709 void SetReplaceTextFromSpellingChecker(BOOL bNewValue); 2710 BOOL GetOtherCorrectionsAutoAdd(); 2711 void SetOtherCorrectionsAutoAdd(BOOL bNewValue); 2712 LPDISPATCH GetOtherCorrectionsExceptions(); 2713 BOOL GetCorrectKeyboardSetting(); 2714 void SetCorrectKeyboardSetting(BOOL bNewValue); 2715 BOOL GetCorrectTableCells(); 2716 void SetCorrectTableCells(BOOL bNewValue); 2717 BOOL GetDisplayAutoCorrectOptions(); 2718 void SetDisplayAutoCorrectOptions(BOOL bNewValue); 2719 }; 2720 ///////////////////////////////////////////////////////////////////////////// 2721 // AutoCorrectEntries wrapper class 2722 2723 class AutoCorrectEntries : public COleDispatchDriver 2724 { 2725 public: 2726 AutoCorrectEntries() {} // Calls COleDispatchDriver default constructor 2727 AutoCorrectEntries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2728 AutoCorrectEntries(const AutoCorrectEntries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2729 2730 // Attributes 2731 public: 2732 2733 // Operations 2734 public: 2735 LPDISPATCH GetApplication(); 2736 long GetCreator(); 2737 LPDISPATCH GetParent(); 2738 LPUNKNOWN Get_NewEnum(); 2739 long GetCount(); 2740 LPDISPATCH Item(VARIANT* Index); 2741 LPDISPATCH Add(LPCTSTR Name, LPCTSTR Value); 2742 LPDISPATCH AddRichText(LPCTSTR Name, LPDISPATCH Range); 2743 }; 2744 ///////////////////////////////////////////////////////////////////////////// 2745 // AutoCorrectEntry wrapper class 2746 2747 class AutoCorrectEntry : public COleDispatchDriver 2748 { 2749 public: 2750 AutoCorrectEntry() {} // Calls COleDispatchDriver default constructor 2751 AutoCorrectEntry(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2752 AutoCorrectEntry(const AutoCorrectEntry& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2753 2754 // Attributes 2755 public: 2756 2757 // Operations 2758 public: 2759 LPDISPATCH GetApplication(); 2760 long GetCreator(); 2761 LPDISPATCH GetParent(); 2762 long GetIndex(); 2763 CString GetName(); 2764 void SetName(LPCTSTR lpszNewValue); 2765 CString GetValue(); 2766 void SetValue(LPCTSTR lpszNewValue); 2767 BOOL GetRichText(); 2768 void Delete(); 2769 void Apply(LPDISPATCH Range); 2770 }; 2771 ///////////////////////////////////////////////////////////////////////////// 2772 // FirstLetterExceptions wrapper class 2773 2774 class FirstLetterExceptions : public COleDispatchDriver 2775 { 2776 public: 2777 FirstLetterExceptions() {} // Calls COleDispatchDriver default constructor 2778 FirstLetterExceptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2779 FirstLetterExceptions(const FirstLetterExceptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2780 2781 // Attributes 2782 public: 2783 2784 // Operations 2785 public: 2786 LPDISPATCH GetApplication(); 2787 long GetCreator(); 2788 LPDISPATCH GetParent(); 2789 LPUNKNOWN Get_NewEnum(); 2790 long GetCount(); 2791 LPDISPATCH Item(VARIANT* Index); 2792 LPDISPATCH Add(LPCTSTR Name); 2793 }; 2794 ///////////////////////////////////////////////////////////////////////////// 2795 // FirstLetterException wrapper class 2796 2797 class FirstLetterException : public COleDispatchDriver 2798 { 2799 public: 2800 FirstLetterException() {} // Calls COleDispatchDriver default constructor 2801 FirstLetterException(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2802 FirstLetterException(const FirstLetterException& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2803 2804 // Attributes 2805 public: 2806 2807 // Operations 2808 public: 2809 LPDISPATCH GetApplication(); 2810 long GetCreator(); 2811 LPDISPATCH GetParent(); 2812 long GetIndex(); 2813 CString GetName(); 2814 void Delete(); 2815 }; 2816 ///////////////////////////////////////////////////////////////////////////// 2817 // TwoInitialCapsExceptions wrapper class 2818 2819 class TwoInitialCapsExceptions : public COleDispatchDriver 2820 { 2821 public: 2822 TwoInitialCapsExceptions() {} // Calls COleDispatchDriver default constructor 2823 TwoInitialCapsExceptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2824 TwoInitialCapsExceptions(const TwoInitialCapsExceptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2825 2826 // Attributes 2827 public: 2828 2829 // Operations 2830 public: 2831 LPDISPATCH GetApplication(); 2832 long GetCreator(); 2833 LPDISPATCH GetParent(); 2834 LPUNKNOWN Get_NewEnum(); 2835 long GetCount(); 2836 LPDISPATCH Item(VARIANT* Index); 2837 LPDISPATCH Add(LPCTSTR Name); 2838 }; 2839 ///////////////////////////////////////////////////////////////////////////// 2840 // TwoInitialCapsException wrapper class 2841 2842 class TwoInitialCapsException : public COleDispatchDriver 2843 { 2844 public: 2845 TwoInitialCapsException() {} // Calls COleDispatchDriver default constructor 2846 TwoInitialCapsException(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2847 TwoInitialCapsException(const TwoInitialCapsException& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2848 2849 // Attributes 2850 public: 2851 2852 // Operations 2853 public: 2854 LPDISPATCH GetApplication(); 2855 long GetCreator(); 2856 LPDISPATCH GetParent(); 2857 long GetIndex(); 2858 CString GetName(); 2859 void Delete(); 2860 }; 2861 ///////////////////////////////////////////////////////////////////////////// 2862 // Footnotes wrapper class 2863 2864 class Footnotes : public COleDispatchDriver 2865 { 2866 public: 2867 Footnotes() {} // Calls COleDispatchDriver default constructor 2868 Footnotes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2869 Footnotes(const Footnotes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2870 2871 // Attributes 2872 public: 2873 2874 // Operations 2875 public: 2876 LPUNKNOWN Get_NewEnum(); 2877 long GetCount(); 2878 LPDISPATCH GetApplication(); 2879 long GetCreator(); 2880 LPDISPATCH GetParent(); 2881 long GetLocation(); 2882 void SetLocation(long nNewValue); 2883 long GetNumberStyle(); 2884 void SetNumberStyle(long nNewValue); 2885 long GetStartingNumber(); 2886 void SetStartingNumber(long nNewValue); 2887 long GetNumberingRule(); 2888 void SetNumberingRule(long nNewValue); 2889 LPDISPATCH GetSeparator(); 2890 LPDISPATCH GetContinuationSeparator(); 2891 LPDISPATCH GetContinuationNotice(); 2892 LPDISPATCH Item(long Index); 2893 LPDISPATCH Add(LPDISPATCH Range, VARIANT* Reference, VARIANT* Text); 2894 void Convert(); 2895 void SwapWithEndnotes(); 2896 void ResetSeparator(); 2897 void ResetContinuationSeparator(); 2898 void ResetContinuationNotice(); 2899 }; 2900 ///////////////////////////////////////////////////////////////////////////// 2901 // Endnotes wrapper class 2902 2903 class Endnotes : public COleDispatchDriver 2904 { 2905 public: 2906 Endnotes() {} // Calls COleDispatchDriver default constructor 2907 Endnotes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2908 Endnotes(const Endnotes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2909 2910 // Attributes 2911 public: 2912 2913 // Operations 2914 public: 2915 LPUNKNOWN Get_NewEnum(); 2916 long GetCount(); 2917 LPDISPATCH GetApplication(); 2918 long GetCreator(); 2919 LPDISPATCH GetParent(); 2920 long GetLocation(); 2921 void SetLocation(long nNewValue); 2922 long GetNumberStyle(); 2923 void SetNumberStyle(long nNewValue); 2924 long GetStartingNumber(); 2925 void SetStartingNumber(long nNewValue); 2926 long GetNumberingRule(); 2927 void SetNumberingRule(long nNewValue); 2928 LPDISPATCH GetSeparator(); 2929 LPDISPATCH GetContinuationSeparator(); 2930 LPDISPATCH GetContinuationNotice(); 2931 LPDISPATCH Item(long Index); 2932 LPDISPATCH Add(LPDISPATCH Range, VARIANT* Reference, VARIANT* Text); 2933 void Convert(); 2934 void SwapWithFootnotes(); 2935 void ResetSeparator(); 2936 void ResetContinuationSeparator(); 2937 void ResetContinuationNotice(); 2938 }; 2939 ///////////////////////////////////////////////////////////////////////////// 2940 // Comments wrapper class 2941 2942 class Comments : public COleDispatchDriver 2943 { 2944 public: 2945 Comments() {} // Calls COleDispatchDriver default constructor 2946 Comments(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2947 Comments(const Comments& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2948 2949 // Attributes 2950 public: 2951 2952 // Operations 2953 public: 2954 LPUNKNOWN Get_NewEnum(); 2955 long GetCount(); 2956 LPDISPATCH GetApplication(); 2957 long GetCreator(); 2958 LPDISPATCH GetParent(); 2959 CString GetShowBy(); 2960 void SetShowBy(LPCTSTR lpszNewValue); 2961 LPDISPATCH Item(long Index); 2962 LPDISPATCH Add(LPDISPATCH Range, VARIANT* Text); 2963 }; 2964 ///////////////////////////////////////////////////////////////////////////// 2965 // Footnote wrapper class 2966 2967 class Footnote : public COleDispatchDriver 2968 { 2969 public: 2970 Footnote() {} // Calls COleDispatchDriver default constructor 2971 Footnote(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2972 Footnote(const Footnote& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2973 2974 // Attributes 2975 public: 2976 2977 // Operations 2978 public: 2979 LPDISPATCH GetApplication(); 2980 long GetCreator(); 2981 LPDISPATCH GetParent(); 2982 LPDISPATCH GetRange(); 2983 LPDISPATCH GetReference(); 2984 long GetIndex(); 2985 void Delete(); 2986 }; 2987 ///////////////////////////////////////////////////////////////////////////// 2988 // Endnote wrapper class 2989 2990 class Endnote : public COleDispatchDriver 2991 { 2992 public: 2993 Endnote() {} // Calls COleDispatchDriver default constructor 2994 Endnote(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2995 Endnote(const Endnote& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2996 2997 // Attributes 2998 public: 2999 3000 // Operations 3001 public: 3002 LPDISPATCH GetApplication(); 3003 long GetCreator(); 3004 LPDISPATCH GetParent(); 3005 LPDISPATCH GetRange(); 3006 LPDISPATCH GetReference(); 3007 long GetIndex(); 3008 void Delete(); 3009 }; 3010 ///////////////////////////////////////////////////////////////////////////// 3011 // Comment wrapper class 3012 3013 class Comment : public COleDispatchDriver 3014 { 3015 public: 3016 Comment() {} // Calls COleDispatchDriver default constructor 3017 Comment(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3018 Comment(const Comment& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3019 3020 // Attributes 3021 public: 3022 3023 // Operations 3024 public: 3025 LPDISPATCH GetApplication(); 3026 long GetCreator(); 3027 LPDISPATCH GetParent(); 3028 LPDISPATCH GetRange(); 3029 LPDISPATCH GetReference(); 3030 LPDISPATCH GetScope(); 3031 long GetIndex(); 3032 CString GetAuthor(); 3033 void SetAuthor(LPCTSTR lpszNewValue); 3034 CString GetInitial(); 3035 void SetInitial(LPCTSTR lpszNewValue); 3036 BOOL GetShowTip(); 3037 void SetShowTip(BOOL bNewValue); 3038 void Delete(); 3039 void Edit(); 3040 DATE GetDate(); 3041 BOOL GetIsInk(); 3042 }; 3043 ///////////////////////////////////////////////////////////////////////////// 3044 // Borders wrapper class 3045 3046 class Borders : public COleDispatchDriver 3047 { 3048 public: 3049 Borders() {} // Calls COleDispatchDriver default constructor 3050 Borders(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3051 Borders(const Borders& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3052 3053 // Attributes 3054 public: 3055 3056 // Operations 3057 public: 3058 LPDISPATCH GetApplication(); 3059 long GetCreator(); 3060 LPDISPATCH GetParent(); 3061 LPUNKNOWN Get_NewEnum(); 3062 long GetCount(); 3063 long GetEnable(); 3064 void SetEnable(long nNewValue); 3065 long GetDistanceFromTop(); 3066 void SetDistanceFromTop(long nNewValue); 3067 BOOL GetShadow(); 3068 void SetShadow(BOOL bNewValue); 3069 long GetInsideLineStyle(); 3070 void SetInsideLineStyle(long nNewValue); 3071 long GetOutsideLineStyle(); 3072 void SetOutsideLineStyle(long nNewValue); 3073 long GetInsideLineWidth(); 3074 void SetInsideLineWidth(long nNewValue); 3075 long GetOutsideLineWidth(); 3076 void SetOutsideLineWidth(long nNewValue); 3077 long GetInsideColorIndex(); 3078 void SetInsideColorIndex(long nNewValue); 3079 long GetOutsideColorIndex(); 3080 void SetOutsideColorIndex(long nNewValue); 3081 long GetDistanceFromLeft(); 3082 void SetDistanceFromLeft(long nNewValue); 3083 long GetDistanceFromBottom(); 3084 void SetDistanceFromBottom(long nNewValue); 3085 long GetDistanceFromRight(); 3086 void SetDistanceFromRight(long nNewValue); 3087 BOOL GetAlwaysInFront(); 3088 void SetAlwaysInFront(BOOL bNewValue); 3089 BOOL GetSurroundHeader(); 3090 void SetSurroundHeader(BOOL bNewValue); 3091 BOOL GetSurroundFooter(); 3092 void SetSurroundFooter(BOOL bNewValue); 3093 BOOL GetJoinBorders(); 3094 void SetJoinBorders(BOOL bNewValue); 3095 BOOL GetHasHorizontal(); 3096 BOOL GetHasVertical(); 3097 long GetDistanceFrom(); 3098 void SetDistanceFrom(long nNewValue); 3099 BOOL GetEnableFirstPageInSection(); 3100 void SetEnableFirstPageInSection(BOOL bNewValue); 3101 BOOL GetEnableOtherPagesInSection(); 3102 void SetEnableOtherPagesInSection(BOOL bNewValue); 3103 LPDISPATCH Item(long Index); 3104 void ApplyPageBordersToAllSections(); 3105 long GetInsideColor(); 3106 void SetInsideColor(long nNewValue); 3107 long GetOutsideColor(); 3108 void SetOutsideColor(long nNewValue); 3109 }; 3110 ///////////////////////////////////////////////////////////////////////////// 3111 // Border wrapper class 3112 3113 class Border : public COleDispatchDriver 3114 { 3115 public: 3116 Border() {} // Calls COleDispatchDriver default constructor 3117 Border(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3118 Border(const Border& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3119 3120 // Attributes 3121 public: 3122 3123 // Operations 3124 public: 3125 LPDISPATCH GetApplication(); 3126 long GetCreator(); 3127 LPDISPATCH GetParent(); 3128 BOOL GetVisible(); 3129 void SetVisible(BOOL bNewValue); 3130 long GetColorIndex(); 3131 void SetColorIndex(long nNewValue); 3132 BOOL GetInside(); 3133 long GetLineStyle(); 3134 void SetLineStyle(long nNewValue); 3135 long GetLineWidth(); 3136 void SetLineWidth(long nNewValue); 3137 long GetArtStyle(); 3138 void SetArtStyle(long nNewValue); 3139 long GetArtWidth(); 3140 void SetArtWidth(long nNewValue); 3141 long GetColor(); 3142 void SetColor(long nNewValue); 3143 }; 3144 ///////////////////////////////////////////////////////////////////////////// 3145 // Shading wrapper class 3146 3147 class Shading : public COleDispatchDriver 3148 { 3149 public: 3150 Shading() {} // Calls COleDispatchDriver default constructor 3151 Shading(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3152 Shading(const Shading& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3153 3154 // Attributes 3155 public: 3156 3157 // Operations 3158 public: 3159 LPDISPATCH GetApplication(); 3160 long GetCreator(); 3161 LPDISPATCH GetParent(); 3162 long GetForegroundPatternColorIndex(); 3163 void SetForegroundPatternColorIndex(long nNewValue); 3164 long GetBackgroundPatternColorIndex(); 3165 void SetBackgroundPatternColorIndex(long nNewValue); 3166 long GetTexture(); 3167 void SetTexture(long nNewValue); 3168 long GetForegroundPatternColor(); 3169 void SetForegroundPatternColor(long nNewValue); 3170 long GetBackgroundPatternColor(); 3171 void SetBackgroundPatternColor(long nNewValue); 3172 }; 3173 ///////////////////////////////////////////////////////////////////////////// 3174 // TextRetrievalMode wrapper class 3175 3176 class TextRetrievalMode : public COleDispatchDriver 3177 { 3178 public: 3179 TextRetrievalMode() {} // Calls COleDispatchDriver default constructor 3180 TextRetrievalMode(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3181 TextRetrievalMode(const TextRetrievalMode& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3182 3183 // Attributes 3184 public: 3185 3186 // Operations 3187 public: 3188 LPDISPATCH GetApplication(); 3189 long GetCreator(); 3190 LPDISPATCH GetParent(); 3191 long GetViewType(); 3192 void SetViewType(long nNewValue); 3193 LPDISPATCH GetDuplicate(); 3194 BOOL GetIncludeHiddenText(); 3195 void SetIncludeHiddenText(BOOL bNewValue); 3196 BOOL GetIncludeFieldCodes(); 3197 void SetIncludeFieldCodes(BOOL bNewValue); 3198 }; 3199 ///////////////////////////////////////////////////////////////////////////// 3200 // AutoTextEntries wrapper class 3201 3202 class AutoTextEntries : public COleDispatchDriver 3203 { 3204 public: 3205 AutoTextEntries() {} // Calls COleDispatchDriver default constructor 3206 AutoTextEntries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3207 AutoTextEntries(const AutoTextEntries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3208 3209 // Attributes 3210 public: 3211 3212 // Operations 3213 public: 3214 LPDISPATCH GetApplication(); 3215 long GetCreator(); 3216 LPDISPATCH GetParent(); 3217 LPUNKNOWN Get_NewEnum(); 3218 long GetCount(); 3219 LPDISPATCH Item(VARIANT* Index); 3220 LPDISPATCH Add(LPCTSTR Name, LPDISPATCH Range); 3221 LPDISPATCH AppendToSpike(LPDISPATCH Range); 3222 }; 3223 ///////////////////////////////////////////////////////////////////////////// 3224 // AutoTextEntry wrapper class 3225 3226 class AutoTextEntry : public COleDispatchDriver 3227 { 3228 public: 3229 AutoTextEntry() {} // Calls COleDispatchDriver default constructor 3230 AutoTextEntry(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3231 AutoTextEntry(const AutoTextEntry& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3232 3233 // Attributes 3234 public: 3235 3236 // Operations 3237 public: 3238 LPDISPATCH GetApplication(); 3239 long GetCreator(); 3240 LPDISPATCH GetParent(); 3241 long GetIndex(); 3242 CString GetName(); 3243 void SetName(LPCTSTR lpszNewValue); 3244 CString GetStyleName(); 3245 CString GetValue(); 3246 void SetValue(LPCTSTR lpszNewValue); 3247 void Delete(); 3248 LPDISPATCH Insert(LPDISPATCH Where, VARIANT* RichText); 3249 }; 3250 ///////////////////////////////////////////////////////////////////////////// 3251 // System wrapper class 3252 3253 class System : public COleDispatchDriver 3254 { 3255 public: 3256 System() {} // Calls COleDispatchDriver default constructor 3257 System(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3258 System(const System& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3259 3260 // Attributes 3261 public: 3262 3263 // Operations 3264 public: 3265 LPDISPATCH GetApplication(); 3266 long GetCreator(); 3267 LPDISPATCH GetParent(); 3268 CString GetOperatingSystem(); 3269 CString GetProcessorType(); 3270 CString GetVersion(); 3271 long GetFreeDiskSpace(); 3272 CString GetLanguageDesignation(); 3273 long GetHorizontalResolution(); 3274 long GetVerticalResolution(); 3275 CString GetProfileString(LPCTSTR Section, LPCTSTR Key); 3276 void SetProfileString(LPCTSTR Section, LPCTSTR Key, LPCTSTR lpszNewValue); 3277 CString GetPrivateProfileString(LPCTSTR FileName, LPCTSTR Section, LPCTSTR Key); 3278 void SetPrivateProfileString(LPCTSTR FileName, LPCTSTR Section, LPCTSTR Key, LPCTSTR lpszNewValue); 3279 BOOL GetMathCoprocessorInstalled(); 3280 CString GetComputerType(); 3281 CString GetMacintoshName(); 3282 BOOL GetQuickDrawInstalled(); 3283 long GetCursor(); 3284 void SetCursor(long nNewValue); 3285 void MSInfo(); 3286 void Connect(LPCTSTR Path, VARIANT* Drive, VARIANT* Password); 3287 long GetCountryRegion(); 3288 }; 3289 ///////////////////////////////////////////////////////////////////////////// 3290 // OLEFormat wrapper class 3291 3292 class OLEFormat : public COleDispatchDriver 3293 { 3294 public: 3295 OLEFormat() {} // Calls COleDispatchDriver default constructor 3296 OLEFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3297 OLEFormat(const OLEFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3298 3299 // Attributes 3300 public: 3301 3302 // Operations 3303 public: 3304 LPDISPATCH GetApplication(); 3305 long GetCreator(); 3306 LPDISPATCH GetParent(); 3307 CString GetClassType(); 3308 void SetClassType(LPCTSTR lpszNewValue); 3309 BOOL GetDisplayAsIcon(); 3310 void SetDisplayAsIcon(BOOL bNewValue); 3311 CString GetIconName(); 3312 void SetIconName(LPCTSTR lpszNewValue); 3313 CString GetIconPath(); 3314 long GetIconIndex(); 3315 void SetIconIndex(long nNewValue); 3316 CString GetIconLabel(); 3317 void SetIconLabel(LPCTSTR lpszNewValue); 3318 CString GetLabel(); 3319 LPDISPATCH GetObject(); 3320 CString GetProgID(); 3321 void Activate(); 3322 void Edit(); 3323 void Open(); 3324 void DoVerb(VARIANT* VerbIndex); 3325 void ConvertTo(VARIANT* ClassType, VARIANT* DisplayAsIcon, VARIANT* IconFileName, VARIANT* IconIndex, VARIANT* IconLabel); 3326 void ActivateAs(LPCTSTR ClassType); 3327 BOOL GetPreserveFormattingOnUpdate(); 3328 void SetPreserveFormattingOnUpdate(BOOL bNewValue); 3329 }; 3330 ///////////////////////////////////////////////////////////////////////////// 3331 // LinkFormat wrapper class 3332 3333 class LinkFormat : public COleDispatchDriver 3334 { 3335 public: 3336 LinkFormat() {} // Calls COleDispatchDriver default constructor 3337 LinkFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3338 LinkFormat(const LinkFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3339 3340 // Attributes 3341 public: 3342 3343 // Operations 3344 public: 3345 LPDISPATCH GetApplication(); 3346 long GetCreator(); 3347 LPDISPATCH GetParent(); 3348 BOOL GetAutoUpdate(); 3349 void SetAutoUpdate(BOOL bNewValue); 3350 CString GetSourceName(); 3351 CString GetSourcePath(); 3352 BOOL GetLocked(); 3353 void SetLocked(BOOL bNewValue); 3354 long GetType(); 3355 CString GetSourceFullName(); 3356 void SetSourceFullName(LPCTSTR lpszNewValue); 3357 BOOL GetSavePictureWithDocument(); 3358 void SetSavePictureWithDocument(BOOL bNewValue); 3359 void BreakLink(); 3360 void Update(); 3361 }; 3362 ///////////////////////////////////////////////////////////////////////////// 3363 // _OLEControl wrapper class 3364 3365 class _OLEControl : public COleDispatchDriver 3366 { 3367 public: 3368 _OLEControl() {} // Calls COleDispatchDriver default constructor 3369 _OLEControl(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3370 _OLEControl(const _OLEControl& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3371 3372 // Attributes 3373 public: 3374 3375 // Operations 3376 public: 3377 float GetLeft(); 3378 void SetLeft(float newValue); 3379 float GetTop(); 3380 void SetTop(float newValue); 3381 float GetHeight(); 3382 void SetHeight(float newValue); 3383 float GetWidth(); 3384 void SetWidth(float newValue); 3385 CString GetName(); 3386 void SetName(LPCTSTR lpszNewValue); 3387 LPDISPATCH GetAutomation(); 3388 void Select(); 3389 void Copy(); 3390 void Cut(); 3391 void Delete(); 3392 void Activate(); 3393 }; 3394 ///////////////////////////////////////////////////////////////////////////// 3395 // Fields wrapper class 3396 3397 class Fields : public COleDispatchDriver 3398 { 3399 public: 3400 Fields() {} // Calls COleDispatchDriver default constructor 3401 Fields(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3402 Fields(const Fields& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3403 3404 // Attributes 3405 public: 3406 3407 // Operations 3408 public: 3409 LPDISPATCH GetApplication(); 3410 long GetCreator(); 3411 LPDISPATCH GetParent(); 3412 long GetCount(); 3413 long GetLocked(); 3414 void SetLocked(long nNewValue); 3415 LPUNKNOWN Get_NewEnum(); 3416 LPDISPATCH Item(long Index); 3417 void ToggleShowCodes(); 3418 long Update(); 3419 void Unlink(); 3420 void UpdateSource(); 3421 LPDISPATCH Add(LPDISPATCH Range, VARIANT* Type, VARIANT* Text, VARIANT* PreserveFormatting); 3422 }; 3423 ///////////////////////////////////////////////////////////////////////////// 3424 // Field wrapper class 3425 3426 class Field : public COleDispatchDriver 3427 { 3428 public: 3429 Field() {} // Calls COleDispatchDriver default constructor 3430 Field(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3431 Field(const Field& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3432 3433 // Attributes 3434 public: 3435 3436 // Operations 3437 public: 3438 LPDISPATCH GetApplication(); 3439 long GetCreator(); 3440 LPDISPATCH GetParent(); 3441 LPDISPATCH GetCode(); 3442 void SetCode(LPDISPATCH newValue); 3443 long GetType(); 3444 BOOL GetLocked(); 3445 void SetLocked(BOOL bNewValue); 3446 long GetKind(); 3447 LPDISPATCH GetResult(); 3448 void SetResult(LPDISPATCH newValue); 3449 CString GetData(); 3450 void SetData(LPCTSTR lpszNewValue); 3451 LPDISPATCH GetNext(); 3452 LPDISPATCH GetPrevious(); 3453 long GetIndex(); 3454 BOOL GetShowCodes(); 3455 void SetShowCodes(BOOL bNewValue); 3456 LPDISPATCH GetLinkFormat(); 3457 LPDISPATCH GetOLEFormat(); 3458 LPDISPATCH GetInlineShape(); 3459 void Select(); 3460 BOOL Update(); 3461 void Unlink(); 3462 void UpdateSource(); 3463 void DoClick(); 3464 void Copy(); 3465 void Cut(); 3466 void Delete(); 3467 }; 3468 ///////////////////////////////////////////////////////////////////////////// 3469 // Browser wrapper class 3470 3471 class Browser : public COleDispatchDriver 3472 { 3473 public: 3474 Browser() {} // Calls COleDispatchDriver default constructor 3475 Browser(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3476 Browser(const Browser& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3477 3478 // Attributes 3479 public: 3480 3481 // Operations 3482 public: 3483 LPDISPATCH GetApplication(); 3484 long GetCreator(); 3485 LPDISPATCH GetParent(); 3486 long GetTarget(); 3487 void SetTarget(long nNewValue); 3488 void Next(); 3489 void Previous(); 3490 }; 3491 ///////////////////////////////////////////////////////////////////////////// 3492 // Styles wrapper class 3493 3494 class Styles : public COleDispatchDriver 3495 { 3496 public: 3497 Styles() {} // Calls COleDispatchDriver default constructor 3498 Styles(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3499 Styles(const Styles& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3500 3501 // Attributes 3502 public: 3503 3504 // Operations 3505 public: 3506 LPDISPATCH GetApplication(); 3507 long GetCreator(); 3508 LPDISPATCH GetParent(); 3509 LPUNKNOWN Get_NewEnum(); 3510 long GetCount(); 3511 LPDISPATCH Item(VARIANT* Index); 3512 LPDISPATCH Add(LPCTSTR Name, VARIANT* Type); 3513 }; 3514 ///////////////////////////////////////////////////////////////////////////// 3515 // Style wrapper class 3516 3517 class Style : public COleDispatchDriver 3518 { 3519 public: 3520 Style() {} // Calls COleDispatchDriver default constructor 3521 Style(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3522 Style(const Style& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3523 3524 // Attributes 3525 public: 3526 3527 // Operations 3528 public: 3529 LPDISPATCH GetApplication(); 3530 long GetCreator(); 3531 LPDISPATCH GetParent(); 3532 CString GetNameLocal(); 3533 void SetNameLocal(LPCTSTR lpszNewValue); 3534 VARIANT GetBaseStyle(); 3535 void SetBaseStyle(VARIANT* newValue); 3536 CString GetDescription(); 3537 long GetType(); 3538 BOOL GetBuiltIn(); 3539 VARIANT GetNextParagraphStyle(); 3540 void SetNextParagraphStyle(VARIANT* newValue); 3541 BOOL GetInUse(); 3542 LPDISPATCH GetShading(); 3543 LPDISPATCH GetBorders(); 3544 void SetBorders(LPDISPATCH newValue); 3545 LPDISPATCH GetParagraphFormat(); 3546 void SetParagraphFormat(LPDISPATCH newValue); 3547 LPDISPATCH GetFont(); 3548 void SetFont(LPDISPATCH newValue); 3549 LPDISPATCH GetFrame(); 3550 long GetLanguageID(); 3551 void SetLanguageID(long nNewValue); 3552 BOOL GetAutomaticallyUpdate(); 3553 void SetAutomaticallyUpdate(BOOL bNewValue); 3554 LPDISPATCH GetListTemplate(); 3555 long GetListLevelNumber(); 3556 long GetLanguageIDFarEast(); 3557 void SetLanguageIDFarEast(long nNewValue); 3558 void Delete(); 3559 void LinkToListTemplate(LPDISPATCH ListTemplate, VARIANT* ListLevelNumber); 3560 long GetNoProofing(); 3561 void SetNoProofing(long nNewValue); 3562 VARIANT GetLinkStyle(); 3563 void SetLinkStyle(VARIANT* newValue); 3564 BOOL GetNoSpaceBetweenParagraphsOfSameStyle(); 3565 void SetNoSpaceBetweenParagraphsOfSameStyle(BOOL bNewValue); 3566 LPDISPATCH GetTable(); 3567 BOOL GetLocked(); 3568 void SetLocked(BOOL bNewValue); 3569 }; 3570 ///////////////////////////////////////////////////////////////////////////// 3571 // Frames wrapper class 3572 3573 class Frames : public COleDispatchDriver 3574 { 3575 public: 3576 Frames() {} // Calls COleDispatchDriver default constructor 3577 Frames(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3578 Frames(const Frames& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3579 3580 // Attributes 3581 public: 3582 3583 // Operations 3584 public: 3585 LPDISPATCH GetApplication(); 3586 long GetCreator(); 3587 LPDISPATCH GetParent(); 3588 LPUNKNOWN Get_NewEnum(); 3589 long GetCount(); 3590 LPDISPATCH Item(long Index); 3591 LPDISPATCH Add(LPDISPATCH Range); 3592 void Delete(); 3593 }; 3594 ///////////////////////////////////////////////////////////////////////////// 3595 // Frame wrapper class 3596 3597 class Frame : public COleDispatchDriver 3598 { 3599 public: 3600 Frame() {} // Calls COleDispatchDriver default constructor 3601 Frame(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3602 Frame(const Frame& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3603 3604 // Attributes 3605 public: 3606 3607 // Operations 3608 public: 3609 LPDISPATCH GetApplication(); 3610 long GetCreator(); 3611 LPDISPATCH GetParent(); 3612 long GetHeightRule(); 3613 void SetHeightRule(long nNewValue); 3614 long GetWidthRule(); 3615 void SetWidthRule(long nNewValue); 3616 float GetHorizontalDistanceFromText(); 3617 void SetHorizontalDistanceFromText(float newValue); 3618 float GetHeight(); 3619 void SetHeight(float newValue); 3620 float GetHorizontalPosition(); 3621 void SetHorizontalPosition(float newValue); 3622 BOOL GetLockAnchor(); 3623 void SetLockAnchor(BOOL bNewValue); 3624 long GetRelativeHorizontalPosition(); 3625 void SetRelativeHorizontalPosition(long nNewValue); 3626 long GetRelativeVerticalPosition(); 3627 void SetRelativeVerticalPosition(long nNewValue); 3628 float GetVerticalDistanceFromText(); 3629 void SetVerticalDistanceFromText(float newValue); 3630 float GetVerticalPosition(); 3631 void SetVerticalPosition(float newValue); 3632 float GetWidth(); 3633 void SetWidth(float newValue); 3634 BOOL GetTextWrap(); 3635 void SetTextWrap(BOOL bNewValue); 3636 LPDISPATCH GetShading(); 3637 LPDISPATCH GetBorders(); 3638 void SetBorders(LPDISPATCH newValue); 3639 LPDISPATCH GetRange(); 3640 void Delete(); 3641 void Select(); 3642 void Copy(); 3643 void Cut(); 3644 }; 3645 ///////////////////////////////////////////////////////////////////////////// 3646 // FormFields wrapper class 3647 3648 class FormFields : public COleDispatchDriver 3649 { 3650 public: 3651 FormFields() {} // Calls COleDispatchDriver default constructor 3652 FormFields(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3653 FormFields(const FormFields& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3654 3655 // Attributes 3656 public: 3657 3658 // Operations 3659 public: 3660 LPDISPATCH GetApplication(); 3661 long GetCreator(); 3662 LPDISPATCH GetParent(); 3663 long GetCount(); 3664 BOOL GetShaded(); 3665 void SetShaded(BOOL bNewValue); 3666 LPUNKNOWN Get_NewEnum(); 3667 LPDISPATCH Item(VARIANT* Index); 3668 LPDISPATCH Add(LPDISPATCH Range, long Type); 3669 }; 3670 ///////////////////////////////////////////////////////////////////////////// 3671 // FormField wrapper class 3672 3673 class FormField : public COleDispatchDriver 3674 { 3675 public: 3676 FormField() {} // Calls COleDispatchDriver default constructor 3677 FormField(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3678 FormField(const FormField& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3679 3680 // Attributes 3681 public: 3682 3683 // Operations 3684 public: 3685 LPDISPATCH GetApplication(); 3686 long GetCreator(); 3687 LPDISPATCH GetParent(); 3688 long GetType(); 3689 CString GetName(); 3690 void SetName(LPCTSTR lpszNewValue); 3691 CString GetEntryMacro(); 3692 void SetEntryMacro(LPCTSTR lpszNewValue); 3693 CString GetExitMacro(); 3694 void SetExitMacro(LPCTSTR lpszNewValue); 3695 BOOL GetOwnHelp(); 3696 void SetOwnHelp(BOOL bNewValue); 3697 BOOL GetOwnStatus(); 3698 void SetOwnStatus(BOOL bNewValue); 3699 CString GetHelpText(); 3700 void SetHelpText(LPCTSTR lpszNewValue); 3701 CString GetStatusText(); 3702 void SetStatusText(LPCTSTR lpszNewValue); 3703 BOOL GetEnabled(); 3704 void SetEnabled(BOOL bNewValue); 3705 CString GetResult(); 3706 void SetResult(LPCTSTR lpszNewValue); 3707 LPDISPATCH GetTextInput(); 3708 LPDISPATCH GetCheckBox(); 3709 LPDISPATCH GetDropDown(); 3710 LPDISPATCH GetNext(); 3711 LPDISPATCH GetPrevious(); 3712 BOOL GetCalculateOnExit(); 3713 void SetCalculateOnExit(BOOL bNewValue); 3714 LPDISPATCH GetRange(); 3715 void Select(); 3716 void Copy(); 3717 void Cut(); 3718 void Delete(); 3719 }; 3720 ///////////////////////////////////////////////////////////////////////////// 3721 // TextInput wrapper class 3722 3723 class TextInput : public COleDispatchDriver 3724 { 3725 public: 3726 TextInput() {} // Calls COleDispatchDriver default constructor 3727 TextInput(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3728 TextInput(const TextInput& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3729 3730 // Attributes 3731 public: 3732 3733 // Operations 3734 public: 3735 LPDISPATCH GetApplication(); 3736 long GetCreator(); 3737 LPDISPATCH GetParent(); 3738 BOOL GetValid(); 3739 CString GetDefault(); 3740 void SetDefault(LPCTSTR lpszNewValue); 3741 long GetType(); 3742 CString GetFormat(); 3743 long GetWidth(); 3744 void SetWidth(long nNewValue); 3745 void Clear(); 3746 void EditType(long Type, VARIANT* Default, VARIANT* Format, VARIANT* Enabled); 3747 }; 3748 ///////////////////////////////////////////////////////////////////////////// 3749 // CheckBox wrapper class 3750 3751 class CheckBox : public COleDispatchDriver 3752 { 3753 public: 3754 CheckBox() {} // Calls COleDispatchDriver default constructor 3755 CheckBox(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3756 CheckBox(const CheckBox& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3757 3758 // Attributes 3759 public: 3760 3761 // Operations 3762 public: 3763 LPDISPATCH GetApplication(); 3764 long GetCreator(); 3765 LPDISPATCH GetParent(); 3766 BOOL GetValid(); 3767 BOOL GetAutoSize(); 3768 void SetAutoSize(BOOL bNewValue); 3769 float GetSize(); 3770 void SetSize(float newValue); 3771 BOOL GetDefault(); 3772 void SetDefault(BOOL bNewValue); 3773 BOOL GetValue(); 3774 void SetValue(BOOL bNewValue); 3775 }; 3776 ///////////////////////////////////////////////////////////////////////////// 3777 // DropDown wrapper class 3778 3779 class DropDown : public COleDispatchDriver 3780 { 3781 public: 3782 DropDown() {} // Calls COleDispatchDriver default constructor 3783 DropDown(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3784 DropDown(const DropDown& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3785 3786 // Attributes 3787 public: 3788 3789 // Operations 3790 public: 3791 LPDISPATCH GetApplication(); 3792 long GetCreator(); 3793 LPDISPATCH GetParent(); 3794 BOOL GetValid(); 3795 long GetDefault(); 3796 void SetDefault(long nNewValue); 3797 long GetValue(); 3798 void SetValue(long nNewValue); 3799 LPDISPATCH GetListEntries(); 3800 }; 3801 ///////////////////////////////////////////////////////////////////////////// 3802 // ListEntries wrapper class 3803 3804 class ListEntries : public COleDispatchDriver 3805 { 3806 public: 3807 ListEntries() {} // Calls COleDispatchDriver default constructor 3808 ListEntries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3809 ListEntries(const ListEntries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3810 3811 // Attributes 3812 public: 3813 3814 // Operations 3815 public: 3816 LPDISPATCH GetApplication(); 3817 long GetCreator(); 3818 LPDISPATCH GetParent(); 3819 LPUNKNOWN Get_NewEnum(); 3820 long GetCount(); 3821 LPDISPATCH Item(VARIANT* Index); 3822 LPDISPATCH Add(LPCTSTR Name, VARIANT* Index); 3823 void Clear(); 3824 }; 3825 ///////////////////////////////////////////////////////////////////////////// 3826 // ListEntry wrapper class 3827 3828 class ListEntry : public COleDispatchDriver 3829 { 3830 public: 3831 ListEntry() {} // Calls COleDispatchDriver default constructor 3832 ListEntry(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3833 ListEntry(const ListEntry& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3834 3835 // Attributes 3836 public: 3837 3838 // Operations 3839 public: 3840 LPDISPATCH GetApplication(); 3841 long GetCreator(); 3842 LPDISPATCH GetParent(); 3843 long GetIndex(); 3844 CString GetName(); 3845 void SetName(LPCTSTR lpszNewValue); 3846 void Delete(); 3847 }; 3848 ///////////////////////////////////////////////////////////////////////////// 3849 // TablesOfFigures wrapper class 3850 3851 class TablesOfFigures : public COleDispatchDriver 3852 { 3853 public: 3854 TablesOfFigures() {} // Calls COleDispatchDriver default constructor 3855 TablesOfFigures(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3856 TablesOfFigures(const TablesOfFigures& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3857 3858 // Attributes 3859 public: 3860 3861 // Operations 3862 public: 3863 LPDISPATCH GetApplication(); 3864 long GetCreator(); 3865 LPDISPATCH GetParent(); 3866 LPUNKNOWN Get_NewEnum(); 3867 long GetCount(); 3868 long GetFormat(); 3869 void SetFormat(long nNewValue); 3870 LPDISPATCH Item(long Index); 3871 LPDISPATCH MarkEntry(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* TableID, VARIANT* Level); 3872 LPDISPATCH Add(LPDISPATCH Range, VARIANT* Caption, VARIANT* IncludeLabel, VARIANT* UseHeadingStyles, VARIANT* UpperHeadingLevel, VARIANT* LowerHeadingLevel, VARIANT* UseFields, VARIANT* TableID, VARIANT* RightAlignPageNumbers, 3873 VARIANT* IncludePageNumbers, VARIANT* AddedStyles, VARIANT* UseHyperlinks, VARIANT* HidePageNumbersInWeb); 3874 }; 3875 ///////////////////////////////////////////////////////////////////////////// 3876 // TableOfFigures wrapper class 3877 3878 class TableOfFigures : public COleDispatchDriver 3879 { 3880 public: 3881 TableOfFigures() {} // Calls COleDispatchDriver default constructor 3882 TableOfFigures(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3883 TableOfFigures(const TableOfFigures& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3884 3885 // Attributes 3886 public: 3887 3888 // Operations 3889 public: 3890 LPDISPATCH GetApplication(); 3891 long GetCreator(); 3892 LPDISPATCH GetParent(); 3893 CString GetCaption(); 3894 void SetCaption(LPCTSTR lpszNewValue); 3895 BOOL GetIncludeLabel(); 3896 void SetIncludeLabel(BOOL bNewValue); 3897 BOOL GetRightAlignPageNumbers(); 3898 void SetRightAlignPageNumbers(BOOL bNewValue); 3899 BOOL GetUseHeadingStyles(); 3900 void SetUseHeadingStyles(BOOL bNewValue); 3901 long GetLowerHeadingLevel(); 3902 void SetLowerHeadingLevel(long nNewValue); 3903 long GetUpperHeadingLevel(); 3904 void SetUpperHeadingLevel(long nNewValue); 3905 BOOL GetIncludePageNumbers(); 3906 void SetIncludePageNumbers(BOOL bNewValue); 3907 LPDISPATCH GetRange(); 3908 BOOL GetUseFields(); 3909 void SetUseFields(BOOL bNewValue); 3910 CString GetTableID(); 3911 void SetTableID(LPCTSTR lpszNewValue); 3912 LPDISPATCH GetHeadingStyles(); 3913 long GetTabLeader(); 3914 void SetTabLeader(long nNewValue); 3915 void Delete(); 3916 void UpdatePageNumbers(); 3917 void Update(); 3918 BOOL GetUseHyperlinks(); 3919 void SetUseHyperlinks(BOOL bNewValue); 3920 BOOL GetHidePageNumbersInWeb(); 3921 void SetHidePageNumbersInWeb(BOOL bNewValue); 3922 }; 3923 ///////////////////////////////////////////////////////////////////////////// 3924 // MailMerge wrapper class 3925 3926 class MailMerge : public COleDispatchDriver 3927 { 3928 public: 3929 MailMerge() {} // Calls COleDispatchDriver default constructor 3930 MailMerge(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3931 MailMerge(const MailMerge& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3932 3933 // Attributes 3934 public: 3935 3936 // Operations 3937 public: 3938 LPDISPATCH GetApplication(); 3939 long GetCreator(); 3940 LPDISPATCH GetParent(); 3941 long GetMainDocumentType(); 3942 void SetMainDocumentType(long nNewValue); 3943 long GetState(); 3944 long GetDestination(); 3945 void SetDestination(long nNewValue); 3946 LPDISPATCH GetDataSource(); 3947 LPDISPATCH GetFields(); 3948 long GetViewMailMergeFieldCodes(); 3949 void SetViewMailMergeFieldCodes(long nNewValue); 3950 BOOL GetSuppressBlankLines(); 3951 void SetSuppressBlankLines(BOOL bNewValue); 3952 BOOL GetMailAsAttachment(); 3953 void SetMailAsAttachment(BOOL bNewValue); 3954 CString GetMailAddressFieldName(); 3955 void SetMailAddressFieldName(LPCTSTR lpszNewValue); 3956 CString GetMailSubject(); 3957 void SetMailSubject(LPCTSTR lpszNewValue); 3958 void CreateDataSource(VARIANT* Name, VARIANT* PasswordDocument, VARIANT* WritePasswordDocument, VARIANT* HeaderRecord, VARIANT* MSQuery, VARIANT* SQLStatement, VARIANT* SQLStatement1, VARIANT* Connection, VARIANT* LinkToSource); 3959 void CreateHeaderSource(LPCTSTR Name, VARIANT* PasswordDocument, VARIANT* WritePasswordDocument, VARIANT* HeaderRecord); 3960 void Execute(VARIANT* Pause); 3961 void Check(); 3962 void EditDataSource(); 3963 void EditHeaderSource(); 3964 void EditMainDocument(); 3965 BOOL GetHighlightMergeFields(); 3966 void SetHighlightMergeFields(BOOL bNewValue); 3967 long GetMailFormat(); 3968 void SetMailFormat(long nNewValue); 3969 CString GetShowSendToCustom(); 3970 void SetShowSendToCustom(LPCTSTR lpszNewValue); 3971 long GetWizardState(); 3972 void SetWizardState(long nNewValue); 3973 void OpenDataSource(LPCTSTR Name, VARIANT* Format, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* LinkToSource, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, 3974 VARIANT* WritePasswordDocument, VARIANT* WritePasswordTemplate, VARIANT* Connection, VARIANT* SQLStatement, VARIANT* SQLStatement1, VARIANT* OpenExclusive, VARIANT* SubType); 3975 void OpenHeaderSource(LPCTSTR Name, VARIANT* Format, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, 3976 VARIANT* WritePasswordTemplate, VARIANT* OpenExclusive); 3977 void ShowWizard(VARIANT* InitialState, VARIANT* ShowDocumentStep, VARIANT* ShowTemplateStep, VARIANT* ShowDataStep, VARIANT* ShowWriteStep, VARIANT* ShowPreviewStep, VARIANT* ShowMergeStep); 3978 }; 3979 ///////////////////////////////////////////////////////////////////////////// 3980 // MailMergeFields wrapper class 3981 3982 class MailMergeFields : public COleDispatchDriver 3983 { 3984 public: 3985 MailMergeFields() {} // Calls COleDispatchDriver default constructor 3986 MailMergeFields(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3987 MailMergeFields(const MailMergeFields& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3988 3989 // Attributes 3990 public: 3991 3992 // Operations 3993 public: 3994 LPDISPATCH GetApplication(); 3995 long GetCreator(); 3996 LPDISPATCH GetParent(); 3997 LPUNKNOWN Get_NewEnum(); 3998 long GetCount(); 3999 LPDISPATCH Item(long Index); 4000 LPDISPATCH Add(LPDISPATCH Range, LPCTSTR Name); 4001 LPDISPATCH AddAsk(LPDISPATCH Range, LPCTSTR Name, VARIANT* Prompt, VARIANT* DefaultAskText, VARIANT* AskOnce); 4002 LPDISPATCH AddFillIn(LPDISPATCH Range, VARIANT* Prompt, VARIANT* DefaultFillInText, VARIANT* AskOnce); 4003 LPDISPATCH AddIf(LPDISPATCH Range, LPCTSTR MergeField, long Comparison, VARIANT* CompareTo, VARIANT* TrueAutoText, VARIANT* TrueText, VARIANT* FalseAutoText, VARIANT* FalseText); 4004 LPDISPATCH AddMergeRec(LPDISPATCH Range); 4005 LPDISPATCH AddMergeSeq(LPDISPATCH Range); 4006 LPDISPATCH AddNext(LPDISPATCH Range); 4007 LPDISPATCH AddNextIf(LPDISPATCH Range, LPCTSTR MergeField, long Comparison, VARIANT* CompareTo); 4008 LPDISPATCH AddSet(LPDISPATCH Range, LPCTSTR Name, VARIANT* ValueText, VARIANT* ValueAutoText); 4009 LPDISPATCH AddSkipIf(LPDISPATCH Range, LPCTSTR MergeField, long Comparison, VARIANT* CompareTo); 4010 }; 4011 ///////////////////////////////////////////////////////////////////////////// 4012 // MailMergeField wrapper class 4013 4014 class MailMergeField : public COleDispatchDriver 4015 { 4016 public: 4017 MailMergeField() {} // Calls COleDispatchDriver default constructor 4018 MailMergeField(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4019 MailMergeField(const MailMergeField& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4020 4021 // Attributes 4022 public: 4023 4024 // Operations 4025 public: 4026 LPDISPATCH GetApplication(); 4027 long GetCreator(); 4028 LPDISPATCH GetParent(); 4029 long GetType(); 4030 BOOL GetLocked(); 4031 void SetLocked(BOOL bNewValue); 4032 LPDISPATCH GetCode(); 4033 void SetCode(LPDISPATCH newValue); 4034 LPDISPATCH GetNext(); 4035 LPDISPATCH GetPrevious(); 4036 void Select(); 4037 void Copy(); 4038 void Cut(); 4039 void Delete(); 4040 }; 4041 ///////////////////////////////////////////////////////////////////////////// 4042 // MailMergeDataSource wrapper class 4043 4044 class MailMergeDataSource : public COleDispatchDriver 4045 { 4046 public: 4047 MailMergeDataSource() {} // Calls COleDispatchDriver default constructor 4048 MailMergeDataSource(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4049 MailMergeDataSource(const MailMergeDataSource& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4050 4051 // Attributes 4052 public: 4053 4054 // Operations 4055 public: 4056 LPDISPATCH GetApplication(); 4057 long GetCreator(); 4058 LPDISPATCH GetParent(); 4059 CString GetName(); 4060 CString GetHeaderSourceName(); 4061 long GetType(); 4062 long GetHeaderSourceType(); 4063 CString GetConnectString(); 4064 CString GetQueryString(); 4065 void SetQueryString(LPCTSTR lpszNewValue); 4066 long GetActiveRecord(); 4067 void SetActiveRecord(long nNewValue); 4068 long GetFirstRecord(); 4069 void SetFirstRecord(long nNewValue); 4070 long GetLastRecord(); 4071 void SetLastRecord(long nNewValue); 4072 LPDISPATCH GetFieldNames(); 4073 LPDISPATCH GetDataFields(); 4074 long GetRecordCount(); 4075 BOOL GetIncluded(); 4076 void SetIncluded(BOOL bNewValue); 4077 BOOL GetInvalidAddress(); 4078 void SetInvalidAddress(BOOL bNewValue); 4079 CString GetInvalidComments(); 4080 void SetInvalidComments(LPCTSTR lpszNewValue); 4081 LPDISPATCH GetMappedDataFields(); 4082 CString GetTableName(); 4083 BOOL FindRecord(LPCTSTR FindText, VARIANT* Field); 4084 void SetAllIncludedFlags(BOOL Included); 4085 void SetAllErrorFlags(BOOL Invalid, LPCTSTR InvalidComment); 4086 void Close(); 4087 }; 4088 ///////////////////////////////////////////////////////////////////////////// 4089 // MailMergeFieldNames wrapper class 4090 4091 class MailMergeFieldNames : public COleDispatchDriver 4092 { 4093 public: 4094 MailMergeFieldNames() {} // Calls COleDispatchDriver default constructor 4095 MailMergeFieldNames(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4096 MailMergeFieldNames(const MailMergeFieldNames& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4097 4098 // Attributes 4099 public: 4100 4101 // Operations 4102 public: 4103 LPDISPATCH GetApplication(); 4104 long GetCreator(); 4105 LPDISPATCH GetParent(); 4106 LPUNKNOWN Get_NewEnum(); 4107 long GetCount(); 4108 LPDISPATCH Item(VARIANT* Index); 4109 }; 4110 ///////////////////////////////////////////////////////////////////////////// 4111 // MailMergeFieldName wrapper class 4112 4113 class MailMergeFieldName : public COleDispatchDriver 4114 { 4115 public: 4116 MailMergeFieldName() {} // Calls COleDispatchDriver default constructor 4117 MailMergeFieldName(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4118 MailMergeFieldName(const MailMergeFieldName& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4119 4120 // Attributes 4121 public: 4122 4123 // Operations 4124 public: 4125 LPDISPATCH GetApplication(); 4126 long GetCreator(); 4127 LPDISPATCH GetParent(); 4128 CString GetName(); 4129 long GetIndex(); 4130 }; 4131 ///////////////////////////////////////////////////////////////////////////// 4132 // MailMergeDataFields wrapper class 4133 4134 class MailMergeDataFields : public COleDispatchDriver 4135 { 4136 public: 4137 MailMergeDataFields() {} // Calls COleDispatchDriver default constructor 4138 MailMergeDataFields(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4139 MailMergeDataFields(const MailMergeDataFields& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4140 4141 // Attributes 4142 public: 4143 4144 // Operations 4145 public: 4146 LPDISPATCH GetApplication(); 4147 long GetCreator(); 4148 LPDISPATCH GetParent(); 4149 LPUNKNOWN Get_NewEnum(); 4150 long GetCount(); 4151 LPDISPATCH Item(VARIANT* Index); 4152 }; 4153 ///////////////////////////////////////////////////////////////////////////// 4154 // MailMergeDataField wrapper class 4155 4156 class MailMergeDataField : public COleDispatchDriver 4157 { 4158 public: 4159 MailMergeDataField() {} // Calls COleDispatchDriver default constructor 4160 MailMergeDataField(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4161 MailMergeDataField(const MailMergeDataField& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4162 4163 // Attributes 4164 public: 4165 4166 // Operations 4167 public: 4168 LPDISPATCH GetApplication(); 4169 long GetCreator(); 4170 LPDISPATCH GetParent(); 4171 CString GetValue(); 4172 CString GetName(); 4173 long GetIndex(); 4174 }; 4175 ///////////////////////////////////////////////////////////////////////////// 4176 // Envelope wrapper class 4177 4178 class Envelope : public COleDispatchDriver 4179 { 4180 public: 4181 Envelope() {} // Calls COleDispatchDriver default constructor 4182 Envelope(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4183 Envelope(const Envelope& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4184 4185 // Attributes 4186 public: 4187 4188 // Operations 4189 public: 4190 LPDISPATCH GetApplication(); 4191 long GetCreator(); 4192 LPDISPATCH GetParent(); 4193 LPDISPATCH GetAddress(); 4194 LPDISPATCH GetReturnAddress(); 4195 BOOL GetDefaultPrintBarCode(); 4196 void SetDefaultPrintBarCode(BOOL bNewValue); 4197 BOOL GetDefaultPrintFIMA(); 4198 void SetDefaultPrintFIMA(BOOL bNewValue); 4199 float GetDefaultHeight(); 4200 void SetDefaultHeight(float newValue); 4201 float GetDefaultWidth(); 4202 void SetDefaultWidth(float newValue); 4203 CString GetDefaultSize(); 4204 void SetDefaultSize(LPCTSTR lpszNewValue); 4205 BOOL GetDefaultOmitReturnAddress(); 4206 void SetDefaultOmitReturnAddress(BOOL bNewValue); 4207 long GetFeedSource(); 4208 void SetFeedSource(long nNewValue); 4209 float GetAddressFromLeft(); 4210 void SetAddressFromLeft(float newValue); 4211 float GetAddressFromTop(); 4212 void SetAddressFromTop(float newValue); 4213 float GetReturnAddressFromLeft(); 4214 void SetReturnAddressFromLeft(float newValue); 4215 float GetReturnAddressFromTop(); 4216 void SetReturnAddressFromTop(float newValue); 4217 LPDISPATCH GetAddressStyle(); 4218 LPDISPATCH GetReturnAddressStyle(); 4219 long GetDefaultOrientation(); 4220 void SetDefaultOrientation(long nNewValue); 4221 BOOL GetDefaultFaceUp(); 4222 void SetDefaultFaceUp(BOOL bNewValue); 4223 void UpdateDocument(); 4224 void Options(); 4225 BOOL GetVertical(); 4226 void SetVertical(BOOL bNewValue); 4227 float GetRecipientNamefromLeft(); 4228 void SetRecipientNamefromLeft(float newValue); 4229 float GetRecipientNamefromTop(); 4230 void SetRecipientNamefromTop(float newValue); 4231 float GetRecipientPostalfromLeft(); 4232 void SetRecipientPostalfromLeft(float newValue); 4233 float GetRecipientPostalfromTop(); 4234 void SetRecipientPostalfromTop(float newValue); 4235 float GetSenderNamefromLeft(); 4236 void SetSenderNamefromLeft(float newValue); 4237 float GetSenderNamefromTop(); 4238 void SetSenderNamefromTop(float newValue); 4239 float GetSenderPostalfromLeft(); 4240 void SetSenderPostalfromLeft(float newValue); 4241 float GetSenderPostalfromTop(); 4242 void SetSenderPostalfromTop(float newValue); 4243 void Insert(VARIANT* ExtractAddress, VARIANT* Address, VARIANT* AutoText, VARIANT* OmitReturnAddress, VARIANT* ReturnAddress, VARIANT* ReturnAutoText, VARIANT* PrintBarCode, VARIANT* PrintFIMA, VARIANT* Size, VARIANT* Height, VARIANT* Width, 4244 VARIANT* FeedSource, VARIANT* AddressFromLeft, VARIANT* AddressFromTop, VARIANT* ReturnAddressFromLeft, VARIANT* ReturnAddressFromTop, VARIANT* DefaultFaceUp, VARIANT* DefaultOrientation, VARIANT* PrintEPostage, VARIANT* Vertical, 4245 VARIANT* RecipientNamefromLeft, VARIANT* RecipientNamefromTop, VARIANT* RecipientPostalfromLeft, VARIANT* RecipientPostalfromTop, VARIANT* SenderNamefromLeft, VARIANT* SenderNamefromTop, VARIANT* SenderPostalfromLeft, 4246 VARIANT* SenderPostalfromTop); 4247 void PrintOut(VARIANT* ExtractAddress, VARIANT* Address, VARIANT* AutoText, VARIANT* OmitReturnAddress, VARIANT* ReturnAddress, VARIANT* ReturnAutoText, VARIANT* PrintBarCode, VARIANT* PrintFIMA, VARIANT* Size, VARIANT* Height, 4248 VARIANT* Width, VARIANT* FeedSource, VARIANT* AddressFromLeft, VARIANT* AddressFromTop, VARIANT* ReturnAddressFromLeft, VARIANT* ReturnAddressFromTop, VARIANT* DefaultFaceUp, VARIANT* DefaultOrientation, VARIANT* PrintEPostage, 4249 VARIANT* Vertical, VARIANT* RecipientNamefromLeft, VARIANT* RecipientNamefromTop, VARIANT* RecipientPostalfromLeft, VARIANT* RecipientPostalfromTop, VARIANT* SenderNamefromLeft, VARIANT* SenderNamefromTop, VARIANT* SenderPostalfromLeft, 4250 VARIANT* SenderPostalfromTop); 4251 }; 4252 ///////////////////////////////////////////////////////////////////////////// 4253 // MailingLabel wrapper class 4254 4255 class MailingLabel : public COleDispatchDriver 4256 { 4257 public: 4258 MailingLabel() {} // Calls COleDispatchDriver default constructor 4259 MailingLabel(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4260 MailingLabel(const MailingLabel& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4261 4262 // Attributes 4263 public: 4264 4265 // Operations 4266 public: 4267 LPDISPATCH GetApplication(); 4268 long GetCreator(); 4269 LPDISPATCH GetParent(); 4270 BOOL GetDefaultPrintBarCode(); 4271 void SetDefaultPrintBarCode(BOOL bNewValue); 4272 long GetDefaultLaserTray(); 4273 void SetDefaultLaserTray(long nNewValue); 4274 LPDISPATCH GetCustomLabels(); 4275 CString GetDefaultLabelName(); 4276 void SetDefaultLabelName(LPCTSTR lpszNewValue); 4277 void LabelOptions(); 4278 LPDISPATCH CreateNewDocument(VARIANT* Name, VARIANT* Address, VARIANT* AutoText, VARIANT* ExtractAddress, VARIANT* LaserTray, VARIANT* PrintEPostageLabel, VARIANT* Vertical); 4279 void PrintOut(VARIANT* Name, VARIANT* Address, VARIANT* ExtractAddress, VARIANT* LaserTray, VARIANT* SingleLabel, VARIANT* Row, VARIANT* Column, VARIANT* PrintEPostageLabel, VARIANT* Vertical); 4280 BOOL GetVertical(); 4281 void SetVertical(BOOL bNewValue); 4282 }; 4283 ///////////////////////////////////////////////////////////////////////////// 4284 // CustomLabels wrapper class 4285 4286 class CustomLabels : public COleDispatchDriver 4287 { 4288 public: 4289 CustomLabels() {} // Calls COleDispatchDriver default constructor 4290 CustomLabels(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4291 CustomLabels(const CustomLabels& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4292 4293 // Attributes 4294 public: 4295 4296 // Operations 4297 public: 4298 LPDISPATCH GetApplication(); 4299 long GetCreator(); 4300 LPDISPATCH GetParent(); 4301 LPUNKNOWN Get_NewEnum(); 4302 long GetCount(); 4303 LPDISPATCH Item(VARIANT* Index); 4304 LPDISPATCH Add(LPCTSTR Name, VARIANT* DotMatrix); 4305 }; 4306 ///////////////////////////////////////////////////////////////////////////// 4307 // CustomLabel wrapper class 4308 4309 class CustomLabel : public COleDispatchDriver 4310 { 4311 public: 4312 CustomLabel() {} // Calls COleDispatchDriver default constructor 4313 CustomLabel(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4314 CustomLabel(const CustomLabel& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4315 4316 // Attributes 4317 public: 4318 4319 // Operations 4320 public: 4321 LPDISPATCH GetApplication(); 4322 long GetCreator(); 4323 LPDISPATCH GetParent(); 4324 long GetIndex(); 4325 CString GetName(); 4326 void SetName(LPCTSTR lpszNewValue); 4327 float GetTopMargin(); 4328 void SetTopMargin(float newValue); 4329 float GetSideMargin(); 4330 void SetSideMargin(float newValue); 4331 float GetHeight(); 4332 void SetHeight(float newValue); 4333 float GetWidth(); 4334 void SetWidth(float newValue); 4335 float GetVerticalPitch(); 4336 void SetVerticalPitch(float newValue); 4337 float GetHorizontalPitch(); 4338 void SetHorizontalPitch(float newValue); 4339 long GetNumberAcross(); 4340 void SetNumberAcross(long nNewValue); 4341 long GetNumberDown(); 4342 void SetNumberDown(long nNewValue); 4343 BOOL GetDotMatrix(); 4344 long GetPageSize(); 4345 void SetPageSize(long nNewValue); 4346 BOOL GetValid(); 4347 void Delete(); 4348 }; 4349 ///////////////////////////////////////////////////////////////////////////// 4350 // TablesOfContents wrapper class 4351 4352 class TablesOfContents : public COleDispatchDriver 4353 { 4354 public: 4355 TablesOfContents() {} // Calls COleDispatchDriver default constructor 4356 TablesOfContents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4357 TablesOfContents(const TablesOfContents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4358 4359 // Attributes 4360 public: 4361 4362 // Operations 4363 public: 4364 LPDISPATCH GetApplication(); 4365 long GetCreator(); 4366 LPDISPATCH GetParent(); 4367 LPUNKNOWN Get_NewEnum(); 4368 long GetCount(); 4369 long GetFormat(); 4370 void SetFormat(long nNewValue); 4371 LPDISPATCH Item(long Index); 4372 LPDISPATCH MarkEntry(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* TableID, VARIANT* Level); 4373 LPDISPATCH Add(LPDISPATCH Range, VARIANT* UseHeadingStyles, VARIANT* UpperHeadingLevel, VARIANT* LowerHeadingLevel, VARIANT* UseFields, VARIANT* TableID, VARIANT* RightAlignPageNumbers, VARIANT* IncludePageNumbers, VARIANT* AddedStyles, 4374 VARIANT* UseHyperlinks, VARIANT* HidePageNumbersInWeb, VARIANT* UseOutlineLevels); 4375 }; 4376 ///////////////////////////////////////////////////////////////////////////// 4377 // TableOfContents wrapper class 4378 4379 class TableOfContents : public COleDispatchDriver 4380 { 4381 public: 4382 TableOfContents() {} // Calls COleDispatchDriver default constructor 4383 TableOfContents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4384 TableOfContents(const TableOfContents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4385 4386 // Attributes 4387 public: 4388 4389 // Operations 4390 public: 4391 LPDISPATCH GetApplication(); 4392 long GetCreator(); 4393 LPDISPATCH GetParent(); 4394 BOOL GetUseHeadingStyles(); 4395 void SetUseHeadingStyles(BOOL bNewValue); 4396 BOOL GetUseFields(); 4397 void SetUseFields(BOOL bNewValue); 4398 long GetUpperHeadingLevel(); 4399 void SetUpperHeadingLevel(long nNewValue); 4400 long GetLowerHeadingLevel(); 4401 void SetLowerHeadingLevel(long nNewValue); 4402 CString GetTableID(); 4403 void SetTableID(LPCTSTR lpszNewValue); 4404 LPDISPATCH GetHeadingStyles(); 4405 BOOL GetRightAlignPageNumbers(); 4406 void SetRightAlignPageNumbers(BOOL bNewValue); 4407 BOOL GetIncludePageNumbers(); 4408 void SetIncludePageNumbers(BOOL bNewValue); 4409 LPDISPATCH GetRange(); 4410 long GetTabLeader(); 4411 void SetTabLeader(long nNewValue); 4412 void Delete(); 4413 void UpdatePageNumbers(); 4414 void Update(); 4415 BOOL GetUseHyperlinks(); 4416 void SetUseHyperlinks(BOOL bNewValue); 4417 BOOL GetHidePageNumbersInWeb(); 4418 void SetHidePageNumbersInWeb(BOOL bNewValue); 4419 }; 4420 ///////////////////////////////////////////////////////////////////////////// 4421 // TablesOfAuthorities wrapper class 4422 4423 class TablesOfAuthorities : public COleDispatchDriver 4424 { 4425 public: 4426 TablesOfAuthorities() {} // Calls COleDispatchDriver default constructor 4427 TablesOfAuthorities(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4428 TablesOfAuthorities(const TablesOfAuthorities& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4429 4430 // Attributes 4431 public: 4432 4433 // Operations 4434 public: 4435 LPDISPATCH GetApplication(); 4436 long GetCreator(); 4437 LPDISPATCH GetParent(); 4438 LPUNKNOWN Get_NewEnum(); 4439 long GetCount(); 4440 long GetFormat(); 4441 void SetFormat(long nNewValue); 4442 LPDISPATCH Item(long Index); 4443 LPDISPATCH Add(LPDISPATCH Range, VARIANT* Category, VARIANT* Bookmark, VARIANT* Passim, VARIANT* KeepEntryFormatting, VARIANT* Separator, VARIANT* IncludeSequenceName, VARIANT* EntrySeparator, VARIANT* PageRangeSeparator, 4444 VARIANT* IncludeCategoryHeader, VARIANT* PageNumberSeparator); 4445 void NextCitation(LPCTSTR ShortCitation); 4446 LPDISPATCH MarkCitation(LPDISPATCH Range, LPCTSTR ShortCitation, VARIANT* LongCitation, VARIANT* LongCitationAutoText, VARIANT* Category); 4447 void MarkAllCitations(LPCTSTR ShortCitation, VARIANT* LongCitation, VARIANT* LongCitationAutoText, VARIANT* Category); 4448 }; 4449 ///////////////////////////////////////////////////////////////////////////// 4450 // TableOfAuthorities wrapper class 4451 4452 class TableOfAuthorities : public COleDispatchDriver 4453 { 4454 public: 4455 TableOfAuthorities() {} // Calls COleDispatchDriver default constructor 4456 TableOfAuthorities(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4457 TableOfAuthorities(const TableOfAuthorities& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4458 4459 // Attributes 4460 public: 4461 4462 // Operations 4463 public: 4464 LPDISPATCH GetApplication(); 4465 long GetCreator(); 4466 LPDISPATCH GetParent(); 4467 BOOL GetPassim(); 4468 void SetPassim(BOOL bNewValue); 4469 BOOL GetKeepEntryFormatting(); 4470 void SetKeepEntryFormatting(BOOL bNewValue); 4471 long GetCategory(); 4472 void SetCategory(long nNewValue); 4473 CString GetBookmark(); 4474 void SetBookmark(LPCTSTR lpszNewValue); 4475 CString GetSeparator(); 4476 void SetSeparator(LPCTSTR lpszNewValue); 4477 CString GetIncludeSequenceName(); 4478 void SetIncludeSequenceName(LPCTSTR lpszNewValue); 4479 CString GetEntrySeparator(); 4480 void SetEntrySeparator(LPCTSTR lpszNewValue); 4481 CString GetPageRangeSeparator(); 4482 void SetPageRangeSeparator(LPCTSTR lpszNewValue); 4483 BOOL GetIncludeCategoryHeader(); 4484 void SetIncludeCategoryHeader(BOOL bNewValue); 4485 CString GetPageNumberSeparator(); 4486 void SetPageNumberSeparator(LPCTSTR lpszNewValue); 4487 LPDISPATCH GetRange(); 4488 long GetTabLeader(); 4489 void SetTabLeader(long nNewValue); 4490 void Delete(); 4491 void Update(); 4492 }; 4493 ///////////////////////////////////////////////////////////////////////////// 4494 // Dialogs wrapper class 4495 4496 class Dialogs : public COleDispatchDriver 4497 { 4498 public: 4499 Dialogs() {} // Calls COleDispatchDriver default constructor 4500 Dialogs(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4501 Dialogs(const Dialogs& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4502 4503 // Attributes 4504 public: 4505 4506 // Operations 4507 public: 4508 LPDISPATCH GetApplication(); 4509 long GetCreator(); 4510 LPDISPATCH GetParent(); 4511 LPUNKNOWN Get_NewEnum(); 4512 long GetCount(); 4513 LPDISPATCH Item(long Index); 4514 }; 4515 ///////////////////////////////////////////////////////////////////////////// 4516 // Dialog wrapper class 4517 4518 class Dialog : public COleDispatchDriver 4519 { 4520 public: 4521 Dialog() {} // Calls COleDispatchDriver default constructor 4522 Dialog(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4523 Dialog(const Dialog& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4524 4525 // Attributes 4526 public: 4527 4528 // Operations 4529 public: 4530 LPDISPATCH GetApplication(); 4531 long GetCreator(); 4532 LPDISPATCH GetParent(); 4533 long GetDefaultTab(); 4534 void SetDefaultTab(long nNewValue); 4535 long GetType(); 4536 long Show(VARIANT* TimeOut); 4537 long Display(VARIANT* TimeOut); 4538 void Execute(); 4539 void Update(); 4540 CString GetCommandName(); 4541 }; 4542 ///////////////////////////////////////////////////////////////////////////// 4543 // PageSetup wrapper class 4544 4545 class PageSetup : public COleDispatchDriver 4546 { 4547 public: 4548 PageSetup() {} // Calls COleDispatchDriver default constructor 4549 PageSetup(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4550 PageSetup(const PageSetup& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4551 4552 // Attributes 4553 public: 4554 4555 // Operations 4556 public: 4557 LPDISPATCH GetApplication(); 4558 long GetCreator(); 4559 LPDISPATCH GetParent(); 4560 float GetTopMargin(); 4561 void SetTopMargin(float newValue); 4562 float GetBottomMargin(); 4563 void SetBottomMargin(float newValue); 4564 float GetLeftMargin(); 4565 void SetLeftMargin(float newValue); 4566 float GetRightMargin(); 4567 void SetRightMargin(float newValue); 4568 float GetGutter(); 4569 void SetGutter(float newValue); 4570 float GetPageWidth(); 4571 void SetPageWidth(float newValue); 4572 float GetPageHeight(); 4573 void SetPageHeight(float newValue); 4574 long GetOrientation(); 4575 void SetOrientation(long nNewValue); 4576 long GetFirstPageTray(); 4577 void SetFirstPageTray(long nNewValue); 4578 long GetOtherPagesTray(); 4579 void SetOtherPagesTray(long nNewValue); 4580 long GetVerticalAlignment(); 4581 void SetVerticalAlignment(long nNewValue); 4582 long GetMirrorMargins(); 4583 void SetMirrorMargins(long nNewValue); 4584 float GetHeaderDistance(); 4585 void SetHeaderDistance(float newValue); 4586 float GetFooterDistance(); 4587 void SetFooterDistance(float newValue); 4588 long GetSectionStart(); 4589 void SetSectionStart(long nNewValue); 4590 long GetOddAndEvenPagesHeaderFooter(); 4591 void SetOddAndEvenPagesHeaderFooter(long nNewValue); 4592 long GetDifferentFirstPageHeaderFooter(); 4593 void SetDifferentFirstPageHeaderFooter(long nNewValue); 4594 long GetSuppressEndnotes(); 4595 void SetSuppressEndnotes(long nNewValue); 4596 LPDISPATCH GetLineNumbering(); 4597 void SetLineNumbering(LPDISPATCH newValue); 4598 LPDISPATCH GetTextColumns(); 4599 void SetTextColumns(LPDISPATCH newValue); 4600 long GetPaperSize(); 4601 void SetPaperSize(long nNewValue); 4602 BOOL GetTwoPagesOnOne(); 4603 void SetTwoPagesOnOne(BOOL bNewValue); 4604 float GetCharsLine(); 4605 void SetCharsLine(float newValue); 4606 float GetLinesPage(); 4607 void SetLinesPage(float newValue); 4608 BOOL GetShowGrid(); 4609 void SetShowGrid(BOOL bNewValue); 4610 void TogglePortrait(); 4611 void SetAsTemplateDefault(); 4612 long GetGutterStyle(); 4613 void SetGutterStyle(long nNewValue); 4614 long GetSectionDirection(); 4615 void SetSectionDirection(long nNewValue); 4616 long GetLayoutMode(); 4617 void SetLayoutMode(long nNewValue); 4618 long GetGutterPos(); 4619 void SetGutterPos(long nNewValue); 4620 BOOL GetBookFoldPrinting(); 4621 void SetBookFoldPrinting(BOOL bNewValue); 4622 BOOL GetBookFoldRevPrinting(); 4623 void SetBookFoldRevPrinting(BOOL bNewValue); 4624 long GetBookFoldPrintingSheets(); 4625 void SetBookFoldPrintingSheets(long nNewValue); 4626 }; 4627 ///////////////////////////////////////////////////////////////////////////// 4628 // LineNumbering wrapper class 4629 4630 class LineNumbering : public COleDispatchDriver 4631 { 4632 public: 4633 LineNumbering() {} // Calls COleDispatchDriver default constructor 4634 LineNumbering(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4635 LineNumbering(const LineNumbering& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4636 4637 // Attributes 4638 public: 4639 4640 // Operations 4641 public: 4642 LPDISPATCH GetApplication(); 4643 long GetCreator(); 4644 LPDISPATCH GetParent(); 4645 long GetRestartMode(); 4646 void SetRestartMode(long nNewValue); 4647 long GetStartingNumber(); 4648 void SetStartingNumber(long nNewValue); 4649 float GetDistanceFromText(); 4650 void SetDistanceFromText(float newValue); 4651 long GetCountBy(); 4652 void SetCountBy(long nNewValue); 4653 long GetActive(); 4654 void SetActive(long nNewValue); 4655 }; 4656 ///////////////////////////////////////////////////////////////////////////// 4657 // TextColumns wrapper class 4658 4659 class TextColumns : public COleDispatchDriver 4660 { 4661 public: 4662 TextColumns() {} // Calls COleDispatchDriver default constructor 4663 TextColumns(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4664 TextColumns(const TextColumns& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4665 4666 // Attributes 4667 public: 4668 4669 // Operations 4670 public: 4671 LPUNKNOWN Get_NewEnum(); 4672 long GetCount(); 4673 LPDISPATCH GetApplication(); 4674 long GetCreator(); 4675 LPDISPATCH GetParent(); 4676 long GetEvenlySpaced(); 4677 void SetEvenlySpaced(long nNewValue); 4678 long GetLineBetween(); 4679 void SetLineBetween(long nNewValue); 4680 float GetWidth(); 4681 void SetWidth(float newValue); 4682 float GetSpacing(); 4683 void SetSpacing(float newValue); 4684 LPDISPATCH Item(long Index); 4685 LPDISPATCH Add(VARIANT* Width, VARIANT* Spacing, VARIANT* EvenlySpaced); 4686 void SetCount(long NumColumns); 4687 long GetFlowDirection(); 4688 void SetFlowDirection(long nNewValue); 4689 }; 4690 ///////////////////////////////////////////////////////////////////////////// 4691 // TextColumn wrapper class 4692 4693 class TextColumn : public COleDispatchDriver 4694 { 4695 public: 4696 TextColumn() {} // Calls COleDispatchDriver default constructor 4697 TextColumn(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4698 TextColumn(const TextColumn& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4699 4700 // Attributes 4701 public: 4702 4703 // Operations 4704 public: 4705 LPDISPATCH GetApplication(); 4706 long GetCreator(); 4707 LPDISPATCH GetParent(); 4708 float GetWidth(); 4709 void SetWidth(float newValue); 4710 float GetSpaceAfter(); 4711 void SetSpaceAfter(float newValue); 4712 }; 4713 ///////////////////////////////////////////////////////////////////////////// 4714 // Selection wrapper class 4715 4716 class Selection : public COleDispatchDriver 4717 { 4718 public: 4719 Selection() {} // Calls COleDispatchDriver default constructor 4720 Selection(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4721 Selection(const Selection& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4722 4723 // Attributes 4724 public: 4725 4726 // Operations 4727 public: 4728 CString GetText(); 4729 void SetText(LPCTSTR lpszNewValue); 4730 LPDISPATCH GetFormattedText(); 4731 void SetFormattedText(LPDISPATCH newValue); 4732 long GetStart(); 4733 void SetStart(long nNewValue); 4734 long GetEnd(); 4735 void SetEnd(long nNewValue); 4736 LPDISPATCH GetFont(); 4737 void SetFont(LPDISPATCH newValue); 4738 long GetType(); 4739 long GetStoryType(); 4740 VARIANT GetStyle(); 4741 void SetStyle(VARIANT* newValue); 4742 LPDISPATCH GetTables(); 4743 LPDISPATCH GetWords(); 4744 LPDISPATCH GetSentences(); 4745 LPDISPATCH GetCharacters(); 4746 LPDISPATCH GetFootnotes(); 4747 LPDISPATCH GetEndnotes(); 4748 LPDISPATCH GetComments(); 4749 LPDISPATCH GetCells(); 4750 LPDISPATCH GetSections(); 4751 LPDISPATCH GetParagraphs(); 4752 LPDISPATCH GetBorders(); 4753 void SetBorders(LPDISPATCH newValue); 4754 LPDISPATCH GetShading(); 4755 LPDISPATCH GetFields(); 4756 LPDISPATCH GetFormFields(); 4757 LPDISPATCH GetFrames(); 4758 LPDISPATCH GetParagraphFormat(); 4759 void SetParagraphFormat(LPDISPATCH newValue); 4760 LPDISPATCH GetPageSetup(); 4761 void SetPageSetup(LPDISPATCH newValue); 4762 LPDISPATCH GetBookmarks(); 4763 long GetStoryLength(); 4764 long GetLanguageID(); 4765 void SetLanguageID(long nNewValue); 4766 long GetLanguageIDFarEast(); 4767 void SetLanguageIDFarEast(long nNewValue); 4768 long GetLanguageIDOther(); 4769 void SetLanguageIDOther(long nNewValue); 4770 LPDISPATCH GetHyperlinks(); 4771 LPDISPATCH GetColumns(); 4772 LPDISPATCH GetRows(); 4773 LPDISPATCH GetHeaderFooter(); 4774 BOOL GetIsEndOfRowMark(); 4775 long GetBookmarkID(); 4776 long GetPreviousBookmarkID(); 4777 LPDISPATCH GetFind(); 4778 LPDISPATCH GetRange(); 4779 VARIANT GetInformation(long Type); 4780 long GetFlags(); 4781 void SetFlags(long nNewValue); 4782 BOOL GetActive(); 4783 BOOL GetStartIsActive(); 4784 void SetStartIsActive(BOOL bNewValue); 4785 BOOL GetIPAtEndOfLine(); 4786 BOOL GetExtendMode(); 4787 void SetExtendMode(BOOL bNewValue); 4788 BOOL GetColumnSelectMode(); 4789 void SetColumnSelectMode(BOOL bNewValue); 4790 long GetOrientation(); 4791 void SetOrientation(long nNewValue); 4792 LPDISPATCH GetInlineShapes(); 4793 LPDISPATCH GetApplication(); 4794 long GetCreator(); 4795 LPDISPATCH GetParent(); 4796 LPDISPATCH GetDocument(); 4797 LPDISPATCH GetShapeRange(); 4798 void Select(); 4799 void SetRange(long Start, long End); 4800 void Collapse(VARIANT* Direction); 4801 void InsertBefore(LPCTSTR Text); 4802 void InsertAfter(LPCTSTR Text); 4803 LPDISPATCH Next(VARIANT* Unit, VARIANT* Count); 4804 LPDISPATCH Previous(VARIANT* Unit, VARIANT* Count); 4805 long StartOf(VARIANT* Unit, VARIANT* Extend); 4806 long EndOf(VARIANT* Unit, VARIANT* Extend); 4807 long Move(VARIANT* Unit, VARIANT* Count); 4808 long MoveStart(VARIANT* Unit, VARIANT* Count); 4809 long MoveEnd(VARIANT* Unit, VARIANT* Count); 4810 long MoveWhile(VARIANT* Cset, VARIANT* Count); 4811 long MoveStartWhile(VARIANT* Cset, VARIANT* Count); 4812 long MoveEndWhile(VARIANT* Cset, VARIANT* Count); 4813 long MoveUntil(VARIANT* Cset, VARIANT* Count); 4814 long MoveStartUntil(VARIANT* Cset, VARIANT* Count); 4815 long MoveEndUntil(VARIANT* Cset, VARIANT* Count); 4816 void Cut(); 4817 void Copy(); 4818 void Paste(); 4819 void InsertBreak(VARIANT* Type); 4820 void InsertFile(LPCTSTR FileName, VARIANT* Range, VARIANT* ConfirmConversions, VARIANT* Link, VARIANT* Attachment); 4821 BOOL InStory(LPDISPATCH Range); 4822 BOOL InRange(LPDISPATCH Range); 4823 long Delete(VARIANT* Unit, VARIANT* Count); 4824 long Expand(VARIANT* Unit); 4825 void InsertParagraph(); 4826 void InsertParagraphAfter(); 4827 void InsertSymbol(long CharacterNumber, VARIANT* Font, VARIANT* Unicode, VARIANT* Bias); 4828 void CopyAsPicture(); 4829 void SortAscending(); 4830 void SortDescending(); 4831 BOOL IsEqual(LPDISPATCH Range); 4832 float Calculate(); 4833 LPDISPATCH GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name); 4834 LPDISPATCH GoToNext(long What); 4835 LPDISPATCH GoToPrevious(long What); 4836 void PasteSpecial(VARIANT* IconIndex, VARIANT* Link, VARIANT* Placement, VARIANT* DisplayAsIcon, VARIANT* DataType, VARIANT* IconFileName, VARIANT* IconLabel); 4837 LPDISPATCH PreviousField(); 4838 LPDISPATCH NextField(); 4839 void InsertParagraphBefore(); 4840 void InsertCells(VARIANT* ShiftCells); 4841 void Extend(VARIANT* Character); 4842 void Shrink(); 4843 long MoveLeft(VARIANT* Unit, VARIANT* Count, VARIANT* Extend); 4844 long MoveRight(VARIANT* Unit, VARIANT* Count, VARIANT* Extend); 4845 long MoveUp(VARIANT* Unit, VARIANT* Count, VARIANT* Extend); 4846 long MoveDown(VARIANT* Unit, VARIANT* Count, VARIANT* Extend); 4847 long HomeKey(VARIANT* Unit, VARIANT* Extend); 4848 long EndKey(VARIANT* Unit, VARIANT* Extend); 4849 void EscapeKey(); 4850 void TypeText(LPCTSTR Text); 4851 void CopyFormat(); 4852 void PasteFormat(); 4853 void TypeParagraph(); 4854 void TypeBackspace(); 4855 void NextSubdocument(); 4856 void PreviousSubdocument(); 4857 void SelectColumn(); 4858 void SelectCurrentFont(); 4859 void SelectCurrentAlignment(); 4860 void SelectCurrentSpacing(); 4861 void SelectCurrentIndent(); 4862 void SelectCurrentTabs(); 4863 void SelectCurrentColor(); 4864 void CreateTextbox(); 4865 void WholeStory(); 4866 void SelectRow(); 4867 void SplitTable(); 4868 void InsertRows(VARIANT* NumRows); 4869 void InsertColumns(); 4870 void InsertFormula(VARIANT* Formula, VARIANT* NumberFormat); 4871 LPDISPATCH NextRevision(VARIANT* Wrap); 4872 LPDISPATCH PreviousRevision(VARIANT* Wrap); 4873 void PasteAsNestedTable(); 4874 LPDISPATCH CreateAutoTextEntry(LPCTSTR Name, LPCTSTR StyleName); 4875 void DetectLanguage(); 4876 void SelectCell(); 4877 void InsertRowsBelow(VARIANT* NumRows); 4878 void InsertColumnsRight(); 4879 void InsertRowsAbove(VARIANT* NumRows); 4880 void RtlRun(); 4881 void LtrRun(); 4882 void BoldRun(); 4883 void ItalicRun(); 4884 void RtlPara(); 4885 void LtrPara(); 4886 void InsertDateTime(VARIANT* DateTimeFormat, VARIANT* InsertAsField, VARIANT* InsertAsFullWidth, VARIANT* DateLanguage, VARIANT* CalendarType); 4887 LPDISPATCH ConvertToTable(VARIANT* Separator, VARIANT* NumRows, VARIANT* NumColumns, VARIANT* InitialColumnWidth, VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor, 4888 VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit, VARIANT* AutoFitBehavior, VARIANT* DefaultTableBehavior); 4889 long GetNoProofing(); 4890 void SetNoProofing(long nNewValue); 4891 LPDISPATCH GetTopLevelTables(); 4892 BOOL GetLanguageDetected(); 4893 void SetLanguageDetected(BOOL bNewValue); 4894 float GetFitTextWidth(); 4895 void SetFitTextWidth(float newValue); 4896 void ClearFormatting(); 4897 void PasteAppendTable(); 4898 LPDISPATCH GetHTMLDivisions(); 4899 LPDISPATCH GetSmartTags(); 4900 LPDISPATCH GetChildShapeRange(); 4901 BOOL GetHasChildShapeRange(); 4902 LPDISPATCH GetFootnoteOptions(); 4903 LPDISPATCH GetEndnoteOptions(); 4904 void ToggleCharacterCode(); 4905 void PasteAndFormat(long Type); 4906 void PasteExcelTable(BOOL LinkedToExcel, BOOL WordFormatting, BOOL RTF); 4907 void ShrinkDiscontiguousSelection(); 4908 void InsertStyleSeparator(); 4909 void Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3, 4910 VARIANT* SortColumn, VARIANT* Separator, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID, VARIANT* SubFieldNumber, 4911 VARIANT* SubFieldNumber2, VARIANT* SubFieldNumber3); 4912 LPDISPATCH GetXMLNodes(); 4913 LPDISPATCH GetXMLParentNode(); 4914 LPDISPATCH GetEditors(); 4915 CString GetXml(BOOL DataOnly); 4916 VARIANT GetEnhMetaFileBits(); 4917 LPDISPATCH GoToEditableRange(VARIANT* EditorID); 4918 void InsertXML(LPCTSTR XML, VARIANT* Transform); 4919 void InsertCaption(VARIANT* Label, VARIANT* Title, VARIANT* TitleAutoText, VARIANT* Position, VARIANT* ExcludeLabel); 4920 void InsertCrossReference(VARIANT* ReferenceType, long ReferenceKind, VARIANT* ReferenceItem, VARIANT* InsertAsHyperlink, VARIANT* IncludePosition, VARIANT* SeparateNumbers, VARIANT* SeparatorString); 4921 }; 4922 ///////////////////////////////////////////////////////////////////////////// 4923 // TablesOfAuthoritiesCategories wrapper class 4924 4925 class TablesOfAuthoritiesCategories : public COleDispatchDriver 4926 { 4927 public: 4928 TablesOfAuthoritiesCategories() {} // Calls COleDispatchDriver default constructor 4929 TablesOfAuthoritiesCategories(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4930 TablesOfAuthoritiesCategories(const TablesOfAuthoritiesCategories& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4931 4932 // Attributes 4933 public: 4934 4935 // Operations 4936 public: 4937 LPDISPATCH GetApplication(); 4938 long GetCreator(); 4939 LPDISPATCH GetParent(); 4940 LPUNKNOWN Get_NewEnum(); 4941 long GetCount(); 4942 LPDISPATCH Item(VARIANT* Index); 4943 }; 4944 ///////////////////////////////////////////////////////////////////////////// 4945 // TableOfAuthoritiesCategory wrapper class 4946 4947 class TableOfAuthoritiesCategory : public COleDispatchDriver 4948 { 4949 public: 4950 TableOfAuthoritiesCategory() {} // Calls COleDispatchDriver default constructor 4951 TableOfAuthoritiesCategory(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4952 TableOfAuthoritiesCategory(const TableOfAuthoritiesCategory& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4953 4954 // Attributes 4955 public: 4956 4957 // Operations 4958 public: 4959 LPDISPATCH GetApplication(); 4960 long GetCreator(); 4961 LPDISPATCH GetParent(); 4962 CString GetName(); 4963 void SetName(LPCTSTR lpszNewValue); 4964 long GetIndex(); 4965 }; 4966 ///////////////////////////////////////////////////////////////////////////// 4967 // CaptionLabels wrapper class 4968 4969 class CaptionLabels : public COleDispatchDriver 4970 { 4971 public: 4972 CaptionLabels() {} // Calls COleDispatchDriver default constructor 4973 CaptionLabels(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4974 CaptionLabels(const CaptionLabels& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4975 4976 // Attributes 4977 public: 4978 4979 // Operations 4980 public: 4981 LPDISPATCH GetApplication(); 4982 long GetCreator(); 4983 LPDISPATCH GetParent(); 4984 LPUNKNOWN Get_NewEnum(); 4985 long GetCount(); 4986 LPDISPATCH Item(VARIANT* Index); 4987 LPDISPATCH Add(LPCTSTR Name); 4988 }; 4989 ///////////////////////////////////////////////////////////////////////////// 4990 // CaptionLabel wrapper class 4991 4992 class CaptionLabel : public COleDispatchDriver 4993 { 4994 public: 4995 CaptionLabel() {} // Calls COleDispatchDriver default constructor 4996 CaptionLabel(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4997 CaptionLabel(const CaptionLabel& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4998 4999 // Attributes 5000 public: 5001 5002 // Operations 5003 public: 5004 LPDISPATCH GetApplication(); 5005 long GetCreator(); 5006 LPDISPATCH GetParent(); 5007 CString GetName(); 5008 BOOL GetBuiltIn(); 5009 long GetId(); 5010 BOOL GetIncludeChapterNumber(); 5011 void SetIncludeChapterNumber(BOOL bNewValue); 5012 long GetNumberStyle(); 5013 void SetNumberStyle(long nNewValue); 5014 long GetChapterStyleLevel(); 5015 void SetChapterStyleLevel(long nNewValue); 5016 long GetSeparator(); 5017 void SetSeparator(long nNewValue); 5018 long GetPosition(); 5019 void SetPosition(long nNewValue); 5020 void Delete(); 5021 }; 5022 ///////////////////////////////////////////////////////////////////////////// 5023 // AutoCaptions wrapper class 5024 5025 class AutoCaptions : public COleDispatchDriver 5026 { 5027 public: 5028 AutoCaptions() {} // Calls COleDispatchDriver default constructor 5029 AutoCaptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 5030 AutoCaptions(const AutoCaptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 5031 5032 // Attributes 5033 public: 5034 5035 // Operations 5036 public: 5037 LPDISPATCH GetApplication(); 5038 long GetCreator(); 5039 LPDISPATCH GetParent(); 5040 LPUNKNOWN Get_NewEnum(); 5041 long GetCount(); 5042 LPDISPATCH Item(VARIANT* Index); 5043 void CancelAutoInsert(); 5044 }; 5045 ///////////////////////////////////////////////////////////////////////////// 5046 // AutoCaption wrapper class 5047 5048 class AutoCaption : public COleDispatchDriver 5049 { 5050 public: 5051 AutoCaption() {} // Calls COleDispatchDriver default constructor 5052 AutoCaption(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 5053 AutoCaption(const AutoCaption& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 5054 5055 // Attributes 5056 public: 5057 5058 // Operations 5059 public: 5060 LPDISPATCH GetApplication(); 5061 long GetCreator(); 5062 LPDISPATCH GetParent(); 5063 CString GetName(); 5064 BOOL GetAutoInsert(); 5065 void SetAutoInsert(BOOL bNewValue); 5066 long GetIndex(); 5067 VARIANT GetCaptionLabel(); 5068 void SetCaptionLabel(VARIANT* newValue); 5069 }; 5070 ///////////////////////////////////////////////////////////////////////////// 5071 // Indexes wrapper class 5072 5073 class Indexes : public COleDispatchDriver 5074 { 5075 public: 5076 Indexes() {} // Calls COleDispatchDriver default constructor 5077 Indexes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 5078 Indexes(const Indexes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 5079 5080 // Attributes 5081 public: 5082 5083 // Operations 5084 public: 5085 LPDISPATCH GetApplication(); 5086 long GetCreator(); 5087 LPDISPATCH GetParent(); 5088 LPUNKNOWN Get_NewEnum(); 5089 long GetCount(); 5090 long GetFormat(); 5091 void SetFormat(long nNewValue); 5092 LPDISPATCH Item(long Index); 5093 LPDISPATCH MarkEntry(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* CrossReference, VARIANT* CrossReferenceAutoText, VARIANT* BookmarkName, VARIANT* Bold, VARIANT* Italic, VARIANT* Reading); 5094 void MarkAllEntries(LPDISPATCH Range, VARIANT* Entry, VARIANT* EntryAutoText, VARIANT* CrossReference, VARIANT* CrossReferenceAutoText, VARIANT* BookmarkName, VARIANT* Bold, VARIANT* Italic); 5095 void AutoMarkEntries(LPCTSTR ConcordanceFileName); 5096 LPDISPATCH Add(LPDISPATCH Range, VARIANT* HeadingSeparator, VARIANT* RightAlignPageNumbers, VARIANT* Type, VARIANT* NumberOfColumns, VARIANT* AccentedLetters, VARIANT* SortBy, VARIANT* IndexLanguage); 5097 }; 5098 ///////////////////////////////////////////////////////////////////////////// 5099 // Index wrapper class
2
1 class Index : public COleDispatchDriver 2 { 3 public: 4 Index() {} // Calls COleDispatchDriver default constructor 5 Index(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 6 Index(const Index& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 7 8 // Attributes 9 public: 10 11 // Operations 12 public: 13 LPDISPATCH GetApplication(); 14 long GetCreator(); 15 LPDISPATCH GetParent(); 16 long GetHeadingSeparator(); 17 void SetHeadingSeparator(long nNewValue); 18 BOOL GetRightAlignPageNumbers(); 19 void SetRightAlignPageNumbers(BOOL bNewValue); 20 long GetType(); 21 void SetType(long nNewValue); 22 long GetNumberOfColumns(); 23 void SetNumberOfColumns(long nNewValue); 24 LPDISPATCH GetRange(); 25 long GetTabLeader(); 26 void SetTabLeader(long nNewValue); 27 BOOL GetAccentedLetters(); 28 void SetAccentedLetters(BOOL bNewValue); 29 long GetSortBy(); 30 void SetSortBy(long nNewValue); 31 long GetFilter(); 32 void SetFilter(long nNewValue); 33 void Delete(); 34 void Update(); 35 long GetIndexLanguage(); 36 void SetIndexLanguage(long nNewValue); 37 }; 38 ///////////////////////////////////////////////////////////////////////////// 39 // AddIn wrapper class 40 41 class AddIn : public COleDispatchDriver 42 { 43 public: 44 AddIn() {} // Calls COleDispatchDriver default constructor 45 AddIn(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 46 AddIn(const AddIn& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 47 48 // Attributes 49 public: 50 51 // Operations 52 public: 53 LPDISPATCH GetApplication(); 54 long GetCreator(); 55 LPDISPATCH GetParent(); 56 CString GetName(); 57 long GetIndex(); 58 CString GetPath(); 59 BOOL GetInstalled(); 60 void SetInstalled(BOOL bNewValue); 61 BOOL GetCompiled(); 62 BOOL GetAutoload(); 63 void Delete(); 64 }; 65 ///////////////////////////////////////////////////////////////////////////// 66 // AddIns wrapper class 67 68 class AddIns : public COleDispatchDriver 69 { 70 public: 71 AddIns() {} // Calls COleDispatchDriver default constructor 72 AddIns(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 73 AddIns(const AddIns& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 74 75 // Attributes 76 public: 77 78 // Operations 79 public: 80 LPDISPATCH GetApplication(); 81 long GetCreator(); 82 LPDISPATCH GetParent(); 83 LPUNKNOWN Get_NewEnum(); 84 long GetCount(); 85 LPDISPATCH Item(VARIANT* Index); 86 LPDISPATCH Add(LPCTSTR FileName, VARIANT* Install); 87 void Unload(BOOL RemoveFromList); 88 }; 89 ///////////////////////////////////////////////////////////////////////////// 90 // Revisions wrapper class 91 92 class Revisions : public COleDispatchDriver 93 { 94 public: 95 Revisions() {} // Calls COleDispatchDriver default constructor 96 Revisions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 97 Revisions(const Revisions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 98 99 // Attributes 100 public: 101 102 // Operations 103 public: 104 LPDISPATCH GetApplication(); 105 long GetCreator(); 106 LPDISPATCH GetParent(); 107 LPUNKNOWN Get_NewEnum(); 108 long GetCount(); 109 LPDISPATCH Item(long Index); 110 void AcceptAll(); 111 void RejectAll(); 112 }; 113 ///////////////////////////////////////////////////////////////////////////// 114 // Revision wrapper class 115 116 class Revision : public COleDispatchDriver 117 { 118 public: 119 Revision() {} // Calls COleDispatchDriver default constructor 120 Revision(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 121 Revision(const Revision& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 122 123 // Attributes 124 public: 125 126 // Operations 127 public: 128 LPDISPATCH GetApplication(); 129 long GetCreator(); 130 LPDISPATCH GetParent(); 131 CString GetAuthor(); 132 DATE GetDate(); 133 LPDISPATCH GetRange(); 134 long GetType(); 135 long GetIndex(); 136 void Accept(); 137 void Reject(); 138 LPDISPATCH GetStyle(); 139 CString GetFormatDescription(); 140 }; 141 ///////////////////////////////////////////////////////////////////////////// 142 // Task wrapper class 143 144 class Task : public COleDispatchDriver 145 { 146 public: 147 Task() {} // Calls COleDispatchDriver default constructor 148 Task(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 149 Task(const Task& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 150 151 // Attributes 152 public: 153 154 // Operations 155 public: 156 LPDISPATCH GetApplication(); 157 long GetCreator(); 158 LPDISPATCH GetParent(); 159 CString GetName(); 160 long GetLeft(); 161 void SetLeft(long nNewValue); 162 long GetTop(); 163 void SetTop(long nNewValue); 164 long GetWidth(); 165 void SetWidth(long nNewValue); 166 long GetHeight(); 167 void SetHeight(long nNewValue); 168 long GetWindowState(); 169 void SetWindowState(long nNewValue); 170 BOOL GetVisible(); 171 void SetVisible(BOOL bNewValue); 172 void Activate(VARIANT* Wait); 173 void Close(); 174 void Move(long Left, long Top); 175 void Resize(long Width, long Height); 176 void SendWindowMessage(long Message, long wParam, long lParam); 177 }; 178 ///////////////////////////////////////////////////////////////////////////// 179 // Tasks wrapper class 180 181 class Tasks : public COleDispatchDriver 182 { 183 public: 184 Tasks() {} // Calls COleDispatchDriver default constructor 185 Tasks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 186 Tasks(const Tasks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 187 188 // Attributes 189 public: 190 191 // Operations 192 public: 193 LPDISPATCH GetApplication(); 194 long GetCreator(); 195 LPDISPATCH GetParent(); 196 LPUNKNOWN Get_NewEnum(); 197 long GetCount(); 198 LPDISPATCH Item(VARIANT* Index); 199 BOOL Exists(LPCTSTR Name); 200 void ExitWindows_(); 201 }; 202 ///////////////////////////////////////////////////////////////////////////// 203 // HeadersFooters wrapper class 204 205 class HeadersFooters : public COleDispatchDriver 206 { 207 public: 208 HeadersFooters() {} // Calls COleDispatchDriver default constructor 209 HeadersFooters(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 210 HeadersFooters(const HeadersFooters& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 211 212 // Attributes 213 public: 214 215 // Operations 216 public: 217 LPDISPATCH GetApplication(); 218 long GetCreator(); 219 LPDISPATCH GetParent(); 220 LPUNKNOWN Get_NewEnum(); 221 long GetCount(); 222 LPDISPATCH Item(long Index); 223 }; 224 ///////////////////////////////////////////////////////////////////////////// 225 // HeaderFooter wrapper class 226 227 class HeaderFooter : public COleDispatchDriver 228 { 229 public: 230 HeaderFooter() {} // Calls COleDispatchDriver default constructor 231 HeaderFooter(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 232 HeaderFooter(const HeaderFooter& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 233 234 // Attributes 235 public: 236 237 // Operations 238 public: 239 LPDISPATCH GetApplication(); 240 long GetCreator(); 241 LPDISPATCH GetParent(); 242 LPDISPATCH GetRange(); 243 long GetIndex(); 244 BOOL GetIsHeader(); 245 BOOL GetExists(); 246 void SetExists(BOOL bNewValue); 247 LPDISPATCH GetPageNumbers(); 248 BOOL GetLinkToPrevious(); 249 void SetLinkToPrevious(BOOL bNewValue); 250 LPDISPATCH GetShapes(); 251 }; 252 ///////////////////////////////////////////////////////////////////////////// 253 // PageNumbers wrapper class 254 255 class PageNumbers : public COleDispatchDriver 256 { 257 public: 258 PageNumbers() {} // Calls COleDispatchDriver default constructor 259 PageNumbers(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 260 PageNumbers(const PageNumbers& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 261 262 // Attributes 263 public: 264 265 // Operations 266 public: 267 LPDISPATCH GetApplication(); 268 long GetCreator(); 269 LPDISPATCH GetParent(); 270 LPUNKNOWN Get_NewEnum(); 271 long GetCount(); 272 long GetNumberStyle(); 273 void SetNumberStyle(long nNewValue); 274 BOOL GetIncludeChapterNumber(); 275 void SetIncludeChapterNumber(BOOL bNewValue); 276 long GetHeadingLevelForChapter(); 277 void SetHeadingLevelForChapter(long nNewValue); 278 long GetChapterPageSeparator(); 279 void SetChapterPageSeparator(long nNewValue); 280 BOOL GetRestartNumberingAtSection(); 281 void SetRestartNumberingAtSection(BOOL bNewValue); 282 long GetStartingNumber(); 283 void SetStartingNumber(long nNewValue); 284 BOOL GetShowFirstPageNumber(); 285 void SetShowFirstPageNumber(BOOL bNewValue); 286 LPDISPATCH Item(long Index); 287 LPDISPATCH Add(VARIANT* PageNumberAlignment, VARIANT* FirstPage); 288 BOOL GetDoubleQuote(); 289 void SetDoubleQuote(BOOL bNewValue); 290 }; 291 ///////////////////////////////////////////////////////////////////////////// 292 // PageNumber wrapper class 293 294 class PageNumber : public COleDispatchDriver 295 { 296 public: 297 PageNumber() {} // Calls COleDispatchDriver default constructor 298 PageNumber(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 299 PageNumber(const PageNumber& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 300 301 // Attributes 302 public: 303 304 // Operations 305 public: 306 LPDISPATCH GetApplication(); 307 long GetCreator(); 308 LPDISPATCH GetParent(); 309 long GetIndex(); 310 long GetAlignment(); 311 void SetAlignment(long nNewValue); 312 void Select(); 313 void Copy(); 314 void Cut(); 315 void Delete(); 316 }; 317 ///////////////////////////////////////////////////////////////////////////// 318 // Subdocuments wrapper class 319 320 class Subdocuments : public COleDispatchDriver 321 { 322 public: 323 Subdocuments() {} // Calls COleDispatchDriver default constructor 324 Subdocuments(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 325 Subdocuments(const Subdocuments& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 326 327 // Attributes 328 public: 329 330 // Operations 331 public: 332 LPDISPATCH GetApplication(); 333 long GetCreator(); 334 LPDISPATCH GetParent(); 335 long GetCount(); 336 LPUNKNOWN Get_NewEnum(); 337 BOOL GetExpanded(); 338 void SetExpanded(BOOL bNewValue); 339 LPDISPATCH Item(long Index); 340 LPDISPATCH AddFromFile(VARIANT* Name, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument, VARIANT* WritePasswordTemplate); 341 LPDISPATCH AddFromRange(LPDISPATCH Range); 342 void Merge(VARIANT* FirstSubdocument, VARIANT* LastSubdocument); 343 void Delete(); 344 void Select(); 345 }; 346 ///////////////////////////////////////////////////////////////////////////// 347 // Subdocument wrapper class 348 349 class Subdocument : public COleDispatchDriver 350 { 351 public: 352 Subdocument() {} // Calls COleDispatchDriver default constructor 353 Subdocument(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 354 Subdocument(const Subdocument& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 355 356 // Attributes 357 public: 358 359 // Operations 360 public: 361 LPDISPATCH GetApplication(); 362 long GetCreator(); 363 LPDISPATCH GetParent(); 364 BOOL GetLocked(); 365 void SetLocked(BOOL bNewValue); 366 LPDISPATCH GetRange(); 367 CString GetName(); 368 CString GetPath(); 369 BOOL GetHasFile(); 370 long GetLevel(); 371 void Delete(); 372 void Split(LPDISPATCH Range); 373 LPDISPATCH Open(); 374 }; 375 ///////////////////////////////////////////////////////////////////////////// 376 // HeadingStyles wrapper class 377 378 class HeadingStyles : public COleDispatchDriver 379 { 380 public: 381 HeadingStyles() {} // Calls COleDispatchDriver default constructor 382 HeadingStyles(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 383 HeadingStyles(const HeadingStyles& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 384 385 // Attributes 386 public: 387 388 // Operations 389 public: 390 LPDISPATCH GetApplication(); 391 long GetCreator(); 392 LPDISPATCH GetParent(); 393 LPUNKNOWN Get_NewEnum(); 394 long GetCount(); 395 LPDISPATCH Item(long Index); 396 LPDISPATCH Add(VARIANT* Style, short Level); 397 }; 398 ///////////////////////////////////////////////////////////////////////////// 399 // HeadingStyle wrapper class 400 401 class HeadingStyle : public COleDispatchDriver 402 { 403 public: 404 HeadingStyle() {} // Calls COleDispatchDriver default constructor 405 HeadingStyle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 406 HeadingStyle(const HeadingStyle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 407 408 // Attributes 409 public: 410 411 // Operations 412 public: 413 LPDISPATCH GetApplication(); 414 long GetCreator(); 415 LPDISPATCH GetParent(); 416 VARIANT GetStyle(); 417 void SetStyle(VARIANT* newValue); 418 short GetLevel(); 419 void SetLevel(short nNewValue); 420 void Delete(); 421 }; 422 ///////////////////////////////////////////////////////////////////////////// 423 // StoryRanges wrapper class 424 425 class StoryRanges : public COleDispatchDriver 426 { 427 public: 428 StoryRanges() {} // Calls COleDispatchDriver default constructor 429 StoryRanges(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 430 StoryRanges(const StoryRanges& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 431 432 // Attributes 433 public: 434 435 // Operations 436 public: 437 LPUNKNOWN Get_NewEnum(); 438 long GetCount(); 439 LPDISPATCH GetApplication(); 440 long GetCreator(); 441 LPDISPATCH GetParent(); 442 LPDISPATCH Item(long Index); 443 }; 444 ///////////////////////////////////////////////////////////////////////////// 445 // ListLevel wrapper class 446 447 class ListLevel : public COleDispatchDriver 448 { 449 public: 450 ListLevel() {} // Calls COleDispatchDriver default constructor 451 ListLevel(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 452 ListLevel(const ListLevel& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 453 454 // Attributes 455 public: 456 457 // Operations 458 public: 459 long GetIndex(); 460 CString GetNumberFormat(); 461 void SetNumberFormat(LPCTSTR lpszNewValue); 462 long GetTrailingCharacter(); 463 void SetTrailingCharacter(long nNewValue); 464 long GetNumberStyle(); 465 void SetNumberStyle(long nNewValue); 466 float GetNumberPosition(); 467 void SetNumberPosition(float newValue); 468 long GetAlignment(); 469 void SetAlignment(long nNewValue); 470 float GetTextPosition(); 471 void SetTextPosition(float newValue); 472 float GetTabPosition(); 473 void SetTabPosition(float newValue); 474 long GetStartAt(); 475 void SetStartAt(long nNewValue); 476 CString GetLinkedStyle(); 477 void SetLinkedStyle(LPCTSTR lpszNewValue); 478 LPDISPATCH GetFont(); 479 void SetFont(LPDISPATCH newValue); 480 LPDISPATCH GetApplication(); 481 long GetCreator(); 482 LPDISPATCH GetParent(); 483 long GetResetOnHigher(); 484 void SetResetOnHigher(long nNewValue); 485 LPDISPATCH GetPictureBullet(); 486 LPDISPATCH ApplyPictureBullet(LPCTSTR FileName); 487 }; 488 ///////////////////////////////////////////////////////////////////////////// 489 // ListLevels wrapper class 490 491 class ListLevels : public COleDispatchDriver 492 { 493 public: 494 ListLevels() {} // Calls COleDispatchDriver default constructor 495 ListLevels(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 496 ListLevels(const ListLevels& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 497 498 // Attributes 499 public: 500 501 // Operations 502 public: 503 LPUNKNOWN Get_NewEnum(); 504 long GetCount(); 505 LPDISPATCH GetApplication(); 506 long GetCreator(); 507 LPDISPATCH GetParent(); 508 LPDISPATCH Item(long Index); 509 }; 510 ///////////////////////////////////////////////////////////////////////////// 511 // ListTemplate wrapper class 512 513 class ListTemplate : public COleDispatchDriver 514 { 515 public: 516 ListTemplate() {} // Calls COleDispatchDriver default constructor 517 ListTemplate(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 518 ListTemplate(const ListTemplate& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 519 520 // Attributes 521 public: 522 523 // Operations 524 public: 525 LPDISPATCH GetApplication(); 526 long GetCreator(); 527 LPDISPATCH GetParent(); 528 BOOL GetOutlineNumbered(); 529 void SetOutlineNumbered(BOOL bNewValue); 530 CString GetName(); 531 void SetName(LPCTSTR lpszNewValue); 532 LPDISPATCH GetListLevels(); 533 LPDISPATCH Convert(VARIANT* Level); 534 }; 535 ///////////////////////////////////////////////////////////////////////////// 536 // ListTemplates wrapper class 537 538 class ListTemplates : public COleDispatchDriver 539 { 540 public: 541 ListTemplates() {} // Calls COleDispatchDriver default constructor 542 ListTemplates(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 543 ListTemplates(const ListTemplates& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 544 545 // Attributes 546 public: 547 548 // Operations 549 public: 550 LPUNKNOWN Get_NewEnum(); 551 long GetCount(); 552 LPDISPATCH GetApplication(); 553 long GetCreator(); 554 LPDISPATCH GetParent(); 555 LPDISPATCH Item(VARIANT* Index); 556 LPDISPATCH Add(VARIANT* OutlineNumbered, VARIANT* Name); 557 }; 558 ///////////////////////////////////////////////////////////////////////////// 559 // ListParagraphs wrapper class 560 561 class ListParagraphs : public COleDispatchDriver 562 { 563 public: 564 ListParagraphs() {} // Calls COleDispatchDriver default constructor 565 ListParagraphs(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 566 ListParagraphs(const ListParagraphs& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 567 568 // Attributes 569 public: 570 571 // Operations 572 public: 573 LPUNKNOWN Get_NewEnum(); 574 long GetCount(); 575 LPDISPATCH GetApplication(); 576 long GetCreator(); 577 LPDISPATCH GetParent(); 578 LPDISPATCH Item(long Index); 579 }; 580 ///////////////////////////////////////////////////////////////////////////// 581 // List wrapper class 582 583 class List : public COleDispatchDriver 584 { 585 public: 586 List() {} // Calls COleDispatchDriver default constructor 587 List(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 588 List(const List& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 589 590 // Attributes 591 public: 592 593 // Operations 594 public: 595 LPDISPATCH GetRange(); 596 LPDISPATCH GetListParagraphs(); 597 BOOL GetSingleListTemplate(); 598 LPDISPATCH GetApplication(); 599 long GetCreator(); 600 LPDISPATCH GetParent(); 601 void ConvertNumbersToText(VARIANT* NumberType); 602 void RemoveNumbers(VARIANT* NumberType); 603 long CountNumberedItems(VARIANT* NumberType, VARIANT* Level); 604 long CanContinuePreviousList(LPDISPATCH ListTemplate); 605 void ApplyListTemplate(LPDISPATCH ListTemplate, VARIANT* ContinuePreviousList, VARIANT* DefaultListBehavior); 606 CString GetStyleName(); 607 }; 608 ///////////////////////////////////////////////////////////////////////////// 609 // Lists wrapper class 610 611 class Lists : public COleDispatchDriver 612 { 613 public: 614 Lists() {} // Calls COleDispatchDriver default constructor 615 Lists(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 616 Lists(const Lists& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 617 618 // Attributes 619 public: 620 621 // Operations 622 public: 623 LPUNKNOWN Get_NewEnum(); 624 long GetCount(); 625 LPDISPATCH GetApplication(); 626 long GetCreator(); 627 LPDISPATCH GetParent(); 628 LPDISPATCH Item(long Index); 629 }; 630 ///////////////////////////////////////////////////////////////////////////// 631 // ListGallery wrapper class 632 633 class ListGallery : public COleDispatchDriver 634 { 635 public: 636 ListGallery() {} // Calls COleDispatchDriver default constructor 637 ListGallery(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 638 ListGallery(const ListGallery& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 639 640 // Attributes 641 public: 642 643 // Operations 644 public: 645 LPDISPATCH GetListTemplates(); 646 LPDISPATCH GetApplication(); 647 long GetCreator(); 648 LPDISPATCH GetParent(); 649 BOOL GetModified(long Index); 650 void Reset(long Index); 651 }; 652 ///////////////////////////////////////////////////////////////////////////// 653 // ListGalleries wrapper class 654 655 class ListGalleries : public COleDispatchDriver 656 { 657 public: 658 ListGalleries() {} // Calls COleDispatchDriver default constructor 659 ListGalleries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 660 ListGalleries(const ListGalleries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 661 662 // Attributes 663 public: 664 665 // Operations 666 public: 667 LPUNKNOWN Get_NewEnum(); 668 long GetCount(); 669 LPDISPATCH GetApplication(); 670 long GetCreator(); 671 LPDISPATCH GetParent(); 672 LPDISPATCH Item(long Index); 673 }; 674 ///////////////////////////////////////////////////////////////////////////// 675 // KeyBindings wrapper class 676 677 class KeyBindings : public COleDispatchDriver 678 { 679 public: 680 KeyBindings() {} // Calls COleDispatchDriver default constructor 681 KeyBindings(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 682 KeyBindings(const KeyBindings& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 683 684 // Attributes 685 public: 686 687 // Operations 688 public: 689 LPDISPATCH GetApplication(); 690 long GetCreator(); 691 LPDISPATCH GetParent(); 692 LPUNKNOWN Get_NewEnum(); 693 long GetCount(); 694 LPDISPATCH GetContext(); 695 LPDISPATCH Item(long Index); 696 LPDISPATCH Add(long KeyCategory, LPCTSTR Command, long KeyCode, VARIANT* KeyCode2, VARIANT* CommandParameter); 697 void ClearAll(); 698 LPDISPATCH Key(long KeyCode, VARIANT* KeyCode2); 699 }; 700 ///////////////////////////////////////////////////////////////////////////// 701 // KeysBoundTo wrapper class 702 703 class KeysBoundTo : public COleDispatchDriver 704 { 705 public: 706 KeysBoundTo() {} // Calls COleDispatchDriver default constructor 707 KeysBoundTo(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 708 KeysBoundTo(const KeysBoundTo& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 709 710 // Attributes 711 public: 712 713 // Operations 714 public: 715 LPDISPATCH GetApplication(); 716 long GetCreator(); 717 LPDISPATCH GetParent(); 718 LPUNKNOWN Get_NewEnum(); 719 long GetCount(); 720 long GetKeyCategory(); 721 CString GetCommand(); 722 CString GetCommandParameter(); 723 LPDISPATCH GetContext(); 724 LPDISPATCH Item(long Index); 725 LPDISPATCH Key(long KeyCode, VARIANT* KeyCode2); 726 }; 727 ///////////////////////////////////////////////////////////////////////////// 728 // KeyBinding wrapper class 729 730 class KeyBinding : public COleDispatchDriver 731 { 732 public: 733 KeyBinding() {} // Calls COleDispatchDriver default constructor 734 KeyBinding(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 735 KeyBinding(const KeyBinding& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 736 737 // Attributes 738 public: 739 740 // Operations 741 public: 742 LPDISPATCH GetApplication(); 743 long GetCreator(); 744 LPDISPATCH GetParent(); 745 CString GetCommand(); 746 CString GetKeyString(); 747 BOOL GetProtected(); 748 long GetKeyCategory(); 749 long GetKeyCode(); 750 long GetKeyCode2(); 751 CString GetCommandParameter(); 752 LPDISPATCH GetContext(); 753 void Clear(); 754 void Disable(); 755 void Execute(); 756 void Rebind(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter); 757 }; 758 ///////////////////////////////////////////////////////////////////////////// 759 // FileConverter wrapper class 760 761 class FileConverter : public COleDispatchDriver 762 { 763 public: 764 FileConverter() {} // Calls COleDispatchDriver default constructor 765 FileConverter(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 766 FileConverter(const FileConverter& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 767 768 // Attributes 769 public: 770 771 // Operations 772 public: 773 LPDISPATCH GetApplication(); 774 long GetCreator(); 775 LPDISPATCH GetParent(); 776 CString GetFormatName(); 777 CString GetClassName(); 778 long GetSaveFormat(); 779 long GetOpenFormat(); 780 BOOL GetCanSave(); 781 BOOL GetCanOpen(); 782 CString GetPath(); 783 CString GetName(); 784 CString GetExtensions(); 785 }; 786 ///////////////////////////////////////////////////////////////////////////// 787 // FileConverters wrapper class 788 789 class FileConverters : public COleDispatchDriver 790 { 791 public: 792 FileConverters() {} // Calls COleDispatchDriver default constructor 793 FileConverters(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 794 FileConverters(const FileConverters& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 795 796 // Attributes 797 public: 798 799 // Operations 800 public: 801 LPDISPATCH GetApplication(); 802 long GetCreator(); 803 LPDISPATCH GetParent(); 804 long GetCount(); 805 LPUNKNOWN Get_NewEnum(); 806 long GetConvertMacWordChevrons(); 807 void SetConvertMacWordChevrons(long nNewValue); 808 LPDISPATCH Item(VARIANT* Index); 809 }; 810 ///////////////////////////////////////////////////////////////////////////// 811 // SynonymInfo wrapper class 812 813 class SynonymInfo : public COleDispatchDriver 814 { 815 public: 816 SynonymInfo() {} // Calls COleDispatchDriver default constructor 817 SynonymInfo(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 818 SynonymInfo(const SynonymInfo& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 819 820 // Attributes 821 public: 822 823 // Operations 824 public: 825 LPDISPATCH GetApplication(); 826 long GetCreator(); 827 LPDISPATCH GetParent(); 828 CString GetWord(); 829 BOOL GetFound(); 830 long GetMeaningCount(); 831 VARIANT GetMeaningList(); 832 VARIANT GetPartOfSpeechList(); 833 VARIANT GetSynonymList(VARIANT* Meaning); 834 VARIANT GetAntonymList(); 835 VARIANT GetRelatedExpressionList(); 836 VARIANT GetRelatedWordList(); 837 }; 838 ///////////////////////////////////////////////////////////////////////////// 839 // Hyperlinks wrapper class 840 841 class Hyperlinks : public COleDispatchDriver 842 { 843 public: 844 Hyperlinks() {} // Calls COleDispatchDriver default constructor 845 Hyperlinks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 846 Hyperlinks(const Hyperlinks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 847 848 // Attributes 849 public: 850 851 // Operations 852 public: 853 LPDISPATCH GetApplication(); 854 long GetCreator(); 855 LPDISPATCH GetParent(); 856 long GetCount(); 857 LPUNKNOWN Get_NewEnum(); 858 LPDISPATCH Item(VARIANT* Index); 859 LPDISPATCH Add(LPDISPATCH Anchor, VARIANT* Address, VARIANT* SubAddress, VARIANT* ScreenTip, VARIANT* TextToDisplay, VARIANT* Target); 860 }; 861 ///////////////////////////////////////////////////////////////////////////// 862 // Hyperlink wrapper class 863 864 class Hyperlink : public COleDispatchDriver 865 { 866 public: 867 Hyperlink() {} // Calls COleDispatchDriver default constructor 868 Hyperlink(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 869 Hyperlink(const Hyperlink& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 870 871 // Attributes 872 public: 873 874 // Operations 875 public: 876 LPDISPATCH GetApplication(); 877 long GetCreator(); 878 LPDISPATCH GetParent(); 879 CString GetName(); 880 long GetType(); 881 LPDISPATCH GetRange(); 882 LPDISPATCH GetShape(); 883 BOOL GetExtraInfoRequired(); 884 void Delete(); 885 void Follow(VARIANT* NewWindow, VARIANT* AddHistory, VARIANT* ExtraInfo, VARIANT* Method, VARIANT* HeaderInfo); 886 void AddToFavorites(); 887 void CreateNewDocument(LPCTSTR FileName, BOOL EditNow, BOOL Overwrite); 888 CString GetAddress(); 889 void SetAddress(LPCTSTR lpszNewValue); 890 CString GetSubAddress(); 891 void SetSubAddress(LPCTSTR lpszNewValue); 892 CString GetEmailSubject(); 893 void SetEmailSubject(LPCTSTR lpszNewValue); 894 CString GetScreenTip(); 895 void SetScreenTip(LPCTSTR lpszNewValue); 896 CString GetTextToDisplay(); 897 void SetTextToDisplay(LPCTSTR lpszNewValue); 898 CString GetTarget(); 899 void SetTarget(LPCTSTR lpszNewValue); 900 }; 901 ///////////////////////////////////////////////////////////////////////////// 902 // Shapes wrapper class 903 904 class Shapes : public COleDispatchDriver 905 { 906 public: 907 Shapes() {} // Calls COleDispatchDriver default constructor 908 Shapes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 909 Shapes(const Shapes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 910 911 // Attributes 912 public: 913 914 // Operations 915 public: 916 LPDISPATCH GetApplication(); 917 long GetCreator(); 918 LPDISPATCH GetParent(); 919 long GetCount(); 920 LPUNKNOWN Get_NewEnum(); 921 LPDISPATCH Item(VARIANT* Index); 922 LPDISPATCH AddCallout(long Type, float Left, float Top, float Width, float Height, VARIANT* Anchor); 923 LPDISPATCH AddCurve(VARIANT* SafeArrayOfPoints, VARIANT* Anchor); 924 LPDISPATCH AddLabel(long Orientation, float Left, float Top, float Width, float Height, VARIANT* Anchor); 925 LPDISPATCH AddLine(float BeginX, float BeginY, float EndX, float EndY, VARIANT* Anchor); 926 LPDISPATCH AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height, VARIANT* Anchor); 927 LPDISPATCH AddPolyline(VARIANT* SafeArrayOfPoints, VARIANT* Anchor); 928 LPDISPATCH AddShape(long Type, float Left, float Top, float Width, float Height, VARIANT* Anchor); 929 LPDISPATCH AddTextEffect(long PresetTextEffect, LPCTSTR Text, LPCTSTR FontName, float FontSize, long FontBold, long FontItalic, float Left, float Top, VARIANT* Anchor); 930 LPDISPATCH AddTextbox(long Orientation, float Left, float Top, float Width, float Height, VARIANT* Anchor); 931 LPDISPATCH BuildFreeform(long EditingType, float X1, float Y1); 932 LPDISPATCH Range(VARIANT* Index); 933 void SelectAll(); 934 LPDISPATCH AddOLEObject(VARIANT* ClassType, VARIANT* FileName, VARIANT* LinkToFile, VARIANT* DisplayAsIcon, VARIANT* IconFileName, VARIANT* IconIndex, VARIANT* IconLabel, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height, 935 VARIANT* Anchor); 936 LPDISPATCH AddOLEControl(VARIANT* ClassType, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height, VARIANT* Anchor); 937 LPDISPATCH AddDiagram(long Type, float Left, float Top, float Width, float Height, VARIANT* Anchor); 938 LPDISPATCH AddCanvas(float Left, float Top, float Width, float Height, VARIANT* Anchor); 939 }; 940 ///////////////////////////////////////////////////////////////////////////// 941 // ShapeRange wrapper class 942 943 class ShapeRange : public COleDispatchDriver 944 { 945 public: 946 ShapeRange() {} // Calls COleDispatchDriver default constructor 947 ShapeRange(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 948 ShapeRange(const ShapeRange& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 949 950 // Attributes 951 public: 952 953 // Operations 954 public: 955 LPDISPATCH GetApplication(); 956 long GetCreator(); 957 LPDISPATCH GetParent(); 958 long GetCount(); 959 LPUNKNOWN Get_NewEnum(); 960 LPDISPATCH GetAdjustments(); 961 long GetAutoShapeType(); 962 void SetAutoShapeType(long nNewValue); 963 LPDISPATCH GetCallout(); 964 LPDISPATCH GetFill(); 965 LPDISPATCH GetGroupItems(); 966 float GetHeight(); 967 void SetHeight(float newValue); 968 long GetHorizontalFlip(); 969 float GetLeft(); 970 void SetLeft(float newValue); 971 LPDISPATCH GetLine(); 972 long GetLockAspectRatio(); 973 void SetLockAspectRatio(long nNewValue); 974 CString GetName(); 975 void SetName(LPCTSTR lpszNewValue); 976 LPDISPATCH GetNodes(); 977 float GetRotation(); 978 void SetRotation(float newValue); 979 LPDISPATCH GetPictureFormat(); 980 LPDISPATCH GetShadow(); 981 LPDISPATCH GetTextEffect(); 982 LPDISPATCH GetTextFrame(); 983 LPDISPATCH GetThreeD(); 984 float GetTop(); 985 void SetTop(float newValue); 986 long GetType(); 987 long GetVerticalFlip(); 988 VARIANT GetVertices(); 989 long GetVisible(); 990 void SetVisible(long nNewValue); 991 float GetWidth(); 992 void SetWidth(float newValue); 993 long GetZOrderPosition(); 994 LPDISPATCH GetHyperlink(); 995 long GetRelativeHorizontalPosition(); 996 void SetRelativeHorizontalPosition(long nNewValue); 997 long GetRelativeVerticalPosition(); 998 void SetRelativeVerticalPosition(long nNewValue); 999 long GetLockAnchor(); 1000 void SetLockAnchor(long nNewValue); 1001 LPDISPATCH GetWrapFormat(); 1002 LPDISPATCH GetAnchor(); 1003 LPDISPATCH Item(VARIANT* Index); 1004 void Align(long Align, long RelativeTo); 1005 void Apply(); 1006 void Delete(); 1007 void Distribute(long Distribute, long RelativeTo); 1008 LPDISPATCH Duplicate(); 1009 void Flip(long FlipCmd); 1010 void IncrementLeft(float Increment); 1011 void IncrementRotation(float Increment); 1012 void IncrementTop(float Increment); 1013 LPDISPATCH Group(); 1014 void PickUp(); 1015 LPDISPATCH Regroup(); 1016 void ScaleHeight(float Factor, long RelativeToOriginalSize, long Scale); 1017 void ScaleWidth(float Factor, long RelativeToOriginalSize, long Scale); 1018 void Select(VARIANT* Replace); 1019 void SetShapesDefaultProperties(); 1020 LPDISPATCH Ungroup(); 1021 void ZOrder(long ZOrderCmd); 1022 LPDISPATCH ConvertToFrame(); 1023 LPDISPATCH ConvertToInlineShape(); 1024 void Activate(); 1025 CString GetAlternativeText(); 1026 void SetAlternativeText(LPCTSTR lpszNewValue); 1027 long GetHasDiagram(); 1028 LPDISPATCH GetDiagram(); 1029 long GetHasDiagramNode(); 1030 LPDISPATCH GetDiagramNode(); 1031 long GetChild(); 1032 LPDISPATCH GetParentGroup(); 1033 LPDISPATCH GetCanvasItems(); 1034 long GetId(); 1035 void CanvasCropLeft(float Increment); 1036 void CanvasCropTop(float Increment); 1037 void CanvasCropRight(float Increment); 1038 void CanvasCropBottom(float Increment); 1039 long GetLayoutInCell(); 1040 void SetLayoutInCell(long nNewValue); 1041 }; 1042 ///////////////////////////////////////////////////////////////////////////// 1043 // GroupShapes wrapper class 1044 1045 class GroupShapes : public COleDispatchDriver 1046 { 1047 public: 1048 GroupShapes() {} // Calls COleDispatchDriver default constructor 1049 GroupShapes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1050 GroupShapes(const GroupShapes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1051 1052 // Attributes 1053 public: 1054 1055 // Operations 1056 public: 1057 LPDISPATCH GetApplication(); 1058 long GetCreator(); 1059 LPDISPATCH GetParent(); 1060 long GetCount(); 1061 LPUNKNOWN Get_NewEnum(); 1062 LPDISPATCH Item(VARIANT* Index); 1063 LPDISPATCH Range(VARIANT* Index); 1064 }; 1065 ///////////////////////////////////////////////////////////////////////////// 1066 // Shape wrapper class 1067 1068 class Shape : public COleDispatchDriver 1069 { 1070 public: 1071 Shape() {} // Calls COleDispatchDriver default constructor 1072 Shape(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1073 Shape(const Shape& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1074 1075 // Attributes 1076 public: 1077 1078 // Operations 1079 public: 1080 LPDISPATCH GetApplication(); 1081 long GetCreator(); 1082 LPDISPATCH GetParent(); 1083 LPDISPATCH GetAdjustments(); 1084 long GetAutoShapeType(); 1085 void SetAutoShapeType(long nNewValue); 1086 LPDISPATCH GetCallout(); 1087 LPDISPATCH GetFill(); 1088 LPDISPATCH GetGroupItems(); 1089 float GetHeight(); 1090 void SetHeight(float newValue); 1091 long GetHorizontalFlip(); 1092 float GetLeft(); 1093 void SetLeft(float newValue); 1094 LPDISPATCH GetLine(); 1095 long GetLockAspectRatio(); 1096 void SetLockAspectRatio(long nNewValue); 1097 CString GetName(); 1098 void SetName(LPCTSTR lpszNewValue); 1099 LPDISPATCH GetNodes(); 1100 float GetRotation(); 1101 void SetRotation(float newValue); 1102 LPDISPATCH GetPictureFormat(); 1103 LPDISPATCH GetShadow(); 1104 LPDISPATCH GetTextEffect(); 1105 LPDISPATCH GetTextFrame(); 1106 LPDISPATCH GetThreeD(); 1107 float GetTop(); 1108 void SetTop(float newValue); 1109 long GetType(); 1110 long GetVerticalFlip(); 1111 VARIANT GetVertices(); 1112 long GetVisible(); 1113 void SetVisible(long nNewValue); 1114 float GetWidth(); 1115 void SetWidth(float newValue); 1116 long GetZOrderPosition(); 1117 LPDISPATCH GetHyperlink(); 1118 long GetRelativeHorizontalPosition(); 1119 void SetRelativeHorizontalPosition(long nNewValue); 1120 long GetRelativeVerticalPosition(); 1121 void SetRelativeVerticalPosition(long nNewValue); 1122 long GetLockAnchor(); 1123 void SetLockAnchor(long nNewValue); 1124 LPDISPATCH GetWrapFormat(); 1125 LPDISPATCH GetOLEFormat(); 1126 LPDISPATCH GetAnchor(); 1127 LPDISPATCH GetLinkFormat(); 1128 void Apply(); 1129 void Delete(); 1130 LPDISPATCH Duplicate(); 1131 void Flip(long FlipCmd); 1132 void IncrementLeft(float Increment); 1133 void IncrementRotation(float Increment); 1134 void IncrementTop(float Increment); 1135 void PickUp(); 1136 void ScaleHeight(float Factor, long RelativeToOriginalSize, long Scale); 1137 void ScaleWidth(float Factor, long RelativeToOriginalSize, long Scale); 1138 void Select(VARIANT* Replace); 1139 void SetShapesDefaultProperties(); 1140 LPDISPATCH Ungroup(); 1141 void ZOrder(long ZOrderCmd); 1142 LPDISPATCH ConvertToInlineShape(); 1143 LPDISPATCH ConvertToFrame(); 1144 void Activate(); 1145 CString GetAlternativeText(); 1146 void SetAlternativeText(LPCTSTR lpszNewValue); 1147 LPDISPATCH GetScript(); 1148 long GetHasDiagram(); 1149 LPDISPATCH GetDiagram(); 1150 long GetHasDiagramNode(); 1151 LPDISPATCH GetDiagramNode(); 1152 long GetChild(); 1153 LPDISPATCH GetParentGroup(); 1154 LPDISPATCH GetCanvasItems(); 1155 long GetId(); 1156 void CanvasCropLeft(float Increment); 1157 void CanvasCropTop(float Increment); 1158 void CanvasCropRight(float Increment); 1159 void CanvasCropBottom(float Increment); 1160 long GetLayoutInCell(); 1161 void SetLayoutInCell(long nNewValue); 1162 }; 1163 ///////////////////////////////////////////////////////////////////////////// 1164 // TextFrame wrapper class 1165 1166 class TextFrame : public COleDispatchDriver 1167 { 1168 public: 1169 TextFrame() {} // Calls COleDispatchDriver default constructor 1170 TextFrame(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1171 TextFrame(const TextFrame& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1172 1173 // Attributes 1174 public: 1175 1176 // Operations 1177 public: 1178 LPDISPATCH GetApplication(); 1179 long GetCreator(); 1180 LPDISPATCH GetParent(); 1181 float GetMarginBottom(); 1182 void SetMarginBottom(float newValue); 1183 float GetMarginLeft(); 1184 void SetMarginLeft(float newValue); 1185 float GetMarginRight(); 1186 void SetMarginRight(float newValue); 1187 float GetMarginTop(); 1188 void SetMarginTop(float newValue); 1189 long GetOrientation(); 1190 void SetOrientation(long nNewValue); 1191 LPDISPATCH GetTextRange(); 1192 LPDISPATCH GetContainingRange(); 1193 LPDISPATCH GetNext(); 1194 void SetNext(LPDISPATCH newValue); 1195 LPDISPATCH GetPrevious(); 1196 void SetPrevious(LPDISPATCH newValue); 1197 BOOL GetOverflowing(); 1198 long GetHasText(); 1199 void BreakForwardLink(); 1200 BOOL ValidLinkTarget(LPDISPATCH TargetTextFrame); 1201 long GetAutoSize(); 1202 void SetAutoSize(long nNewValue); 1203 long GetWordWrap(); 1204 void SetWordWrap(long nNewValue); 1205 }; 1206 ///////////////////////////////////////////////////////////////////////////// 1207 // _LetterContent wrapper class 1208 1209 class _LetterContent : public COleDispatchDriver 1210 { 1211 public: 1212 _LetterContent() {} // Calls COleDispatchDriver default constructor 1213 _LetterContent(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1214 _LetterContent(const _LetterContent& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1215 1216 // Attributes 1217 public: 1218 1219 // Operations 1220 public: 1221 LPDISPATCH GetApplication(); 1222 long GetCreator(); 1223 LPDISPATCH GetParent(); 1224 LPDISPATCH GetDuplicate(); 1225 CString GetDateFormat(); 1226 void SetDateFormat(LPCTSTR lpszNewValue); 1227 BOOL GetIncludeHeaderFooter(); 1228 void SetIncludeHeaderFooter(BOOL bNewValue); 1229 CString GetPageDesign(); 1230 void SetPageDesign(LPCTSTR lpszNewValue); 1231 long GetLetterStyle(); 1232 void SetLetterStyle(long nNewValue); 1233 BOOL GetLetterhead(); 1234 void SetLetterhead(BOOL bNewValue); 1235 long GetLetterheadLocation(); 1236 void SetLetterheadLocation(long nNewValue); 1237 float GetLetterheadSize(); 1238 void SetLetterheadSize(float newValue); 1239 CString GetRecipientName(); 1240 void SetRecipientName(LPCTSTR lpszNewValue); 1241 CString GetRecipientAddress(); 1242 void SetRecipientAddress(LPCTSTR lpszNewValue); 1243 CString GetSalutation(); 1244 void SetSalutation(LPCTSTR lpszNewValue); 1245 long GetSalutationType(); 1246 void SetSalutationType(long nNewValue); 1247 CString GetRecipientReference(); 1248 void SetRecipientReference(LPCTSTR lpszNewValue); 1249 CString GetMailingInstructions(); 1250 void SetMailingInstructions(LPCTSTR lpszNewValue); 1251 CString GetAttentionLine(); 1252 void SetAttentionLine(LPCTSTR lpszNewValue); 1253 CString GetSubject(); 1254 void SetSubject(LPCTSTR lpszNewValue); 1255 long GetEnclosureNumber(); 1256 void SetEnclosureNumber(long nNewValue); 1257 CString GetCCList(); 1258 void SetCCList(LPCTSTR lpszNewValue); 1259 CString GetReturnAddress(); 1260 void SetReturnAddress(LPCTSTR lpszNewValue); 1261 CString GetSenderName(); 1262 void SetSenderName(LPCTSTR lpszNewValue); 1263 CString GetClosing(); 1264 void SetClosing(LPCTSTR lpszNewValue); 1265 CString GetSenderCompany(); 1266 void SetSenderCompany(LPCTSTR lpszNewValue); 1267 CString GetSenderJobTitle(); 1268 void SetSenderJobTitle(LPCTSTR lpszNewValue); 1269 CString GetSenderInitials(); 1270 void SetSenderInitials(LPCTSTR lpszNewValue); 1271 BOOL GetInfoBlock(); 1272 void SetInfoBlock(BOOL bNewValue); 1273 CString GetRecipientCode(); 1274 void SetRecipientCode(LPCTSTR lpszNewValue); 1275 long GetRecipientGender(); 1276 void SetRecipientGender(long nNewValue); 1277 CString GetReturnAddressShortForm(); 1278 void SetReturnAddressShortForm(LPCTSTR lpszNewValue); 1279 CString GetSenderCity(); 1280 void SetSenderCity(LPCTSTR lpszNewValue); 1281 CString GetSenderCode(); 1282 void SetSenderCode(LPCTSTR lpszNewValue); 1283 long GetSenderGender(); 1284 void SetSenderGender(long nNewValue); 1285 CString GetSenderReference(); 1286 void SetSenderReference(LPCTSTR lpszNewValue); 1287 }; 1288 ///////////////////////////////////////////////////////////////////////////// 1289 // View wrapper class 1290 1291 class View : public COleDispatchDriver 1292 { 1293 public: 1294 View() {} // Calls COleDispatchDriver default constructor 1295 View(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1296 View(const View& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1297 1298 // Attributes 1299 public: 1300 1301 // Operations 1302 public: 1303 LPDISPATCH GetApplication(); 1304 long GetCreator(); 1305 LPDISPATCH GetParent(); 1306 long GetType(); 1307 void SetType(long nNewValue); 1308 BOOL GetFullScreen(); 1309 void SetFullScreen(BOOL bNewValue); 1310 BOOL GetDraft(); 1311 void SetDraft(BOOL bNewValue); 1312 BOOL GetShowAll(); 1313 void SetShowAll(BOOL bNewValue); 1314 BOOL GetShowFieldCodes(); 1315 void SetShowFieldCodes(BOOL bNewValue); 1316 BOOL GetMailMergeDataView(); 1317 void SetMailMergeDataView(BOOL bNewValue); 1318 BOOL GetMagnifier(); 1319 void SetMagnifier(BOOL bNewValue); 1320 BOOL GetShowFirstLineOnly(); 1321 void SetShowFirstLineOnly(BOOL bNewValue); 1322 BOOL GetShowFormat(); 1323 void SetShowFormat(BOOL bNewValue); 1324 LPDISPATCH GetZoom(); 1325 BOOL GetShowObjectAnchors(); 1326 void SetShowObjectAnchors(BOOL bNewValue); 1327 BOOL GetShowTextBoundaries(); 1328 void SetShowTextBoundaries(BOOL bNewValue); 1329 BOOL GetShowHighlight(); 1330 void SetShowHighlight(BOOL bNewValue); 1331 BOOL GetShowDrawings(); 1332 void SetShowDrawings(BOOL bNewValue); 1333 BOOL GetShowTabs(); 1334 void SetShowTabs(BOOL bNewValue); 1335 BOOL GetShowSpaces(); 1336 void SetShowSpaces(BOOL bNewValue); 1337 BOOL GetShowParagraphs(); 1338 void SetShowParagraphs(BOOL bNewValue); 1339 BOOL GetShowHyphens(); 1340 void SetShowHyphens(BOOL bNewValue); 1341 BOOL GetShowHiddenText(); 1342 void SetShowHiddenText(BOOL bNewValue); 1343 BOOL GetWrapToWindow(); 1344 void SetWrapToWindow(BOOL bNewValue); 1345 BOOL GetShowPicturePlaceHolders(); 1346 void SetShowPicturePlaceHolders(BOOL bNewValue); 1347 BOOL GetShowBookmarks(); 1348 void SetShowBookmarks(BOOL bNewValue); 1349 long GetFieldShading(); 1350 void SetFieldShading(long nNewValue); 1351 BOOL GetShowAnimation(); 1352 void SetShowAnimation(BOOL bNewValue); 1353 BOOL GetTableGridlines(); 1354 void SetTableGridlines(BOOL bNewValue); 1355 BOOL GetShowMainTextLayer(); 1356 void SetShowMainTextLayer(BOOL bNewValue); 1357 long GetSeekView(); 1358 void SetSeekView(long nNewValue); 1359 long GetSplitSpecial(); 1360 void SetSplitSpecial(long nNewValue); 1361 BOOL GetShowOptionalBreaks(); 1362 void SetShowOptionalBreaks(BOOL bNewValue); 1363 void CollapseOutline(VARIANT* Range); 1364 void ExpandOutline(VARIANT* Range); 1365 void ShowAllHeadings(); 1366 void ShowHeading(long Level); 1367 void PreviousHeaderFooter(); 1368 void NextHeaderFooter(); 1369 BOOL GetDisplayPageBoundaries(); 1370 void SetDisplayPageBoundaries(BOOL bNewValue); 1371 BOOL GetDisplaySmartTags(); 1372 void SetDisplaySmartTags(BOOL bNewValue); 1373 BOOL GetShowRevisionsAndComments(); 1374 void SetShowRevisionsAndComments(BOOL bNewValue); 1375 BOOL GetShowComments(); 1376 void SetShowComments(BOOL bNewValue); 1377 BOOL GetShowInsertionsAndDeletions(); 1378 void SetShowInsertionsAndDeletions(BOOL bNewValue); 1379 BOOL GetShowFormatChanges(); 1380 void SetShowFormatChanges(BOOL bNewValue); 1381 long GetRevisionsView(); 1382 void SetRevisionsView(long nNewValue); 1383 long GetRevisionsMode(); 1384 void SetRevisionsMode(long nNewValue); 1385 float GetRevisionsBalloonWidth(); 1386 void SetRevisionsBalloonWidth(float newValue); 1387 long GetRevisionsBalloonWidthType(); 1388 void SetRevisionsBalloonWidthType(long nNewValue); 1389 long GetRevisionsBalloonSide(); 1390 void SetRevisionsBalloonSide(long nNewValue); 1391 LPDISPATCH GetReviewers(); 1392 BOOL GetRevisionsBalloonShowConnectingLines(); 1393 void SetRevisionsBalloonShowConnectingLines(BOOL bNewValue); 1394 BOOL GetReadingLayout(); 1395 void SetReadingLayout(BOOL bNewValue); 1396 long GetShowXMLMarkup(); 1397 void SetShowXMLMarkup(long nNewValue); 1398 long GetShadeEditableRanges(); 1399 void SetShadeEditableRanges(long nNewValue); 1400 BOOL GetShowInkAnnotations(); 1401 void SetShowInkAnnotations(BOOL bNewValue); 1402 BOOL GetDisplayBackgrounds(); 1403 void SetDisplayBackgrounds(BOOL bNewValue); 1404 BOOL GetReadingLayoutActualView(); 1405 void SetReadingLayoutActualView(BOOL bNewValue); 1406 BOOL GetReadingLayoutAllowMultiplePages(); 1407 void SetReadingLayoutAllowMultiplePages(BOOL bNewValue); 1408 }; 1409 ///////////////////////////////////////////////////////////////////////////// 1410 // Zoom wrapper class 1411 1412 class Zoom : public COleDispatchDriver 1413 { 1414 public: 1415 Zoom() {} // Calls COleDispatchDriver default constructor 1416 Zoom(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1417 Zoom(const Zoom& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1418 1419 // Attributes 1420 public: 1421 1422 // Operations 1423 public: 1424 LPDISPATCH GetApplication(); 1425 long GetCreator(); 1426 LPDISPATCH GetParent(); 1427 long GetPercentage(); 1428 void SetPercentage(long nNewValue); 1429 long GetPageFit(); 1430 void SetPageFit(long nNewValue); 1431 long GetPageRows(); 1432 void SetPageRows(long nNewValue); 1433 long GetPageColumns(); 1434 void SetPageColumns(long nNewValue); 1435 }; 1436 ///////////////////////////////////////////////////////////////////////////// 1437 // Zooms wrapper class 1438 1439 class Zooms : public COleDispatchDriver 1440 { 1441 public: 1442 Zooms() {} // Calls COleDispatchDriver default constructor 1443 Zooms(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1444 Zooms(const Zooms& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1445 1446 // Attributes 1447 public: 1448 1449 // Operations 1450 public: 1451 LPDISPATCH GetApplication(); 1452 long GetCreator(); 1453 LPDISPATCH GetParent(); 1454 LPDISPATCH Item(long Index); 1455 }; 1456 ///////////////////////////////////////////////////////////////////////////// 1457 // InlineShape wrapper class 1458 1459 class InlineShape : public COleDispatchDriver 1460 { 1461 public: 1462 InlineShape() {} // Calls COleDispatchDriver default constructor 1463 InlineShape(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1464 InlineShape(const InlineShape& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1465 1466 // Attributes 1467 public: 1468 1469 // Operations 1470 public: 1471 LPDISPATCH GetApplication(); 1472 long GetCreator(); 1473 LPDISPATCH GetParent(); 1474 LPDISPATCH GetBorders(); 1475 void SetBorders(LPDISPATCH newValue); 1476 LPDISPATCH GetRange(); 1477 LPDISPATCH GetLinkFormat(); 1478 LPDISPATCH GetField(); 1479 LPDISPATCH GetOLEFormat(); 1480 long GetType(); 1481 LPDISPATCH GetHyperlink(); 1482 float GetHeight(); 1483 void SetHeight(float newValue); 1484 float GetWidth(); 1485 void SetWidth(float newValue); 1486 float GetScaleHeight(); 1487 void SetScaleHeight(float newValue); 1488 float GetScaleWidth(); 1489 void SetScaleWidth(float newValue); 1490 long GetLockAspectRatio(); 1491 void SetLockAspectRatio(long nNewValue); 1492 LPDISPATCH GetLine(); 1493 LPDISPATCH GetFill(); 1494 LPDISPATCH GetPictureFormat(); 1495 void SetPictureFormat(LPDISPATCH newValue); 1496 void Activate(); 1497 void Reset(); 1498 void Delete(); 1499 void Select(); 1500 LPDISPATCH ConvertToShape(); 1501 LPDISPATCH GetHorizontalLineFormat(); 1502 LPDISPATCH GetScript(); 1503 LPDISPATCH GetTextEffect(); 1504 void SetTextEffect(LPDISPATCH newValue); 1505 CString GetAlternativeText(); 1506 void SetAlternativeText(LPCTSTR lpszNewValue); 1507 BOOL GetIsPictureBullet(); 1508 }; 1509 ///////////////////////////////////////////////////////////////////////////// 1510 // InlineShapes wrapper class 1511 1512 class InlineShapes : public COleDispatchDriver 1513 { 1514 public: 1515 InlineShapes() {} // Calls COleDispatchDriver default constructor 1516 InlineShapes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1517 InlineShapes(const InlineShapes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1518 1519 // Attributes 1520 public: 1521 1522 // Operations 1523 public: 1524 LPDISPATCH GetApplication(); 1525 long GetCreator(); 1526 LPDISPATCH GetParent(); 1527 long GetCount(); 1528 LPUNKNOWN Get_NewEnum(); 1529 LPDISPATCH Item(long Index); 1530 LPDISPATCH AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Range); 1531 LPDISPATCH AddOLEObject(VARIANT* ClassType, VARIANT* FileName, VARIANT* LinkToFile, VARIANT* DisplayAsIcon, VARIANT* IconFileName, VARIANT* IconIndex, VARIANT* IconLabel, VARIANT* Range); 1532 LPDISPATCH AddOLEControl(VARIANT* ClassType, VARIANT* Range); 1533 LPDISPATCH New(LPDISPATCH Range); 1534 LPDISPATCH AddHorizontalLine(LPCTSTR FileName, VARIANT* Range); 1535 LPDISPATCH AddHorizontalLineStandard(VARIANT* Range); 1536 LPDISPATCH AddPictureBullet(LPCTSTR FileName, VARIANT* Range); 1537 }; 1538 ///////////////////////////////////////////////////////////////////////////// 1539 // SpellingSuggestions wrapper class 1540 1541 class SpellingSuggestions : public COleDispatchDriver 1542 { 1543 public: 1544 SpellingSuggestions() {} // Calls COleDispatchDriver default constructor 1545 SpellingSuggestions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1546 SpellingSuggestions(const SpellingSuggestions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1547 1548 // Attributes 1549 public: 1550 1551 // Operations 1552 public: 1553 LPDISPATCH GetApplication(); 1554 long GetCreator(); 1555 LPDISPATCH GetParent(); 1556 LPUNKNOWN Get_NewEnum(); 1557 long GetCount(); 1558 long GetSpellingErrorType(); 1559 LPDISPATCH Item(long Index); 1560 }; 1561 ///////////////////////////////////////////////////////////////////////////// 1562 // SpellingSuggestion wrapper class 1563 1564 class SpellingSuggestion : public COleDispatchDriver 1565 { 1566 public: 1567 SpellingSuggestion() {} // Calls COleDispatchDriver default constructor 1568 SpellingSuggestion(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1569 SpellingSuggestion(const SpellingSuggestion& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1570 1571 // Attributes 1572 public: 1573 1574 // Operations 1575 public: 1576 LPDISPATCH GetApplication(); 1577 long GetCreator(); 1578 LPDISPATCH GetParent(); 1579 CString GetName(); 1580 }; 1581 ///////////////////////////////////////////////////////////////////////////// 1582 // Dictionaries wrapper class 1583 1584 class Dictionaries : public COleDispatchDriver 1585 { 1586 public: 1587 Dictionaries() {} // Calls COleDispatchDriver default constructor 1588 Dictionaries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1589 Dictionaries(const Dictionaries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1590 1591 // Attributes 1592 public: 1593 1594 // Operations 1595 public: 1596 LPDISPATCH GetApplication(); 1597 long GetCreator(); 1598 LPDISPATCH GetParent(); 1599 LPUNKNOWN Get_NewEnum(); 1600 long GetCount(); 1601 long GetMaximum(); 1602 LPDISPATCH GetActiveCustomDictionary(); 1603 void SetActiveCustomDictionary(LPDISPATCH newValue); 1604 LPDISPATCH Item(VARIANT* Index); 1605 LPDISPATCH Add(LPCTSTR FileName); 1606 void ClearAll(); 1607 }; 1608 ///////////////////////////////////////////////////////////////////////////// 1609 // HangulHanjaConversionDictionaries wrapper class 1610 1611 class HangulHanjaConversionDictionaries : public COleDispatchDriver 1612 { 1613 public: 1614 HangulHanjaConversionDictionaries() {} // Calls COleDispatchDriver default constructor 1615 HangulHanjaConversionDictionaries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1616 HangulHanjaConversionDictionaries(const HangulHanjaConversionDictionaries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1617 1618 // Attributes 1619 public: 1620 1621 // Operations 1622 public: 1623 LPDISPATCH GetApplication(); 1624 long GetCreator(); 1625 LPDISPATCH GetParent(); 1626 LPUNKNOWN Get_NewEnum(); 1627 long GetCount(); 1628 long GetMaximum(); 1629 LPDISPATCH GetActiveCustomDictionary(); 1630 void SetActiveCustomDictionary(LPDISPATCH newValue); 1631 LPDISPATCH GetBuiltinDictionary(); 1632 LPDISPATCH Item(VARIANT* Index); 1633 LPDISPATCH Add(LPCTSTR FileName); 1634 void ClearAll(); 1635 }; 1636 ///////////////////////////////////////////////////////////////////////////// 1637 // Dictionary wrapper class 1638 1639 class Dictionary : public COleDispatchDriver 1640 { 1641 public: 1642 Dictionary() {} // Calls COleDispatchDriver default constructor 1643 Dictionary(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1644 Dictionary(const Dictionary& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1645 1646 // Attributes 1647 public: 1648 1649 // Operations 1650 public: 1651 LPDISPATCH GetApplication(); 1652 long GetCreator(); 1653 LPDISPATCH GetParent(); 1654 CString GetName(); 1655 CString GetPath(); 1656 long GetLanguageID(); 1657 void SetLanguageID(long nNewValue); 1658 BOOL GetReadOnly(); 1659 long GetType(); 1660 BOOL GetLanguageSpecific(); 1661 void SetLanguageSpecific(BOOL bNewValue); 1662 void Delete(); 1663 }; 1664 ///////////////////////////////////////////////////////////////////////////// 1665 // ReadabilityStatistics wrapper class 1666 1667 class ReadabilityStatistics : public COleDispatchDriver 1668 { 1669 public: 1670 ReadabilityStatistics() {} // Calls COleDispatchDriver default constructor 1671 ReadabilityStatistics(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1672 ReadabilityStatistics(const ReadabilityStatistics& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1673 1674 // Attributes 1675 public: 1676 1677 // Operations 1678 public: 1679 LPDISPATCH GetApplication(); 1680 long GetCreator(); 1681 LPDISPATCH GetParent(); 1682 LPUNKNOWN Get_NewEnum(); 1683 long GetCount(); 1684 LPDISPATCH Item(VARIANT* Index); 1685 }; 1686 ///////////////////////////////////////////////////////////////////////////// 1687 // ReadabilityStatistic wrapper class 1688 1689 class ReadabilityStatistic : public COleDispatchDriver 1690 { 1691 public: 1692 ReadabilityStatistic() {} // Calls COleDispatchDriver default constructor 1693 ReadabilityStatistic(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1694 ReadabilityStatistic(const ReadabilityStatistic& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1695 1696 // Attributes 1697 public: 1698 1699 // Operations 1700 public: 1701 LPDISPATCH GetApplication(); 1702 long GetCreator(); 1703 LPDISPATCH GetParent(); 1704 CString GetName(); 1705 float GetValue(); 1706 }; 1707 ///////////////////////////////////////////////////////////////////////////// 1708 // Versions wrapper class 1709 1710 class Versions : public COleDispatchDriver 1711 { 1712 public: 1713 Versions() {} // Calls COleDispatchDriver default constructor 1714 Versions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1715 Versions(const Versions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1716 1717 // Attributes 1718 public: 1719 1720 // Operations 1721 public: 1722 LPDISPATCH GetApplication(); 1723 long GetCreator(); 1724 LPDISPATCH GetParent(); 1725 LPUNKNOWN Get_NewEnum(); 1726 long GetCount(); 1727 long GetAutoVersion(); 1728 void SetAutoVersion(long nNewValue); 1729 LPDISPATCH Item(long Index); 1730 void Save(VARIANT* Comment); 1731 }; 1732 ///////////////////////////////////////////////////////////////////////////// 1733 // Version wrapper class 1734 1735 class Version : public COleDispatchDriver 1736 { 1737 public: 1738 Version() {} // Calls COleDispatchDriver default constructor 1739 Version(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1740 Version(const Version& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1741 1742 // Attributes 1743 public: 1744 1745 // Operations 1746 public: 1747 LPDISPATCH GetApplication(); 1748 long GetCreator(); 1749 LPDISPATCH GetParent(); 1750 CString GetSavedBy(); 1751 CString GetComment(); 1752 DATE GetDate(); 1753 long GetIndex(); 1754 void Delete(); 1755 LPDISPATCH Open(); 1756 }; 1757 ///////////////////////////////////////////////////////////////////////////// 1758 // Options wrapper class 1759 1760 class Options : public COleDispatchDriver 1761 { 1762 public: 1763 Options() {} // Calls COleDispatchDriver default constructor 1764 Options(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 1765 Options(const Options& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 1766 1767 // Attributes 1768 public: 1769 1770 // Operations 1771 public: 1772 LPDISPATCH GetApplication(); 1773 long GetCreator(); 1774 LPDISPATCH GetParent(); 1775 BOOL GetAllowAccentedUppercase(); 1776 void SetAllowAccentedUppercase(BOOL bNewValue); 1777 BOOL GetWPHelp(); 1778 void SetWPHelp(BOOL bNewValue); 1779 BOOL GetWPDocNavKeys(); 1780 void SetWPDocNavKeys(BOOL bNewValue); 1781 BOOL GetPagination(); 1782 void SetPagination(BOOL bNewValue); 1783 BOOL GetBlueScreen(); 1784 void SetBlueScreen(BOOL bNewValue); 1785 BOOL GetEnableSound(); 1786 void SetEnableSound(BOOL bNewValue); 1787 BOOL GetConfirmConversions(); 1788 void SetConfirmConversions(BOOL bNewValue); 1789 BOOL GetUpdateLinksAtOpen(); 1790 void SetUpdateLinksAtOpen(BOOL bNewValue); 1791 BOOL GetSendMailAttach(); 1792 void SetSendMailAttach(BOOL bNewValue); 1793 long GetMeasurementUnit(); 1794 void SetMeasurementUnit(long nNewValue); 1795 long GetButtonFieldClicks(); 1796 void SetButtonFieldClicks(long nNewValue); 1797 BOOL GetShortMenuNames(); 1798 void SetShortMenuNames(BOOL bNewValue); 1799 BOOL GetRTFInClipboard(); 1800 void SetRTFInClipboard(BOOL bNewValue); 1801 BOOL GetUpdateFieldsAtPrint(); 1802 void SetUpdateFieldsAtPrint(BOOL bNewValue); 1803 BOOL GetPrintProperties(); 1804 void SetPrintProperties(BOOL bNewValue); 1805 BOOL GetPrintFieldCodes(); 1806 void SetPrintFieldCodes(BOOL bNewValue); 1807 BOOL GetPrintComments(); 1808 void SetPrintComments(BOOL bNewValue); 1809 BOOL GetPrintHiddenText(); 1810 void SetPrintHiddenText(BOOL bNewValue); 1811 BOOL GetEnvelopeFeederInstalled(); 1812 BOOL GetUpdateLinksAtPrint(); 1813 void SetUpdateLinksAtPrint(BOOL bNewValue); 1814 BOOL GetPrintBackground(); 1815 void SetPrintBackground(BOOL bNewValue); 1816 BOOL GetPrintDrawingObjects(); 1817 void SetPrintDrawingObjects(BOOL bNewValue); 1818 CString GetDefaultTray(); 1819 void SetDefaultTray(LPCTSTR lpszNewValue); 1820 long GetDefaultTrayID(); 1821 void SetDefaultTrayID(long nNewValue); 1822 BOOL GetCreateBackup(); 1823 void SetCreateBackup(BOOL bNewValue); 1824 BOOL GetAllowFastSave(); 1825 void SetAllowFastSave(BOOL bNewValue); 1826 BOOL GetSavePropertiesPrompt(); 1827 void SetSavePropertiesPrompt(BOOL bNewValue); 1828 BOOL GetSaveNormalPrompt(); 1829 void SetSaveNormalPrompt(BOOL bNewValue); 1830 long GetSaveInterval(); 1831 void SetSaveInterval(long nNewValue); 1832 BOOL GetBackgroundSave(); 1833 void SetBackgroundSave(BOOL bNewValue); 1834 long GetInsertedTextMark(); 1835 void SetInsertedTextMark(long nNewValue); 1836 long GetDeletedTextMark(); 1837 void SetDeletedTextMark(long nNewValue); 1838 long GetRevisedLinesMark(); 1839 void SetRevisedLinesMark(long nNewValue); 1840 long GetInsertedTextColor(); 1841 void SetInsertedTextColor(long nNewValue); 1842 long GetDeletedTextColor(); 1843 void SetDeletedTextColor(long nNewValue); 1844 long GetRevisedLinesColor(); 1845 void SetRevisedLinesColor(long nNewValue); 1846 CString GetDefaultFilePath(long Path); 1847 void SetDefaultFilePath(long Path, LPCTSTR lpszNewValue); 1848 BOOL GetOvertype(); 1849 void SetOvertype(BOOL bNewValue); 1850 BOOL GetReplaceSelection(); 1851 void SetReplaceSelection(BOOL bNewValue); 1852 BOOL GetAllowDragAndDrop(); 1853 void SetAllowDragAndDrop(BOOL bNewValue); 1854 BOOL GetAutoWordSelection(); 1855 void SetAutoWordSelection(BOOL bNewValue); 1856 BOOL GetINSKeyForPaste(); 1857 void SetINSKeyForPaste(BOOL bNewValue); 1858 BOOL GetSmartCutPaste(); 1859 void SetSmartCutPaste(BOOL bNewValue); 1860 BOOL GetTabIndentKey(); 1861 void SetTabIndentKey(BOOL bNewValue); 1862 CString GetPictureEditor(); 1863 void SetPictureEditor(LPCTSTR lpszNewValue); 1864 BOOL GetAnimateScreenMovements(); 1865 void SetAnimateScreenMovements(BOOL bNewValue); 1866 long GetRevisedPropertiesMark(); 1867 void SetRevisedPropertiesMark(long nNewValue); 1868 long GetRevisedPropertiesColor(); 1869 void SetRevisedPropertiesColor(long nNewValue); 1870 BOOL GetSnapToGrid(); 1871 void SetSnapToGrid(BOOL bNewValue); 1872 BOOL GetSnapToShapes(); 1873 void SetSnapToShapes(BOOL bNewValue); 1874 float GetGridDistanceHorizontal(); 1875 void SetGridDistanceHorizontal(float newValue); 1876 float GetGridDistanceVertical(); 1877 void SetGridDistanceVertical(float newValue); 1878 float GetGridOriginHorizontal(); 1879 void SetGridOriginHorizontal(float newValue); 1880 float GetGridOriginVertical(); 1881 void SetGridOriginVertical(float newValue); 1882 BOOL GetInlineConversion(); 1883 void SetInlineConversion(BOOL bNewValue); 1884 BOOL GetIMEAutomaticControl(); 1885 void SetIMEAutomaticControl(BOOL bNewValue); 1886 BOOL GetAutoFormatApplyHeadings(); 1887 void SetAutoFormatApplyHeadings(BOOL bNewValue); 1888 BOOL GetAutoFormatApplyLists(); 1889 void SetAutoFormatApplyLists(BOOL bNewValue); 1890 BOOL GetAutoFormatApplyBulletedLists(); 1891 void SetAutoFormatApplyBulletedLists(BOOL bNewValue); 1892 BOOL GetAutoFormatApplyOtherParas(); 1893 void SetAutoFormatApplyOtherParas(BOOL bNewValue); 1894 BOOL GetAutoFormatReplaceQuotes(); 1895 void SetAutoFormatReplaceQuotes(BOOL bNewValue); 1896 BOOL GetAutoFormatReplaceSymbols(); 1897 void SetAutoFormatReplaceSymbols(BOOL bNewValue); 1898 BOOL GetAutoFormatReplaceOrdinals(); 1899 void SetAutoFormatReplaceOrdinals(BOOL bNewValue); 1900 BOOL GetAutoFormatReplaceFractions(); 1901 void SetAutoFormatReplaceFractions(BOOL bNewValue); 1902 BOOL GetAutoFormatReplacePlainTextEmphasis(); 1903 void SetAutoFormatReplacePlainTextEmphasis(BOOL bNewValue); 1904 BOOL GetAutoFormatPreserveStyles(); 1905 void SetAutoFormatPreserveStyles(BOOL bNewValue); 1906 BOOL GetAutoFormatAsYouTypeApplyHeadings(); 1907 void SetAutoFormatAsYouTypeApplyHeadings(BOOL bNewValue); 1908 BOOL GetAutoFormatAsYouTypeApplyBorders(); 1909 void SetAutoFormatAsYouTypeApplyBorders(BOOL bNewValue); 1910 BOOL GetAutoFormatAsYouTypeApplyBulletedLists(); 1911 void SetAutoFormatAsYouTypeApplyBulletedLists(BOOL bNewValue); 1912 BOOL GetAutoFormatAsYouTypeApplyNumberedLists(); 1913 void SetAutoFormatAsYouTypeApplyNumberedLists(BOOL bNewValue); 1914 BOOL GetAutoFormatAsYouTypeReplaceQuotes(); 1915 void SetAutoFormatAsYouTypeReplaceQuotes(BOOL bNewValue); 1916 BOOL GetAutoFormatAsYouTypeReplaceSymbols(); 1917 void SetAutoFormatAsYouTypeReplaceSymbols(BOOL bNewValue); 1918 BOOL GetAutoFormatAsYouTypeReplaceOrdinals(); 1919 void SetAutoFormatAsYouTypeReplaceOrdinals(BOOL bNewValue); 1920 BOOL GetAutoFormatAsYouTypeReplaceFractions(); 1921 void SetAutoFormatAsYouTypeReplaceFractions(BOOL bNewValue); 1922 BOOL GetAutoFormatAsYouTypeReplacePlainTextEmphasis(); 1923 void SetAutoFormatAsYouTypeReplacePlainTextEmphasis(BOOL bNewValue); 1924 BOOL GetAutoFormatAsYouTypeFormatListItemBeginning(); 1925 void SetAutoFormatAsYouTypeFormatListItemBeginning(BOOL bNewValue); 1926 BOOL GetAutoFormatAsYouTypeDefineStyles(); 1927 void SetAutoFormatAsYouTypeDefineStyles(BOOL bNewValue); 1928 BOOL GetAutoFormatPlainTextWordMail(); 1929 void SetAutoFormatPlainTextWordMail(BOOL bNewValue); 1930 BOOL GetAutoFormatAsYouTypeReplaceHyperlinks(); 1931 void SetAutoFormatAsYouTypeReplaceHyperlinks(BOOL bNewValue); 1932 BOOL GetAutoFormatReplaceHyperlinks(); 1933 void SetAutoFormatReplaceHyperlinks(BOOL bNewValue); 1934 long GetDefaultHighlightColorIndex(); 1935 void SetDefaultHighlightColorIndex(long nNewValue); 1936 long GetDefaultBorderLineStyle(); 1937 void SetDefaultBorderLineStyle(long nNewValue); 1938 BOOL GetCheckSpellingAsYouType(); 1939 void SetCheckSpellingAsYouType(BOOL bNewValue); 1940 BOOL GetCheckGrammarAsYouType(); 1941 void SetCheckGrammarAsYouType(BOOL bNewValue); 1942 BOOL GetIgnoreInternetAndFileAddresses(); 1943 void SetIgnoreInternetAndFileAddresses(BOOL bNewValue); 1944 BOOL GetShowReadabilityStatistics(); 1945 void SetShowReadabilityStatistics(BOOL bNewValue); 1946 BOOL GetIgnoreUppercase(); 1947 void SetIgnoreUppercase(BOOL bNewValue); 1948 BOOL GetIgnoreMixedDigits(); 1949 void SetIgnoreMixedDigits(BOOL bNewValue); 1950 BOOL GetSuggestFromMainDictionaryOnly(); 1951 void SetSuggestFromMainDictionaryOnly(BOOL bNewValue); 1952 BOOL GetSuggestSpellingCorrections(); 1953 void SetSuggestSpellingCorrections(BOOL bNewValue); 1954 long GetDefaultBorderLineWidth(); 1955 void SetDefaultBorderLineWidth(long nNewValue); 1956 BOOL GetCheckGrammarWithSpelling(); 1957 void SetCheckGrammarWithSpelling(BOOL bNewValue); 1958 long GetDefaultOpenFormat(); 1959 void SetDefaultOpenFormat(long nNewValue); 1960 BOOL GetPrintDraft(); 1961 void SetPrintDraft(BOOL bNewValue); 1962 BOOL GetPrintReverse(); 1963 void SetPrintReverse(BOOL bNewValue); 1964 BOOL GetMapPaperSize(); 1965 void SetMapPaperSize(BOOL bNewValue); 1966 BOOL GetAutoFormatAsYouTypeApplyTables(); 1967 void SetAutoFormatAsYouTypeApplyTables(BOOL bNewValue); 1968 BOOL GetAutoFormatApplyFirstIndents(); 1969 void SetAutoFormatApplyFirstIndents(BOOL bNewValue); 1970 BOOL GetAutoFormatMatchParentheses(); 1971 void SetAutoFormatMatchParentheses(BOOL bNewValue); 1972 BOOL GetAutoFormatReplaceFarEastDashes(); 1973 void SetAutoFormatReplaceFarEastDashes(BOOL bNewValue); 1974 BOOL GetAutoFormatDeleteAutoSpaces(); 1975 void SetAutoFormatDeleteAutoSpaces(BOOL bNewValue); 1976 BOOL GetAutoFormatAsYouTypeApplyFirstIndents(); 1977 void SetAutoFormatAsYouTypeApplyFirstIndents(BOOL bNewValue); 1978 BOOL GetAutoFormatAsYouTypeApplyDates(); 1979 void SetAutoFormatAsYouTypeApplyDates(BOOL bNewValue); 1980 BOOL GetAutoFormatAsYouTypeApplyClosings(); 1981 void SetAutoFormatAsYouTypeApplyClosings(BOOL bNewValue); 1982 BOOL GetAutoFormatAsYouTypeMatchParentheses(); 1983 void SetAutoFormatAsYouTypeMatchParentheses(BOOL bNewValue); 1984 BOOL GetAutoFormatAsYouTypeReplaceFarEastDashes(); 1985 void SetAutoFormatAsYouTypeReplaceFarEastDashes(BOOL bNewValue); 1986 BOOL GetAutoFormatAsYouTypeDeleteAutoSpaces(); 1987 void SetAutoFormatAsYouTypeDeleteAutoSpaces(BOOL bNewValue); 1988 BOOL GetAutoFormatAsYouTypeInsertClosings(); 1989 void SetAutoFormatAsYouTypeInsertClosings(BOOL bNewValue); 1990 BOOL GetAutoFormatAsYouTypeAutoLetterWizard(); 1991 void SetAutoFormatAsYouTypeAutoLetterWizard(BOOL bNewValue); 1992 BOOL GetAutoFormatAsYouTypeInsertOvers(); 1993 void SetAutoFormatAsYouTypeInsertOvers(BOOL bNewValue); 1994 BOOL GetDisplayGridLines(); 1995 void SetDisplayGridLines(BOOL bNewValue); 1996 BOOL GetMatchFuzzyCase(); 1997 void SetMatchFuzzyCase(BOOL bNewValue); 1998 BOOL GetMatchFuzzyByte(); 1999 void SetMatchFuzzyByte(BOOL bNewValue); 2000 BOOL GetMatchFuzzyHiragana(); 2001 void SetMatchFuzzyHiragana(BOOL bNewValue); 2002 BOOL GetMatchFuzzySmallKana(); 2003 void SetMatchFuzzySmallKana(BOOL bNewValue); 2004 BOOL GetMatchFuzzyDash(); 2005 void SetMatchFuzzyDash(BOOL bNewValue); 2006 BOOL GetMatchFuzzyIterationMark(); 2007 void SetMatchFuzzyIterationMark(BOOL bNewValue); 2008 BOOL GetMatchFuzzyKanji(); 2009 void SetMatchFuzzyKanji(BOOL bNewValue); 2010 BOOL GetMatchFuzzyOldKana(); 2011 void SetMatchFuzzyOldKana(BOOL bNewValue); 2012 BOOL GetMatchFuzzyProlongedSoundMark(); 2013 void SetMatchFuzzyProlongedSoundMark(BOOL bNewValue); 2014 BOOL GetMatchFuzzyDZ(); 2015 void SetMatchFuzzyDZ(BOOL bNewValue); 2016 BOOL GetMatchFuzzyBV(); 2017 void SetMatchFuzzyBV(BOOL bNewValue); 2018 BOOL GetMatchFuzzyTC(); 2019 void SetMatchFuzzyTC(BOOL bNewValue); 2020 BOOL GetMatchFuzzyHF(); 2021 void SetMatchFuzzyHF(BOOL bNewValue); 2022 BOOL GetMatchFuzzyZJ(); 2023 void SetMatchFuzzyZJ(BOOL bNewValue); 2024 BOOL GetMatchFuzzyAY(); 2025 void SetMatchFuzzyAY(BOOL bNewValue); 2026 BOOL GetMatchFuzzyKiKu(); 2027 void SetMatchFuzzyKiKu(BOOL bNewValue); 2028 BOOL GetMatchFuzzyPunctuation(); 2029 void SetMatchFuzzyPunctuation(BOOL bNewValue); 2030 BOOL GetMatchFuzzySpace(); 2031 void SetMatchFuzzySpace(BOOL bNewValue); 2032 BOOL GetApplyFarEastFontsToAscii(); 2033 void SetApplyFarEastFontsToAscii(BOOL bNewValue); 2034 BOOL GetConvertHighAnsiToFarEast(); 2035 void SetConvertHighAnsiToFarEast(BOOL bNewValue); 2036 BOOL GetPrintOddPagesInAscendingOrder(); 2037 void SetPrintOddPagesInAscendingOrder(BOOL bNewValue); 2038 BOOL GetPrintEvenPagesInAscendingOrder(); 2039 void SetPrintEvenPagesInAscendingOrder(BOOL bNewValue); 2040 long GetDefaultBorderColorIndex(); 2041 void SetDefaultBorderColorIndex(long nNewValue); 2042 BOOL GetEnableMisusedWordsDictionary(); 2043 void SetEnableMisusedWordsDictionary(BOOL bNewValue); 2044 BOOL GetAllowCombinedAuxiliaryForms(); 2045 void SetAllowCombinedAuxiliaryForms(BOOL bNewValue); 2046 BOOL GetHangulHanjaFastConversion(); 2047 void SetHangulHanjaFastConversion(BOOL bNewValue); 2048 BOOL GetCheckHangulEndings(); 2049 void SetCheckHangulEndings(BOOL bNewValue); 2050 BOOL GetEnableHangulHanjaRecentOrdering(); 2051 void SetEnableHangulHanjaRecentOrdering(BOOL bNewValue); 2052 long GetMultipleWordConversionsMode(); 2053 void SetMultipleWordConversionsMode(long nNewValue); 2054 void SetWPHelpOptions(VARIANT* CommandKeyHelp, VARIANT* DocNavigationKeys, VARIANT* MouseSimulation, VARIANT* DemoGuidance, VARIANT* DemoSpeed, VARIANT* HelpType); 2055 long GetDefaultBorderColor(); 2056 void SetDefaultBorderColor(long nNewValue); 2057 BOOL GetAllowPixelUnits(); 2058 void SetAllowPixelUnits(BOOL bNewValue); 2059 BOOL GetUseCharacterUnit(); 2060 void SetUseCharacterUnit(BOOL bNewValue); 2061 BOOL GetAllowCompoundNounProcessing(); 2062 void SetAllowCompoundNounProcessing(BOOL bNewValue); 2063 BOOL GetAutoKeyboardSwitching(); 2064 void SetAutoKeyboardSwitching(BOOL bNewValue); 2065 long GetDocumentViewDirection(); 2066 void SetDocumentViewDirection(long nNewValue); 2067 long GetArabicNumeral(); 2068 void SetArabicNumeral(long nNewValue); 2069 long GetMonthNames(); 2070 void SetMonthNames(long nNewValue); 2071 long GetCursorMovement(); 2072 void SetCursorMovement(long nNewValue); 2073 long GetVisualSelection(); 2074 void SetVisualSelection(long nNewValue); 2075 BOOL GetShowDiacritics(); 2076 void SetShowDiacritics(BOOL bNewValue); 2077 BOOL GetShowControlCharacters(); 2078 void SetShowControlCharacters(BOOL bNewValue); 2079 BOOL GetAddControlCharacters(); 2080 void SetAddControlCharacters(BOOL bNewValue); 2081 BOOL GetAddBiDirectionalMarksWhenSavingTextFile(); 2082 void SetAddBiDirectionalMarksWhenSavingTextFile(BOOL bNewValue); 2083 BOOL GetStrictInitialAlefHamza(); 2084 void SetStrictInitialAlefHamza(BOOL bNewValue); 2085 BOOL GetStrictFinalYaa(); 2086 void SetStrictFinalYaa(BOOL bNewValue); 2087 long GetHebrewMode(); 2088 void SetHebrewMode(long nNewValue); 2089 long GetArabicMode(); 2090 void SetArabicMode(long nNewValue); 2091 BOOL GetAllowClickAndTypeMouse(); 2092 void SetAllowClickAndTypeMouse(BOOL bNewValue); 2093 BOOL GetUseGermanSpellingReform(); 2094 void SetUseGermanSpellingReform(BOOL bNewValue); 2095 long GetInterpretHighAnsi(); 2096 void SetInterpretHighAnsi(long nNewValue); 2097 BOOL GetAddHebDoubleQuote(); 2098 void SetAddHebDoubleQuote(BOOL bNewValue); 2099 BOOL GetUseDiffDiacColor(); 2100 void SetUseDiffDiacColor(BOOL bNewValue); 2101 long GetDiacriticColorVal(); 2102 void SetDiacriticColorVal(long nNewValue); 2103 BOOL GetOptimizeForWord97byDefault(); 2104 void SetOptimizeForWord97byDefault(BOOL bNewValue); 2105 BOOL GetLocalNetworkFile(); 2106 void SetLocalNetworkFile(BOOL bNewValue); 2107 BOOL GetTypeNReplace(); 2108 void SetTypeNReplace(BOOL bNewValue); 2109 BOOL GetSequenceCheck(); 2110 void SetSequenceCheck(BOOL bNewValue); 2111 BOOL GetBackgroundOpen(); 2112 void SetBackgroundOpen(BOOL bNewValue); 2113 BOOL GetDisableFeaturesbyDefault(); 2114 void SetDisableFeaturesbyDefault(BOOL bNewValue); 2115 BOOL GetPasteAdjustWordSpacing(); 2116 void SetPasteAdjustWordSpacing(BOOL bNewValue); 2117 BOOL GetPasteAdjustParagraphSpacing(); 2118 void SetPasteAdjustParagraphSpacing(BOOL bNewValue); 2119 BOOL GetPasteAdjustTableFormatting(); 2120 void SetPasteAdjustTableFormatting(BOOL bNewValue); 2121 BOOL GetPasteSmartStyleBehavior(); 2122 void SetPasteSmartStyleBehavior(BOOL bNewValue); 2123 BOOL GetPasteMergeFromPPT(); 2124 void SetPasteMergeFromPPT(BOOL bNewValue); 2125 BOOL GetPasteMergeFromXL(); 2126 void SetPasteMergeFromXL(BOOL bNewValue); 2127 BOOL GetCtrlClickHyperlinkToOpen(); 2128 void SetCtrlClickHyperlinkToOpen(BOOL bNewValue); 2129 long GetPictureWrapType(); 2130 void SetPictureWrapType(long nNewValue); 2131 long GetDisableFeaturesIntroducedAfterbyDefault(); 2132 void SetDisableFeaturesIntroducedAfterbyDefault(long nNewValue); 2133 BOOL GetPasteSmartCutPaste(); 2134 void SetPasteSmartCutPaste(BOOL bNewValue); 2135 BOOL GetDisplayPasteOptions(); 2136 void SetDisplayPasteOptions(BOOL bNewValue); 2137 BOOL GetPromptUpdateStyle(); 2138 void SetPromptUpdateStyle(BOOL bNewValue); 2139 CString GetDefaultEPostageApp(); 2140 void SetDefaultEPostageApp(LPCTSTR lpszNewValue); 2141 long GetDefaultTextEncoding(); 2142 void SetDefaultTextEncoding(long nNewValue); 2143 BOOL GetLabelSmartTags(); 2144 void SetLabelSmartTags(BOOL bNewValue); 2145 BOOL GetDisplaySmartTagButtons(); 2146 void SetDisplaySmartTagButtons(BOOL bNewValue); 2147 BOOL GetWarnBeforeSavingPrintingSendingMarkup(); 2148 void SetWarnBeforeSavingPrintingSendingMarkup(BOOL bNewValue); 2149 BOOL GetStoreRSIDOnSave(); 2150 void SetStoreRSIDOnSave(BOOL bNewValue); 2151 BOOL GetShowFormatError(); 2152 void SetShowFormatError(BOOL bNewValue); 2153 BOOL GetFormatScanning(); 2154 void SetFormatScanning(BOOL bNewValue); 2155 BOOL GetPasteMergeLists(); 2156 void SetPasteMergeLists(BOOL bNewValue); 2157 BOOL GetAutoCreateNewDrawings(); 2158 void SetAutoCreateNewDrawings(BOOL bNewValue); 2159 BOOL GetSmartParaSelection(); 2160 void SetSmartParaSelection(BOOL bNewValue); 2161 long GetRevisionsBalloonPrintOrientation(); 2162 void SetRevisionsBalloonPrintOrientation(long nNewValue); 2163 long GetCommentsColor(); 2164 void SetCommentsColor(long nNewValue); 2165 BOOL GetPrintXMLTag(); 2166 void SetPrintXMLTag(BOOL bNewValue); 2167 BOOL GetPrintBackgrounds(); 2168 void SetPrintBackgrounds(BOOL bNewValue); 2169 BOOL GetAllowReadingMode(); 2170 void SetAllowReadingMode(BOOL bNewValue); 2171 BOOL GetShowMarkupOpenSave(); 2172 void SetShowMarkupOpenSave(BOOL bNewValue); 2173 BOOL GetSmartCursoring(); 2174 void SetSmartCursoring(BOOL bNewValue); 2175 }; 2176 ///////////////////////////////////////////////////////////////////////////// 2177 // MailMessage wrapper class 2178 2179 class MailMessage : public COleDispatchDriver 2180 { 2181 public: 2182 MailMessage() {} // Calls COleDispatchDriver default constructor 2183 MailMessage(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2184 MailMessage(const MailMessage& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2185 2186 // Attributes 2187 public: 2188 2189 // Operations 2190 public: 2191 LPDISPATCH GetApplication(); 2192 long GetCreator(); 2193 LPDISPATCH GetParent(); 2194 void CheckName(); 2195 void Delete(); 2196 void DisplayMoveDialog(); 2197 void DisplayProperties(); 2198 void DisplaySelectNamesDialog(); 2199 void Forward(); 2200 void GoToNext(); 2201 void GoToPrevious(); 2202 void Reply(); 2203 void ReplyAll(); 2204 void ToggleHeader(); 2205 }; 2206 ///////////////////////////////////////////////////////////////////////////// 2207 // ProofreadingErrors wrapper class 2208 2209 class ProofreadingErrors : public COleDispatchDriver 2210 { 2211 public: 2212 ProofreadingErrors() {} // Calls COleDispatchDriver default constructor 2213 ProofreadingErrors(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2214 ProofreadingErrors(const ProofreadingErrors& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2215 2216 // Attributes 2217 public: 2218 2219 // Operations 2220 public: 2221 LPDISPATCH GetApplication(); 2222 long GetCreator(); 2223 LPDISPATCH GetParent(); 2224 LPUNKNOWN Get_NewEnum(); 2225 long GetCount(); 2226 long GetType(); 2227 LPDISPATCH Item(long Index); 2228 }; 2229 ///////////////////////////////////////////////////////////////////////////// 2230 // Mailer wrapper class 2231 2232 class Mailer : public COleDispatchDriver 2233 { 2234 public: 2235 Mailer() {} // Calls COleDispatchDriver default constructor 2236 Mailer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2237 Mailer(const Mailer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2238 2239 // Attributes 2240 public: 2241 2242 // Operations 2243 public: 2244 LPDISPATCH GetApplication(); 2245 long GetCreator(); 2246 LPDISPATCH GetParent(); 2247 VARIANT GetBCCRecipients(); 2248 void SetBCCRecipients(VARIANT* newValue); 2249 VARIANT GetCCRecipients(); 2250 void SetCCRecipients(VARIANT* newValue); 2251 VARIANT GetRecipients(); 2252 void SetRecipients(VARIANT* newValue); 2253 VARIANT GetEnclosures(); 2254 void SetEnclosures(VARIANT* newValue); 2255 CString GetSender(); 2256 DATE GetSendDateTime(); 2257 BOOL GetReceived(); 2258 CString GetSubject(); 2259 void SetSubject(LPCTSTR lpszNewValue); 2260 }; 2261 ///////////////////////////////////////////////////////////////////////////// 2262 // WrapFormat wrapper class 2263 2264 class WrapFormat : public COleDispatchDriver 2265 { 2266 public: 2267 WrapFormat() {} // Calls COleDispatchDriver default constructor 2268 WrapFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2269 WrapFormat(const WrapFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2270 2271 // Attributes 2272 public: 2273 2274 // Operations 2275 public: 2276 LPDISPATCH GetApplication(); 2277 long GetCreator(); 2278 LPDISPATCH GetParent(); 2279 long GetType(); 2280 void SetType(long nNewValue); 2281 long GetSide(); 2282 void SetSide(long nNewValue); 2283 float GetDistanceTop(); 2284 void SetDistanceTop(float newValue); 2285 float GetDistanceBottom(); 2286 void SetDistanceBottom(float newValue); 2287 float GetDistanceLeft(); 2288 void SetDistanceLeft(float newValue); 2289 float GetDistanceRight(); 2290 void SetDistanceRight(float newValue); 2291 long GetAllowOverlap(); 2292 void SetAllowOverlap(long nNewValue); 2293 }; 2294 ///////////////////////////////////////////////////////////////////////////// 2295 // HangulAndAlphabetExceptions wrapper class 2296 2297 class HangulAndAlphabetExceptions : public COleDispatchDriver 2298 { 2299 public: 2300 HangulAndAlphabetExceptions() {} // Calls COleDispatchDriver default constructor 2301 HangulAndAlphabetExceptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2302 HangulAndAlphabetExceptions(const HangulAndAlphabetExceptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2303 2304 // Attributes 2305 public: 2306 2307 // Operations 2308 public: 2309 LPDISPATCH GetApplication(); 2310 long GetCreator(); 2311 LPDISPATCH GetParent(); 2312 LPUNKNOWN Get_NewEnum(); 2313 long GetCount(); 2314 LPDISPATCH Item(VARIANT* Index); 2315 LPDISPATCH Add(LPCTSTR Name); 2316 }; 2317 ///////////////////////////////////////////////////////////////////////////// 2318 // HangulAndAlphabetException wrapper class 2319 2320 class HangulAndAlphabetException : public COleDispatchDriver 2321 { 2322 public: 2323 HangulAndAlphabetException() {} // Calls COleDispatchDriver default constructor 2324 HangulAndAlphabetException(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2325 HangulAndAlphabetException(const HangulAndAlphabetException& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2326 2327 // Attributes 2328 public: 2329 2330 // Operations 2331 public: 2332 LPDISPATCH GetApplication(); 2333 long GetCreator(); 2334 LPDISPATCH GetParent(); 2335 long GetIndex(); 2336 CString GetName(); 2337 void Delete(); 2338 }; 2339 ///////////////////////////////////////////////////////////////////////////// 2340 // Adjustments wrapper class 2341 2342 class Adjustments : public COleDispatchDriver 2343 { 2344 public: 2345 Adjustments() {} // Calls COleDispatchDriver default constructor 2346 Adjustments(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2347 Adjustments(const Adjustments& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2348 2349 // Attributes 2350 public: 2351 2352 // Operations 2353 public: 2354 LPDISPATCH GetApplication(); 2355 long GetCreator(); 2356 LPDISPATCH GetParent(); 2357 long GetCount(); 2358 float GetItem(long Index); 2359 void SetItem(long Index, float newValue); 2360 }; 2361 ///////////////////////////////////////////////////////////////////////////// 2362 // CalloutFormat wrapper class 2363 2364 class CalloutFormat : public COleDispatchDriver 2365 { 2366 public: 2367 CalloutFormat() {} // Calls COleDispatchDriver default constructor 2368 CalloutFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2369 CalloutFormat(const CalloutFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2370 2371 // Attributes 2372 public: 2373 2374 // Operations 2375 public: 2376 LPDISPATCH GetApplication(); 2377 long GetCreator(); 2378 LPDISPATCH GetParent(); 2379 long GetAccent(); 2380 void SetAccent(long nNewValue); 2381 long GetAngle(); 2382 void SetAngle(long nNewValue); 2383 long GetAutoAttach(); 2384 void SetAutoAttach(long nNewValue); 2385 long GetAutoLength(); 2386 long GetBorder(); 2387 void SetBorder(long nNewValue); 2388 float GetDrop(); 2389 long GetDropType(); 2390 float GetGap(); 2391 void SetGap(float newValue); 2392 float GetLength(); 2393 long GetType(); 2394 void SetType(long nNewValue); 2395 void AutomaticLength(); 2396 void CustomDrop(float Drop); 2397 void CustomLength(float Length); 2398 void PresetDrop(long DropType); 2399 }; 2400 ///////////////////////////////////////////////////////////////////////////// 2401 // ColorFormat wrapper class 2402 2403 class ColorFormat : public COleDispatchDriver 2404 { 2405 public: 2406 ColorFormat() {} // Calls COleDispatchDriver default constructor 2407 ColorFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2408 ColorFormat(const ColorFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2409 2410 // Attributes 2411 public: 2412 2413 // Operations 2414 public: 2415 LPDISPATCH GetApplication(); 2416 long GetCreator(); 2417 LPDISPATCH GetParent(); 2418 long GetRgb(); 2419 void SetRgb(long nNewValue); 2420 long GetType(); 2421 CString GetName(); 2422 void SetName(LPCTSTR lpszNewValue); 2423 float GetTintAndShade(); 2424 void SetTintAndShade(float newValue); 2425 long GetOverPrint(); 2426 void SetOverPrint(long nNewValue); 2427 float GetInk(long Index); 2428 void SetInk(long Index, float newValue); 2429 long GetCyan(); 2430 void SetCyan(long nNewValue); 2431 long GetMagenta(); 2432 void SetMagenta(long nNewValue); 2433 long GetYellow(); 2434 void SetYellow(long nNewValue); 2435 long GetBlack(); 2436 void SetBlack(long nNewValue); 2437 void SetCMYK(long Cyan, long Magenta, long Yellow, long Black); 2438 }; 2439 ///////////////////////////////////////////////////////////////////////////// 2440 // ConnectorFormat wrapper class 2441 2442 class ConnectorFormat : public COleDispatchDriver 2443 { 2444 public: 2445 ConnectorFormat() {} // Calls COleDispatchDriver default constructor 2446 ConnectorFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2447 ConnectorFormat(const ConnectorFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2448 2449 // Attributes 2450 public: 2451 2452 // Operations 2453 public: 2454 LPDISPATCH GetApplication(); 2455 long GetCreator(); 2456 long GetBeginConnected(); 2457 LPDISPATCH GetBeginConnectedShape(); 2458 long GetBeginConnectionSite(); 2459 long GetEndConnected(); 2460 LPDISPATCH GetEndConnectedShape(); 2461 long GetEndConnectionSite(); 2462 LPDISPATCH GetParent(); 2463 long GetType(); 2464 void SetType(long nNewValue); 2465 void BeginConnect(LPDISPATCH* ConnectedShape, long ConnectionSite); 2466 void BeginDisconnect(); 2467 void EndConnect(LPDISPATCH* ConnectedShape, long ConnectionSite); 2468 void EndDisconnect(); 2469 }; 2470 ///////////////////////////////////////////////////////////////////////////// 2471 // FillFormat wrapper class 2472 2473 class FillFormat : public COleDispatchDriver 2474 { 2475 public: 2476 FillFormat() {} // Calls COleDispatchDriver default constructor 2477 FillFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2478 FillFormat(const FillFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2479 2480 // Attributes 2481 public: 2482 2483 // Operations 2484 public: 2485 LPDISPATCH GetApplication(); 2486 long GetCreator(); 2487 LPDISPATCH GetParent(); 2488 LPDISPATCH GetBackColor(); 2489 LPDISPATCH GetForeColor(); 2490 long GetGradientColorType(); 2491 float GetGradientDegree(); 2492 long GetGradientStyle(); 2493 long GetGradientVariant(); 2494 long GetPattern(); 2495 long GetPresetGradientType(); 2496 long GetPresetTexture(); 2497 CString GetTextureName(); 2498 long GetTextureType(); 2499 float GetTransparency(); 2500 void SetTransparency(float newValue); 2501 long GetType(); 2502 long GetVisible(); 2503 void SetVisible(long nNewValue); 2504 void OneColorGradient(long Style, long Variant, float Degree); 2505 void Patterned(long Pattern); 2506 void PresetGradient(long Style, long Variant, long PresetGradientType); 2507 void PresetTextured(long PresetTexture); 2508 void Solid(); 2509 void TwoColorGradient(long Style, long Variant); 2510 void UserPicture(LPCTSTR PictureFile); 2511 void UserTextured(LPCTSTR TextureFile); 2512 }; 2513 ///////////////////////////////////////////////////////////////////////////// 2514 // FreeformBuilder wrapper class 2515 2516 class FreeformBuilder : public COleDispatchDriver 2517 { 2518 public: 2519 FreeformBuilder() {} // Calls COleDispatchDriver default constructor 2520 FreeformBuilder(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2521 FreeformBuilder(const FreeformBuilder& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2522 2523 // Attributes 2524 public: 2525 2526 // Operations 2527 public: 2528 LPDISPATCH GetApplication(); 2529 long GetCreator(); 2530 LPDISPATCH GetParent(); 2531 void AddNodes(long SegmentType, long EditingType, float X1, float Y1, float X2, float Y2, float X3, float Y3); 2532 LPDISPATCH ConvertToShape(VARIANT* Anchor); 2533 }; 2534 ///////////////////////////////////////////////////////////////////////////// 2535 // LineFormat wrapper class 2536 2537 class LineFormat : public COleDispatchDriver 2538 { 2539 public: 2540 LineFormat() {} // Calls COleDispatchDriver default constructor 2541 LineFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2542 LineFormat(const LineFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2543 2544 // Attributes 2545 public: 2546 2547 // Operations 2548 public: 2549 LPDISPATCH GetApplication(); 2550 long GetCreator(); 2551 LPDISPATCH GetParent(); 2552 LPDISPATCH GetBackColor(); 2553 long GetBeginArrowheadLength(); 2554 void SetBeginArrowheadLength(long nNewValue); 2555 long GetBeginArrowheadStyle(); 2556 void SetBeginArrowheadStyle(long nNewValue); 2557 long GetBeginArrowheadWidth(); 2558 void SetBeginArrowheadWidth(long nNewValue); 2559 long GetDashStyle(); 2560 void SetDashStyle(long nNewValue); 2561 long GetEndArrowheadLength(); 2562 void SetEndArrowheadLength(long nNewValue); 2563 long GetEndArrowheadStyle(); 2564 void SetEndArrowheadStyle(long nNewValue); 2565 long GetEndArrowheadWidth(); 2566 void SetEndArrowheadWidth(long nNewValue); 2567 LPDISPATCH GetForeColor(); 2568 long GetPattern(); 2569 void SetPattern(long nNewValue); 2570 long GetStyle(); 2571 void SetStyle(long nNewValue); 2572 float GetTransparency(); 2573 void SetTransparency(float newValue); 2574 long GetVisible(); 2575 void SetVisible(long nNewValue); 2576 float GetWeight(); 2577 void SetWeight(float newValue); 2578 long GetInsetPen(); 2579 void SetInsetPen(long nNewValue); 2580 }; 2581 ///////////////////////////////////////////////////////////////////////////// 2582 // PictureFormat wrapper class 2583 2584 class PictureFormat : public COleDispatchDriver 2585 { 2586 public: 2587 PictureFormat() {} // Calls COleDispatchDriver default constructor 2588 PictureFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2589 PictureFormat(const PictureFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2590 2591 // Attributes 2592 public: 2593 2594 // Operations 2595 public: 2596 LPDISPATCH GetApplication(); 2597 long GetCreator(); 2598 LPDISPATCH GetParent(); 2599 float GetBrightness(); 2600 void SetBrightness(float newValue); 2601 long GetColorType(); 2602 void SetColorType(long nNewValue); 2603 float GetContrast(); 2604 void SetContrast(float newValue); 2605 float GetCropBottom(); 2606 void SetCropBottom(float newValue); 2607 float GetCropLeft(); 2608 void SetCropLeft(float newValue); 2609 float GetCropRight(); 2610 void SetCropRight(float newValue); 2611 float GetCropTop(); 2612 void SetCropTop(float newValue); 2613 long GetTransparencyColor(); 2614 void SetTransparencyColor(long nNewValue); 2615 long GetTransparentBackground(); 2616 void SetTransparentBackground(long nNewValue); 2617 void IncrementBrightness(float Increment); 2618 void IncrementContrast(float Increment); 2619 }; 2620 ///////////////////////////////////////////////////////////////////////////// 2621 // ShadowFormat wrapper class 2622 2623 class ShadowFormat : public COleDispatchDriver 2624 { 2625 public: 2626 ShadowFormat() {} // Calls COleDispatchDriver default constructor 2627 ShadowFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2628 ShadowFormat(const ShadowFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2629 2630 // Attributes 2631 public: 2632 2633 // Operations 2634 public: 2635 LPDISPATCH GetApplication(); 2636 long GetCreator(); 2637 LPDISPATCH GetParent(); 2638 LPDISPATCH GetForeColor(); 2639 long GetObscured(); 2640 void SetObscured(long nNewValue); 2641 float GetOffsetX(); 2642 void SetOffsetX(float newValue); 2643 float GetOffsetY(); 2644 void SetOffsetY(float newValue); 2645 float GetTransparency(); 2646 void SetTransparency(float newValue); 2647 long GetType(); 2648 void SetType(long nNewValue); 2649 long GetVisible(); 2650 void SetVisible(long nNewValue); 2651 void IncrementOffsetX(float Increment); 2652 void IncrementOffsetY(float Increment); 2653 }; 2654 ///////////////////////////////////////////////////////////////////////////// 2655 // ShapeNode wrapper class 2656 2657 class ShapeNode : public COleDispatchDriver 2658 { 2659 public: 2660 ShapeNode() {} // Calls COleDispatchDriver default constructor 2661 ShapeNode(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2662 ShapeNode(const ShapeNode& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2663 2664 // Attributes 2665 public: 2666 2667 // Operations 2668 public: 2669 LPDISPATCH GetApplication(); 2670 long GetCreator(); 2671 LPDISPATCH GetParent(); 2672 long GetEditingType(); 2673 VARIANT GetPoints(); 2674 long GetSegmentType(); 2675 }; 2676 ///////////////////////////////////////////////////////////////////////////// 2677 // ShapeNodes wrapper class 2678 2679 class ShapeNodes : public COleDispatchDriver 2680 { 2681 public: 2682 ShapeNodes() {} // Calls COleDispatchDriver default constructor 2683 ShapeNodes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2684 ShapeNodes(const ShapeNodes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2685 2686 // Attributes 2687 public: 2688 2689 // Operations 2690 public: 2691 LPDISPATCH GetApplication(); 2692 long GetCreator(); 2693 LPDISPATCH GetParent(); 2694 long GetCount(); 2695 LPUNKNOWN Get_NewEnum(); 2696 void Delete(long Index); 2697 LPDISPATCH Item(VARIANT* Index); 2698 void SetEditingType(long Index, long EditingType); 2699 void SetPosition(long Index, float X1, float Y1); 2700 void SetSegmentType(long Index, long SegmentType); 2701 void Insert(long Index, long SegmentType, long EditingType, float X1, float Y1, float X2, float Y2, float X3, float Y3); 2702 }; 2703 ///////////////////////////////////////////////////////////////////////////// 2704 // TextEffectFormat wrapper class 2705 2706 class TextEffectFormat : public COleDispatchDriver 2707 { 2708 public: 2709 TextEffectFormat() {} // Calls COleDispatchDriver default constructor 2710 TextEffectFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2711 TextEffectFormat(const TextEffectFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2712 2713 // Attributes 2714 public: 2715 2716 // Operations 2717 public: 2718 LPDISPATCH GetApplication(); 2719 long GetCreator(); 2720 LPDISPATCH GetParent(); 2721 long GetAlignment(); 2722 void SetAlignment(long nNewValue); 2723 long GetFontBold(); 2724 void SetFontBold(long nNewValue); 2725 long GetFontItalic(); 2726 void SetFontItalic(long nNewValue); 2727 CString GetFontName(); 2728 void SetFontName(LPCTSTR lpszNewValue); 2729 float GetFontSize(); 2730 void SetFontSize(float newValue); 2731 long GetKernedPairs(); 2732 void SetKernedPairs(long nNewValue); 2733 long GetNormalizedHeight(); 2734 void SetNormalizedHeight(long nNewValue); 2735 long GetPresetShape(); 2736 void SetPresetShape(long nNewValue); 2737 long GetPresetTextEffect(); 2738 void SetPresetTextEffect(long nNewValue); 2739 long GetRotatedChars(); 2740 void SetRotatedChars(long nNewValue); 2741 CString GetText(); 2742 void SetText(LPCTSTR lpszNewValue); 2743 float GetTracking(); 2744 void SetTracking(float newValue); 2745 void ToggleVerticalText(); 2746 }; 2747 ///////////////////////////////////////////////////////////////////////////// 2748 // ThreeDFormat wrapper class 2749 2750 class ThreeDFormat : public COleDispatchDriver 2751 { 2752 public: 2753 ThreeDFormat() {} // Calls COleDispatchDriver default constructor 2754 ThreeDFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2755 ThreeDFormat(const ThreeDFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2756 2757 // Attributes 2758 public: 2759 2760 // Operations 2761 public: 2762 LPDISPATCH GetApplication(); 2763 long GetCreator(); 2764 LPDISPATCH GetParent(); 2765 float GetDepth(); 2766 void SetDepth(float newValue); 2767 LPDISPATCH GetExtrusionColor(); 2768 long GetExtrusionColorType(); 2769 void SetExtrusionColorType(long nNewValue); 2770 long GetPerspective(); 2771 void SetPerspective(long nNewValue); 2772 long GetPresetExtrusionDirection(); 2773 long GetPresetLightingDirection(); 2774 void SetPresetLightingDirection(long nNewValue); 2775 long GetPresetLightingSoftness(); 2776 void SetPresetLightingSoftness(long nNewValue); 2777 long GetPresetMaterial(); 2778 void SetPresetMaterial(long nNewValue); 2779 long GetPresetThreeDFormat(); 2780 float GetRotationX(); 2781 void SetRotationX(float newValue); 2782 float GetRotationY(); 2783 void SetRotationY(float newValue); 2784 long GetVisible(); 2785 void SetVisible(long nNewValue); 2786 void IncrementRotationX(float Increment); 2787 void IncrementRotationY(float Increment); 2788 void ResetRotation(); 2789 void SetExtrusionDirection(long PresetExtrusionDirection); 2790 void SetThreeDFormat(long PresetThreeDFormat); 2791 }; 2792 ///////////////////////////////////////////////////////////////////////////// 2793 // ApplicationEvents wrapper class 2794 2795 class ApplicationEvents : public COleDispatchDriver 2796 { 2797 public: 2798 ApplicationEvents() {} // Calls COleDispatchDriver default constructor 2799 ApplicationEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2800 ApplicationEvents(const ApplicationEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2801 2802 // Attributes 2803 public: 2804 2805 // Operations 2806 public: 2807 }; 2808 ///////////////////////////////////////////////////////////////////////////// 2809 // DocumentEvents wrapper class 2810 2811 class DocumentEvents : public COleDispatchDriver 2812 { 2813 public: 2814 DocumentEvents() {} // Calls COleDispatchDriver default constructor 2815 DocumentEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2816 DocumentEvents(const DocumentEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2817 2818 // Attributes 2819 public: 2820 2821 // Operations 2822 public: 2823 void New(); 2824 void Open(); 2825 void Close(); 2826 }; 2827 ///////////////////////////////////////////////////////////////////////////// 2828 // OCXEvents wrapper class 2829 2830 class OCXEvents : public COleDispatchDriver 2831 { 2832 public: 2833 OCXEvents() {} // Calls COleDispatchDriver default constructor 2834 OCXEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2835 OCXEvents(const OCXEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2836 2837 // Attributes 2838 public: 2839 2840 // Operations 2841 public: 2842 void GotFocus(); 2843 void LostFocus(); 2844 }; 2845 ///////////////////////////////////////////////////////////////////////////// 2846 // IApplicationEvents wrapper class 2847 2848 class IApplicationEvents : public COleDispatchDriver 2849 { 2850 public: 2851 IApplicationEvents() {} // Calls COleDispatchDriver default constructor 2852 IApplicationEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2853 IApplicationEvents(const IApplicationEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2854 2855 // Attributes 2856 public: 2857 2858 // Operations 2859 public: 2860 void Quit(); 2861 void DocumentChange(); 2862 }; 2863 ///////////////////////////////////////////////////////////////////////////// 2864 // IApplicationEvents2 wrapper class 2865 2866 class IApplicationEvents2 : public COleDispatchDriver 2867 { 2868 public: 2869 IApplicationEvents2() {} // Calls COleDispatchDriver default constructor 2870 IApplicationEvents2(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2871 IApplicationEvents2(const IApplicationEvents2& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2872 2873 // Attributes 2874 public: 2875 2876 // Operations 2877 public: 2878 void Quit(); 2879 void DocumentChange(); 2880 void DocumentOpen(LPDISPATCH Doc); 2881 void DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel); 2882 void DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel); 2883 void DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel); 2884 void NewDocument(LPDISPATCH Doc); 2885 void WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn); 2886 void WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn); 2887 void WindowSelectionChange(LPDISPATCH Sel); 2888 void WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel); 2889 void WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel); 2890 }; 2891 ///////////////////////////////////////////////////////////////////////////// 2892 // ApplicationEvents2 wrapper class 2893 2894 class ApplicationEvents2 : public COleDispatchDriver 2895 { 2896 public: 2897 ApplicationEvents2() {} // Calls COleDispatchDriver default constructor 2898 ApplicationEvents2(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2899 ApplicationEvents2(const ApplicationEvents2& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2900 2901 // Attributes 2902 public: 2903 2904 // Operations 2905 public: 2906 void Quit(); 2907 void DocumentChange(); 2908 void DocumentOpen(LPDISPATCH Doc); 2909 void DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel); 2910 void DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel); 2911 void DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel); 2912 void NewDocument(LPDISPATCH Doc); 2913 void WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn); 2914 void WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn); 2915 void WindowSelectionChange(LPDISPATCH Sel); 2916 void WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel); 2917 void WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel); 2918 }; 2919 ///////////////////////////////////////////////////////////////////////////// 2920 // EmailAuthor wrapper class 2921 2922 class EmailAuthor : public COleDispatchDriver 2923 { 2924 public: 2925 EmailAuthor() {} // Calls COleDispatchDriver default constructor 2926 EmailAuthor(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2927 EmailAuthor(const EmailAuthor& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2928 2929 // Attributes 2930 public: 2931 2932 // Operations 2933 public: 2934 LPDISPATCH GetApplication(); 2935 long GetCreator(); 2936 LPDISPATCH GetParent(); 2937 LPDISPATCH GetStyle(); 2938 }; 2939 ///////////////////////////////////////////////////////////////////////////// 2940 // EmailOptions wrapper class 2941 2942 class EmailOptions : public COleDispatchDriver 2943 { 2944 public: 2945 EmailOptions() {} // Calls COleDispatchDriver default constructor 2946 EmailOptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 2947 EmailOptions(const EmailOptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 2948 2949 // Attributes 2950 public: 2951 2952 // Operations 2953 public: 2954 LPDISPATCH GetApplication(); 2955 long GetCreator(); 2956 LPDISPATCH GetParent(); 2957 BOOL GetUseThemeStyle(); 2958 void SetUseThemeStyle(BOOL bNewValue); 2959 CString GetMarkCommentsWith(); 2960 void SetMarkCommentsWith(LPCTSTR lpszNewValue); 2961 BOOL GetMarkComments(); 2962 void SetMarkComments(BOOL bNewValue); 2963 LPDISPATCH GetEmailSignature(); 2964 LPDISPATCH GetComposeStyle(); 2965 LPDISPATCH GetReplyStyle(); 2966 CString GetThemeName(); 2967 void SetThemeName(LPCTSTR lpszNewValue); 2968 BOOL GetNewColorOnReply(); 2969 void SetNewColorOnReply(BOOL bNewValue); 2970 LPDISPATCH GetPlainTextStyle(); 2971 BOOL GetUseThemeStyleOnReply(); 2972 void SetUseThemeStyleOnReply(BOOL bNewValue); 2973 BOOL GetAutoFormatAsYouTypeApplyHeadings(); 2974 void SetAutoFormatAsYouTypeApplyHeadings(BOOL bNewValue); 2975 BOOL GetAutoFormatAsYouTypeApplyBorders(); 2976 void SetAutoFormatAsYouTypeApplyBorders(BOOL bNewValue); 2977 BOOL GetAutoFormatAsYouTypeApplyBulletedLists(); 2978 void SetAutoFormatAsYouTypeApplyBulletedLists(BOOL bNewValue); 2979 BOOL GetAutoFormatAsYouTypeApplyNumberedLists(); 2980 void SetAutoFormatAsYouTypeApplyNumberedLists(BOOL bNewValue); 2981 BOOL GetAutoFormatAsYouTypeReplaceQuotes(); 2982 void SetAutoFormatAsYouTypeReplaceQuotes(BOOL bNewValue); 2983 BOOL GetAutoFormatAsYouTypeReplaceSymbols(); 2984 void SetAutoFormatAsYouTypeReplaceSymbols(BOOL bNewValue); 2985 BOOL GetAutoFormatAsYouTypeReplaceOrdinals(); 2986 void SetAutoFormatAsYouTypeReplaceOrdinals(BOOL bNewValue); 2987 BOOL GetAutoFormatAsYouTypeReplaceFractions(); 2988 void SetAutoFormatAsYouTypeReplaceFractions(BOOL bNewValue); 2989 BOOL GetAutoFormatAsYouTypeReplacePlainTextEmphasis(); 2990 void SetAutoFormatAsYouTypeReplacePlainTextEmphasis(BOOL bNewValue); 2991 BOOL GetAutoFormatAsYouTypeFormatListItemBeginning(); 2992 void SetAutoFormatAsYouTypeFormatListItemBeginning(BOOL bNewValue); 2993 BOOL GetAutoFormatAsYouTypeDefineStyles(); 2994 void SetAutoFormatAsYouTypeDefineStyles(BOOL bNewValue); 2995 BOOL GetAutoFormatAsYouTypeReplaceHyperlinks(); 2996 void SetAutoFormatAsYouTypeReplaceHyperlinks(BOOL bNewValue); 2997 BOOL GetAutoFormatAsYouTypeApplyTables(); 2998 void SetAutoFormatAsYouTypeApplyTables(BOOL bNewValue); 2999 BOOL GetAutoFormatAsYouTypeApplyFirstIndents(); 3000 void SetAutoFormatAsYouTypeApplyFirstIndents(BOOL bNewValue); 3001 BOOL GetAutoFormatAsYouTypeApplyDates(); 3002 void SetAutoFormatAsYouTypeApplyDates(BOOL bNewValue); 3003 BOOL GetAutoFormatAsYouTypeApplyClosings(); 3004 void SetAutoFormatAsYouTypeApplyClosings(BOOL bNewValue); 3005 BOOL GetAutoFormatAsYouTypeMatchParentheses(); 3006 void SetAutoFormatAsYouTypeMatchParentheses(BOOL bNewValue); 3007 BOOL GetAutoFormatAsYouTypeReplaceFarEastDashes(); 3008 void SetAutoFormatAsYouTypeReplaceFarEastDashes(BOOL bNewValue); 3009 BOOL GetAutoFormatAsYouTypeDeleteAutoSpaces(); 3010 void SetAutoFormatAsYouTypeDeleteAutoSpaces(BOOL bNewValue); 3011 BOOL GetAutoFormatAsYouTypeInsertClosings(); 3012 void SetAutoFormatAsYouTypeInsertClosings(BOOL bNewValue); 3013 BOOL GetAutoFormatAsYouTypeAutoLetterWizard(); 3014 void SetAutoFormatAsYouTypeAutoLetterWizard(BOOL bNewValue); 3015 BOOL GetAutoFormatAsYouTypeInsertOvers(); 3016 void SetAutoFormatAsYouTypeInsertOvers(BOOL bNewValue); 3017 BOOL GetRelyOnCSS(); 3018 void SetRelyOnCSS(BOOL bNewValue); 3019 long GetHTMLFidelity(); 3020 void SetHTMLFidelity(long nNewValue); 3021 BOOL GetEmbedSmartTag(); 3022 void SetEmbedSmartTag(BOOL bNewValue); 3023 BOOL GetTabIndentKey(); 3024 void SetTabIndentKey(BOOL bNewValue); 3025 }; 3026 ///////////////////////////////////////////////////////////////////////////// 3027 // EmailSignature wrapper class 3028 3029 class EmailSignature : public COleDispatchDriver 3030 { 3031 public: 3032 EmailSignature() {} // Calls COleDispatchDriver default constructor 3033 EmailSignature(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3034 EmailSignature(const EmailSignature& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3035 3036 // Attributes 3037 public: 3038 3039 // Operations 3040 public: 3041 LPDISPATCH GetApplication(); 3042 long GetCreator(); 3043 LPDISPATCH GetParent(); 3044 CString GetNewMessageSignature(); 3045 void SetNewMessageSignature(LPCTSTR lpszNewValue); 3046 CString GetReplyMessageSignature(); 3047 void SetReplyMessageSignature(LPCTSTR lpszNewValue); 3048 LPDISPATCH GetEmailSignatureEntries(); 3049 }; 3050 ///////////////////////////////////////////////////////////////////////////// 3051 // Email wrapper class 3052 3053 class Email : public COleDispatchDriver 3054 { 3055 public: 3056 Email() {} // Calls COleDispatchDriver default constructor 3057 Email(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3058 Email(const Email& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3059 3060 // Attributes 3061 public: 3062 3063 // Operations 3064 public: 3065 LPDISPATCH GetApplication(); 3066 long GetCreator(); 3067 LPDISPATCH GetParent(); 3068 LPDISPATCH GetCurrentEmailAuthor(); 3069 }; 3070 ///////////////////////////////////////////////////////////////////////////// 3071 // HorizontalLineFormat wrapper class 3072 3073 class HorizontalLineFormat : public COleDispatchDriver 3074 { 3075 public: 3076 HorizontalLineFormat() {} // Calls COleDispatchDriver default constructor 3077 HorizontalLineFormat(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3078 HorizontalLineFormat(const HorizontalLineFormat& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3079 3080 // Attributes 3081 public: 3082 3083 // Operations 3084 public: 3085 LPDISPATCH GetApplication(); 3086 long GetCreator(); 3087 LPDISPATCH GetParent(); 3088 float GetPercentWidth(); 3089 void SetPercentWidth(float newValue); 3090 BOOL GetNoShade(); 3091 void SetNoShade(BOOL bNewValue); 3092 long GetAlignment(); 3093 void SetAlignment(long nNewValue); 3094 long GetWidthType(); 3095 void SetWidthType(long nNewValue); 3096 }; 3097 ///////////////////////////////////////////////////////////////////////////// 3098 // Frameset wrapper class 3099 3100 class Frameset : public COleDispatchDriver 3101 { 3102 public: 3103 Frameset() {} // Calls COleDispatchDriver default constructor 3104 Frameset(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3105 Frameset(const Frameset& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3106 3107 // Attributes 3108 public: 3109 3110 // Operations 3111 public: 3112 LPDISPATCH GetApplication(); 3113 long GetCreator(); 3114 LPDISPATCH GetParent(); 3115 LPUNKNOWN Get_NewEnum(); 3116 LPDISPATCH GetParentFrameset(); 3117 long GetType(); 3118 long GetWidthType(); 3119 void SetWidthType(long nNewValue); 3120 long GetHeightType(); 3121 void SetHeightType(long nNewValue); 3122 long GetWidth(); 3123 void SetWidth(long nNewValue); 3124 long GetHeight(); 3125 void SetHeight(long nNewValue); 3126 long GetChildFramesetCount(); 3127 LPDISPATCH GetChildFramesetItem(long Index); 3128 float GetFramesetBorderWidth(); 3129 void SetFramesetBorderWidth(float newValue); 3130 long GetFramesetBorderColor(); 3131 void SetFramesetBorderColor(long nNewValue); 3132 long GetFrameScrollbarType(); 3133 void SetFrameScrollbarType(long nNewValue); 3134 BOOL GetFrameResizable(); 3135 void SetFrameResizable(BOOL bNewValue); 3136 CString GetFrameName(); 3137 void SetFrameName(LPCTSTR lpszNewValue); 3138 BOOL GetFrameDisplayBorders(); 3139 void SetFrameDisplayBorders(BOOL bNewValue); 3140 CString GetFrameDefaultURL(); 3141 void SetFrameDefaultURL(LPCTSTR lpszNewValue); 3142 BOOL GetFrameLinkToFile(); 3143 void SetFrameLinkToFile(BOOL bNewValue); 3144 LPDISPATCH AddNewFrame(long Where); 3145 void Delete(); 3146 }; 3147 ///////////////////////////////////////////////////////////////////////////// 3148 // DefaultWebOptions wrapper class 3149 3150 class DefaultWebOptions : public COleDispatchDriver 3151 { 3152 public: 3153 DefaultWebOptions() {} // Calls COleDispatchDriver default constructor 3154 DefaultWebOptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3155 DefaultWebOptions(const DefaultWebOptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3156 3157 // Attributes 3158 public: 3159 3160 // Operations 3161 public: 3162 LPDISPATCH GetApplication(); 3163 long GetCreator(); 3164 LPDISPATCH GetParent(); 3165 BOOL GetOptimizeForBrowser(); 3166 void SetOptimizeForBrowser(BOOL bNewValue); 3167 long GetBrowserLevel(); 3168 void SetBrowserLevel(long nNewValue); 3169 BOOL GetRelyOnCSS(); 3170 void SetRelyOnCSS(BOOL bNewValue); 3171 BOOL GetOrganizeInFolder(); 3172 void SetOrganizeInFolder(BOOL bNewValue); 3173 BOOL GetUpdateLinksOnSave(); 3174 void SetUpdateLinksOnSave(BOOL bNewValue); 3175 BOOL GetUseLongFileNames(); 3176 void SetUseLongFileNames(BOOL bNewValue); 3177 BOOL GetCheckIfOfficeIsHTMLEditor(); 3178 void SetCheckIfOfficeIsHTMLEditor(BOOL bNewValue); 3179 BOOL GetCheckIfWordIsDefaultHTMLEditor(); 3180 void SetCheckIfWordIsDefaultHTMLEditor(BOOL bNewValue); 3181 BOOL GetRelyOnVML(); 3182 void SetRelyOnVML(BOOL bNewValue); 3183 BOOL GetAllowPNG(); 3184 void SetAllowPNG(BOOL bNewValue); 3185 long GetScreenSize(); 3186 void SetScreenSize(long nNewValue); 3187 long GetPixelsPerInch(); 3188 void SetPixelsPerInch(long nNewValue); 3189 long GetEncoding(); 3190 void SetEncoding(long nNewValue); 3191 BOOL GetAlwaysSaveInDefaultEncoding(); 3192 void SetAlwaysSaveInDefaultEncoding(BOOL bNewValue); 3193 LPDISPATCH GetFonts(); 3194 CString GetFolderSuffix(); 3195 long GetTargetBrowser(); 3196 void SetTargetBrowser(long nNewValue); 3197 BOOL GetSaveNewWebPagesAsWebArchives(); 3198 void SetSaveNewWebPagesAsWebArchives(BOOL bNewValue); 3199 }; 3200 ///////////////////////////////////////////////////////////////////////////// 3201 // WebOptions wrapper class 3202 3203 class WebOptions : public COleDispatchDriver 3204 { 3205 public: 3206 WebOptions() {} // Calls COleDispatchDriver default constructor 3207 WebOptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3208 WebOptions(const WebOptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3209 3210 // Attributes 3211 public: 3212 3213 // Operations 3214 public: 3215 LPDISPATCH GetApplication(); 3216 long GetCreator(); 3217 LPDISPATCH GetParent(); 3218 BOOL GetOptimizeForBrowser(); 3219 void SetOptimizeForBrowser(BOOL bNewValue); 3220 long GetBrowserLevel(); 3221 void SetBrowserLevel(long nNewValue); 3222 BOOL GetRelyOnCSS(); 3223 void SetRelyOnCSS(BOOL bNewValue); 3224 BOOL GetOrganizeInFolder(); 3225 void SetOrganizeInFolder(BOOL bNewValue); 3226 BOOL GetUseLongFileNames(); 3227 void SetUseLongFileNames(BOOL bNewValue); 3228 BOOL GetRelyOnVML(); 3229 void SetRelyOnVML(BOOL bNewValue); 3230 BOOL GetAllowPNG(); 3231 void SetAllowPNG(BOOL bNewValue); 3232 long GetScreenSize(); 3233 void SetScreenSize(long nNewValue); 3234 long GetPixelsPerInch(); 3235 void SetPixelsPerInch(long nNewValue); 3236 long GetEncoding(); 3237 void SetEncoding(long nNewValue); 3238 CString GetFolderSuffix(); 3239 void UseDefaultFolderSuffix(); 3240 long GetTargetBrowser(); 3241 void SetTargetBrowser(long nNewValue); 3242 }; 3243 ///////////////////////////////////////////////////////////////////////////// 3244 // OtherCorrectionsExceptions wrapper class 3245 3246 class OtherCorrectionsExceptions : public COleDispatchDriver 3247 { 3248 public: 3249 OtherCorrectionsExceptions() {} // Calls COleDispatchDriver default constructor 3250 OtherCorrectionsExceptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3251 OtherCorrectionsExceptions(const OtherCorrectionsExceptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3252 3253 // Attributes 3254 public: 3255 3256 // Operations 3257 public: 3258 LPDISPATCH GetApplication(); 3259 long GetCreator(); 3260 LPDISPATCH GetParent(); 3261 LPUNKNOWN Get_NewEnum(); 3262 long GetCount(); 3263 LPDISPATCH Item(VARIANT* Index); 3264 LPDISPATCH Add(LPCTSTR Name); 3265 }; 3266 ///////////////////////////////////////////////////////////////////////////// 3267 // OtherCorrectionsException wrapper class 3268 3269 class OtherCorrectionsException : public COleDispatchDriver 3270 { 3271 public: 3272 OtherCorrectionsException() {} // Calls COleDispatchDriver default constructor 3273 OtherCorrectionsException(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3274 OtherCorrectionsException(const OtherCorrectionsException& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3275 3276 // Attributes 3277 public: 3278 3279 // Operations 3280 public: 3281 LPDISPATCH GetApplication(); 3282 long GetCreator(); 3283 LPDISPATCH GetParent(); 3284 long GetIndex(); 3285 CString GetName(); 3286 void Delete(); 3287 }; 3288 ///////////////////////////////////////////////////////////////////////////// 3289 // EmailSignatureEntries wrapper class 3290 3291 class EmailSignatureEntries : public COleDispatchDriver 3292 { 3293 public: 3294 EmailSignatureEntries() {} // Calls COleDispatchDriver default constructor 3295 EmailSignatureEntries(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3296 EmailSignatureEntries(const EmailSignatureEntries& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3297 3298 // Attributes 3299 public: 3300 3301 // Operations 3302 public: 3303 LPDISPATCH GetApplication(); 3304 long GetCreator(); 3305 LPDISPATCH GetParent(); 3306 LPUNKNOWN Get_NewEnum(); 3307 long GetCount(); 3308 LPDISPATCH Item(VARIANT* Index); 3309 LPDISPATCH Add(LPCTSTR Name, LPDISPATCH Range); 3310 }; 3311 ///////////////////////////////////////////////////////////////////////////// 3312 // EmailSignatureEntry wrapper class 3313 3314 class EmailSignatureEntry : public COleDispatchDriver 3315 { 3316 public: 3317 EmailSignatureEntry() {} // Calls COleDispatchDriver default constructor 3318 EmailSignatureEntry(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3319 EmailSignatureEntry(const EmailSignatureEntry& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3320 3321 // Attributes 3322 public: 3323 3324 // Operations 3325 public: 3326 LPDISPATCH GetApplication(); 3327 long GetCreator(); 3328 LPDISPATCH GetParent(); 3329 long GetIndex(); 3330 CString GetName(); 3331 void SetName(LPCTSTR lpszNewValue); 3332 void Delete(); 3333 }; 3334 ///////////////////////////////////////////////////////////////////////////// 3335 // HTMLDivision wrapper class 3336 3337 class HTMLDivision : public COleDispatchDriver 3338 { 3339 public: 3340 HTMLDivision() {} // Calls COleDispatchDriver default constructor 3341 HTMLDivision(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3342 HTMLDivision(const HTMLDivision& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3343 3344 // Attributes 3345 public: 3346 3347 // Operations 3348 public: 3349 LPDISPATCH GetApplication(); 3350 long GetCreator(); 3351 LPDISPATCH GetParent(); 3352 LPDISPATCH GetRange(); 3353 LPDISPATCH GetBorders(); 3354 float GetLeftIndent(); 3355 void SetLeftIndent(float newValue); 3356 float GetRightIndent(); 3357 void SetRightIndent(float newValue); 3358 float GetSpaceBefore(); 3359 void SetSpaceBefore(float newValue); 3360 float GetSpaceAfter(); 3361 void SetSpaceAfter(float newValue); 3362 LPDISPATCH GetHTMLDivisions(); 3363 LPDISPATCH HTMLDivisionParent(VARIANT* LevelsUp); 3364 void Delete(); 3365 }; 3366 ///////////////////////////////////////////////////////////////////////////// 3367 // HTMLDivisions wrapper class 3368 3369 class HTMLDivisions : public COleDispatchDriver 3370 { 3371 public: 3372 HTMLDivisions() {} // Calls COleDispatchDriver default constructor 3373 HTMLDivisions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3374 HTMLDivisions(const HTMLDivisions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3375 3376 // Attributes 3377 public: 3378 3379 // Operations 3380 public: 3381 LPDISPATCH GetApplication(); 3382 long GetCreator(); 3383 LPDISPATCH GetParent(); 3384 LPUNKNOWN Get_NewEnum(); 3385 long GetCount(); 3386 long GetNestingLevel(); 3387 LPDISPATCH Add(VARIANT* Range); 3388 LPDISPATCH Item(long Index); 3389 }; 3390 ///////////////////////////////////////////////////////////////////////////// 3391 // DiagramNode wrapper class 3392 3393 class DiagramNode : public COleDispatchDriver 3394 { 3395 public: 3396 DiagramNode() {} // Calls COleDispatchDriver default constructor 3397 DiagramNode(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3398 DiagramNode(const DiagramNode& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3399 3400 // Attributes 3401 public: 3402 3403 // Operations 3404 public: 3405 LPDISPATCH GetApplication(); 3406 long GetCreator(); 3407 LPDISPATCH GetParent(); 3408 LPDISPATCH GetChildren(); 3409 LPDISPATCH GetShape(); 3410 LPDISPATCH GetRoot(); 3411 LPDISPATCH GetDiagram(); 3412 long GetLayout(); 3413 void SetLayout(long nNewValue); 3414 LPDISPATCH GetTextShape(); 3415 LPDISPATCH AddNode(long Pos, long NodeType); 3416 void Delete(); 3417 void MoveNode(LPDISPATCH* TargetNode, long Pos); 3418 void ReplaceNode(LPDISPATCH* TargetNode); 3419 void SwapNode(LPDISPATCH* TargetNode, long Pos); 3420 LPDISPATCH CloneNode(BOOL copyChildren, LPDISPATCH* TargetNode, long Pos); 3421 void TransferChildren(LPDISPATCH* ReceivingNode); 3422 LPDISPATCH NextNode(); 3423 LPDISPATCH PrevNode(); 3424 }; 3425 ///////////////////////////////////////////////////////////////////////////// 3426 // DiagramNodeChildren wrapper class 3427 3428 class DiagramNodeChildren : public COleDispatchDriver 3429 { 3430 public: 3431 DiagramNodeChildren() {} // Calls COleDispatchDriver default constructor 3432 DiagramNodeChildren(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3433 DiagramNodeChildren(const DiagramNodeChildren& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3434 3435 // Attributes 3436 public: 3437 3438 // Operations 3439 public: 3440 LPDISPATCH GetApplication(); 3441 long GetCreator(); 3442 LPUNKNOWN Get_NewEnum(); 3443 LPDISPATCH GetParent(); 3444 long GetCount(); 3445 LPDISPATCH GetFirstChild(); 3446 LPDISPATCH GetLastChild(); 3447 LPDISPATCH Item(VARIANT* Index); 3448 LPDISPATCH AddNode(VARIANT* Index, long NodeType); 3449 void SelectAll(); 3450 }; 3451 ///////////////////////////////////////////////////////////////////////////// 3452 // DiagramNodes wrapper class 3453 3454 class DiagramNodes : public COleDispatchDriver 3455 { 3456 public: 3457 DiagramNodes() {} // Calls COleDispatchDriver default constructor 3458 DiagramNodes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3459 DiagramNodes(const DiagramNodes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3460 3461 // Attributes 3462 public: 3463 3464 // Operations 3465 public: 3466 LPDISPATCH GetApplication(); 3467 long GetCreator(); 3468 LPUNKNOWN Get_NewEnum(); 3469 LPDISPATCH GetParent(); 3470 long GetCount(); 3471 LPDISPATCH Item(VARIANT* Index); 3472 void SelectAll(); 3473 }; 3474 ///////////////////////////////////////////////////////////////////////////// 3475 // Diagram wrapper class 3476 3477 class Diagram : public COleDispatchDriver 3478 { 3479 public: 3480 Diagram() {} // Calls COleDispatchDriver default constructor 3481 Diagram(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3482 Diagram(const Diagram& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3483 3484 // Attributes 3485 public: 3486 3487 // Operations 3488 public: 3489 LPDISPATCH GetApplication(); 3490 long GetCreator(); 3491 LPDISPATCH GetParent(); 3492 LPDISPATCH GetNodes(); 3493 long GetType(); 3494 long GetAutoLayout(); 3495 void SetAutoLayout(long nNewValue); 3496 long GetReverse(); 3497 void SetReverse(long nNewValue); 3498 long GetAutoFormat(); 3499 void SetAutoFormat(long nNewValue); 3500 void Convert(long Type); 3501 void FitText(); 3502 }; 3503 ///////////////////////////////////////////////////////////////////////////// 3504 // CustomProperty wrapper class 3505 3506 class CustomProperty : public COleDispatchDriver 3507 { 3508 public: 3509 CustomProperty() {} // Calls COleDispatchDriver default constructor 3510 CustomProperty(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3511 CustomProperty(const CustomProperty& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3512 3513 // Attributes 3514 public: 3515 3516 // Operations 3517 public: 3518 CString GetName(); 3519 CString GetValue(); 3520 void SetValue(LPCTSTR lpszNewValue); 3521 LPDISPATCH GetApplication(); 3522 long GetCreator(); 3523 LPDISPATCH GetParent(); 3524 void Delete(); 3525 }; 3526 ///////////////////////////////////////////////////////////////////////////// 3527 // CustomProperties wrapper class 3528 3529 class CustomProperties : public COleDispatchDriver 3530 { 3531 public: 3532 CustomProperties() {} // Calls COleDispatchDriver default constructor 3533 CustomProperties(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3534 CustomProperties(const CustomProperties& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3535 3536 // Attributes 3537 public: 3538 3539 // Operations 3540 public: 3541 LPUNKNOWN Get_NewEnum(); 3542 long GetCount(); 3543 LPDISPATCH GetApplication(); 3544 long GetCreator(); 3545 LPDISPATCH GetParent(); 3546 LPDISPATCH Item(VARIANT* Index); 3547 LPDISPATCH Add(LPCTSTR Name, LPCTSTR Value); 3548 }; 3549 ///////////////////////////////////////////////////////////////////////////// 3550 // SmartTag wrapper class 3551 3552 class SmartTag : public COleDispatchDriver 3553 { 3554 public: 3555 SmartTag() {} // Calls COleDispatchDriver default constructor 3556 SmartTag(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3557 SmartTag(const SmartTag& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3558 3559 // Attributes 3560 public: 3561 3562 // Operations 3563 public: 3564 CString GetName(); 3565 CString GetXml(); 3566 LPDISPATCH GetRange(); 3567 CString GetDownloadURL(); 3568 LPDISPATCH GetProperties(); 3569 LPDISPATCH GetApplication(); 3570 long GetCreator(); 3571 LPDISPATCH GetParent(); 3572 void Select(); 3573 void Delete(); 3574 LPDISPATCH GetSmartTagActions(); 3575 LPDISPATCH GetXMLNode(); 3576 }; 3577 ///////////////////////////////////////////////////////////////////////////// 3578 // SmartTags wrapper class 3579 3580 class SmartTags : public COleDispatchDriver 3581 { 3582 public: 3583 SmartTags() {} // Calls COleDispatchDriver default constructor 3584 SmartTags(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3585 SmartTags(const SmartTags& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3586 3587 // Attributes 3588 public: 3589 3590 // Operations 3591 public: 3592 LPUNKNOWN Get_NewEnum(); 3593 long GetCount(); 3594 LPDISPATCH GetApplication(); 3595 long GetCreator(); 3596 LPDISPATCH GetParent(); 3597 LPDISPATCH Item(VARIANT* Index); 3598 LPDISPATCH Add(LPCTSTR Name, VARIANT* Range, VARIANT* Properties); 3599 LPDISPATCH SmartTagsByType(LPCTSTR Name); 3600 }; 3601 ///////////////////////////////////////////////////////////////////////////// 3602 // StyleSheet wrapper class 3603 3604 class StyleSheet : public COleDispatchDriver 3605 { 3606 public: 3607 StyleSheet() {} // Calls COleDispatchDriver default constructor 3608 StyleSheet(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3609 StyleSheet(const StyleSheet& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3610 3611 // Attributes 3612 public: 3613 3614 // Operations 3615 public: 3616 LPDISPATCH GetApplication(); 3617 long GetCreator(); 3618 LPDISPATCH GetParent(); 3619 CString GetFullName(); 3620 long GetIndex(); 3621 CString GetName(); 3622 CString GetPath(); 3623 long GetType(); 3624 void SetType(long nNewValue); 3625 CString GetTitle(); 3626 void SetTitle(LPCTSTR lpszNewValue); 3627 void Move(long Precedence); 3628 void Delete(); 3629 }; 3630 ///////////////////////////////////////////////////////////////////////////// 3631 // StyleSheets wrapper class 3632 3633 class StyleSheets : public COleDispatchDriver 3634 { 3635 public: 3636 StyleSheets() {} // Calls COleDispatchDriver default constructor 3637 StyleSheets(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3638 StyleSheets(const StyleSheets& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3639 3640 // Attributes 3641 public: 3642 3643 // Operations 3644 public: 3645 LPDISPATCH GetApplication(); 3646 long GetCreator(); 3647 LPDISPATCH GetParent(); 3648 LPUNKNOWN Get_NewEnum(); 3649 long GetCount(); 3650 LPDISPATCH Item(VARIANT* Index); 3651 LPDISPATCH Add(LPCTSTR FileName, long LinkType, LPCTSTR Title, long Precedence); 3652 }; 3653 ///////////////////////////////////////////////////////////////////////////// 3654 // MappedDataField wrapper class 3655 3656 class MappedDataField : public COleDispatchDriver 3657 { 3658 public: 3659 MappedDataField() {} // Calls COleDispatchDriver default constructor 3660 MappedDataField(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3661 MappedDataField(const MappedDataField& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3662 3663 // Attributes 3664 public: 3665 3666 // Operations 3667 public: 3668 LPDISPATCH GetApplication(); 3669 long GetCreator(); 3670 LPDISPATCH GetParent(); 3671 long GetIndex(); 3672 CString GetDataFieldName(); 3673 CString GetName(); 3674 CString GetValue(); 3675 long GetDataFieldIndex(); 3676 void SetDataFieldIndex(long nNewValue); 3677 }; 3678 ///////////////////////////////////////////////////////////////////////////// 3679 // MappedDataFields wrapper class 3680 3681 class MappedDataFields : public COleDispatchDriver 3682 { 3683 public: 3684 MappedDataFields() {} // Calls COleDispatchDriver default constructor 3685 MappedDataFields(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3686 MappedDataFields(const MappedDataFields& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3687 3688 // Attributes 3689 public: 3690 3691 // Operations 3692 public: 3693 LPDISPATCH GetApplication(); 3694 long GetCreator(); 3695 LPDISPATCH GetParent(); 3696 long GetCount(); 3697 LPUNKNOWN Get_NewEnum(); 3698 LPDISPATCH Item(long Index); 3699 }; 3700 ///////////////////////////////////////////////////////////////////////////// 3701 // CanvasShapes wrapper class 3702 3703 class CanvasShapes : public COleDispatchDriver 3704 { 3705 public: 3706 CanvasShapes() {} // Calls COleDispatchDriver default constructor 3707 CanvasShapes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3708 CanvasShapes(const CanvasShapes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3709 3710 // Attributes 3711 public: 3712 3713 // Operations 3714 public: 3715 LPDISPATCH GetApplication(); 3716 long GetCreator(); 3717 LPDISPATCH GetParent(); 3718 long GetCount(); 3719 LPUNKNOWN Get_NewEnum(); 3720 LPDISPATCH Item(VARIANT* Index); 3721 LPDISPATCH AddCallout(long Type, float Left, float Top, float Width, float Height); 3722 LPDISPATCH AddConnector(long Type, float BeginX, float BeginY, float EndX, float EndY); 3723 LPDISPATCH AddCurve(VARIANT* SafeArrayOfPoints); 3724 LPDISPATCH AddLabel(long Orientation, float Left, float Top, float Width, float Height); 3725 LPDISPATCH AddLine(float BeginX, float BeginY, float EndX, float EndY); 3726 LPDISPATCH AddPicture(LPCTSTR FileName, VARIANT* LinkToFile, VARIANT* SaveWithDocument, VARIANT* Left, VARIANT* Top, VARIANT* Width, VARIANT* Height); 3727 LPDISPATCH AddPolyline(VARIANT* SafeArrayOfPoints); 3728 LPDISPATCH AddShape(long Type, float Left, float Top, float Width, float Height); 3729 LPDISPATCH AddTextEffect(long PresetTextEffect, LPCTSTR Text, LPCTSTR FontName, float FontSize, long FontBold, long FontItalic, float Left, float Top); 3730 LPDISPATCH AddTextbox(long Orientation, float Left, float Top, float Width, float Height); 3731 LPDISPATCH BuildFreeform(long EditingType, float X1, float Y1); 3732 LPDISPATCH Range(VARIANT* Index); 3733 void SelectAll(); 3734 }; 3735 ///////////////////////////////////////////////////////////////////////////// 3736 // TableStyle wrapper class 3737 3738 class TableStyle : public COleDispatchDriver 3739 { 3740 public: 3741 TableStyle() {} // Calls COleDispatchDriver default constructor 3742 TableStyle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3743 TableStyle(const TableStyle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3744 3745 // Attributes 3746 public: 3747 3748 // Operations 3749 public: 3750 LPDISPATCH GetApplication(); 3751 long GetCreator(); 3752 LPDISPATCH GetParent(); 3753 BOOL GetAllowPageBreaks(); 3754 void SetAllowPageBreaks(BOOL bNewValue); 3755 LPDISPATCH GetBorders(); 3756 void SetBorders(LPDISPATCH newValue); 3757 float GetBottomPadding(); 3758 void SetBottomPadding(float newValue); 3759 float GetLeftPadding(); 3760 void SetLeftPadding(float newValue); 3761 float GetTopPadding(); 3762 void SetTopPadding(float newValue); 3763 float GetRightPadding(); 3764 void SetRightPadding(float newValue); 3765 long GetAlignment(); 3766 void SetAlignment(long nNewValue); 3767 float GetSpacing(); 3768 void SetSpacing(float newValue); 3769 LPDISPATCH Condition(long ConditionCode); 3770 long GetTableDirection(); 3771 void SetTableDirection(long nNewValue); 3772 long GetAllowBreakAcrossPage(); 3773 void SetAllowBreakAcrossPage(long nNewValue); 3774 float GetLeftIndent(); 3775 void SetLeftIndent(float newValue); 3776 LPDISPATCH GetShading(); 3777 long GetRowStripe(); 3778 void SetRowStripe(long nNewValue); 3779 long GetColumnStripe(); 3780 void SetColumnStripe(long nNewValue); 3781 }; 3782 ///////////////////////////////////////////////////////////////////////////// 3783 // ConditionalStyle wrapper class 3784 3785 class ConditionalStyle : public COleDispatchDriver 3786 { 3787 public: 3788 ConditionalStyle() {} // Calls COleDispatchDriver default constructor 3789 ConditionalStyle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3790 ConditionalStyle(const ConditionalStyle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3791 3792 // Attributes 3793 public: 3794 3795 // Operations 3796 public: 3797 LPDISPATCH GetApplication(); 3798 long GetCreator(); 3799 LPDISPATCH GetParent(); 3800 LPDISPATCH GetShading(); 3801 LPDISPATCH GetBorders(); 3802 void SetBorders(LPDISPATCH newValue); 3803 float GetBottomPadding(); 3804 void SetBottomPadding(float newValue); 3805 float GetTopPadding(); 3806 void SetTopPadding(float newValue); 3807 float GetLeftPadding(); 3808 void SetLeftPadding(float newValue); 3809 float GetRightPadding(); 3810 void SetRightPadding(float newValue); 3811 LPDISPATCH GetParagraphFormat(); 3812 void SetParagraphFormat(LPDISPATCH newValue); 3813 LPDISPATCH GetFont(); 3814 void SetFont(LPDISPATCH newValue); 3815 }; 3816 ///////////////////////////////////////////////////////////////////////////// 3817 // FootnoteOptions wrapper class 3818 3819 class FootnoteOptions : public COleDispatchDriver 3820 { 3821 public: 3822 FootnoteOptions() {} // Calls COleDispatchDriver default constructor 3823 FootnoteOptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3824 FootnoteOptions(const FootnoteOptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3825 3826 // Attributes 3827 public: 3828 3829 // Operations 3830 public: 3831 LPDISPATCH GetApplication(); 3832 long GetCreator(); 3833 LPDISPATCH GetParent(); 3834 long GetLocation(); 3835 void SetLocation(long nNewValue); 3836 long GetNumberStyle(); 3837 void SetNumberStyle(long nNewValue); 3838 long GetStartingNumber(); 3839 void SetStartingNumber(long nNewValue); 3840 long GetNumberingRule(); 3841 void SetNumberingRule(long nNewValue); 3842 }; 3843 ///////////////////////////////////////////////////////////////////////////// 3844 // EndnoteOptions wrapper class 3845 3846 class EndnoteOptions : public COleDispatchDriver 3847 { 3848 public: 3849 EndnoteOptions() {} // Calls COleDispatchDriver default constructor 3850 EndnoteOptions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3851 EndnoteOptions(const EndnoteOptions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3852 3853 // Attributes 3854 public: 3855 3856 // Operations 3857 public: 3858 LPDISPATCH GetApplication(); 3859 long GetCreator(); 3860 LPDISPATCH GetParent(); 3861 long GetLocation(); 3862 void SetLocation(long nNewValue); 3863 long GetNumberStyle(); 3864 void SetNumberStyle(long nNewValue); 3865 long GetStartingNumber(); 3866 void SetStartingNumber(long nNewValue); 3867 long GetNumberingRule(); 3868 void SetNumberingRule(long nNewValue); 3869 }; 3870 ///////////////////////////////////////////////////////////////////////////// 3871 // Reviewers wrapper class 3872 3873 class Reviewers : public COleDispatchDriver 3874 { 3875 public: 3876 Reviewers() {} // Calls COleDispatchDriver default constructor 3877 Reviewers(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3878 Reviewers(const Reviewers& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3879 3880 // Attributes 3881 public: 3882 3883 // Operations 3884 public: 3885 LPUNKNOWN Get_NewEnum(); 3886 LPDISPATCH GetApplication(); 3887 long GetCreator(); 3888 LPDISPATCH GetParent(); 3889 long GetCount(); 3890 LPDISPATCH Item(VARIANT* Index); 3891 }; 3892 ///////////////////////////////////////////////////////////////////////////// 3893 // Reviewer wrapper class 3894 3895 class Reviewer : public COleDispatchDriver 3896 { 3897 public: 3898 Reviewer() {} // Calls COleDispatchDriver default constructor 3899 Reviewer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3900 Reviewer(const Reviewer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3901 3902 // Attributes 3903 public: 3904 3905 // Operations 3906 public: 3907 LPDISPATCH GetApplication(); 3908 long GetCreator(); 3909 LPDISPATCH GetParent(); 3910 BOOL GetVisible(); 3911 void SetVisible(BOOL bNewValue); 3912 }; 3913 ///////////////////////////////////////////////////////////////////////////// 3914 // TaskPane wrapper class 3915 3916 class TaskPane : public COleDispatchDriver 3917 { 3918 public: 3919 TaskPane() {} // Calls COleDispatchDriver default constructor 3920 TaskPane(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3921 TaskPane(const TaskPane& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3922 3923 // Attributes 3924 public: 3925 3926 // Operations 3927 public: 3928 LPDISPATCH GetApplication(); 3929 long GetCreator(); 3930 LPDISPATCH GetParent(); 3931 BOOL GetVisible(); 3932 void SetVisible(BOOL bNewValue); 3933 }; 3934 ///////////////////////////////////////////////////////////////////////////// 3935 // TaskPanes wrapper class 3936 3937 class TaskPanes : public COleDispatchDriver 3938 { 3939 public: 3940 TaskPanes() {} // Calls COleDispatchDriver default constructor 3941 TaskPanes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3942 TaskPanes(const TaskPanes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3943 3944 // Attributes 3945 public: 3946 3947 // Operations 3948 public: 3949 LPUNKNOWN Get_NewEnum(); 3950 long GetCount(); 3951 LPDISPATCH GetApplication(); 3952 long GetCreator(); 3953 LPDISPATCH GetParent(); 3954 LPDISPATCH Item(long Index); 3955 }; 3956 ///////////////////////////////////////////////////////////////////////////// 3957 // IApplicationEvents3 wrapper class 3958 3959 class IApplicationEvents3 : public COleDispatchDriver 3960 { 3961 public: 3962 IApplicationEvents3() {} // Calls COleDispatchDriver default constructor 3963 IApplicationEvents3(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 3964 IApplicationEvents3(const IApplicationEvents3& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 3965 3966 // Attributes 3967 public: 3968 3969 // Operations 3970 public: 3971 void Quit(); 3972 void DocumentChange(); 3973 void DocumentOpen(LPDISPATCH Doc); 3974 void DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel); 3975 void DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel); 3976 void DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel); 3977 void NewDocument(LPDISPATCH Doc); 3978 void WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn); 3979 void WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn); 3980 void WindowSelectionChange(LPDISPATCH Sel); 3981 void WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel); 3982 void WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel); 3983 void EPostagePropertyDialog(LPDISPATCH Doc); 3984 void EPostageInsert(LPDISPATCH Doc); 3985 void MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult); 3986 void MailMergeAfterRecordMerge(LPDISPATCH Doc); 3987 void MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel); 3988 void MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel); 3989 void MailMergeDataSourceLoad(LPDISPATCH Doc); 3990 void MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled); 3991 void MailMergeWizardSendToCustom(LPDISPATCH Doc); 3992 void MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled); 3993 void WindowSize(LPDISPATCH Doc, LPDISPATCH Wn); 3994 }; 3995 ///////////////////////////////////////////////////////////////////////////// 3996 // ApplicationEvents3 wrapper class 3997 3998 class ApplicationEvents3 : public COleDispatchDriver 3999 { 4000 public: 4001 ApplicationEvents3() {} // Calls COleDispatchDriver default constructor 4002 ApplicationEvents3(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4003 ApplicationEvents3(const ApplicationEvents3& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4004 4005 // Attributes 4006 public: 4007 4008 // Operations 4009 public: 4010 void Quit(); 4011 void DocumentChange(); 4012 void DocumentOpen(LPDISPATCH Doc); 4013 void DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel); 4014 void DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel); 4015 void DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel); 4016 void NewDocument(LPDISPATCH Doc); 4017 void WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn); 4018 void WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn); 4019 void WindowSelectionChange(LPDISPATCH Sel); 4020 void WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel); 4021 void WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel); 4022 void EPostagePropertyDialog(LPDISPATCH Doc); 4023 void EPostageInsert(LPDISPATCH Doc); 4024 void MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult); 4025 void MailMergeAfterRecordMerge(LPDISPATCH Doc); 4026 void MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel); 4027 void MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel); 4028 void MailMergeDataSourceLoad(LPDISPATCH Doc); 4029 void MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled); 4030 void MailMergeWizardSendToCustom(LPDISPATCH Doc); 4031 void MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled); 4032 void WindowSize(LPDISPATCH Doc, LPDISPATCH Wn); 4033 }; 4034 ///////////////////////////////////////////////////////////////////////////// 4035 // SmartTagAction wrapper class 4036 4037 class SmartTagAction : public COleDispatchDriver 4038 { 4039 public: 4040 SmartTagAction() {} // Calls COleDispatchDriver default constructor 4041 SmartTagAction(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4042 SmartTagAction(const SmartTagAction& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4043 4044 // Attributes 4045 public: 4046 4047 // Operations 4048 public: 4049 CString GetName(); 4050 LPDISPATCH GetApplication(); 4051 long GetCreator(); 4052 LPDISPATCH GetParent(); 4053 void Execute(); 4054 long GetType(); 4055 BOOL GetPresentInPane(); 4056 BOOL GetExpandHelp(); 4057 void SetExpandHelp(BOOL bNewValue); 4058 BOOL GetCheckboxState(); 4059 void SetCheckboxState(BOOL bNewValue); 4060 CString GetTextboxText(); 4061 void SetTextboxText(LPCTSTR lpszNewValue); 4062 long GetListSelection(); 4063 void SetListSelection(long nNewValue); 4064 long GetRadioGroupSelection(); 4065 void SetRadioGroupSelection(long nNewValue); 4066 BOOL GetExpandDocumentFragment(); 4067 void SetExpandDocumentFragment(BOOL bNewValue); 4068 LPDISPATCH GetActiveXControl(); 4069 }; 4070 ///////////////////////////////////////////////////////////////////////////// 4071 // SmartTagActions wrapper class 4072 4073 class SmartTagActions : public COleDispatchDriver 4074 { 4075 public: 4076 SmartTagActions() {} // Calls COleDispatchDriver default constructor 4077 SmartTagActions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4078 SmartTagActions(const SmartTagActions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4079 4080 // Attributes 4081 public: 4082 4083 // Operations 4084 public: 4085 LPUNKNOWN Get_NewEnum(); 4086 long GetCount(); 4087 LPDISPATCH GetApplication(); 4088 long GetCreator(); 4089 LPDISPATCH GetParent(); 4090 LPDISPATCH Item(VARIANT* Index); 4091 void ReloadActions(); 4092 }; 4093 ///////////////////////////////////////////////////////////////////////////// 4094 // SmartTagRecognizer wrapper class 4095 4096 class SmartTagRecognizer : public COleDispatchDriver 4097 { 4098 public: 4099 SmartTagRecognizer() {} // Calls COleDispatchDriver default constructor 4100 SmartTagRecognizer(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4101 SmartTagRecognizer(const SmartTagRecognizer& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4102 4103 // Attributes 4104 public: 4105 4106 // Operations 4107 public: 4108 CString GetFullName(); 4109 LPDISPATCH GetApplication(); 4110 long GetCreator(); 4111 LPDISPATCH GetParent(); 4112 BOOL GetEnabled(); 4113 void SetEnabled(BOOL bNewValue); 4114 CString GetProgID(); 4115 CString GetCaption(); 4116 }; 4117 ///////////////////////////////////////////////////////////////////////////// 4118 // SmartTagRecognizers wrapper class 4119 4120 class SmartTagRecognizers : public COleDispatchDriver 4121 { 4122 public: 4123 SmartTagRecognizers() {} // Calls COleDispatchDriver default constructor 4124 SmartTagRecognizers(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4125 SmartTagRecognizers(const SmartTagRecognizers& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4126 4127 // Attributes 4128 public: 4129 4130 // Operations 4131 public: 4132 LPUNKNOWN Get_NewEnum(); 4133 long GetCount(); 4134 LPDISPATCH GetApplication(); 4135 long GetCreator(); 4136 LPDISPATCH GetParent(); 4137 LPDISPATCH Item(VARIANT* Index); 4138 void ReloadRecognizers(); 4139 }; 4140 ///////////////////////////////////////////////////////////////////////////// 4141 // SmartTagType wrapper class 4142 4143 class SmartTagType : public COleDispatchDriver 4144 { 4145 public: 4146 SmartTagType() {} // Calls COleDispatchDriver default constructor 4147 SmartTagType(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4148 SmartTagType(const SmartTagType& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4149 4150 // Attributes 4151 public: 4152 4153 // Operations 4154 public: 4155 CString GetName(); 4156 LPDISPATCH GetApplication(); 4157 long GetCreator(); 4158 LPDISPATCH GetParent(); 4159 LPDISPATCH GetSmartTagActions(); 4160 LPDISPATCH GetSmartTagRecognizers(); 4161 CString GetFriendlyName(); 4162 }; 4163 ///////////////////////////////////////////////////////////////////////////// 4164 // SmartTagTypes wrapper class 4165 4166 class SmartTagTypes : public COleDispatchDriver 4167 { 4168 public: 4169 SmartTagTypes() {} // Calls COleDispatchDriver default constructor 4170 SmartTagTypes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4171 SmartTagTypes(const SmartTagTypes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4172 4173 // Attributes 4174 public: 4175 4176 // Operations 4177 public: 4178 LPUNKNOWN Get_NewEnum(); 4179 long GetCount(); 4180 LPDISPATCH GetApplication(); 4181 long GetCreator(); 4182 LPDISPATCH GetParent(); 4183 LPDISPATCH Item(VARIANT* Index); 4184 void ReloadAll(); 4185 }; 4186 ///////////////////////////////////////////////////////////////////////////// 4187 // Line wrapper class 4188 4189 class Line : public COleDispatchDriver 4190 { 4191 public: 4192 Line() {} // Calls COleDispatchDriver default constructor 4193 Line(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4194 Line(const Line& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4195 4196 // Attributes 4197 public: 4198 4199 // Operations 4200 public: 4201 LPDISPATCH GetApplication(); 4202 long GetCreator(); 4203 LPDISPATCH GetParent(); 4204 long GetLineType(); 4205 long GetLeft(); 4206 long GetTop(); 4207 long GetWidth(); 4208 long GetHeight(); 4209 LPDISPATCH GetRange(); 4210 LPDISPATCH GetRectangles(); 4211 }; 4212 ///////////////////////////////////////////////////////////////////////////// 4213 // Lines wrapper class 4214 4215 class Lines : public COleDispatchDriver 4216 { 4217 public: 4218 Lines() {} // Calls COleDispatchDriver default constructor 4219 Lines(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4220 Lines(const Lines& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4221 4222 // Attributes 4223 public: 4224 4225 // Operations 4226 public: 4227 LPUNKNOWN Get_NewEnum(); 4228 long GetCount(); 4229 LPDISPATCH GetApplication(); 4230 long GetCreator(); 4231 LPDISPATCH GetParent(); 4232 LPDISPATCH Item(long Index); 4233 }; 4234 ///////////////////////////////////////////////////////////////////////////// 4235 // Rectangle wrapper class 4236 4237 class Rectangle : public COleDispatchDriver 4238 { 4239 public: 4240 Rectangle() {} // Calls COleDispatchDriver default constructor 4241 Rectangle(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4242 Rectangle(const Rectangle& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4243 4244 // Attributes 4245 public: 4246 4247 // Operations 4248 public: 4249 LPDISPATCH GetApplication(); 4250 long GetCreator(); 4251 LPDISPATCH GetParent(); 4252 long GetRectangleType(); 4253 long GetLeft(); 4254 long GetTop(); 4255 long GetWidth(); 4256 long GetHeight(); 4257 LPDISPATCH GetRange(); 4258 LPDISPATCH GetLines(); 4259 }; 4260 ///////////////////////////////////////////////////////////////////////////// 4261 // Rectangles wrapper class 4262 4263 class Rectangles : public COleDispatchDriver 4264 { 4265 public: 4266 Rectangles() {} // Calls COleDispatchDriver default constructor 4267 Rectangles(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4268 Rectangles(const Rectangles& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4269 4270 // Attributes 4271 public: 4272 4273 // Operations 4274 public: 4275 LPUNKNOWN Get_NewEnum(); 4276 long GetCount(); 4277 LPDISPATCH GetApplication(); 4278 long GetCreator(); 4279 LPDISPATCH GetParent(); 4280 LPDISPATCH Item(long Index); 4281 }; 4282 ///////////////////////////////////////////////////////////////////////////// 4283 // Break wrapper class 4284 4285 class Break : public COleDispatchDriver 4286 { 4287 public: 4288 Break() {} // Calls COleDispatchDriver default constructor 4289 Break(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4290 Break(const Break& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4291 4292 // Attributes 4293 public: 4294 4295 // Operations 4296 public: 4297 LPDISPATCH GetApplication(); 4298 long GetCreator(); 4299 LPDISPATCH GetParent(); 4300 LPDISPATCH GetRange(); 4301 long GetPageIndex(); 4302 }; 4303 ///////////////////////////////////////////////////////////////////////////// 4304 // Breaks wrapper class 4305 4306 class Breaks : public COleDispatchDriver 4307 { 4308 public: 4309 Breaks() {} // Calls COleDispatchDriver default constructor 4310 Breaks(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4311 Breaks(const Breaks& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4312 4313 // Attributes 4314 public: 4315 4316 // Operations 4317 public: 4318 LPUNKNOWN Get_NewEnum(); 4319 long GetCount(); 4320 LPDISPATCH GetApplication(); 4321 long GetCreator(); 4322 LPDISPATCH GetParent(); 4323 LPDISPATCH Item(long Index); 4324 }; 4325 ///////////////////////////////////////////////////////////////////////////// 4326 // Page wrapper class 4327 4328 class Page : public COleDispatchDriver 4329 { 4330 public: 4331 Page() {} // Calls COleDispatchDriver default constructor 4332 Page(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4333 Page(const Page& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4334 4335 // Attributes 4336 public: 4337 4338 // Operations 4339 public: 4340 LPDISPATCH GetApplication(); 4341 long GetCreator(); 4342 LPDISPATCH GetParent(); 4343 long GetLeft(); 4344 long GetTop(); 4345 long GetWidth(); 4346 long GetHeight(); 4347 LPDISPATCH GetRectangles(); 4348 LPDISPATCH GetBreaks(); 4349 }; 4350 ///////////////////////////////////////////////////////////////////////////// 4351 // Pages wrapper class 4352 4353 class Pages : public COleDispatchDriver 4354 { 4355 public: 4356 Pages() {} // Calls COleDispatchDriver default constructor 4357 Pages(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4358 Pages(const Pages& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4359 4360 // Attributes 4361 public: 4362 4363 // Operations 4364 public: 4365 LPUNKNOWN Get_NewEnum(); 4366 long GetCount(); 4367 LPDISPATCH GetApplication(); 4368 long GetCreator(); 4369 LPDISPATCH GetParent(); 4370 LPDISPATCH Item(long Index); 4371 }; 4372 ///////////////////////////////////////////////////////////////////////////// 4373 // XMLNode wrapper class 4374 4375 class XMLNode : public COleDispatchDriver 4376 { 4377 public: 4378 XMLNode() {} // Calls COleDispatchDriver default constructor 4379 XMLNode(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4380 XMLNode(const XMLNode& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4381 4382 // Attributes 4383 public: 4384 4385 // Operations 4386 public: 4387 CString GetBaseName(); 4388 LPDISPATCH GetApplication(); 4389 long GetCreator(); 4390 LPDISPATCH GetParent(); 4391 LPDISPATCH GetRange(); 4392 CString GetText(); 4393 void SetText(LPCTSTR lpszNewValue); 4394 CString GetNamespaceURI(); 4395 CString GetXml(BOOL DataOnly); 4396 LPDISPATCH GetNextSibling(); 4397 LPDISPATCH GetPreviousSibling(); 4398 LPDISPATCH GetParentNode(); 4399 LPDISPATCH GetFirstChild(); 4400 LPDISPATCH GetLastChild(); 4401 LPDISPATCH GetOwnerDocument(); 4402 long GetNodeType(); 4403 LPDISPATCH GetChildNodes(); 4404 LPDISPATCH GetAttributes(); 4405 CString GetNodeValue(); 4406 void SetNodeValue(LPCTSTR lpszNewValue); 4407 BOOL GetHasChildNodes(); 4408 LPDISPATCH SelectSingleNode(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes); 4409 LPDISPATCH SelectNodes(LPCTSTR XPath, LPCTSTR PrefixMapping, BOOL FastSearchSkippingTextNodes); 4410 LPDISPATCH GetChildNodeSuggestions(); 4411 long GetLevel(); 4412 long GetValidationStatus(); 4413 LPDISPATCH GetSmartTag(); 4414 CString GetValidationErrorText(BOOL Advanced); 4415 CString GetPlaceholderText(); 4416 void SetPlaceholderText(LPCTSTR lpszNewValue); 4417 void Delete(); 4418 void Copy(); 4419 void RemoveChild(LPDISPATCH ChildElement); 4420 void Cut(); 4421 void Validate(); 4422 void SetValidationError(long Status, VARIANT* ErrorText, BOOL ClearedAutomatically); 4423 }; 4424 ///////////////////////////////////////////////////////////////////////////// 4425 // XMLNodes wrapper class 4426 4427 class XMLNodes : public COleDispatchDriver 4428 { 4429 public: 4430 XMLNodes() {} // Calls COleDispatchDriver default constructor 4431 XMLNodes(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4432 XMLNodes(const XMLNodes& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4433 4434 // Attributes 4435 public: 4436 4437 // Operations 4438 public: 4439 LPUNKNOWN Get_NewEnum(); 4440 long GetCount(); 4441 LPDISPATCH GetApplication(); 4442 long GetCreator(); 4443 LPDISPATCH GetParent(); 4444 LPDISPATCH Item(long Index); 4445 LPDISPATCH Add(LPCTSTR Name, LPCTSTR Namespace, VARIANT* Range); 4446 }; 4447 ///////////////////////////////////////////////////////////////////////////// 4448 // XMLSchemaReference wrapper class 4449 4450 class XMLSchemaReference : public COleDispatchDriver 4451 { 4452 public: 4453 XMLSchemaReference() {} // Calls COleDispatchDriver default constructor 4454 XMLSchemaReference(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4455 XMLSchemaReference(const XMLSchemaReference& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4456 4457 // Attributes 4458 public: 4459 4460 // Operations 4461 public: 4462 LPDISPATCH GetApplication(); 4463 long GetCreator(); 4464 LPDISPATCH GetParent(); 4465 CString GetNamespaceURI(); 4466 CString GetLocation(); 4467 void Delete(); 4468 void Reload(); 4469 }; 4470 ///////////////////////////////////////////////////////////////////////////// 4471 // XMLSchemaReferences wrapper class 4472 4473 class XMLSchemaReferences : public COleDispatchDriver 4474 { 4475 public: 4476 XMLSchemaReferences() {} // Calls COleDispatchDriver default constructor 4477 XMLSchemaReferences(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4478 XMLSchemaReferences(const XMLSchemaReferences& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4479 4480 // Attributes 4481 public: 4482 4483 // Operations 4484 public: 4485 LPUNKNOWN Get_NewEnum(); 4486 long GetCount(); 4487 LPDISPATCH GetApplication(); 4488 long GetCreator(); 4489 LPDISPATCH GetParent(); 4490 BOOL GetAutomaticValidation(); 4491 void SetAutomaticValidation(BOOL bNewValue); 4492 BOOL GetAllowSaveAsXMLWithoutValidation(); 4493 void SetAllowSaveAsXMLWithoutValidation(BOOL bNewValue); 4494 BOOL GetHideValidationErrors(); 4495 void SetHideValidationErrors(BOOL bNewValue); 4496 BOOL GetIgnoreMixedContent(); 4497 void SetIgnoreMixedContent(BOOL bNewValue); 4498 BOOL GetShowPlaceholderText(); 4499 void SetShowPlaceholderText(BOOL bNewValue); 4500 LPDISPATCH Item(VARIANT* Index); 4501 void Validate(); 4502 LPDISPATCH Add(VARIANT* NamespaceURI, VARIANT* Alias, VARIANT* FileName, BOOL InstallForAllUsers); 4503 }; 4504 ///////////////////////////////////////////////////////////////////////////// 4505 // XMLChildNodeSuggestion wrapper class 4506 4507 class XMLChildNodeSuggestion : public COleDispatchDriver 4508 { 4509 public: 4510 XMLChildNodeSuggestion() {} // Calls COleDispatchDriver default constructor 4511 XMLChildNodeSuggestion(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4512 XMLChildNodeSuggestion(const XMLChildNodeSuggestion& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4513 4514 // Attributes 4515 public: 4516 4517 // Operations 4518 public: 4519 LPDISPATCH GetApplication(); 4520 long GetCreator(); 4521 LPDISPATCH GetParent(); 4522 CString GetBaseName(); 4523 CString GetNamespaceURI(); 4524 LPDISPATCH GetXMLSchemaReference(); 4525 LPDISPATCH Insert(VARIANT* Range); 4526 }; 4527 ///////////////////////////////////////////////////////////////////////////// 4528 // XMLChildNodeSuggestions wrapper class 4529 4530 class XMLChildNodeSuggestions : public COleDispatchDriver 4531 { 4532 public: 4533 XMLChildNodeSuggestions() {} // Calls COleDispatchDriver default constructor 4534 XMLChildNodeSuggestions(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4535 XMLChildNodeSuggestions(const XMLChildNodeSuggestions& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4536 4537 // Attributes 4538 public: 4539 4540 // Operations 4541 public: 4542 LPUNKNOWN Get_NewEnum(); 4543 long GetCount(); 4544 LPDISPATCH GetApplication(); 4545 long GetCreator(); 4546 LPDISPATCH GetParent(); 4547 LPDISPATCH Item(VARIANT* Index); 4548 }; 4549 ///////////////////////////////////////////////////////////////////////////// 4550 // XMLNamespace wrapper class 4551 4552 class XMLNamespace : public COleDispatchDriver 4553 { 4554 public: 4555 XMLNamespace() {} // Calls COleDispatchDriver default constructor 4556 XMLNamespace(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4557 XMLNamespace(const XMLNamespace& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4558 4559 // Attributes 4560 public: 4561 4562 // Operations 4563 public: 4564 LPDISPATCH GetApplication(); 4565 long GetCreator(); 4566 LPDISPATCH GetParent(); 4567 CString GetUri(); 4568 CString GetLocation(BOOL AllUsers); 4569 void SetLocation(BOOL AllUsers, LPCTSTR lpszNewValue); 4570 CString GetAlias(BOOL AllUsers); 4571 void SetAlias(BOOL AllUsers, LPCTSTR lpszNewValue); 4572 LPDISPATCH GetXSLTransforms(); 4573 LPDISPATCH GetDefaultTransform(BOOL AllUsers); 4574 void SetDefaultTransform(BOOL AllUsers, LPDISPATCH newValue); 4575 void AttachToDocument(VARIANT* Document); 4576 void Delete(); 4577 }; 4578 ///////////////////////////////////////////////////////////////////////////// 4579 // XMLNamespaces wrapper class 4580 4581 class XMLNamespaces : public COleDispatchDriver 4582 { 4583 public: 4584 XMLNamespaces() {} // Calls COleDispatchDriver default constructor 4585 XMLNamespaces(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4586 XMLNamespaces(const XMLNamespaces& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4587 4588 // Attributes 4589 public: 4590 4591 // Operations 4592 public: 4593 LPUNKNOWN Get_NewEnum(); 4594 long GetCount(); 4595 LPDISPATCH GetApplication(); 4596 long GetCreator(); 4597 LPDISPATCH GetParent(); 4598 LPDISPATCH Item(VARIANT* Index); 4599 LPDISPATCH Add(LPCTSTR Path, VARIANT* NamespaceURI, VARIANT* Alias, BOOL InstallForAllUsers); 4600 void InstallManifest(LPCTSTR Path, BOOL InstallForAllUsers); 4601 }; 4602 ///////////////////////////////////////////////////////////////////////////// 4603 // XSLTransform wrapper class 4604 4605 class XSLTransform : public COleDispatchDriver 4606 { 4607 public: 4608 XSLTransform() {} // Calls COleDispatchDriver default constructor 4609 XSLTransform(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4610 XSLTransform(const XSLTransform& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4611 4612 // Attributes 4613 public: 4614 4615 // Operations 4616 public: 4617 LPDISPATCH GetApplication(); 4618 long GetCreator(); 4619 LPDISPATCH GetParent(); 4620 CString GetAlias(BOOL AllUsers); 4621 void SetAlias(BOOL AllUsers, LPCTSTR lpszNewValue); 4622 CString GetLocation(BOOL AllUsers); 4623 void SetLocation(BOOL AllUsers, LPCTSTR lpszNewValue); 4624 void Delete(); 4625 }; 4626 ///////////////////////////////////////////////////////////////////////////// 4627 // XSLTransforms wrapper class 4628 4629 class XSLTransforms : public COleDispatchDriver 4630 { 4631 public: 4632 XSLTransforms() {} // Calls COleDispatchDriver default constructor 4633 XSLTransforms(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4634 XSLTransforms(const XSLTransforms& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4635 4636 // Attributes 4637 public: 4638 4639 // Operations 4640 public: 4641 LPUNKNOWN Get_NewEnum(); 4642 long GetCount(); 4643 LPDISPATCH GetApplication(); 4644 long GetCreator(); 4645 LPDISPATCH GetParent(); 4646 LPDISPATCH Item(VARIANT* Index); 4647 LPDISPATCH Add(LPCTSTR Location, VARIANT* Alias, BOOL InstallForAllUsers); 4648 }; 4649 ///////////////////////////////////////////////////////////////////////////// 4650 // Editors wrapper class 4651 4652 class Editors : public COleDispatchDriver 4653 { 4654 public: 4655 Editors() {} // Calls COleDispatchDriver default constructor 4656 Editors(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4657 Editors(const Editors& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4658 4659 // Attributes 4660 public: 4661 4662 // Operations 4663 public: 4664 LPDISPATCH GetApplication(); 4665 long GetCreator(); 4666 LPDISPATCH GetParent(); 4667 long GetCount(); 4668 LPDISPATCH Item(VARIANT* Index); 4669 LPDISPATCH Add(VARIANT* EditorID); 4670 }; 4671 ///////////////////////////////////////////////////////////////////////////// 4672 // Editor wrapper class 4673 4674 class Editor : public COleDispatchDriver 4675 { 4676 public: 4677 Editor() {} // Calls COleDispatchDriver default constructor 4678 Editor(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4679 Editor(const Editor& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4680 4681 // Attributes 4682 public: 4683 4684 // Operations 4685 public: 4686 CString GetId(); 4687 CString GetName(); 4688 LPDISPATCH GetRange(); 4689 LPDISPATCH GetNextRange(); 4690 LPDISPATCH GetApplication(); 4691 long GetCreator(); 4692 LPDISPATCH GetParent(); 4693 void Delete(); 4694 void DeleteAll(); 4695 void SelectAll(); 4696 }; 4697 ///////////////////////////////////////////////////////////////////////////// 4698 // IApplicationEvents4 wrapper class 4699 4700 class IApplicationEvents4 : public COleDispatchDriver 4701 { 4702 public: 4703 IApplicationEvents4() {} // Calls COleDispatchDriver default constructor 4704 IApplicationEvents4(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4705 IApplicationEvents4(const IApplicationEvents4& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4706 4707 // Attributes 4708 public: 4709 4710 // Operations 4711 public: 4712 void Quit(); 4713 void DocumentChange(); 4714 void DocumentOpen(LPDISPATCH Doc); 4715 void DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel); 4716 void DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel); 4717 void DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel); 4718 void NewDocument(LPDISPATCH Doc); 4719 void WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn); 4720 void WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn); 4721 void WindowSelectionChange(LPDISPATCH Sel); 4722 void WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel); 4723 void WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel); 4724 void EPostagePropertyDialog(LPDISPATCH Doc); 4725 void EPostageInsert(LPDISPATCH Doc); 4726 void MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult); 4727 void MailMergeAfterRecordMerge(LPDISPATCH Doc); 4728 void MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel); 4729 void MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel); 4730 void MailMergeDataSourceLoad(LPDISPATCH Doc); 4731 void MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled); 4732 void MailMergeWizardSendToCustom(LPDISPATCH Doc); 4733 void MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled); 4734 void WindowSize(LPDISPATCH Doc, LPDISPATCH Wn); 4735 void XMLSelectionChange(LPDISPATCH Sel, LPDISPATCH OldXMLNode, LPDISPATCH NewXMLNode, long* Reason); 4736 void XMLValidationError(LPDISPATCH XMLNode); 4737 void DocumentSync(LPDISPATCH Doc, long SyncEventType); 4738 void EPostageInsertEx(LPDISPATCH Doc, long cpDeliveryAddrStart, long cpDeliveryAddrEnd, long cpReturnAddrStart, long cpReturnAddrEnd, long xaWidth, long yaHeight, LPCTSTR bstrPrinterName, LPCTSTR bstrPaperFeed, BOOL fPrint, BOOL* fCancel); 4739 }; 4740 ///////////////////////////////////////////////////////////////////////////// 4741 // ApplicationEvents4 wrapper class 4742 4743 class ApplicationEvents4 : public COleDispatchDriver 4744 { 4745 public: 4746 ApplicationEvents4() {} // Calls COleDispatchDriver default constructor 4747 ApplicationEvents4(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4748 ApplicationEvents4(const ApplicationEvents4& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4749 4750 // Attributes 4751 public: 4752 4753 // Operations 4754 public: 4755 void Quit(); 4756 void DocumentChange(); 4757 void DocumentOpen(LPDISPATCH Doc); 4758 void DocumentBeforeClose(LPDISPATCH Doc, BOOL* Cancel); 4759 void DocumentBeforePrint(LPDISPATCH Doc, BOOL* Cancel); 4760 void DocumentBeforeSave(LPDISPATCH Doc, BOOL* SaveAsUI, BOOL* Cancel); 4761 void NewDocument(LPDISPATCH Doc); 4762 void WindowActivate(LPDISPATCH Doc, LPDISPATCH Wn); 4763 void WindowDeactivate(LPDISPATCH Doc, LPDISPATCH Wn); 4764 void WindowSelectionChange(LPDISPATCH Sel); 4765 void WindowBeforeRightClick(LPDISPATCH Sel, BOOL* Cancel); 4766 void WindowBeforeDoubleClick(LPDISPATCH Sel, BOOL* Cancel); 4767 void EPostagePropertyDialog(LPDISPATCH Doc); 4768 void EPostageInsert(LPDISPATCH Doc); 4769 void MailMergeAfterMerge(LPDISPATCH Doc, LPDISPATCH DocResult); 4770 void MailMergeAfterRecordMerge(LPDISPATCH Doc); 4771 void MailMergeBeforeMerge(LPDISPATCH Doc, long StartRecord, long EndRecord, BOOL* Cancel); 4772 void MailMergeBeforeRecordMerge(LPDISPATCH Doc, BOOL* Cancel); 4773 void MailMergeDataSourceLoad(LPDISPATCH Doc); 4774 void MailMergeDataSourceValidate(LPDISPATCH Doc, BOOL* Handled); 4775 void MailMergeWizardSendToCustom(LPDISPATCH Doc); 4776 void MailMergeWizardStateChange(LPDISPATCH Doc, long* FromState, long* ToState, BOOL* Handled); 4777 void WindowSize(LPDISPATCH Doc, LPDISPATCH Wn); 4778 void XMLSelectionChange(LPDISPATCH Sel, LPDISPATCH OldXMLNode, LPDISPATCH NewXMLNode, long* Reason); 4779 void XMLValidationError(LPDISPATCH XMLNode); 4780 void DocumentSync(LPDISPATCH Doc, long SyncEventType); 4781 void EPostageInsertEx(LPDISPATCH Doc, long cpDeliveryAddrStart, long cpDeliveryAddrEnd, long cpReturnAddrStart, long cpReturnAddrEnd, long xaWidth, long yaHeight, LPCTSTR bstrPrinterName, LPCTSTR bstrPaperFeed, BOOL fPrint, BOOL* fCancel); 4782 }; 4783 ///////////////////////////////////////////////////////////////////////////// 4784 // DocumentEvents2 wrapper class 4785 4786 class DocumentEvents2 : public COleDispatchDriver 4787 { 4788 public: 4789 DocumentEvents2() {} // Calls COleDispatchDriver default constructor 4790 DocumentEvents2(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {} 4791 DocumentEvents2(const DocumentEvents2& dispatchSrc) : COleDispatchDriver(dispatchSrc) {} 4792 4793 // Attributes 4794 public: 4795 4796 // Operations 4797 public: 4798 void New(); 4799 void Open(); 4800 void Close(); 4801 void Sync(long SyncEventType); 4802 void XMLAfterInsert(LPDISPATCH NewXMLNode, BOOL InUndoRedo); 4803 void XMLBeforeDelete(LPDISPATCH DeletedRange, LPDISPATCH OldXMLNode, BOOL InUndoRedo); 4804 };
msword.cpp文件在这里