123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685 |
- // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
- // NOTE: Do not modify the contents of this file. If this class is regenerated by
- // Microsoft Visual C++, your modifications will be overwritten.
- #include "stdafx.h"
- #include "mschart.h"
- // Dispatch interfaces referenced by this interface
- #include "vctitle.h"
- #include "vcfootnote.h"
- #include "vcbackdrop.h"
- #include "vclegend.h"
- #include "vcdatagrid.h"
- #include "vcplot.h"
- #include "vcbrush.h"
- /////////////////////////////////////////////////////////////////////////////
- // CMSChart
- IMPLEMENT_DYNCREATE(CMSChart, CWnd)
- /////////////////////////////////////////////////////////////////////////////
- // CMSChart properties
- /////////////////////////////////////////////////////////////////////////////
- // CMSChart operations
- BOOL CMSChart::GetAutoIncrement()
- {
- BOOL result;
- InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetAutoIncrement(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSChart::GetRandomFill()
- {
- BOOL result;
- InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRandomFill(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSChart::GetChartType()
- {
- long result;
- InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetChartType(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSChart::GetColumn()
- {
- short result;
- InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetColumn(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSChart::GetColumnCount()
- {
- short result;
- InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetColumnCount(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CMSChart::GetColumnLabel()
- {
- CString result;
- InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetColumnLabel(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- short CMSChart::GetColumnLabelCount()
- {
- short result;
- InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetColumnLabelCount(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSChart::GetColumnLabelIndex()
- {
- short result;
- InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetColumnLabelIndex(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CMSChart::GetData()
- {
- CString result;
- InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetData(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- CString CMSChart::GetFootnoteText()
- {
- CString result;
- InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetFootnoteText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL CMSChart::GetRepaint()
- {
- BOOL result;
- InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRepaint(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- short CMSChart::GetRow()
- {
- short result;
- InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRow(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSChart::GetRowCount()
- {
- short result;
- InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRowCount(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- CString CMSChart::GetRowLabel()
- {
- CString result;
- InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRowLabel(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- short CMSChart::GetRowLabelCount()
- {
- short result;
- InvokeHelper(0xf, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRowLabelCount(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSChart::GetRowLabelIndex()
- {
- short result;
- InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRowLabelIndex(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- short CMSChart::GetSeriesColumn()
- {
- short result;
- InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetSeriesColumn(short nNewValue)
- {
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSChart::GetSeriesType()
- {
- long result;
- InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetSeriesType(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CMSChart::GetShowLegend()
- {
- BOOL result;
- InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetShowLegend(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSChart::GetDrawMode()
- {
- long result;
- InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetDrawMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSChart::GetBorderStyle()
- {
- long result;
- InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetBorderStyle(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(DISPID_BORDERSTYLE, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CMSChart::GetEnabled()
- {
- BOOL result;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetEnabled(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(DISPID_ENABLED, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSChart::GetHWnd()
- {
- long result;
- InvokeHelper(DISPID_HWND, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- CVcTitle CMSChart::GetTitle()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcTitle(pDispatch);
- }
- CVcFootnote CMSChart::GetFootnote()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcFootnote(pDispatch);
- }
- CString CMSChart::GetTitleText()
- {
- CString result;
- InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetTitleText(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
- BOOL CMSChart::GetStacking()
- {
- BOOL result;
- InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetStacking(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- long CMSChart::GetTextLengthType()
- {
- long result;
- InvokeHelper(0x1e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetTextLengthType(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x1e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- BOOL CMSChart::GetAllowSelections()
- {
- BOOL result;
- InvokeHelper(0x20, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetAllowSelections(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x20, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSChart::GetAllowSeriesSelection()
- {
- BOOL result;
- InvokeHelper(0x21, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetAllowSeriesSelection(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x21, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSChart::GetAllowDynamicRotation()
- {
- BOOL result;
- InvokeHelper(0x22, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetAllowDynamicRotation(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x22, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- short CMSChart::GetActiveSeriesCount()
- {
- short result;
- InvokeHelper(0x23, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
- return result;
- }
- CVcBackdrop CMSChart::GetBackdrop()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x24, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcBackdrop(pDispatch);
- }
- CVcLegend CMSChart::GetLegend()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x26, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcLegend(pDispatch);
- }
- CVcDataGrid CMSChart::GetDataGrid()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x27, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcDataGrid(pDispatch);
- }
- CVcPlot CMSChart::GetPlot()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x28, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CVcPlot(pDispatch);
- }
- BOOL CMSChart::GetAllowDithering()
- {
- BOOL result;
- InvokeHelper(0x2b, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetAllowDithering(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x2b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSChart::GetDoSetCursor()
- {
- BOOL result;
- InvokeHelper(0x2d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetDoSetCursor(BOOL bNewValue)
- {
- static BYTE parms[] =
- VTS_BOOL;
- InvokeHelper(0x2d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- bNewValue);
- }
- BOOL CMSChart::GetChart3d()
- {
- BOOL result;
- InvokeHelper(0x2f, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
- return result;
- }
- VARIANT CMSChart::GetChartData()
- {
- VARIANT result;
- InvokeHelper(0x0, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetChartData(const VARIANT& newValue)
- {
- static BYTE parms[] =
- VTS_VARIANT;
- InvokeHelper(0x0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- &newValue);
- }
- long CMSChart::GetMousePointer()
- {
- long result;
- InvokeHelper(0x4a, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetMousePointer(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x4a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CMSChart::Refresh()
- {
- InvokeHelper(DISPID_REFRESH, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CMSChart::EditPaste()
- {
- InvokeHelper(0x31, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CMSChart::EditCopy()
- {
- InvokeHelper(0x32, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CMSChart::Layout()
- {
- InvokeHelper(0x34, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CMSChart::ToDefaults()
- {
- InvokeHelper(0x35, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- void CMSChart::SelectPart(short part, short index1, short index2, short index3, short index4)
- {
- static BYTE parms[] =
- VTS_I2 VTS_I2 VTS_I2 VTS_I2 VTS_I2;
- InvokeHelper(0x38, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- part, index1, index2, index3, index4);
- }
- void CMSChart::GetSelectedPart(short* part, short* index1, short* index2, short* index3, short* index4)
- {
- static BYTE parms[] =
- VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2;
- InvokeHelper(0x39, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- part, index1, index2, index3, index4);
- }
- void CMSChart::TwipsToChartPart(long xVal, long yVal, short* part, short* index1, short* index2, short* index3, short* index4)
- {
- static BYTE parms[] =
- VTS_I4 VTS_I4 VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2 VTS_PI2;
- InvokeHelper(0x3b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
- xVal, yVal, part, index1, index2, index3, index4);
- }
- long CMSChart::GetOLEDragMode()
- {
- long result;
- InvokeHelper(0x60e, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetOLEDragMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60e, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- long CMSChart::GetOLEDropMode()
- {
- long result;
- InvokeHelper(0x60f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetOLEDropMode(long nNewValue)
- {
- static BYTE parms[] =
- VTS_I4;
- InvokeHelper(0x60f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- nNewValue);
- }
- void CMSChart::OLEDrag()
- {
- InvokeHelper(0x610, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
- LPUNKNOWN CMSChart::GetDataSource()
- {
- LPUNKNOWN result;
- InvokeHelper(0x47, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetRefDataSource(LPUNKNOWN newValue)
- {
- static BYTE parms[] =
- VTS_UNKNOWN;
- InvokeHelper(0x47, DISPATCH_PROPERTYPUTREF, VT_EMPTY, NULL, parms,
- newValue);
- }
- CString CMSChart::GetDataMember()
- {
- CString result;
- InvokeHelper(0x4b, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
- return result;
- }
- void CMSChart::SetDataMember(LPCTSTR lpszNewValue)
- {
- static BYTE parms[] =
- VTS_BSTR;
- InvokeHelper(0x4b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
- lpszNewValue);
- }
|