www.pudn.com > IntegrateCrystalReports_src.zip > crdesignerctrl.cpp, change:2005-10-05,size:6358b


// 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 "crdesignerctrl.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CCRDesignerCtrl 
 
IMPLEMENT_DYNCREATE(CCRDesignerCtrl, CWnd) 
 
///////////////////////////////////////////////////////////////////////////// 
// CCRDesignerCtrl properties 
 
///////////////////////////////////////////////////////////////////////////// 
// CCRDesignerCtrl operations 
 
BOOL CCRDesignerCtrl::GetDisplayFieldView() 
{ 
	BOOL result; 
	InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetDisplayFieldView(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetDisplayToolbar() 
{ 
	BOOL result; 
	InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetDisplayToolbar(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetUseIndexForSpeed() 
{ 
	BOOL result; 
	InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetUseIndexForSpeed(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetTranslateDosStrings() 
{ 
	BOOL result; 
	InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetTranslateDosStrings(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetTranslateDosMemos() 
{ 
	BOOL result; 
	InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetTranslateDosMemos(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
long CCRDesignerCtrl::GetConvertDateTimeType() 
{ 
	long result; 
	InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetConvertDateTimeType(long nNewValue) 
{ 
	static BYTE parms[] = 
		VTS_I4; 
	InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 nNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetConvertNullFieldToDefault() 
{ 
	BOOL result; 
	InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetConvertNullFieldToDefault(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetCaseInsensitiveSQLData() 
{ 
	BOOL result; 
	InvokeHelper(0x8, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetCaseInsensitiveSQLData(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x8, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetVerifyOnEveryPrint() 
{ 
	BOOL result; 
	InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetVerifyOnEveryPrint(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetDisplayRulers() 
{ 
	BOOL result; 
	InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetDisplayRulers(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetEnableSnapToGrid() 
{ 
	BOOL result; 
	InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetEnableSnapToGrid(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
BOOL CCRDesignerCtrl::GetDisplayGrid() 
{ 
	BOOL result; 
	InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetDisplayGrid(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
float CCRDesignerCtrl::GetGridSize() 
{ 
	float result; 
	InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_R4, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetGridSize(float newValue) 
{ 
	static BYTE parms[] = 
		VTS_R4; 
	InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
void CCRDesignerCtrl::SaveReport(LPCTSTR reportName) 
{ 
	static BYTE parms[] = 
		VTS_BSTR; 
	InvokeHelper(0xf, DISPATCH_METHOD, VT_EMPTY, NULL, parms, 
		 reportName); 
} 
 
BOOL CCRDesignerCtrl::GetDisplayHiddenSections() 
{ 
	BOOL result; 
	InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetDisplayHiddenSections(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
} 
 
LPUNKNOWN CCRDesignerCtrl::GetReportObject() 
{ 
	LPUNKNOWN result; 
	InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_UNKNOWN, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetReportObject(LPUNKNOWN newValue) 
{ 
	static BYTE parms[] = 
		VTS_UNKNOWN; 
	InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 newValue); 
} 
 
BOOL CCRDesignerCtrl::GetEnableHelp() 
{ 
	BOOL result; 
	InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL); 
	return result; 
} 
 
void CCRDesignerCtrl::SetEnableHelp(BOOL bNewValue) 
{ 
	static BYTE parms[] = 
		VTS_BOOL; 
	InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms, 
		 bNewValue); 
}