msword9.cpp
上传用户:tjyzx0508
上传日期:2013-02-16
资源大小:254k
文件大小:69k
- // Machine generated IDispatch wrapper class(es) created with ClassWizard
- #include "stdafx.h"
- #include "msword9.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // _Application properties
- /////////////////////////////////////////////////////////////////////////////
- // _Application operations
- LPDISPATCH _Application::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetCreator()
- {
- long result;
- InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetName()
- {
- CString result;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetDocuments()
- {
- LPDISPATCH result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetWindows()
- {
- LPDISPATCH result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetActiveDocument()
- {
- LPDISPATCH result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetActiveWindow()
- {
- LPDISPATCH result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetSelection()
- {
- LPDISPATCH result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetWordBasic()
- {
- LPDISPATCH result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetRecentFiles()
- {
- LPDISPATCH result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetNormalTemplate()
- {
- LPDISPATCH result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetSystem()
- {
- LPDISPATCH result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAutoCorrect()
- {
- LPDISPATCH result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetFontNames()
- {
- LPDISPATCH result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetLandscapeFontNames()
- {
- LPDISPATCH result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetPortraitFontNames()
- {
- LPDISPATCH result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetLanguages()
- {
- LPDISPATCH result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAssistant()
- {
- LPDISPATCH result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetBrowser()
- {
- LPDISPATCH result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetFileConverters()
- {
- LPDISPATCH result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetMailingLabel()
- {
- LPDISPATCH result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetDialogs()
- {
- LPDISPATCH result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetCaptionLabels()
- {
- LPDISPATCH result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAutoCaptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAddIns()
- {
- LPDISPATCH result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetVisible()
- {
- BOOL result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetVisible(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString _Application::GetVersion()
- {
- CString result;
- InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetScreenUpdating()
- {
- BOOL result;
- InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetScreenUpdating(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetPrintPreview()
- {
- BOOL result;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetPrintPreview(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetTasks()
- {
- LPDISPATCH result;
- InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetDisplayStatusBar()
- {
- BOOL result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayStatusBar(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Application::GetSpecialMode()
- {
- BOOL result;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long _Application::GetUsableWidth()
- {
- long result;
- InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Application::GetUsableHeight()
- {
- long result;
- InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetMathCoprocessorAvailable()
- {
- BOOL result;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetMouseAvailable()
- {
- BOOL result;
- InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- VARIANT _Application::GetInternational(long Index)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- Index);
- return result;
- }
- CString _Application::GetBuild()
- {
- CString result;
- InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetCapsLock()
- {
- BOOL result;
- InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetNumLock()
- {
- BOOL result;
- InvokeHelper(0x31, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetUserName_()
- {
- CString result;
- InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetUserName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Application::GetUserInitials()
- {
- CString result;
- InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetUserInitials(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Application::GetUserAddress()
- {
- CString result;
- InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetUserAddress(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x36, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- LPDISPATCH _Application::GetMacroContainer()
- {
- LPDISPATCH result;
- InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetDisplayRecentFiles()
- {
- BOOL result;
- InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayRecentFiles(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x38, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetCommandBars()
- {
- LPDISPATCH result;
- InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetSynonymInfo(LPCTSTR Word, VARIANT* LanguageID)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_BSTR VTS_PVARIANT;
- InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Word, LanguageID);
- return result;
- }
- LPDISPATCH _Application::GetVbe()
- {
- LPDISPATCH result;
- InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetDefaultSaveFormat()
- {
- CString result;
- InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDefaultSaveFormat(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x40, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- LPDISPATCH _Application::GetListGalleries()
- {
- LPDISPATCH result;
- InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetActivePrinter()
- {
- CString result;
- InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetActivePrinter(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- LPDISPATCH _Application::GetTemplates()
- {
- LPDISPATCH result;
- InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetCustomizationContext()
- {
- LPDISPATCH result;
- InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCustomizationContext(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x44, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH _Application::GetKeyBindings()
- {
- LPDISPATCH result;
- InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetKeysBoundTo(long KeyCategory, LPCTSTR Command, VARIANT* CommandParameter)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4 VTS_BSTR VTS_PVARIANT;
- InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- KeyCategory, Command, CommandParameter);
- return result;
- }
- LPDISPATCH _Application::GetFindKey(long KeyCode, VARIANT* KeyCode2)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT;
- InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- KeyCode, KeyCode2);
- return result;
- }
- CString _Application::GetCaption()
- {
- CString result;
- InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCaption(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Application::GetPath()
- {
- CString result;
- InvokeHelper(0x51, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetDisplayScrollBars()
- {
- BOOL result;
- InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayScrollBars(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x52, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString _Application::GetStartupPath()
- {
- CString result;
- InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetStartupPath(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- long _Application::GetBackgroundSavingStatus()
- {
- long result;
- InvokeHelper(0x55, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Application::GetBackgroundPrintingStatus()
- {
- long result;
- InvokeHelper(0x56, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Application::GetLeft()
- {
- long result;
- InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetLeft(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x57, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetTop()
- {
- long result;
- InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetTop(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x58, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetWidth()
- {
- long result;
- InvokeHelper(0x59, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetWidth(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x59, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetHeight()
- {
- long result;
- InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetHeight(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Application::GetWindowState()
- {
- long result;
- InvokeHelper(0x5b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetWindowState(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetDisplayAutoCompleteTips()
- {
- BOOL result;
- InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayAutoCompleteTips(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetDisplayAlerts()
- {
- long result;
- InvokeHelper(0x5e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayAlerts(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Application::GetCustomDictionaries()
- {
- LPDISPATCH result;
- InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetPathSeparator()
- {
- CString result;
- InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetStatusBar(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Application::GetMAPIAvailable()
- {
- BOOL result;
- InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetDisplayScreenTips()
- {
- BOOL result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDisplayScreenTips(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Application::GetEnableCancelKey()
- {
- long result;
- InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetEnableCancelKey(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Application::GetUserControl()
- {
- BOOL result;
- InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetFileSearch()
- {
- LPDISPATCH result;
- InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetMailSystem()
- {
- long result;
- InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- CString _Application::GetDefaultTableSeparator()
- {
- CString result;
- InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDefaultTableSeparator(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Application::GetShowVisualBasicEditor()
- {
- BOOL result;
- InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetShowVisualBasicEditor(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- CString _Application::GetBrowseExtraFileTypes()
- {
- CString result;
- InvokeHelper(0x6c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Application::SetBrowseExtraFileTypes(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x6c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Application::GetIsObjectValid(LPDISPATCH Object)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x6d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- Object);
- return result;
- }
- LPDISPATCH _Application::GetHangulHanjaDictionaries()
- {
- LPDISPATCH result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetMailMessage()
- {
- LPDISPATCH result;
- InvokeHelper(0x15c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetFocusInMailHeader()
- {
- BOOL result;
- InvokeHelper(0x182, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::Quit(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x451, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- SaveChanges, OriginalFormat, RouteDocument);
- }
- void _Application::ScreenRefresh()
- {
- InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::LookupNameProperties(LPCTSTR Name)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x12f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name);
- }
- void _Application::SubstituteFont(LPCTSTR UnavailableFont, LPCTSTR SubstituteFont)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x130, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- UnavailableFont, SubstituteFont);
- }
- BOOL _Application::Repeat(VARIANT* Times)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x131, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Times);
- return result;
- }
- void _Application::DDEExecute(long Channel, LPCTSTR Command)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x136, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Channel, Command);
- }
- long _Application::DDEInitiate(LPCTSTR App, LPCTSTR Topic)
- {
- long result;
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x137, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- App, Topic);
- return result;
- }
- void _Application::DDEPoke(long Channel, LPCTSTR Item, LPCTSTR Data)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BSTR VTS_BSTR;
- InvokeHelper(0x138, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Channel, Item, Data);
- }
- CString _Application::DDERequest(long Channel, LPCTSTR Item)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4 VTS_BSTR;
- InvokeHelper(0x139, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- Channel, Item);
- return result;
- }
- void _Application::DDETerminate(long Channel)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x13a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Channel);
- }
- void _Application::DDETerminateAll()
- {
- InvokeHelper(0x13b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- long _Application::BuildKeyCode(long Arg1, VARIANT* Arg2, VARIANT* Arg3, VARIANT* Arg4)
- {
- long result;
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x13c, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Arg1, Arg2, Arg3, Arg4);
- return result;
- }
- CString _Application::KeyString(long KeyCode, VARIANT* KeyCode2)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT;
- InvokeHelper(0x13d, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- KeyCode, KeyCode2);
- return result;
- }
- void _Application::OrganizerCopy(LPCTSTR Source, LPCTSTR Destination, LPCTSTR Name, long Object)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4;
- InvokeHelper(0x13e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Source, Destination, Name, Object);
- }
- void _Application::OrganizerDelete(LPCTSTR Source, LPCTSTR Name, long Object)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR VTS_I4;
- InvokeHelper(0x13f, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Source, Name, Object);
- }
- void _Application::OrganizerRename(LPCTSTR Source, LPCTSTR Name, LPCTSTR NewName, long Object)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4;
- InvokeHelper(0x140, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Source, Name, NewName, Object);
- }
- CString _Application::GetAddress(VARIANT* Name, VARIANT* AddressProperties, VARIANT* UseAutoText, VARIANT* DisplaySelectDialog, VARIANT* SelectDialog, VARIANT* CheckNamesDialog, VARIANT* RecentAddressesChoice, VARIANT* UpdateRecentAddresses)
- {
- CString result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x142, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- Name, AddressProperties, UseAutoText, DisplaySelectDialog, SelectDialog, CheckNamesDialog, RecentAddressesChoice, UpdateRecentAddresses);
- return result;
- }
- BOOL _Application::CheckGrammar(LPCTSTR String)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x143, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- String);
- return result;
- }
- BOOL _Application::CheckSpelling(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5,
VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x144, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Word, CustomDictionary, IgnoreUppercase, MainDictionary, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10);
- return result;
- }
- void _Application::ResetIgnoreAll()
- {
- InvokeHelper(0x146, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Application::GetSpellingSuggestions(LPCTSTR Word, VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* MainDictionary, VARIANT* SuggestionMode, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4,
VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x147, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Word, CustomDictionary, IgnoreUppercase, MainDictionary, SuggestionMode, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9,
CustomDictionary10);
- return result;
- }
- void _Application::GoBack()
- {
- InvokeHelper(0x148, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::Help(VARIANT* HelpType)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x149, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- HelpType);
- }
- void _Application::AutomaticChange()
- {
- InvokeHelper(0x14a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::ShowMe()
- {
- InvokeHelper(0x14b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::HelpTool()
- {
- InvokeHelper(0x14c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Application::NewWindow()
- {
- LPDISPATCH result;
- InvokeHelper(0x159, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::ListCommands(BOOL ListAllCommands)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x15a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ListAllCommands);
- }
- void _Application::ShowClipboard()
- {
- InvokeHelper(0x15d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::OnTime(VARIANT* When, LPCTSTR Name, VARIANT* Tolerance)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_BSTR VTS_PVARIANT;
- InvokeHelper(0x15e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- When, Name, Tolerance);
- }
- void _Application::NextLetter()
- {
- InvokeHelper(0x15f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- short _Application::MountVolume(LPCTSTR Zone, LPCTSTR Server, LPCTSTR Volume, VARIANT* User, VARIANT* UserPassword, VARIANT* VolumePassword)
- {
- short result;
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x161, DISPATCH_METHOD, VT_I2, (void*)&result, parms,
- Zone, Server, Volume, User, UserPassword, VolumePassword);
- return result;
- }
- CString _Application::CleanString(LPCTSTR String)
- {
- CString result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x162, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- String);
- return result;
- }
- void _Application::SendFax()
- {
- InvokeHelper(0x164, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::ChangeFileOpenDirectory(LPCTSTR Path)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x165, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Path);
- }
- void _Application::GoForward()
- {
- InvokeHelper(0x167, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::Move(long Left, long Top)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x168, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Left, Top);
- }
- void _Application::Resize(long Width, long Height)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x169, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Width, Height);
- }
- float _Application::InchesToPoints(float Inches)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x172, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Inches);
- return result;
- }
- float _Application::CentimetersToPoints(float Centimeters)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x173, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Centimeters);
- return result;
- }
- float _Application::MillimetersToPoints(float Millimeters)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x174, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Millimeters);
- return result;
- }
- float _Application::PicasToPoints(float Picas)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x175, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Picas);
- return result;
- }
- float _Application::LinesToPoints(float Lines)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x176, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Lines);
- return result;
- }
- float _Application::PointsToInches(float Points)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x17c, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Points);
- return result;
- }
- float _Application::PointsToCentimeters(float Points)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x17d, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Points);
- return result;
- }
- float _Application::PointsToMillimeters(float Points)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x17e, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Points);
- return result;
- }
- float _Application::PointsToPicas(float Points)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x17f, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Points);
- return result;
- }
- float _Application::PointsToLines(float Points)
- {
- float result;
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x180, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Points);
- return result;
- }
- void _Application::Activate()
- {
- InvokeHelper(0x181, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- float _Application::PointsToPixels(float Points, VARIANT* fVertical)
- {
- float result;
- static BYTE parms[] =
- VTS_R4 VTS_PVARIANT;
- InvokeHelper(0x183, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Points, fVertical);
- return result;
- }
- float _Application::PixelsToPoints(float Pixels, VARIANT* fVertical)
- {
- float result;
- static BYTE parms[] =
- VTS_R4 VTS_PVARIANT;
- InvokeHelper(0x184, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
- Pixels, fVertical);
- return result;
- }
- void _Application::KeyboardLatin()
- {
- InvokeHelper(0x190, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::KeyboardBidi()
- {
- InvokeHelper(0x191, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Application::ToggleKeyboard()
- {
- InvokeHelper(0x192, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- long _Application::Keyboard(long LangId)
- {
- long result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1be, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- LangId);
- return result;
- }
- CString _Application::ProductCode()
- {
- CString result;
- InvokeHelper(0x194, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::DefaultWebOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x195, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Application::SetDefaultTheme(LPCTSTR Name, long DocumentType)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x19e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name, DocumentType);
- }
- CString _Application::GetDefaultTheme(long DocumentType)
- {
- CString result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1a0, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- DocumentType);
- return result;
- }
- LPDISPATCH _Application::GetEmailOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x185, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetLanguage()
- {
- long result;
- InvokeHelper(0x187, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetCOMAddIns()
- {
- LPDISPATCH result;
- InvokeHelper(0x6f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Application::GetCheckLanguage()
- {
- BOOL result;
- InvokeHelper(0x70, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Application::SetCheckLanguage(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x70, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Application::GetLanguageSettings()
- {
- LPDISPATCH result;
- InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Application::GetAnswerWizard()
- {
- LPDISPATCH result;
- InvokeHelper(0x199, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Application::GetFeatureInstall()
- {
- long result;
- InvokeHelper(0x1bf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Application::SetFeatureInstall(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1bf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void _Application::PrintOut(VARIANT* Background, VARIANT* Append, VARIANT* Range, VARIANT* OutputFileName, VARIANT* From, VARIANT* To, VARIANT* Item, VARIANT* Copies, VARIANT* Pages, VARIANT* PageType, VARIANT* PrintToFile, VARIANT* Collate,
VARIANT* FileName, VARIANT* ActivePrinterMacGX, VARIANT* ManualDuplexPrint, VARIANT* PrintZoomColumn, VARIANT* PrintZoomRow, VARIANT* PrintZoomPaperWidth, VARIANT* PrintZoomPaperHeight)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
VTS_PVARIANT;
- InvokeHelper(0x1bc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, FileName, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight);
- }
- VARIANT _Application::Run(LPCTSTR MacroName, VARIANT* varg1, VARIANT* varg2, VARIANT* varg3, VARIANT* varg4, VARIANT* varg5, VARIANT* varg6, VARIANT* varg7, VARIANT* varg8, VARIANT* varg9, VARIANT* varg10, VARIANT* varg11, VARIANT* varg12, VARIANT* varg13,
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,
VARIANT* varg28, VARIANT* varg29, VARIANT* varg30)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1bd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- MacroName, varg1, varg2, varg3, varg4, varg5, varg6, varg7, varg8, varg9, varg10, varg11, varg12, varg13, varg14, varg15, varg16, varg17, varg18, varg19, varg20, varg21, varg22, varg23, varg24, varg25, varg26, varg27, varg28, varg29,
varg30);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Documents properties
- /////////////////////////////////////////////////////////////////////////////
- // Documents operations
- LPUNKNOWN Documents::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- long Documents::GetCount()
- {
- long result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Documents::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Documents::GetCreator()
- {
- long result;
- InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Documents::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Documents::Item(VARIANT* Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Index);
- return result;
- }
- void Documents::Close(VARIANT* SaveChanges, VARIANT* OriginalFormat, VARIANT* RouteDocument)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x451, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- SaveChanges, OriginalFormat, RouteDocument);
- }
- void Documents::Save(VARIANT* NoPrompt, VARIANT* OriginalFormat)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NoPrompt, OriginalFormat);
- }
- LPDISPATCH Documents::Add(VARIANT* Template, VARIANT* NewTemplate, VARIANT* DocumentType, VARIANT* Visible)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Template, NewTemplate, DocumentType, Visible);
- return result;
- }
- LPDISPATCH Documents::Open(VARIANT* FileName, VARIANT* ConfirmConversions, VARIANT* ReadOnly, VARIANT* AddToRecentFiles, VARIANT* PasswordDocument, VARIANT* PasswordTemplate, VARIANT* Revert, VARIANT* WritePasswordDocument,
VARIANT* WritePasswordTemplate, VARIANT* Format, VARIANT* Encoding, VARIANT* Visible)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- FileName, ConfirmConversions, ReadOnly, AddToRecentFiles, PasswordDocument, PasswordTemplate, Revert, WritePasswordDocument, WritePasswordTemplate, Format, Encoding, Visible);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Selection properties
- /////////////////////////////////////////////////////////////////////////////
- // Selection operations
- CString Selection::GetText()
- {
- CString result;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void Selection::SetText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- LPDISPATCH Selection::GetFormattedText()
- {
- LPDISPATCH result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::SetFormattedText(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long Selection::GetStart()
- {
- long result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetStart(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long Selection::GetEnd()
- {
- long result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetEnd(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH Selection::GetFont()
- {
- LPDISPATCH result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::SetFont(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long Selection::GetType()
- {
- long result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long Selection::GetStoryType()
- {
- long result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Selection::GetStyle()
- {
- VARIANT result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Selection::SetStyle(VARIANT* newValue)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH Selection::GetTables()
- {
- LPDISPATCH result;
- InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetWords()
- {
- LPDISPATCH result;
- InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetSentences()
- {
- LPDISPATCH result;
- InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetCharacters()
- {
- LPDISPATCH result;
- InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetFootnotes()
- {
- LPDISPATCH result;
- InvokeHelper(0x36, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetEndnotes()
- {
- LPDISPATCH result;
- InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetComments()
- {
- LPDISPATCH result;
- InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetCells()
- {
- LPDISPATCH result;
- InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetSections()
- {
- LPDISPATCH result;
- InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetParagraphs()
- {
- LPDISPATCH result;
- InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetBorders()
- {
- LPDISPATCH result;
- InvokeHelper(0x44c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::SetBorders(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x44c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH Selection::GetShading()
- {
- LPDISPATCH result;
- InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetFields()
- {
- LPDISPATCH result;
- InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetFormFields()
- {
- LPDISPATCH result;
- InvokeHelper(0x41, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetFrames()
- {
- LPDISPATCH result;
- InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetParagraphFormat()
- {
- LPDISPATCH result;
- InvokeHelper(0x44e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::SetParagraphFormat(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x44e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH Selection::GetPageSetup()
- {
- LPDISPATCH result;
- InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::SetPageSetup(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH Selection::GetBookmarks()
- {
- LPDISPATCH result;
- InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Selection::GetStoryLength()
- {
- long result;
- InvokeHelper(0x98, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long Selection::GetLanguageID()
- {
- long result;
- InvokeHelper(0x99, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetLanguageID(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x99, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long Selection::GetLanguageIDFarEast()
- {
- long result;
- InvokeHelper(0x9a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetLanguageIDFarEast(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x9a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long Selection::GetLanguageIDOther()
- {
- long result;
- InvokeHelper(0x9b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetLanguageIDOther(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x9b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH Selection::GetHyperlinks()
- {
- LPDISPATCH result;
- InvokeHelper(0x9c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetColumns()
- {
- LPDISPATCH result;
- InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetRows()
- {
- LPDISPATCH result;
- InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetHeaderFooter()
- {
- LPDISPATCH result;
- InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL Selection::GetIsEndOfRowMark()
- {
- BOOL result;
- InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long Selection::GetBookmarkID()
- {
- long result;
- InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long Selection::GetPreviousBookmarkID()
- {
- long result;
- InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetFind()
- {
- LPDISPATCH result;
- InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetRange()
- {
- LPDISPATCH result;
- InvokeHelper(0x190, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Selection::GetInformation(long Type)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x191, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- Type);
- return result;
- }
- long Selection::GetFlags()
- {
- long result;
- InvokeHelper(0x192, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetFlags(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x192, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL Selection::GetActive()
- {
- BOOL result;
- InvokeHelper(0x193, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL Selection::GetStartIsActive()
- {
- BOOL result;
- InvokeHelper(0x194, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void Selection::SetStartIsActive(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x194, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL Selection::GetIPAtEndOfLine()
- {
- BOOL result;
- InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL Selection::GetExtendMode()
- {
- BOOL result;
- InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void Selection::SetExtendMode(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x196, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL Selection::GetColumnSelectMode()
- {
- BOOL result;
- InvokeHelper(0x197, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void Selection::SetColumnSelectMode(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x197, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long Selection::GetOrientation()
- {
- long result;
- InvokeHelper(0x19a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetOrientation(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x19a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH Selection::GetInlineShapes()
- {
- LPDISPATCH result;
- InvokeHelper(0x19b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Selection::GetCreator()
- {
- long result;
- InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetDocument()
- {
- LPDISPATCH result;
- InvokeHelper(0x3eb, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GetShapeRange()
- {
- LPDISPATCH result;
- InvokeHelper(0x3ec, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::Select()
- {
- InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SetRange(long Start, long End)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0x64, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Start, End);
- }
- void Selection::Collapse(VARIANT* Direction)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x65, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Direction);
- }
- void Selection::InsertBefore(LPCTSTR Text)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Text);
- }
- void Selection::InsertAfter(LPCTSTR Text)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Text);
- }
- LPDISPATCH Selection::Next(VARIANT* Unit, VARIANT* Count)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x69, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Unit, Count);
- return result;
- }
- LPDISPATCH Selection::Previous(VARIANT* Unit, VARIANT* Count)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x6a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Unit, Count);
- return result;
- }
- long Selection::StartOf(VARIANT* Unit, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x6b, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Extend);
- return result;
- }
- long Selection::EndOf(VARIANT* Unit, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x6c, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Extend);
- return result;
- }
- long Selection::Move(VARIANT* Unit, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x6d, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count);
- return result;
- }
- long Selection::MoveStart(VARIANT* Unit, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x6e, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count);
- return result;
- }
- long Selection::MoveEnd(VARIANT* Unit, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x6f, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count);
- return result;
- }
- long Selection::MoveWhile(VARIANT* Cset, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x70, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Cset, Count);
- return result;
- }
- long Selection::MoveStartWhile(VARIANT* Cset, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x71, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Cset, Count);
- return result;
- }
- long Selection::MoveEndWhile(VARIANT* Cset, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x72, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Cset, Count);
- return result;
- }
- long Selection::MoveUntil(VARIANT* Cset, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x73, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Cset, Count);
- return result;
- }
- long Selection::MoveStartUntil(VARIANT* Cset, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x74, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Cset, Count);
- return result;
- }
- long Selection::MoveEndUntil(VARIANT* Cset, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x75, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Cset, Count);
- return result;
- }
- void Selection::Cut()
- {
- InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::Copy()
- {
- InvokeHelper(0x78, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::Paste()
- {
- InvokeHelper(0x79, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertBreak(VARIANT* Type)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x7a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Type);
- }
- void Selection::InsertFile(LPCTSTR FileName, VARIANT* Range, VARIANT* ConfirmConversions, VARIANT* Link, VARIANT* Attachment)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x7b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- FileName, Range, ConfirmConversions, Link, Attachment);
- }
- BOOL Selection::InStory(LPDISPATCH Range)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x7d, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Range);
- return result;
- }
- BOOL Selection::InRange(LPDISPATCH Range)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x7e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Range);
- return result;
- }
- long Selection::Delete(VARIANT* Unit, VARIANT* Count)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x7f, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count);
- return result;
- }
- long Selection::Expand(VARIANT* Unit)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x81, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit);
- return result;
- }
- void Selection::InsertParagraph()
- {
- InvokeHelper(0xa0, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertParagraphAfter()
- {
- InvokeHelper(0xa1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertSymbol(long CharacterNumber, VARIANT* Font, VARIANT* Unicode, VARIANT* Bias)
- {
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xa4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- CharacterNumber, Font, Unicode, Bias);
- }
- void Selection::InsertCrossReference(VARIANT* ReferenceType, long ReferenceKind, VARIANT* ReferenceItem, VARIANT* InsertAsHyperlink, VARIANT* IncludePosition)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xa5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ReferenceType, ReferenceKind, ReferenceItem, InsertAsHyperlink, IncludePosition);
- }
- void Selection::InsertCaption(VARIANT* Label, VARIANT* Title, VARIANT* TitleAutoText, VARIANT* Position)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xa6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Label, Title, TitleAutoText, Position);
- }
- void Selection::CopyAsPicture()
- {
- InvokeHelper(0xa7, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SortAscending()
- {
- InvokeHelper(0xa9, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SortDescending()
- {
- InvokeHelper(0xaa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL Selection::IsEqual(LPDISPATCH Range)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0xab, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Range);
- return result;
- }
- float Selection::Calculate()
- {
- float result;
- InvokeHelper(0xac, DISPATCH_METHOD, VT_R4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xad, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- What, Which, Count, Name);
- return result;
- }
- LPDISPATCH Selection::GoToNext(long What)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xae, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- What);
- return result;
- }
- LPDISPATCH Selection::GoToPrevious(long What)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xaf, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- What);
- return result;
- }
- void Selection::PasteSpecial(VARIANT* IconIndex, VARIANT* Link, VARIANT* Placement, VARIANT* DisplayAsIcon, VARIANT* DataType, VARIANT* IconFileName, VARIANT* IconLabel)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xb0, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- IconIndex, Link, Placement, DisplayAsIcon, DataType, IconFileName, IconLabel);
- }
- LPDISPATCH Selection::PreviousField()
- {
- LPDISPATCH result;
- InvokeHelper(0xb1, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Selection::NextField()
- {
- LPDISPATCH result;
- InvokeHelper(0xb2, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Selection::InsertParagraphBefore()
- {
- InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertCells(VARIANT* ShiftCells)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0xd6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ShiftCells);
- }
- void Selection::Extend(VARIANT* Character)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x12c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Character);
- }
- void Selection::Shrink()
- {
- InvokeHelper(0x12d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- long Selection::MoveLeft(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1f4, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count, Extend);
- return result;
- }
- long Selection::MoveRight(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1f5, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count, Extend);
- return result;
- }
- long Selection::MoveUp(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1f6, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count, Extend);
- return result;
- }
- long Selection::MoveDown(VARIANT* Unit, VARIANT* Count, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1f7, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Count, Extend);
- return result;
- }
- long Selection::HomeKey(VARIANT* Unit, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1f8, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Extend);
- return result;
- }
- long Selection::EndKey(VARIANT* Unit, VARIANT* Extend)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1f9, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Unit, Extend);
- return result;
- }
- void Selection::EscapeKey()
- {
- InvokeHelper(0x1fa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::TypeText(LPCTSTR Text)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1fb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Text);
- }
- void Selection::CopyFormat()
- {
- InvokeHelper(0x1fd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::PasteFormat()
- {
- InvokeHelper(0x1fe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::TypeParagraph()
- {
- InvokeHelper(0x200, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::TypeBackspace()
- {
- InvokeHelper(0x201, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::NextSubdocument()
- {
- InvokeHelper(0x202, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::PreviousSubdocument()
- {
- InvokeHelper(0x203, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectColumn()
- {
- InvokeHelper(0x204, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCurrentFont()
- {
- InvokeHelper(0x205, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCurrentAlignment()
- {
- InvokeHelper(0x206, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCurrentSpacing()
- {
- InvokeHelper(0x207, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCurrentIndent()
- {
- InvokeHelper(0x208, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCurrentTabs()
- {
- InvokeHelper(0x209, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCurrentColor()
- {
- InvokeHelper(0x20a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::CreateTextbox()
- {
- InvokeHelper(0x20b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::WholeStory()
- {
- InvokeHelper(0x20c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectRow()
- {
- InvokeHelper(0x20d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SplitTable()
- {
- InvokeHelper(0x20e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertRows(VARIANT* NumRows)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x210, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NumRows);
- }
- void Selection::InsertColumns()
- {
- InvokeHelper(0x211, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertFormula(VARIANT* Formula, VARIANT* NumberFormat)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x212, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Formula, NumberFormat);
- }
- LPDISPATCH Selection::NextRevision(VARIANT* Wrap)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x213, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Wrap);
- return result;
- }
- LPDISPATCH Selection::PreviousRevision(VARIANT* Wrap)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x214, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Wrap);
- return result;
- }
- void Selection::PasteAsNestedTable()
- {
- InvokeHelper(0x215, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH Selection::CreateAutoTextEntry(LPCTSTR Name, LPCTSTR StyleName)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_BSTR VTS_BSTR;
- InvokeHelper(0x216, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Name, StyleName);
- return result;
- }
- void Selection::DetectLanguage()
- {
- InvokeHelper(0x217, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::SelectCell()
- {
- InvokeHelper(0x218, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertRowsBelow(VARIANT* NumRows)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x219, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NumRows);
- }
- void Selection::InsertColumnsRight()
- {
- InvokeHelper(0x21a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertRowsAbove(VARIANT* NumRows)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x21b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NumRows);
- }
- void Selection::RtlRun()
- {
- InvokeHelper(0x258, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::LtrRun()
- {
- InvokeHelper(0x259, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::BoldRun()
- {
- InvokeHelper(0x25a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::ItalicRun()
- {
- InvokeHelper(0x25b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::RtlPara()
- {
- InvokeHelper(0x25d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::LtrPara()
- {
- InvokeHelper(0x25e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Selection::InsertDateTime(VARIANT* DateTimeFormat, VARIANT* InsertAsField, VARIANT* InsertAsFullWidth, VARIANT* DateLanguage, VARIANT* CalendarType)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1bc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- DateTimeFormat, InsertAsField, InsertAsFullWidth, DateLanguage, CalendarType);
- }
- void Selection::Sort(VARIANT* ExcludeHeader, VARIANT* FieldNumber, VARIANT* SortFieldType, VARIANT* SortOrder, VARIANT* FieldNumber2, VARIANT* SortFieldType2, VARIANT* SortOrder2, VARIANT* FieldNumber3, VARIANT* SortFieldType3, VARIANT* SortOrder3,
VARIANT* SortColumn, VARIANT* Separator, VARIANT* CaseSensitive, VARIANT* BidiSort, VARIANT* IgnoreThe, VARIANT* IgnoreKashida, VARIANT* IgnoreDiacritics, VARIANT* IgnoreHe, VARIANT* LanguageID)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT
VTS_PVARIANT;
- InvokeHelper(0x1bd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- ExcludeHeader, FieldNumber, SortFieldType, SortOrder, FieldNumber2, SortFieldType2, SortOrder2, FieldNumber3, SortFieldType3, SortOrder3, SortColumn, Separator, CaseSensitive, BidiSort, IgnoreThe, IgnoreKashida, IgnoreDiacritics,
IgnoreHe, LanguageID);
- }
- LPDISPATCH Selection::ConvertToTable(VARIANT* Separator, VARIANT* NumRows, VARIANT* NumColumns, VARIANT* InitialColumnWidth, VARIANT* Format, VARIANT* ApplyBorders, VARIANT* ApplyShading, VARIANT* ApplyFont, VARIANT* ApplyColor,
VARIANT* ApplyHeadingRows, VARIANT* ApplyLastRow, VARIANT* ApplyFirstColumn, VARIANT* ApplyLastColumn, VARIANT* AutoFit, VARIANT* AutoFitBehavior, VARIANT* DefaultTableBehavior)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x1c9, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Separator, NumRows, NumColumns, InitialColumnWidth, Format, ApplyBorders, ApplyShading, ApplyFont, ApplyColor, ApplyHeadingRows, ApplyLastRow, ApplyFirstColumn, ApplyLastColumn, AutoFit, AutoFitBehavior, DefaultTableBehavior);
- return result;
- }
- long Selection::GetNoProofing()
- {
- long result;
- InvokeHelper(0x3ed, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetNoProofing(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3ed, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH Selection::GetTopLevelTables()
- {
- LPDISPATCH result;
- InvokeHelper(0x3ee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL Selection::GetLanguageDetected()
- {
- BOOL result;
- InvokeHelper(0x3ef, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void Selection::SetLanguageDetected(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3ef, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- float Selection::GetFitTextWidth()
- {
- float result;
- InvokeHelper(0x3f0, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void Selection::SetFitTextWidth(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x3f0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }