msword9.cpp
上传用户:tjyzx0508
上传日期:2013-02-16
资源大小:254k
文件大小:108k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // 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;
- }
- /////////////////////////////////////////////////////////////////////////////
- // _Document properties
- /////////////////////////////////////////////////////////////////////////////
- // _Document operations
- CString _Document::GetName()
- {
- CString result;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Document::GetCreator()
- {
- long result;
- InvokeHelper(0x3e9, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x3ea, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetBuiltInDocumentProperties()
- {
- LPDISPATCH result;
- InvokeHelper(0x3e8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetCustomDocumentProperties()
- {
- LPDISPATCH result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Document::GetPath()
- {
- CString result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetBookmarks()
- {
- LPDISPATCH result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetTables()
- {
- LPDISPATCH result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetFootnotes()
- {
- LPDISPATCH result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetEndnotes()
- {
- LPDISPATCH result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetComments()
- {
- LPDISPATCH result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Document::GetType()
- {
- long result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetAutoHyphenation()
- {
- BOOL result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetAutoHyphenation(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetHyphenateCaps()
- {
- BOOL result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetHyphenateCaps(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Document::GetHyphenationZone()
- {
- long result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetHyphenationZone(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Document::GetConsecutiveHyphensLimit()
- {
- long result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetConsecutiveHyphensLimit(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Document::GetSections()
- {
- LPDISPATCH result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetParagraphs()
- {
- LPDISPATCH result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetWords()
- {
- LPDISPATCH result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetSentences()
- {
- LPDISPATCH result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetCharacters()
- {
- LPDISPATCH result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetFields()
- {
- LPDISPATCH result;
- InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetFormFields()
- {
- LPDISPATCH result;
- InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetStyles()
- {
- LPDISPATCH result;
- InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetFrames()
- {
- LPDISPATCH result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetTablesOfFigures()
- {
- LPDISPATCH result;
- InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetVariables()
- {
- LPDISPATCH result;
- InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetMailMerge()
- {
- LPDISPATCH result;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetEnvelope()
- {
- LPDISPATCH result;
- InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString _Document::GetFullName()
- {
- CString result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetRevisions()
- {
- LPDISPATCH result;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetTablesOfContents()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetTablesOfAuthorities()
- {
- LPDISPATCH result;
- InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetPageSetup()
- {
- LPDISPATCH result;
- InvokeHelper(0x44d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Document::SetPageSetup(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x44d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH _Document::GetWindows()
- {
- LPDISPATCH result;
- InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetHasRoutingSlip()
- {
- BOOL result;
- InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetHasRoutingSlip(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x23, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Document::GetRoutingSlip()
- {
- LPDISPATCH result;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetRouted()
- {
- BOOL result;
- InvokeHelper(0x25, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetTablesOfAuthoritiesCategories()
- {
- LPDISPATCH result;
- InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetIndexes()
- {
- LPDISPATCH result;
- InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetSaved()
- {
- BOOL result;
- InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSaved(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x28, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Document::GetContent()
- {
- LPDISPATCH result;
- InvokeHelper(0x29, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetActiveWindow()
- {
- LPDISPATCH result;
- InvokeHelper(0x2a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Document::GetKind()
- {
- long result;
- InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetKind(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Document::GetReadOnly()
- {
- BOOL result;
- InvokeHelper(0x2c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetSubdocuments()
- {
- LPDISPATCH result;
- InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetIsMasterDocument()
- {
- BOOL result;
- InvokeHelper(0x2e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- float _Document::GetDefaultTabStop()
- {
- float result;
- InvokeHelper(0x30, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetDefaultTabStop(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x30, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL _Document::GetEmbedTrueTypeFonts()
- {
- BOOL result;
- InvokeHelper(0x32, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetEmbedTrueTypeFonts(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x32, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetSaveFormsData()
- {
- BOOL result;
- InvokeHelper(0x33, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSaveFormsData(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x33, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetReadOnlyRecommended()
- {
- BOOL result;
- InvokeHelper(0x34, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetReadOnlyRecommended(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x34, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetSaveSubsetFonts()
- {
- BOOL result;
- InvokeHelper(0x35, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSaveSubsetFonts(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x35, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetCompatibility(long Type)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x37, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, parms,
- Type);
- return result;
- }
- void _Document::SetCompatibility(long Type, BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_I4 VTS_BOOL;
- InvokeHelper(0x37, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- Type, bNewValue);
- }
- LPDISPATCH _Document::GetStoryRanges()
- {
- LPDISPATCH result;
- InvokeHelper(0x38, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetCommandBars()
- {
- LPDISPATCH result;
- InvokeHelper(0x39, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetIsSubdocument()
- {
- BOOL result;
- InvokeHelper(0x3a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- long _Document::GetSaveFormat()
- {
- long result;
- InvokeHelper(0x3b, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Document::GetProtectionType()
- {
- long result;
- InvokeHelper(0x3c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetHyperlinks()
- {
- LPDISPATCH result;
- InvokeHelper(0x3d, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetShapes()
- {
- LPDISPATCH result;
- InvokeHelper(0x3e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetListTemplates()
- {
- LPDISPATCH result;
- InvokeHelper(0x3f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetLists()
- {
- LPDISPATCH result;
- InvokeHelper(0x40, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetUpdateStylesOnOpen()
- {
- BOOL result;
- InvokeHelper(0x42, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetUpdateStylesOnOpen(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x42, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Document::GetAttachedTemplate()
- {
- VARIANT result;
- InvokeHelper(0x43, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void _Document::SetAttachedTemplate(VARIANT* newValue)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x43, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH _Document::GetInlineShapes()
- {
- LPDISPATCH result;
- InvokeHelper(0x44, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetBackground()
- {
- LPDISPATCH result;
- InvokeHelper(0x45, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Document::SetBackground(LPDISPATCH newValue)
- {
- static BYTE parms[] =
- VTS_DISPATCH;
- InvokeHelper(0x45, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- BOOL _Document::GetGrammarChecked()
- {
- BOOL result;
- InvokeHelper(0x46, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGrammarChecked(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x46, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetSpellingChecked()
- {
- BOOL result;
- InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSpellingChecked(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x47, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetShowGrammaticalErrors()
- {
- BOOL result;
- InvokeHelper(0x48, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetShowGrammaticalErrors(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x48, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetShowSpellingErrors()
- {
- BOOL result;
- InvokeHelper(0x49, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetShowSpellingErrors(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x49, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Document::GetVersions()
- {
- LPDISPATCH result;
- InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetShowSummary()
- {
- BOOL result;
- InvokeHelper(0x4c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetShowSummary(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Document::GetSummaryViewMode()
- {
- long result;
- InvokeHelper(0x4d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSummaryViewMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Document::GetSummaryLength()
- {
- long result;
- InvokeHelper(0x4e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSummaryLength(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Document::GetPrintFractionalWidths()
- {
- BOOL result;
- InvokeHelper(0x4f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetPrintFractionalWidths(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x4f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetPrintPostScriptOverText()
- {
- BOOL result;
- InvokeHelper(0x50, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetPrintPostScriptOverText(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x50, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Document::GetContainer()
- {
- LPDISPATCH result;
- InvokeHelper(0x52, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetPrintFormsData()
- {
- BOOL result;
- InvokeHelper(0x53, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetPrintFormsData(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x53, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Document::GetListParagraphs()
- {
- LPDISPATCH result;
- InvokeHelper(0x54, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Document::SetPassword(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x55, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- void _Document::SetWritePassword(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x56, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Document::GetHasPassword()
- {
- BOOL result;
- InvokeHelper(0x57, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetWriteReserved()
- {
- BOOL result;
- InvokeHelper(0x58, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Document::GetActiveWritingStyle(VARIANT* LanguageID)
- {
- CString result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x5a, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- LanguageID);
- return result;
- }
- void _Document::SetActiveWritingStyle(VARIANT* LanguageID, LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_BSTR;
- InvokeHelper(0x5a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- LanguageID, lpszNewValue);
- }
- BOOL _Document::GetUserControl()
- {
- BOOL result;
- InvokeHelper(0x5c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetUserControl(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetHasMailer()
- {
- BOOL result;
- InvokeHelper(0x5d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetHasMailer(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Document::GetMailer()
- {
- LPDISPATCH result;
- InvokeHelper(0x5e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetReadabilityStatistics()
- {
- LPDISPATCH result;
- InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetGrammaticalErrors()
- {
- LPDISPATCH result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetSpellingErrors()
- {
- LPDISPATCH result;
- InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetVBProject()
- {
- LPDISPATCH result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetFormsDesign()
- {
- BOOL result;
- InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Document::Get_CodeName()
- {
- CString result;
- InvokeHelper(0x80010000, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Document::Set_CodeName(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x80010000, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Document::GetCodeName()
- {
- CString result;
- InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetSnapToGrid()
- {
- BOOL result;
- InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSnapToGrid(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x12c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetSnapToShapes()
- {
- BOOL result;
- InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSnapToShapes(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- float _Document::GetGridDistanceHorizontal()
- {
- float result;
- InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridDistanceHorizontal(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x12e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- float _Document::GetGridDistanceVertical()
- {
- float result;
- InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridDistanceVertical(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x12f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- float _Document::GetGridOriginHorizontal()
- {
- float result;
- InvokeHelper(0x130, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridOriginHorizontal(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x130, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- float _Document::GetGridOriginVertical()
- {
- float result;
- InvokeHelper(0x131, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridOriginVertical(float newValue)
- {
- static BYTE parms[] =
- VTS_R4;
- InvokeHelper(0x131, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- long _Document::GetGridSpaceBetweenHorizontalLines()
- {
- long result;
- InvokeHelper(0x132, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridSpaceBetweenHorizontalLines(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x132, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Document::GetGridSpaceBetweenVerticalLines()
- {
- long result;
- InvokeHelper(0x133, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridSpaceBetweenVerticalLines(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x133, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Document::GetGridOriginFromMargin()
- {
- BOOL result;
- InvokeHelper(0x134, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetGridOriginFromMargin(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x134, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetKerningByAlgorithm()
- {
- BOOL result;
- InvokeHelper(0x135, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetKerningByAlgorithm(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x135, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Document::GetJustificationMode()
- {
- long result;
- InvokeHelper(0x136, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetJustificationMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x136, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long _Document::GetFarEastLineBreakLevel()
- {
- long result;
- InvokeHelper(0x137, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetFarEastLineBreakLevel(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x137, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString _Document::GetNoLineBreakBefore()
- {
- CString result;
- InvokeHelper(0x138, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Document::SetNoLineBreakBefore(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x138, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString _Document::GetNoLineBreakAfter()
- {
- CString result;
- InvokeHelper(0x139, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void _Document::SetNoLineBreakAfter(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x139, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL _Document::GetTrackRevisions()
- {
- BOOL result;
- InvokeHelper(0x13a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetTrackRevisions(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x13a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetPrintRevisions()
- {
- BOOL result;
- InvokeHelper(0x13b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetPrintRevisions(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x13b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetShowRevisions()
- {
- BOOL result;
- InvokeHelper(0x13c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetShowRevisions(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x13c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Document::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 _Document::SaveAs(VARIANT* FileName, VARIANT* FileFormat, VARIANT* LockComments, VARIANT* Password, VARIANT* AddToRecentFiles, VARIANT* WritePassword, VARIANT* ReadOnlyRecommended, VARIANT* EmbedTrueTypeFonts, VARIANT* SaveNativePictureFormat, VARIANT* SaveFormsData, VARIANT* SaveAsAOCELetter)
- {
- 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;
- InvokeHelper(0x66, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- FileName, FileFormat, LockComments, Password, AddToRecentFiles, WritePassword, ReadOnlyRecommended, EmbedTrueTypeFonts, SaveNativePictureFormat, SaveFormsData, SaveAsAOCELetter);
- }
- void _Document::Repaginate()
- {
- InvokeHelper(0x67, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::FitToPages()
- {
- InvokeHelper(0x68, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ManualHyphenation()
- {
- InvokeHelper(0x69, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Select()
- {
- InvokeHelper(0xffff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::DataForm()
- {
- InvokeHelper(0x6a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Route()
- {
- InvokeHelper(0x6b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Save()
- {
- InvokeHelper(0x6c, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::SendMail()
- {
- InvokeHelper(0x6e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Document::Range(VARIANT* Start, VARIANT* End)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x7d0, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Start, End);
- return result;
- }
- void _Document::RunAutoMacro(long Which)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x70, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Which);
- }
- void _Document::Activate()
- {
- InvokeHelper(0x71, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::PrintPreview()
- {
- InvokeHelper(0x72, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Document::GoTo(VARIANT* What, VARIANT* Which, VARIANT* Count, VARIANT* Name)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x73, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- What, Which, Count, Name);
- return result;
- }
- BOOL _Document::Undo(VARIANT* Times)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x74, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Times);
- return result;
- }
- BOOL _Document::Redo(VARIANT* Times)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x75, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- Times);
- return result;
- }
- long _Document::ComputeStatistics(long Statistic, VARIANT* IncludeFootnotesAndEndnotes)
- {
- long result;
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT;
- InvokeHelper(0x76, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Statistic, IncludeFootnotesAndEndnotes);
- return result;
- }
- void _Document::MakeCompatibilityDefault()
- {
- InvokeHelper(0x77, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Protect(long Type, VARIANT* NoReset, VARIANT* Password)
- {
- static BYTE parms[] =
- VTS_I4 VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x78, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Type, NoReset, Password);
- }
- void _Document::Unprotect(VARIANT* Password)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x79, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Password);
- }
- void _Document::EditionOptions(long Type, long Option, LPCTSTR Name, VARIANT* Format)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_BSTR VTS_PVARIANT;
- InvokeHelper(0x7a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Type, Option, Name, Format);
- }
- void _Document::RunLetterWizard(VARIANT* LetterContent, VARIANT* WizardMode)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x7b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- LetterContent, WizardMode);
- }
- LPDISPATCH _Document::GetLetterContent()
- {
- LPDISPATCH result;
- InvokeHelper(0x7c, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Document::SetLetterContent(VARIANT* LetterContent)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x7d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- LetterContent);
- }
- void _Document::CopyStylesFromTemplate(LPCTSTR Template)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x7e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Template);
- }
- void _Document::UpdateStyles()
- {
- InvokeHelper(0x7f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::CheckGrammar()
- {
- InvokeHelper(0x83, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::CheckSpelling(VARIANT* CustomDictionary, VARIANT* IgnoreUppercase, VARIANT* AlwaysSuggest, VARIANT* CustomDictionary2, VARIANT* CustomDictionary3, VARIANT* CustomDictionary4, VARIANT* CustomDictionary5, VARIANT* CustomDictionary6, VARIANT* CustomDictionary7, VARIANT* CustomDictionary8, VARIANT* CustomDictionary9, VARIANT* CustomDictionary10)
- {
- 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(0x84, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- CustomDictionary, IgnoreUppercase, AlwaysSuggest, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10);
- }
- void _Document::FollowHyperlink(VARIANT* Address, VARIANT* SubAddress, VARIANT* NewWindow, VARIANT* AddHistory, VARIANT* ExtraInfo, VARIANT* Method, VARIANT* HeaderInfo)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x87, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo);
- }
- void _Document::AddToFavorites()
- {
- InvokeHelper(0x88, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Reload()
- {
- InvokeHelper(0x89, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Document::AutoSummarize(VARIANT* Length, VARIANT* Mode, VARIANT* UpdateProperties)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x8a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Length, Mode, UpdateProperties);
- return result;
- }
- void _Document::RemoveNumbers(VARIANT* NumberType)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x8c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NumberType);
- }
- void _Document::ConvertNumbersToText(VARIANT* NumberType)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x8d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- NumberType);
- }
- long _Document::CountNumberedItems(VARIANT* NumberType, VARIANT* Level)
- {
- long result;
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x8e, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- NumberType, Level);
- return result;
- }
- void _Document::Post()
- {
- InvokeHelper(0x8f, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ToggleFormsDesign()
- {
- InvokeHelper(0x90, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Compare(LPCTSTR Name)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x91, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name);
- }
- void _Document::UpdateSummaryProperties()
- {
- InvokeHelper(0x92, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- VARIANT _Document::GetCrossReferenceItems(VARIANT* ReferenceType)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x93, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- ReferenceType);
- return result;
- }
- void _Document::AutoFormat()
- {
- InvokeHelper(0x94, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ViewCode()
- {
- InvokeHelper(0x95, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ViewPropertyBrowser()
- {
- InvokeHelper(0x96, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ForwardMailer()
- {
- InvokeHelper(0xfa, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::Reply()
- {
- InvokeHelper(0xfb, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ReplyAll()
- {
- InvokeHelper(0xfc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::SendMailer(VARIANT* FileFormat, VARIANT* Priority)
- {
- static BYTE parms[] =
- VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0xfd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- FileFormat, Priority);
- }
- void _Document::UndoClear()
- {
- InvokeHelper(0xfe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::PresentIt()
- {
- InvokeHelper(0xff, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::SendFax(LPCTSTR Address, VARIANT* Subject)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_PVARIANT;
- InvokeHelper(0x100, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Address, Subject);
- }
- void _Document::Merge(LPCTSTR FileName)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x101, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- FileName);
- }
- void _Document::ClosePrintPreview()
- {
- InvokeHelper(0x102, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::CheckConsistency()
- {
- InvokeHelper(0x103, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Document::CreateLetterContent(LPCTSTR DateFormat, BOOL IncludeHeaderFooter, LPCTSTR PageDesign, long LetterStyle, BOOL Letterhead, long LetterheadLocation, float LetterheadSize, LPCTSTR RecipientName, LPCTSTR RecipientAddress, LPCTSTR Salutation, long SalutationType, LPCTSTR RecipientReference, LPCTSTR MailingInstructions, LPCTSTR AttentionLine, LPCTSTR Subject, LPCTSTR CCList, LPCTSTR ReturnAddress, LPCTSTR SenderName, LPCTSTR Closing, LPCTSTR SenderCompany, LPCTSTR SenderJobTitle, LPCTSTR SenderInitials, long EnclosureNumber, VARIANT* InfoBlock, VARIANT* RecipientCode, VARIANT* RecipientGender, VARIANT* ReturnAddressShortForm, VARIANT* SenderCity, VARIANT* SenderCode, VARIANT* SenderGender, VARIANT* SenderReference)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_BSTR VTS_BOOL VTS_BSTR VTS_I4 VTS_BOOL VTS_I4 VTS_R4 VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4 VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_BSTR VTS_I4 VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT VTS_PVARIANT;
- InvokeHelper(0x104, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- DateFormat, IncludeHeaderFooter, PageDesign, LetterStyle, Letterhead, LetterheadLocation, LetterheadSize, RecipientName, RecipientAddress, Salutation, SalutationType, RecipientReference, MailingInstructions, AttentionLine, Subject, CCList, ReturnAddress, SenderName, Closing, SenderCompany, SenderJobTitle, SenderInitials, EnclosureNumber, InfoBlock, RecipientCode, RecipientGender, ReturnAddressShortForm, SenderCity, SenderCode, SenderGender, SenderReference);
- return result;
- }
- void _Document::AcceptAllRevisions()
- {
- InvokeHelper(0x13d, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::RejectAllRevisions()
- {
- InvokeHelper(0x13e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::DetectLanguage()
- {
- InvokeHelper(0x97, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ApplyTheme(LPCTSTR Name)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x142, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name);
- }
- void _Document::RemoveTheme()
- {
- InvokeHelper(0x143, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::WebPagePreview()
- {
- InvokeHelper(0x145, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Document::ReloadAs(long Encoding)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Encoding);
- }
- CString _Document::GetActiveTheme()
- {
- CString result;
- InvokeHelper(0x21c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- CString _Document::GetActiveThemeDisplayName()
- {
- CString result;
- InvokeHelper(0x21d, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetEmail()
- {
- LPDISPATCH result;
- InvokeHelper(0x13f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetScripts()
- {
- LPDISPATCH result;
- InvokeHelper(0x140, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Document::GetLanguageDetected()
- {
- BOOL result;
- InvokeHelper(0x141, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetLanguageDetected(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x141, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Document::GetFarEastLineBreakLanguage()
- {
- long result;
- InvokeHelper(0x146, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetFarEastLineBreakLanguage(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x146, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH _Document::GetFrameset()
- {
- LPDISPATCH result;
- InvokeHelper(0x147, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT _Document::GetClickAndTypeParagraphStyle()
- {
- VARIANT result;
- InvokeHelper(0x148, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void _Document::SetClickAndTypeParagraphStyle(VARIANT* newValue)
- {
- static BYTE parms[] =
- VTS_PVARIANT;
- InvokeHelper(0x148, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- newValue);
- }
- LPDISPATCH _Document::GetHTMLProject()
- {
- LPDISPATCH result;
- InvokeHelper(0x149, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Document::GetWebOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x14a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long _Document::GetOpenEncoding()
- {
- long result;
- InvokeHelper(0x14c, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- long _Document::GetSaveEncoding()
- {
- long result;
- InvokeHelper(0x14d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Document::SetSaveEncoding(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x14d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL _Document::GetOptimizeForWord97()
- {
- BOOL result;
- InvokeHelper(0x14e, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::SetOptimizeForWord97(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x14e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Document::GetVBASigned()
- {
- BOOL result;
- InvokeHelper(0x14f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Document::PrintOut(VARIANT* Background, VARIANT* Append, VARIANT* Range, VARIANT* OutputFileName, VARIANT* From, VARIANT* To, VARIANT* Item, VARIANT* Copies, VARIANT* Pages, VARIANT* PageType, VARIANT* PrintToFile, VARIANT* Collate, 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;
- InvokeHelper(0x1bc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Background, Append, Range, OutputFileName, From, To, Item, Copies, Pages, PageType, PrintToFile, Collate, ActivePrinterMacGX, ManualDuplexPrint, PrintZoomColumn, PrintZoomRow, PrintZoomPaperWidth, PrintZoomPaperHeight);
- }
- /////////////////////////////////////////////////////////////////////////////
- // 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);
- }