// 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 "pdfocx.h"

/////////////////////////////////////////////////////////////////////////////
// CPdfocx

IMPLEMENT_DYNCREATE(CPdfocx, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CPdfocx properties

/////////////////////////////////////////////////////////////////////////////
// CPdfocx operations

void CPdfocx::ClosePDFFile()
{
	InvokeHelper(0x1, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

long CPdfocx::GetPageCount()
{
	long result;
	InvokeHelper(0x2, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

BOOL CPdfocx::GotoPage(long pageno)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x3, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		pageno);
	return result;
}

BOOL CPdfocx::OpenPDFFile(LPCTSTR szFileName, LPCTSTR szOwnPass, LPCTSTR szUsePass, short dpi)
{
	BOOL result;
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR VTS_BSTR VTS_I2;
	InvokeHelper(0x4, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		szFileName, szOwnPass, szUsePass, dpi);
	return result;
}

float CPdfocx::SetZoom(float dpi)
{
	float result;
	static BYTE parms[] =
		VTS_R4;
	InvokeHelper(0x5, DISPATCH_METHOD, VT_R4, (void*)&result, parms,
		dpi);
	return result;
}

float CPdfocx::GetZoom()
{
	float result;
	InvokeHelper(0x6, DISPATCH_METHOD, VT_R4, (void*)&result, NULL);
	return result;
}

long CPdfocx::FindText(LPCTSTR ptrText)
{
	long result;
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x7, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		ptrText);
	return result;
}

void CPdfocx::SetViewType(short m_iViewType)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x8, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 m_iViewType);
}

short CPdfocx::GetViewType()
{
	short result;
	InvokeHelper(0x9, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
	return result;
}

void CPdfocx::ShowToolbar(BOOL m_bShow)
{
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0xa, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 m_bShow);
}

BOOL CPdfocx::IsShowToolbar()
{
	BOOL result;
	InvokeHelper(0xb, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

void CPdfocx::Register(LPCTSTR key1, LPCTSTR key2)
{
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR;
	InvokeHelper(0xc, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 key1, key2);
}

void CPdfocx::ShowLeftPanel(BOOL m_bShow)
{
	static BYTE parms[] =
		VTS_BOOL;
	InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 m_bShow);
}

BOOL CPdfocx::IsShowLeftPanel()
{
	BOOL result;
	InvokeHelper(0xe, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CPdfocx::IsOpenFile()
{
	BOOL result;
	InvokeHelper(0xf, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

CString CPdfocx::GetFileName()
{
	CString result;
	InvokeHelper(0x10, DISPATCH_METHOD, VT_BSTR, (void*)&result, NULL);
	return result;
}

long CPdfocx::GetCurrentPage()
{
	long result;
	InvokeHelper(0x11, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

BOOL CPdfocx::IsZoomInEnable()
{
	BOOL result;
	InvokeHelper(0x12, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

BOOL CPdfocx::IsZoomOutEnable()
{
	BOOL result;
	InvokeHelper(0x13, DISPATCH_METHOD, VT_BOOL, (void*)&result, NULL);
	return result;
}

void CPdfocx::SetViewMode(short nMode)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x14, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 nMode);
}

short CPdfocx::GetViewMode()
{
	short result;
	InvokeHelper(0x15, DISPATCH_METHOD, VT_I2, (void*)&result, NULL);
	return result;
}

void CPdfocx::CreateComment(short nType)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x16, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 nType);
}

void CPdfocx::GetZoomRange(float* fMin, float* fMax)
{
	static BYTE parms[] =
		VTS_PR4 VTS_PR4;
	InvokeHelper(0x17, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 fMin, fMax);
}

void CPdfocx::PrintPDFFile()
{
	InvokeHelper(0x18, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

void CPdfocx::EmailDocument()
{
	InvokeHelper(0x19, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}

long CPdfocx::InvokeMethod(long nID, long wParam, long* lParam)
{
	long result;
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_PI4;
	InvokeHelper(0x1a, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		nID, wParam, lParam);
	return result;
}

void CPdfocx::CreateContent(short nType)
{
	static BYTE parms[] =
		VTS_I2;
	InvokeHelper(0x1b, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 nType);
}

void CPdfocx::SavePDFFile(LPCTSTR szFileName)
{
	static BYTE parms[] =
		VTS_BSTR;
	InvokeHelper(0x1c, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 szFileName);
}

void CPdfocx::SaveAsPicture(LPCTSTR szFileName, long nStartPage, long nEndPage, long nDpiX, long nDpiY)
{
	static BYTE parms[] =
		VTS_BSTR VTS_I4 VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x1d, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 szFileName, nStartPage, nEndPage, nDpiX, nDpiY);
}

BOOL CPdfocx::RemoveLeftPanel(long iRemove)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x1e, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		iRemove);
	return result;
}

BOOL CPdfocx::MainToolbarDeleteButton(long nIndex)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4;
	InvokeHelper(0x1f, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		nIndex);
	return result;
}

long CPdfocx::GetMainImageHWnd()
{
	long result;
	InvokeHelper(0x20, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
	return result;
}

void CPdfocx::SetOrderID(LPCTSTR lpOrderID, LPCTSTR lpCompany, LPCTSTR lpEmail)
{
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR VTS_BSTR;
	InvokeHelper(0x21, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 lpOrderID, lpCompany, lpEmail);
}

BOOL CPdfocx::MainToolbarHideButton(long nID, BOOL hHide)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4 VTS_BOOL;
	InvokeHelper(0x22, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		nID, hHide);
	return result;
}

BOOL CPdfocx::SetMessageCallback(long hWndCaptureMouse, long uMessageIDCaptureMouse, long pDataCaptureMouse)
{
	BOOL result;
	static BYTE parms[] =
		VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x23, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
		hWndCaptureMouse, uMessageIDCaptureMouse, pDataCaptureMouse);
	return result;
}

long CPdfocx::GetTextContent(long iPageNo, long* lpTextContent)
{
	long result;
	static BYTE parms[] =
		VTS_I4 VTS_PI4;
	InvokeHelper(0x24, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		iPageNo, lpTextContent);
	return result;
}

void CPdfocx::SetMessageCallbackFunc(long* lpCallbackFunc, long lUserData)
{
	static BYTE parms[] =
		VTS_PI4 VTS_I4;
	InvokeHelper(0x25, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
		 lpCallbackFunc, lUserData);
}

long CPdfocx::ConvertPDFToImage(LPCTSTR lpPDFFile, LPCTSTR lpImageFile, long xResolution, long yResolution, long iCompression, long iIsMultiPage, long iFirstPage, long iLastPage, long iBitCount, long iGrayscale)
{
	long result;
	static BYTE parms[] =
		VTS_BSTR VTS_BSTR VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4 VTS_I4;
	InvokeHelper(0x26, DISPATCH_METHOD, VT_I4, (void*)&result, parms,
		lpPDFFile, lpImageFile, xResolution, yResolution, iCompression, iIsMultiPage, iFirstPage, iLastPage, iBitCount, iGrayscale);
	return result;
}

void CPdfocx::AboutBox()
{
	InvokeHelper(0xfffffdd8, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
