excel9.cpp
上传用户:jzscgs158
上传日期:2022-05-25
资源大小:8709k
文件大小:157k
- return result;
- }
- void _Workbook::SetHasRoutingSlip(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x3b6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetIsAddin()
- {
- BOOL result;
- InvokeHelper(0x5a5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetIsAddin(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Workbook::LinkInfo(LPCTSTR Name, long LinkInfo, const VARIANT& Type, const VARIANT& EditionRef)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x327, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Name, LinkInfo, &Type, &EditionRef);
- return result;
- }
- VARIANT _Workbook::LinkSources(const VARIANT& Type)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x328, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Type);
- return result;
- }
- LPDISPATCH _Workbook::GetMailer()
- {
- LPDISPATCH result;
- InvokeHelper(0x3d3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::MergeWorkbook(const VARIANT& Filename)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5a6, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename);
- }
- BOOL _Workbook::GetMultiUserEditing()
- {
- BOOL result;
- InvokeHelper(0x491, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Workbook::GetName()
- {
- CString result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetNames()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ba, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::NewWindow()
- {
- LPDISPATCH result;
- InvokeHelper(0x118, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::OpenLinks(LPCTSTR Name, const VARIANT& ReadOnly, const VARIANT& Type)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x323, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name, &ReadOnly, &Type);
- }
- CString _Workbook::GetPath()
- {
- CString result;
- InvokeHelper(0x123, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetPersonalViewListSettings()
- {
- BOOL result;
- InvokeHelper(0x5a7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetPersonalViewListSettings(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetPersonalViewPrintSettings()
- {
- BOOL result;
- InvokeHelper(0x5a8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetPersonalViewPrintSettings(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5a8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Workbook::PivotCaches()
- {
- LPDISPATCH result;
- InvokeHelper(0x5a9, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Post(const VARIANT& DestName)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x48e, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &DestName);
- }
- BOOL _Workbook::GetPrecisionAsDisplayed()
- {
- BOOL result;
- InvokeHelper(0x195, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetPrecisionAsDisplayed(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x195, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::PrintPreview(const VARIANT& EnableChanges)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &EnableChanges);
- }
- void _Workbook::Protect(const VARIANT& Password, const VARIANT& Structure, const VARIANT& Windows)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Password, &Structure, &Windows);
- }
- void _Workbook::ProtectSharing(const VARIANT& Filename, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& ReadOnlyRecommended, const VARIANT& CreateBackup, const VARIANT& SharingPassword)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5aa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename, &Password, &WriteResPassword, &ReadOnlyRecommended, &CreateBackup, &SharingPassword);
- }
- BOOL _Workbook::GetProtectStructure()
- {
- BOOL result;
- InvokeHelper(0x24c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetProtectWindows()
- {
- BOOL result;
- InvokeHelper(0x127, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetReadOnly()
- {
- BOOL result;
- InvokeHelper(0x128, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetReadOnlyRecommended()
- {
- BOOL result;
- InvokeHelper(0x129, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::RefreshAll()
- {
- InvokeHelper(0x5ac, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::Reply()
- {
- InvokeHelper(0x3d1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::ReplyAll()
- {
- InvokeHelper(0x3d2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::RemoveUser(long Index)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x5ad, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Index);
- }
- long _Workbook::GetRevisionNumber()
- {
- long result;
- InvokeHelper(0x494, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Route()
- {
- InvokeHelper(0x3b2, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Workbook::GetRouted()
- {
- BOOL result;
- InvokeHelper(0x3b7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetRoutingSlip()
- {
- LPDISPATCH result;
- InvokeHelper(0x3b5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::RunAutoMacros(long Which)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x27a, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Which);
- }
- void _Workbook::Save()
- {
- InvokeHelper(0x11b, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::SaveAs(const VARIANT& Filename, const VARIANT& FileFormat, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& ReadOnlyRecommended, const VARIANT& CreateBackup, long AccessMode, const VARIANT& ConflictResolution,
const VARIANT& AddToMru, const VARIANT& TextCodepage, const VARIANT& TextVisualLayout)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x11c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename, &FileFormat, &Password, &WriteResPassword, &ReadOnlyRecommended, &CreateBackup, AccessMode, &ConflictResolution, &AddToMru, &TextCodepage, &TextVisualLayout);
- }
- void _Workbook::SaveCopyAs(const VARIANT& Filename)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xaf, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Filename);
- }
- BOOL _Workbook::GetSaved()
- {
- BOOL result;
- InvokeHelper(0x12a, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetSaved(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x12a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetSaveLinkValues()
- {
- BOOL result;
- InvokeHelper(0x196, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetSaveLinkValues(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x196, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::SendMail(const VARIANT& Recipients, const VARIANT& Subject, const VARIANT& ReturnReceipt)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x3b3, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Recipients, &Subject, &ReturnReceipt);
- }
- void _Workbook::SendMailer(const VARIANT& FileFormat, long Priority)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_I4;
- InvokeHelper(0x3d4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &FileFormat, Priority);
- }
- void _Workbook::SetLinkOnData(LPCTSTR Name, const VARIANT& Procedure)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT;
- InvokeHelper(0x329, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Name, &Procedure);
- }
- LPDISPATCH _Workbook::GetSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x1e5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetShowConflictHistory()
- {
- BOOL result;
- InvokeHelper(0x493, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetShowConflictHistory(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x493, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- LPDISPATCH _Workbook::GetStyles()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ed, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::Unprotect(const VARIANT& Password)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x11d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Password);
- }
- void _Workbook::UnprotectSharing(const VARIANT& SharingPassword)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5af, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &SharingPassword);
- }
- void _Workbook::UpdateFromFile()
- {
- InvokeHelper(0x3e3, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void _Workbook::UpdateLink(const VARIANT& Name, const VARIANT& Type)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x324, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Name, &Type);
- }
- BOOL _Workbook::GetUpdateRemoteReferences()
- {
- BOOL result;
- InvokeHelper(0x19b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetUpdateRemoteReferences(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x19b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- VARIANT _Workbook::GetUserStatus()
- {
- VARIANT result;
- InvokeHelper(0x495, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetCustomViews()
- {
- LPDISPATCH result;
- InvokeHelper(0x5b0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetWindows()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ae, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetWorksheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x1ee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetWriteReserved()
- {
- BOOL result;
- InvokeHelper(0x12b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- CString _Workbook::GetWriteReservedBy()
- {
- CString result;
- InvokeHelper(0x12c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetExcel4IntlMacroSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x245, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetExcel4MacroSheets()
- {
- LPDISPATCH result;
- InvokeHelper(0x243, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetTemplateRemoveExtData()
- {
- BOOL result;
- InvokeHelper(0x5b1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetTemplateRemoveExtData(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::HighlightChangesOptions(const VARIANT& When, const VARIANT& Who, const VARIANT& Where)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5b2, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &When, &Who, &Where);
- }
- BOOL _Workbook::GetHighlightChangesOnScreen()
- {
- BOOL result;
- InvokeHelper(0x5b5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetHighlightChangesOnScreen(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetKeepChangeHistory()
- {
- BOOL result;
- InvokeHelper(0x5b6, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetKeepChangeHistory(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL _Workbook::GetListChangesOnNewSheet()
- {
- BOOL result;
- InvokeHelper(0x5b7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetListChangesOnNewSheet(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x5b7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- void _Workbook::PurgeChangeHistoryNow(long Days, const VARIANT& SharingPassword)
- {
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT;
- InvokeHelper(0x5b8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Days, &SharingPassword);
- }
- void _Workbook::AcceptAllChanges(const VARIANT& When, const VARIANT& Who, const VARIANT& Where)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5ba, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &When, &Who, &Where);
- }
- void _Workbook::RejectAllChanges(const VARIANT& When, const VARIANT& Who, const VARIANT& Where)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5bb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &When, &Who, &Where);
- }
- void _Workbook::ResetColors()
- {
- InvokeHelper(0x5bc, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Workbook::GetVBProject()
- {
- LPDISPATCH result;
- InvokeHelper(0x5bd, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::FollowHyperlink(LPCTSTR Address, const VARIANT& SubAddress, const VARIANT& NewWindow, const VARIANT& AddHistory, const VARIANT& ExtraInfo, const VARIANT& Method, const VARIANT& HeaderInfo)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x5be, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Address, &SubAddress, &NewWindow, &AddHistory, &ExtraInfo, &Method, &HeaderInfo);
- }
- void _Workbook::AddToFavorites()
- {
- InvokeHelper(0x5c4, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- BOOL _Workbook::GetIsInplace()
- {
- BOOL result;
- InvokeHelper(0x6e9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- }
- void _Workbook::WebPagePreview()
- {
- InvokeHelper(0x71a, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH _Workbook::GetPublishObjects()
- {
- LPDISPATCH result;
- InvokeHelper(0x71b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH _Workbook::GetWebOptions()
- {
- LPDISPATCH result;
- InvokeHelper(0x71c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void _Workbook::ReloadAs(long Encoding)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x71d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Encoding);
- }
- LPDISPATCH _Workbook::GetHTMLProject()
- {
- LPDISPATCH result;
- InvokeHelper(0x71f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetEnvelopeVisible()
- {
- BOOL result;
- InvokeHelper(0x720, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void _Workbook::SetEnvelopeVisible(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x720, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long _Workbook::GetCalculationVersion()
- {
- long result;
- InvokeHelper(0x70e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- BOOL _Workbook::GetVBASigned()
- {
- BOOL result;
- InvokeHelper(0x724, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Workbooks properties
- /////////////////////////////////////////////////////////////////////////////
- // Workbooks operations
- LPDISPATCH Workbooks::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Workbooks::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::Add(const VARIANT& Template)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Template);
- return result;
- }
- void Workbooks::Close()
- {
- InvokeHelper(0x115, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- long Workbooks::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- LPUNKNOWN Workbooks::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Workbooks::Open(LPCTSTR Filename, const VARIANT& UpdateLinks, const VARIANT& ReadOnly, const VARIANT& Format, const VARIANT& Password, const VARIANT& WriteResPassword, const VARIANT& IgnoreReadOnlyRecommended, const VARIANT& Origin,
const VARIANT& Delimiter, const VARIANT& Editable, const VARIANT& Notify, const VARIANT& Converter, const VARIANT& AddToMru)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x2aa, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Filename, &UpdateLinks, &ReadOnly, &Format, &Password, &WriteResPassword, &IgnoreReadOnlyRecommended, &Origin, &Delimiter, &Editable, &Notify, &Converter, &AddToMru);
- return result;
- }
- LPDISPATCH Workbooks::Get_Default(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void Workbooks::OpenText(LPCTSTR Filename, const VARIANT& Origin, const VARIANT& StartRow, const VARIANT& DataType, long TextQualifier, const VARIANT& ConsecutiveDelimiter, const VARIANT& Tab, const VARIANT& Semicolon, const VARIANT& Comma,
const VARIANT& Space, const VARIANT& Other, const VARIANT& OtherChar, const VARIANT& FieldInfo, const VARIANT& TextVisualLayout, const VARIANT& DecimalSeparator, const VARIANT& ThousandsSeparator)
- {
- static BYTE parms[] =
- VTS_BSTR VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ed, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Filename, &Origin, &StartRow, &DataType, TextQualifier, &ConsecutiveDelimiter, &Tab, &Semicolon, &Comma, &Space, &Other, &OtherChar, &FieldInfo, &TextVisualLayout, &DecimalSeparator, &ThousandsSeparator);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Font properties
- /////////////////////////////////////////////////////////////////////////////
- // Font operations
- LPDISPATCH Font::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Font::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Font::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Font::GetBackground()
- {
- VARIANT result;
- InvokeHelper(0xb4, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetBackground(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetBold()
- {
- VARIANT result;
- InvokeHelper(0x60, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetBold(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x60, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetFontStyle()
- {
- VARIANT result;
- InvokeHelper(0xb1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetFontStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetItalic()
- {
- VARIANT result;
- InvokeHelper(0x65, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetItalic(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x65, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetName()
- {
- VARIANT result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetName(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetOutlineFont()
- {
- VARIANT result;
- InvokeHelper(0xdd, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetOutlineFont(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xdd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetShadow()
- {
- VARIANT result;
- InvokeHelper(0x67, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetShadow(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x67, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetSize()
- {
- VARIANT result;
- InvokeHelper(0x68, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetSize(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x68, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetStrikethrough()
- {
- VARIANT result;
- InvokeHelper(0x69, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetStrikethrough(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x69, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetSubscript()
- {
- VARIANT result;
- InvokeHelper(0xb3, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetSubscript(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetSuperscript()
- {
- VARIANT result;
- InvokeHelper(0xb2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetSuperscript(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xb2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Font::GetUnderline()
- {
- VARIANT result;
- InvokeHelper(0x6a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Font::SetUnderline(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Range properties
- /////////////////////////////////////////////////////////////////////////////
- // Range operations
- LPDISPATCH Range::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Range::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Activate()
- {
- VARIANT result;
- InvokeHelper(0x130, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetAddIndent()
- {
- VARIANT result;
- InvokeHelper(0x427, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetAddIndent(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x427, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- CString Range::GetAddress(const VARIANT& RowAbsolute, const VARIANT& ColumnAbsolute, long ReferenceStyle, const VARIANT& External, const VARIANT& RelativeTo)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xec, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- &RowAbsolute, &ColumnAbsolute, ReferenceStyle, &External, &RelativeTo);
- return result;
- }
- CString Range::GetAddressLocal(const VARIANT& RowAbsolute, const VARIANT& ColumnAbsolute, long ReferenceStyle, const VARIANT& External, const VARIANT& RelativeTo)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1b5, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, parms,
- &RowAbsolute, &ColumnAbsolute, ReferenceStyle, &External, &RelativeTo);
- return result;
- }
- VARIANT Range::AdvancedFilter(long Action, const VARIANT& CriteriaRange, const VARIANT& CopyToRange, const VARIANT& Unique)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x36c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Action, &CriteriaRange, &CopyToRange, &Unique);
- return result;
- }
- VARIANT Range::ApplyNames(const VARIANT& Names, const VARIANT& IgnoreRelativeAbsolute, const VARIANT& UseRowColumnNames, const VARIANT& OmitColumn, const VARIANT& OmitRow, long Order, const VARIANT& AppendLast)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT;
- InvokeHelper(0x1b9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Names, &IgnoreRelativeAbsolute, &UseRowColumnNames, &OmitColumn, &OmitRow, Order, &AppendLast);
- return result;
- }
- VARIANT Range::ApplyOutlineStyles()
- {
- VARIANT result;
- InvokeHelper(0x1c0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetAreas()
- {
- LPDISPATCH result;
- InvokeHelper(0x238, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString Range::AutoComplete(LPCTSTR String)
- {
- CString result;
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4a1, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- String);
- return result;
- }
- VARIANT Range::AutoFill(LPDISPATCH Destination, long Type)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_DISPATCH VTS_I4;
- InvokeHelper(0x1c1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Destination, Type);
- return result;
- }
- VARIANT Range::AutoFilter(const VARIANT& Field, const VARIANT& Criteria1, long Operator, const VARIANT& Criteria2, const VARIANT& VisibleDropDown)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x319, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Field, &Criteria1, Operator, &Criteria2, &VisibleDropDown);
- return result;
- }
- VARIANT Range::AutoFit()
- {
- VARIANT result;
- InvokeHelper(0xed, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::AutoFormat(long Format, const VARIANT& Number, const VARIANT& Font, const VARIANT& Alignment, const VARIANT& Border, const VARIANT& Pattern, const VARIANT& Width)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x72, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Format, &Number, &Font, &Alignment, &Border, &Pattern, &Width);
- return result;
- }
- VARIANT Range::AutoOutline()
- {
- VARIANT result;
- InvokeHelper(0x40c, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::BorderAround(const VARIANT& LineStyle, long Weight, long ColorIndex, const VARIANT& Color)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT;
- InvokeHelper(0x42b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &LineStyle, Weight, ColorIndex, &Color);
- return result;
- }
- LPDISPATCH Range::GetBorders()
- {
- LPDISPATCH result;
- InvokeHelper(0x1b3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Calculate()
- {
- VARIANT result;
- InvokeHelper(0x117, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetCells()
- {
- LPDISPATCH result;
- InvokeHelper(0xee, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetCharacters(const VARIANT& Start, const VARIANT& Length)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x25b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Start, &Length);
- return result;
- }
- VARIANT Range::CheckSpelling(const VARIANT& CustomDictionary, const VARIANT& IgnoreUppercase, const VARIANT& AlwaysSuggest, const VARIANT& SpellLang)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1f9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &CustomDictionary, &IgnoreUppercase, &AlwaysSuggest, &SpellLang);
- return result;
- }
- VARIANT Range::Clear()
- {
- VARIANT result;
- InvokeHelper(0x6f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearContents()
- {
- VARIANT result;
- InvokeHelper(0x71, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearFormats()
- {
- VARIANT result;
- InvokeHelper(0x70, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearNotes()
- {
- VARIANT result;
- InvokeHelper(0xef, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ClearOutline()
- {
- VARIANT result;
- InvokeHelper(0x40d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long Range::GetColumn()
- {
- long result;
- InvokeHelper(0xf0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::ColumnDifferences(const VARIANT& Comparison)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x1fe, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Comparison);
- return result;
- }
- LPDISPATCH Range::GetColumns()
- {
- LPDISPATCH result;
- InvokeHelper(0xf1, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetColumnWidth()
- {
- VARIANT result;
- InvokeHelper(0xf2, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetColumnWidth(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xf2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::Consolidate(const VARIANT& Sources, const VARIANT& Function, const VARIANT& TopRow, const VARIANT& LeftColumn, const VARIANT& CreateLinks)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1e2, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Sources, &Function, &TopRow, &LeftColumn, &CreateLinks);
- return result;
- }
- VARIANT Range::Copy(const VARIANT& Destination)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x227, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Destination);
- return result;
- }
- long Range::CopyFromRecordset(LPUNKNOWN Data, const VARIANT& MaxRows, const VARIANT& MaxColumns)
- {
- long result;
- static BYTE parms[] =
- VTS_UNKNOWN VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x480, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
- Data, &MaxRows, &MaxColumns);
- return result;
- }
- VARIANT Range::CopyPicture(long Appearance, long Format)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4;
- InvokeHelper(0xd5, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Appearance, Format);
- return result;
- }
- long Range::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::CreateNames(const VARIANT& Top, const VARIANT& Left, const VARIANT& Bottom, const VARIANT& Right)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1c9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Top, &Left, &Bottom, &Right);
- return result;
- }
- VARIANT Range::CreatePublisher(const VARIANT& Edition, long Appearance, const VARIANT& ContainsPICT, const VARIANT& ContainsBIFF, const VARIANT& ContainsRTF, const VARIANT& ContainsVALU)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1ca, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Edition, Appearance, &ContainsPICT, &ContainsBIFF, &ContainsRTF, &ContainsVALU);
- return result;
- }
- LPDISPATCH Range::GetCurrentArray()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetCurrentRegion()
- {
- LPDISPATCH result;
- InvokeHelper(0xf3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Cut(const VARIANT& Destination)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x235, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Destination);
- return result;
- }
- VARIANT Range::DataSeries(const VARIANT& Rowcol, long Type, long Date, const VARIANT& Step, const VARIANT& Stop, const VARIANT& Trend)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1d0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Rowcol, Type, Date, &Step, &Stop, &Trend);
- return result;
- }
- VARIANT Range::Get_Default(const VARIANT& RowIndex, const VARIANT& ColumnIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &RowIndex, &ColumnIndex);
- return result;
- }
- void Range::Set_Default(const VARIANT& RowIndex, const VARIANT& ColumnIndex, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &RowIndex, &ColumnIndex, &newValue);
- }
- VARIANT Range::Delete(const VARIANT& Shift)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x75, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Shift);
- return result;
- }
- LPDISPATCH Range::GetDependents()
- {
- LPDISPATCH result;
- InvokeHelper(0x21f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::DialogBox_()
- {
- VARIANT result;
- InvokeHelper(0xf5, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetDirectDependents()
- {
- LPDISPATCH result;
- InvokeHelper(0x221, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetDirectPrecedents()
- {
- LPDISPATCH result;
- InvokeHelper(0x222, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::EditionOptions(long Type, long Option, const VARIANT& Name, const VARIANT& Reference, long Appearance, long ChartSize, const VARIANT& Format)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT;
- InvokeHelper(0x46b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Type, Option, &Name, &Reference, Appearance, ChartSize, &Format);
- return result;
- }
- LPDISPATCH Range::GetEnd(long Direction)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1f4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Direction);
- return result;
- }
- LPDISPATCH Range::GetEntireColumn()
- {
- LPDISPATCH result;
- InvokeHelper(0xf6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetEntireRow()
- {
- LPDISPATCH result;
- InvokeHelper(0xf7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillDown()
- {
- VARIANT result;
- InvokeHelper(0xf8, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillLeft()
- {
- VARIANT result;
- InvokeHelper(0xf9, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillRight()
- {
- VARIANT result;
- InvokeHelper(0xfa, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::FillUp()
- {
- VARIANT result;
- InvokeHelper(0xfb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::Find(const VARIANT& What, const VARIANT& After, const VARIANT& LookIn, const VARIANT& LookAt, const VARIANT& SearchOrder, long SearchDirection, const VARIANT& MatchCase, const VARIANT& MatchByte)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x18e, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &What, &After, &LookIn, &LookAt, &SearchOrder, SearchDirection, &MatchCase, &MatchByte);
- return result;
- }
- LPDISPATCH Range::FindNext(const VARIANT& After)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x18f, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &After);
- return result;
- }
- LPDISPATCH Range::FindPrevious(const VARIANT& After)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x190, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &After);
- return result;
- }
- LPDISPATCH Range::GetFont()
- {
- LPDISPATCH result;
- InvokeHelper(0x92, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetFormula()
- {
- VARIANT result;
- InvokeHelper(0x105, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormula(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x105, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaArray()
- {
- VARIANT result;
- InvokeHelper(0x24a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaArray(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x24a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long Range::GetFormulaLabel()
- {
- long result;
- InvokeHelper(0x564, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaLabel(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x564, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT Range::GetFormulaHidden()
- {
- VARIANT result;
- InvokeHelper(0x106, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaHidden(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x106, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaLocal()
- {
- VARIANT result;
- InvokeHelper(0x107, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaLocal(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x107, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaR1C1()
- {
- VARIANT result;
- InvokeHelper(0x108, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaR1C1(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x108, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetFormulaR1C1Local()
- {
- VARIANT result;
- InvokeHelper(0x109, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetFormulaR1C1Local(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x109, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::FunctionWizard()
- {
- VARIANT result;
- InvokeHelper(0x23b, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- BOOL Range::GoalSeek(const VARIANT& Goal, LPDISPATCH ChangingCell)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_VARIANT VTS_DISPATCH;
- InvokeHelper(0x1d8, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- &Goal, ChangingCell);
- return result;
- }
- VARIANT Range::Group(const VARIANT& Start, const VARIANT& End, const VARIANT& By, const VARIANT& Periods)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x2e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Start, &End, &By, &Periods);
- return result;
- }
- VARIANT Range::GetHasArray()
- {
- VARIANT result;
- InvokeHelper(0x10a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetHasFormula()
- {
- VARIANT result;
- InvokeHelper(0x10b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetHeight()
- {
- VARIANT result;
- InvokeHelper(0x7b, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetHidden()
- {
- VARIANT result;
- InvokeHelper(0x10c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetHidden(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x10c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetHorizontalAlignment()
- {
- VARIANT result;
- InvokeHelper(0x88, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetHorizontalAlignment(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x88, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetIndentLevel()
- {
- VARIANT result;
- InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetIndentLevel(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xc9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- void Range::InsertIndent(long InsertAmount)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x565, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- InsertAmount);
- }
- VARIANT Range::Insert(const VARIANT& Shift)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xfc, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Shift);
- return result;
- }
- LPDISPATCH Range::GetInterior()
- {
- LPDISPATCH result;
- InvokeHelper(0x81, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetItem(const VARIANT& RowIndex, const VARIANT& ColumnIndex)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, parms,
- &RowIndex, &ColumnIndex);
- return result;
- }
- void Range::SetItem(const VARIANT& RowIndex, const VARIANT& ColumnIndex, const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &RowIndex, &ColumnIndex, &newValue);
- }
- VARIANT Range::Justify()
- {
- VARIANT result;
- InvokeHelper(0x1ef, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetLeft()
- {
- VARIANT result;
- InvokeHelper(0x7f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long Range::GetListHeaderRows()
- {
- long result;
- InvokeHelper(0x4a3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ListNames()
- {
- VARIANT result;
- InvokeHelper(0xfd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- long Range::GetLocationInTable()
- {
- long result;
- InvokeHelper(0x2b3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetLocked()
- {
- VARIANT result;
- InvokeHelper(0x10d, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetLocked(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x10d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- void Range::Merge(const VARIANT& Across)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x234, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Across);
- }
- void Range::UnMerge()
- {
- InvokeHelper(0x568, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH Range::GetMergeArea()
- {
- LPDISPATCH result;
- InvokeHelper(0x569, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetMergeCells()
- {
- VARIANT result;
- InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetMergeCells(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xd0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetName()
- {
- VARIANT result;
- InvokeHelper(0x6e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetName(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::NavigateArrow(const VARIANT& TowardPrecedent, const VARIANT& ArrowNumber, const VARIANT& LinkNumber)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x408, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &TowardPrecedent, &ArrowNumber, &LinkNumber);
- return result;
- }
- LPUNKNOWN Range::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetNext()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f6, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- CString Range::NoteText(const VARIANT& Text, const VARIANT& Start, const VARIANT& Length)
- {
- CString result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x467, DISPATCH_METHOD, VT_BSTR, (void*)&result, parms,
- &Text, &Start, &Length);
- return result;
- }
- VARIANT Range::GetNumberFormat()
- {
- VARIANT result;
- InvokeHelper(0xc1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetNumberFormat(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xc1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetNumberFormatLocal()
- {
- VARIANT result;
- InvokeHelper(0x449, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetNumberFormatLocal(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x449, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::GetOffset(const VARIANT& RowOffset, const VARIANT& ColumnOffset)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xfe, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &RowOffset, &ColumnOffset);
- return result;
- }
- VARIANT Range::GetOrientation()
- {
- VARIANT result;
- InvokeHelper(0x86, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetOrientation(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x86, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetOutlineLevel()
- {
- VARIANT result;
- InvokeHelper(0x10f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetOutlineLevel(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x10f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long Range::GetPageBreak()
- {
- long result;
- InvokeHelper(0xff, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Range::SetPageBreak(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xff, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- VARIANT Range::Parse(const VARIANT& ParseLine, const VARIANT& Destination)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1dd, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &ParseLine, &Destination);
- return result;
- }
- VARIANT Range::PasteSpecial(long Paste, long Operation, const VARIANT& SkipBlanks, const VARIANT& Transpose)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x403, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Paste, Operation, &SkipBlanks, &Transpose);
- return result;
- }
- LPDISPATCH Range::GetPivotField()
- {
- LPDISPATCH result;
- InvokeHelper(0x2db, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPivotItem()
- {
- LPDISPATCH result;
- InvokeHelper(0x2e4, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPivotTable()
- {
- LPDISPATCH result;
- InvokeHelper(0x2cc, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPrecedents()
- {
- LPDISPATCH result;
- InvokeHelper(0x220, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetPrefixCharacter()
- {
- VARIANT result;
- InvokeHelper(0x1f8, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPrevious()
- {
- LPDISPATCH result;
- InvokeHelper(0x1f7, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::_PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x389, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate);
- return result;
- }
- VARIANT Range::PrintPreview(const VARIANT& EnableChanges)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &EnableChanges);
- return result;
- }
- LPDISPATCH Range::GetQueryTable()
- {
- LPDISPATCH result;
- InvokeHelper(0x56a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetRange(const VARIANT& Cell1, const VARIANT& Cell2)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xc5, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Cell1, &Cell2);
- return result;
- }
- VARIANT Range::RemoveSubtotal()
- {
- VARIANT result;
- InvokeHelper(0x373, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- BOOL Range::Replace(const VARIANT& What, const VARIANT& Replacement, const VARIANT& LookAt, const VARIANT& SearchOrder, const VARIANT& MatchCase, const VARIANT& MatchByte)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xe2, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- &What, &Replacement, &LookAt, &SearchOrder, &MatchCase, &MatchByte);
- return result;
- }
- LPDISPATCH Range::GetResize(const VARIANT& RowSize, const VARIANT& ColumnSize)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x100, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &RowSize, &ColumnSize);
- return result;
- }
- long Range::GetRow()
- {
- long result;
- InvokeHelper(0x101, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::RowDifferences(const VARIANT& Comparison)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x1ff, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Comparison);
- return result;
- }
- VARIANT Range::GetRowHeight()
- {
- VARIANT result;
- InvokeHelper(0x110, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetRowHeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x110, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::GetRows()
- {
- LPDISPATCH result;
- InvokeHelper(0x102, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Run(const VARIANT& Arg1, const VARIANT& Arg2, const VARIANT& Arg3, const VARIANT& Arg4, const VARIANT& Arg5, const VARIANT& Arg6, const VARIANT& Arg7, const VARIANT& Arg8, const VARIANT& Arg9, const VARIANT& Arg10,
const VARIANT& Arg11, const VARIANT& Arg12, const VARIANT& Arg13, const VARIANT& Arg14, const VARIANT& Arg15, const VARIANT& Arg16, const VARIANT& Arg17, const VARIANT& Arg18, const VARIANT& Arg19, const VARIANT& Arg20,
const VARIANT& Arg21, const VARIANT& Arg22, const VARIANT& Arg23, const VARIANT& Arg24, const VARIANT& Arg25, const VARIANT& Arg26, const VARIANT& Arg27, const VARIANT& Arg28, const VARIANT& Arg29, const VARIANT& Arg30)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT
VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x103, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Arg1, &Arg2, &Arg3, &Arg4, &Arg5, &Arg6, &Arg7, &Arg8, &Arg9, &Arg10, &Arg11, &Arg12, &Arg13, &Arg14, &Arg15, &Arg16, &Arg17, &Arg18, &Arg19, &Arg20, &Arg21, &Arg22, &Arg23, &Arg24, &Arg25, &Arg26, &Arg27, &Arg28, &Arg29, &Arg30);
- return result;
- }
- VARIANT Range::Select()
- {
- VARIANT result;
- InvokeHelper(0xeb, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Show()
- {
- VARIANT result;
- InvokeHelper(0x1f0, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ShowDependents(const VARIANT& Remove)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x36d, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Remove);
- return result;
- }
- VARIANT Range::GetShowDetail()
- {
- VARIANT result;
- InvokeHelper(0x249, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetShowDetail(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x249, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::ShowErrors()
- {
- VARIANT result;
- InvokeHelper(0x36e, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::ShowPrecedents(const VARIANT& Remove)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x36f, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Remove);
- return result;
- }
- VARIANT Range::GetShrinkToFit()
- {
- VARIANT result;
- InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetShrinkToFit(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::Sort(const VARIANT& Key1, long Order1, const VARIANT& Key2, const VARIANT& Type, long Order2, const VARIANT& Key3, long Order3, long Header, const VARIANT& OrderCustom, const VARIANT& MatchCase, long Orientation, long SortMethod)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_I4;
- InvokeHelper(0x370, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Key1, Order1, &Key2, &Type, Order2, &Key3, Order3, Header, &OrderCustom, &MatchCase, Orientation, SortMethod);
- return result;
- }
- VARIANT Range::SortSpecial(long SortMethod, const VARIANT& Key1, long Order1, const VARIANT& Type, const VARIANT& Key2, long Order2, const VARIANT& Key3, long Order3, long Header, const VARIANT& OrderCustom, const VARIANT& MatchCase,
long Orientation)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4 VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_I4;
- InvokeHelper(0x371, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- SortMethod, &Key1, Order1, &Type, &Key2, Order2, &Key3, Order3, Header, &OrderCustom, &MatchCase, Orientation);
- return result;
- }
- LPDISPATCH Range::GetSoundNote()
- {
- LPDISPATCH result;
- InvokeHelper(0x394, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::SpecialCells(long Type, const VARIANT& Value)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4 VTS_VARIANT;
- InvokeHelper(0x19a, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- Type, &Value);
- return result;
- }
- VARIANT Range::GetStyle()
- {
- VARIANT result;
- InvokeHelper(0x104, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x104, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::SubscribeTo(LPCTSTR Edition, long Format)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_BSTR VTS_I4;
- InvokeHelper(0x1e1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- Edition, Format);
- return result;
- }
- VARIANT Range::Subtotal(long GroupBy, long Function, const VARIANT& TotalList, const VARIANT& Replace, const VARIANT& PageBreaks, long SummaryBelowData)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_I4;
- InvokeHelper(0x372, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- GroupBy, Function, &TotalList, &Replace, &PageBreaks, SummaryBelowData);
- return result;
- }
- VARIANT Range::GetSummary()
- {
- VARIANT result;
- InvokeHelper(0x111, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Table(const VARIANT& RowInput, const VARIANT& ColumnInput)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x1f1, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &RowInput, &ColumnInput);
- return result;
- }
- VARIANT Range::GetText()
- {
- VARIANT result;
- InvokeHelper(0x8a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::TextToColumns(const VARIANT& Destination, long DataType, long TextQualifier, const VARIANT& ConsecutiveDelimiter, const VARIANT& Tab, const VARIANT& Semicolon, const VARIANT& Comma, const VARIANT& Space, const VARIANT& Other,
const VARIANT& OtherChar, const VARIANT& FieldInfo, const VARIANT& DecimalSeparator, const VARIANT& ThousandsSeparator)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_I4 VTS_I4 VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x410, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &Destination, DataType, TextQualifier, &ConsecutiveDelimiter, &Tab, &Semicolon, &Comma, &Space, &Other, &OtherChar, &FieldInfo, &DecimalSeparator, &ThousandsSeparator);
- return result;
- }
- VARIANT Range::GetTop()
- {
- VARIANT result;
- InvokeHelper(0x7e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::Ungroup()
- {
- VARIANT result;
- InvokeHelper(0xf4, DISPATCH_METHOD, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetUseStandardHeight()
- {
- VARIANT result;
- InvokeHelper(0x112, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetUseStandardHeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x112, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetUseStandardWidth()
- {
- VARIANT result;
- InvokeHelper(0x113, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetUseStandardWidth(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x113, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::GetValidation()
- {
- LPDISPATCH result;
- InvokeHelper(0x56b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetValue()
- {
- VARIANT result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetValue(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetValue2()
- {
- VARIANT result;
- InvokeHelper(0x56c, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetValue2(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x56c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetVerticalAlignment()
- {
- VARIANT result;
- InvokeHelper(0x89, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetVerticalAlignment(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x89, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Range::GetWidth()
- {
- VARIANT result;
- InvokeHelper(0x7a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetWorksheet()
- {
- LPDISPATCH result;
- InvokeHelper(0x15c, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Range::GetWrapText()
- {
- VARIANT result;
- InvokeHelper(0x114, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Range::SetWrapText(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x114, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Range::AddComment(const VARIANT& Text)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x56d, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Text);
- return result;
- }
- LPDISPATCH Range::GetComment()
- {
- LPDISPATCH result;
- InvokeHelper(0x38e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Range::ClearComments()
- {
- InvokeHelper(0x56e, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPDISPATCH Range::GetPhonetic()
- {
- LPDISPATCH result;
- InvokeHelper(0x56f, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetFormatConditions()
- {
- LPDISPATCH result;
- InvokeHelper(0x570, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Range::GetReadingOrder()
- {
- long result;
- InvokeHelper(0x3cf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Range::SetReadingOrder(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3cf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- LPDISPATCH Range::GetHyperlinks()
- {
- LPDISPATCH result;
- InvokeHelper(0x571, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Range::GetPhonetics()
- {
- LPDISPATCH result;
- InvokeHelper(0x713, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- void Range::SetPhonetic()
- {
- InvokeHelper(0x714, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- CString Range::GetId()
- {
- CString result;
- InvokeHelper(0x715, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void Range::SetId(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x715, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- VARIANT Range::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- VARIANT result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_VARIANT, (void*)&result, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Borders properties
- /////////////////////////////////////////////////////////////////////////////
- // Borders operations
- LPDISPATCH Borders::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Borders::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Borders::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Borders::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Borders::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long Borders::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Borders::GetItem(long Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Index);
- return result;
- }
- VARIANT Borders::GetLineStyle()
- {
- VARIANT result;
- InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetLineStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPUNKNOWN Borders::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- VARIANT Borders::GetValue()
- {
- VARIANT result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetValue(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Borders::GetWeight()
- {
- VARIANT result;
- InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Borders::SetWeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Borders::Get_Default(long Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- Index);
- return result;
- }
- /////////////////////////////////////////////////////////////////////////////
- // Worksheets properties
- /////////////////////////////////////////////////////////////////////////////
- // Worksheets operations
- LPDISPATCH Worksheets::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Worksheets::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Worksheets::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Worksheets::Add(const VARIANT& Before, const VARIANT& After, const VARIANT& Count, const VARIANT& Type)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0xb5, DISPATCH_METHOD, VT_DISPATCH, (void*)&result, parms,
- &Before, &After, &Count, &Type);
- return result;
- }
- void Worksheets::Copy(const VARIANT& Before, const VARIANT& After)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x227, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Before, &After);
- }
- long Worksheets::GetCount()
- {
- long result;
- InvokeHelper(0x76, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void Worksheets::Delete()
- {
- InvokeHelper(0x75, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void Worksheets::FillAcrossSheets(LPDISPATCH Range, long Type)
- {
- static BYTE parms[] =
- VTS_DISPATCH VTS_I4;
- InvokeHelper(0x1d5, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- Range, Type);
- }
- LPDISPATCH Worksheets::GetItem(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xaa, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void Worksheets::Move(const VARIANT& Before, const VARIANT& After)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x27d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Before, &After);
- }
- LPUNKNOWN Worksheets::Get_NewEnum()
- {
- LPUNKNOWN result;
- InvokeHelper(0xfffffffc, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- void Worksheets::PrintPreview(const VARIANT& EnableChanges)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x119, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &EnableChanges);
- }
- void Worksheets::Select(const VARIANT& Replace)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0xeb, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &Replace);
- }
- LPDISPATCH Worksheets::GetHPageBreaks()
- {
- LPDISPATCH result;
- InvokeHelper(0x58a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Worksheets::GetVPageBreaks()
- {
- LPDISPATCH result;
- InvokeHelper(0x58b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Worksheets::GetVisible()
- {
- VARIANT result;
- InvokeHelper(0x22e, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Worksheets::SetVisible(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x22e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- LPDISPATCH Worksheets::Get_Default(const VARIANT& Index)
- {
- LPDISPATCH result;
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, parms,
- &Index);
- return result;
- }
- void Worksheets::PrintOut(const VARIANT& From, const VARIANT& To, const VARIANT& Copies, const VARIANT& Preview, const VARIANT& ActivePrinter, const VARIANT& PrintToFile, const VARIANT& Collate, const VARIANT& PrToFileName)
- {
- static BYTE parms[] =
- VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT VTS_VARIANT;
- InvokeHelper(0x6ec, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- &From, &To, &Copies, &Preview, &ActivePrinter, &PrintToFile, &Collate, &PrToFileName);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Interior properties
- /////////////////////////////////////////////////////////////////////////////
- // Interior operations
- LPDISPATCH Interior::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Interior::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Interior::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Interior::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetInvertIfNegative()
- {
- VARIANT result;
- InvokeHelper(0x84, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetInvertIfNegative(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x84, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetPattern()
- {
- VARIANT result;
- InvokeHelper(0x5f, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetPattern(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x5f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetPatternColor()
- {
- VARIANT result;
- InvokeHelper(0x64, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetPatternColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x64, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Interior::GetPatternColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x62, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Interior::SetPatternColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x62, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- /////////////////////////////////////////////////////////////////////////////
- // Border properties
- /////////////////////////////////////////////////////////////////////////////
- // Border operations
- LPDISPATCH Border::GetApplication()
- {
- LPDISPATCH result;
- InvokeHelper(0x94, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- long Border::GetCreator()
- {
- long result;
- InvokeHelper(0x95, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- LPDISPATCH Border::GetParent()
- {
- LPDISPATCH result;
- InvokeHelper(0x96, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&result, NULL);
- return result;
- }
- VARIANT Border::GetColor()
- {
- VARIANT result;
- InvokeHelper(0x63, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetColor(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x63, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Border::GetColorIndex()
- {
- VARIANT result;
- InvokeHelper(0x61, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetColorIndex(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x61, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Border::GetLineStyle()
- {
- VARIANT result;
- InvokeHelper(0x77, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetLineStyle(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x77, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- VARIANT Border::GetWeight()
- {
- VARIANT result;
- InvokeHelper(0x78, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void Border::SetWeight(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x78, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }