home *** CD-ROM | disk | FTP | other *** search
- // 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 "relation.h"
-
- // Dispatch interfaces referenced by this interface
- #include "font.h"
- #include "entity.h"
-
-
- /////////////////////////////////////////////////////////////////////////////
- // CRelation properties
-
- long CRelation::GetType()
- {
- long result;
- GetProperty(0x1, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetType(long propVal)
- {
- SetProperty(0x1, VT_I4, propVal);
- }
-
- long CRelation::GetSourceArrow()
- {
- long result;
- GetProperty(0x2, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetSourceArrow(long propVal)
- {
- SetProperty(0x2, VT_I4, propVal);
- }
-
- long CRelation::GetDestinationArrow()
- {
- long result;
- GetProperty(0x3, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetDestinationArrow(long propVal)
- {
- SetProperty(0x3, VT_I4, propVal);
- }
-
- long CRelation::GetThickness()
- {
- long result;
- GetProperty(0x4, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetThickness(long propVal)
- {
- SetProperty(0x4, VT_I4, propVal);
- }
-
- unsigned long CRelation::GetBackColor()
- {
- unsigned long result;
- GetProperty(0x5, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetBackColor(unsigned long propVal)
- {
- SetProperty(0x5, VT_I4, propVal);
- }
-
- unsigned long CRelation::GetTextColor()
- {
- unsigned long result;
- GetProperty(0x6, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetTextColor(unsigned long propVal)
- {
- SetProperty(0x6, VT_I4, propVal);
- }
-
- CString CRelation::GetText()
- {
- CString result;
- GetProperty(0x7, VT_BSTR, (void*)&result);
- return result;
- }
-
- void CRelation::SetText(LPCTSTR propVal)
- {
- SetProperty(0x7, VT_BSTR, propVal);
- }
-
- long CRelation::GetUserData()
- {
- long result;
- GetProperty(0x8, VT_I4, (void*)&result);
- return result;
- }
-
- void CRelation::SetUserData(long propVal)
- {
- SetProperty(0x8, VT_I4, propVal);
- }
-
- COleFont CRelation::GetFont()
- {
- LPDISPATCH pDispatch;
- GetProperty(0x9, VT_DISPATCH, (void*)&pDispatch);
- return COleFont(pDispatch);
- }
-
- void CRelation::SetFont(LPDISPATCH propVal)
- {
- SetProperty(0x9, VT_DISPATCH, propVal);
- }
-
- BOOL CRelation::GetReadOnly()
- {
- BOOL result;
- GetProperty(0xa, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRelation::SetReadOnly(BOOL propVal)
- {
- SetProperty(0xa, VT_BOOL, propVal);
- }
-
- BOOL CRelation::GetCanDelete()
- {
- BOOL result;
- GetProperty(0xb, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRelation::SetCanDelete(BOOL propVal)
- {
- SetProperty(0xb, VT_BOOL, propVal);
- }
-
- BOOL CRelation::GetCanMoveEndPoints()
- {
- BOOL result;
- GetProperty(0xc, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRelation::SetCanMoveEndPoints(BOOL propVal)
- {
- SetProperty(0xc, VT_BOOL, propVal);
- }
-
- BOOL CRelation::GetCanMoveMidPoints()
- {
- BOOL result;
- GetProperty(0xd, VT_BOOL, (void*)&result);
- return result;
- }
-
- void CRelation::SetCanMoveMidPoints(BOOL propVal)
- {
- SetProperty(0xd, VT_BOOL, propVal);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CRelation operations
-
- BOOL CRelation::PropertyPage(short cPage)
- {
- BOOL result;
- static BYTE parms[] =
- VTS_I2;
- InvokeHelper(0xe, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
- cPage);
- return result;
- }
-
- void CRelation::Repaint()
- {
- InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- CString CRelation::ClassName()
- {
- CString result;
- InvokeHelper(0x10, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- long CRelation::UserID()
- {
- long result;
- InvokeHelper(0x11, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
- return result;
- }
-
- CString CRelation::UserName()
- {
- CString result;
- InvokeHelper(0x12, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
- return result;
- }
-
- CEntity CRelation::SourceEntity()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x13, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CEntity(pDispatch);
- }
-
- CEntity CRelation::DestinationEntity()
- {
- LPDISPATCH pDispatch;
- InvokeHelper(0x14, DISPATCH_METHOD, VT_DISPATCH, (void*)&pDispatch, NULL);
- return CEntity(pDispatch);
- }
-
- void CRelation::Delete()
- {
- InvokeHelper(0x15, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
- }
-
- BOOL CRelation::BringIntoView()
- {
- BOOL result;
- InvokeHelper(0x16, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
- return result;
- }
-