text: // 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 "pagenumtool.h"
  
  // Dispatch interfaces referenced by this interface
  #include "teeshapepanel.h"
  #include "annotationcallout.h"
  #include "brush.h"
  #include "pen.h"
  #include "gradient.h"
  
  
  /////////////////////////////////////////////////////////////////////////////
  // CPageNumTool properties
  
  /////////////////////////////////////////////////////////////////////////////
  // CPageNumTool operations
  
  long CPageNumTool::GetPosition()
  {
  	long result;
  	InvokeHelper(0x2, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetPosition(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0x2, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  CTeeShapePanel CPageNumTool::GetShape()
  {
  	LPDISPATCH pDispatch;
  	InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  	return CTeeShapePanel(pDispatch);
  }
  
  CString CPageNumTool::GetText()
  {
  	CString result;
  	InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetText(LPCTSTR lpszNewValue)
  {
  	static BYTE parms[] =
  		VTS_BSTR;
  	InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 lpszNewValue);
  }
  
  CAnnotationCallout CPageNumTool::GetCallout()
  {
  	LPDISPATCH pDispatch;
  	InvokeHelper(0xc9, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  	return CAnnotationCallout(pDispatch);
  }
  
  long CPageNumTool::GetTextAlignment()
  {
  	long result;
  	InvokeHelper(0xca, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetTextAlignment(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0xca, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  BOOL CPageNumTool::Clicked(long X, long Y)
  {
  	BOOL result;
  	static BYTE parms[] =
  		VTS_I4 VTS_I4;
  	InvokeHelper(0xcb, DISPATCH_METHOD, VT_BOOL, (void*)&result, parms,
  		X, Y);
  	return result;
  }
  
  long CPageNumTool::GetWidth()
  {
  	long result;
  	InvokeHelper(0xcc, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetWidth(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0xcc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  long CPageNumTool::GetHeight()
  {
  	long result;
  	InvokeHelper(0xcd, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetHeight(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0xcd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  short CPageNumTool::GetCursor()
  {
  	short result;
  	InvokeHelper(0xce, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetCursor(short nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I2;
  	InvokeHelper(0xce, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  long CPageNumTool::GetLeft()
  {
  	long result;
  	InvokeHelper(0xcf, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetLeft(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0xcf, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  long CPageNumTool::GetTop()
  {
  	long result;
  	InvokeHelper(0xd0, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetTop(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0xd0, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  BOOL CPageNumTool::GetAutoSize()
  {
  	BOOL result;
  	InvokeHelper(0xd1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetAutoSize(BOOL bNewValue)
  {
  	static BYTE parms[] =
  		VTS_BOOL;
  	InvokeHelper(0xd1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 bNewValue);
  }
  
  CBrush1 CPageNumTool::GetBrush()
  {
  	LPDISPATCH pDispatch;
  	InvokeHelper(0xd3, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  	return CBrush1(pDispatch);
  }
  
  void CPageNumTool::SetBounds(long Left, long Top, long Right, long Bottom)
  {
  	static BYTE parms[] =
  		VTS_I4 VTS_I4 VTS_I4 VTS_I4;
  	InvokeHelper(0xd4, DISPATCH_METHOD, VT_EMPTY, NULL, parms,
  		 Left, Top, Right, Bottom);
  }
  
  long CPageNumTool::GetPositionUnits()
  {
  	long result;
  	InvokeHelper(0xd5, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetPositionUnits(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0xd5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  CString CPageNumTool::GetFormat()
  {
  	CString result;
  	InvokeHelper(0x6, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetFormat(LPCTSTR lpszNewValue)
  {
  	static BYTE parms[] =
  		VTS_BSTR;
  	InvokeHelper(0x6, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 lpszNewValue);
  }
  
  BOOL CPageNumTool::GetShowButtons()
  {
  	BOOL result;
  	InvokeHelper(0x12d, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetShowButtons(BOOL bNewValue)
  {
  	static BYTE parms[] =
  		VTS_BOOL;
  	InvokeHelper(0x12d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 bNewValue);
  }
  
  CPen1 CPageNumTool::GetButtonPen()
  {
  	LPDISPATCH pDispatch;
  	InvokeHelper(0x12e, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  	return CPen1(pDispatch);
  }
  
  long CPageNumTool::GetButtonWidth()
  {
  	long result;
  	InvokeHelper(0x12f, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  	return result;
  }
  
  void CPageNumTool::SetButtonWidth(long nNewValue)
  {
  	static BYTE parms[] =
  		VTS_I4;
  	InvokeHelper(0x12f, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  		 nNewValue);
  }
  
  CGradient CPageNumTool::GetDisabledButton()
  {
  	LPDISPATCH pDispatch;
  	InvokeHelper(0x130, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  	return CGradient(pDispatch);
  }
  
  CGradient CPageNumTool::GetEnabledButton()
  {
  	LPDISPATCH pDispatch;
  	InvokeHelper(0x131, DISPATCH_PROPERTYGET, VT_DISPATCH, (void*)&pDispatch, NULL);
  	return CGradient(pDispatch);
  }
  