#if !defined(AFX_HWPCTRL_H__3A696BF3_C723_4F6E_B9ED_82FF1A22665D__INCLUDED_)
#define AFX_HWPCTRL_H__3A696BF3_C723_4F6E_B9ED_82FF1A22665D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.

/////////////////////////////////////////////////////////////////////////////
// CHwpCtrl wrapper class

class CHwpCtrl : public CWnd
{
protected:
	DECLARE_DYNCREATE(CHwpCtrl)
public:
	CLSID const& GetClsid()
	{
		static CLSID const clsid
			= { 0xbd9c32de, 0x3155, 0x4691, { 0x89, 0x72, 0x9, 0x7d, 0x53, 0xb1, 0x0, 0x52 } };
		return clsid;
	}
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes
public:
	LPDISPATCH GetCellShape();
	void SetCellShape(LPDISPATCH);
	LPDISPATCH GetCharShape();
	void SetCharShape(LPDISPATCH);
	LPDISPATCH GetHeadCtrl();
	void SetHeadCtrl(LPDISPATCH);
	BOOL GetIsEmpty();
	void SetIsEmpty(BOOL);
	short GetIsModified();
	void SetIsModified(short);
	LPDISPATCH GetLastCtrl();
	void SetLastCtrl(LPDISPATCH);
	long GetPageCount();
	void SetPageCount(long);
	LPDISPATCH GetParaShape();
	void SetParaShape(LPDISPATCH);
	LPDISPATCH GetParentCtrl();
	void SetParentCtrl(LPDISPATCH);
	CString GetPath();
	void SetPath(LPCTSTR);
	LPDISPATCH GetViewProperties();
	void SetViewProperties(LPDISPATCH);
	long GetVersion();
	void SetVersion(long);
	long GetCurFieldState();
	void SetCurFieldState(long);
	BOOL GetReadOnlyMode();
	void SetReadOnlyMode(BOOL);
	short GetSelectionMode();
	void SetSelectionMode(short);
	long GetEditMode();
	void SetEditMode(long);
	BOOL GetAutoShowHideToolBar();
	void SetAutoShowHideToolBar(BOOL);
	LPDISPATCH GetEngineProperties();
	void SetEngineProperties(LPDISPATCH);
	LPDISPATCH GetScrollPosInfo();
	void SetScrollPosInfo(LPDISPATCH);
	long GetHyperlinkMode();
	void SetHyperlinkMode(long);

// Operations
public:
	void Clear(const VARIANT& option);
	LPDISPATCH CreateAction(LPCTSTR actid);
	BOOL CreatePageImage(LPCTSTR Path, const VARIANT& pgno, const VARIANT& resolution, const VARIANT& depth, const VARIANT& format);
	LPDISPATCH CreateSet(LPCTSTR setid);
	BOOL FieldExist(LPCTSTR field);
	CString GetFieldList(const VARIANT& number, const VARIANT& option);
	CString GetFieldText(LPCTSTR fieldlist);
	BOOL Insert(LPCTSTR Path, const VARIANT& format, const VARIANT& arg);
	LPDISPATCH InsertCtrl(LPCTSTR ctrlid, const VARIANT& initparam);
	BOOL MoveToField(LPCTSTR field, const VARIANT& text, const VARIANT& start, const VARIANT& select);
	BOOL Open(LPCTSTR Path, const VARIANT& format, const VARIANT& arg);
	void PutFieldText(LPCTSTR fieldlist, LPCTSTR textlist);
	void RenameField(LPCTSTR oldname, LPCTSTR newname);
	void Run(LPCTSTR actid);
	BOOL Save(const VARIANT& save_if_dirty);
	BOOL SaveAs(LPCTSTR Path, const VARIANT& format, const VARIANT& arg);
	BOOL OpenDocument(LPCTSTR szFileName, LPCTSTR szFileType);
	BOOL SaveDocument(LPCTSTR szFileName, LPCTSTR szFileType);
	BOOL InsertDocument(LPCTSTR szFileName);
	BOOL PrintDocument();
	BOOL SetToolBar(long lToolBarID, const VARIANT& varID);
	BOOL ShowToolBar(long bShow);
	LPDISPATCH InsertPicture(LPCTSTR Path, const VARIANT& embedded, const VARIANT& sizeOption, const VARIANT& reverse, const VARIANT& watermark, const VARIANT& effect, const VARIANT& width, const VARIANT& height);
	BOOL CreateField(LPCTSTR direction, const VARIANT& memo, const VARIANT& name);
	void SetClientName(LPCTSTR szClient);
	BOOL MovePos(const VARIANT& moveID, const VARIANT& para, const VARIANT& pos);
	BOOL SelectText(long spara, long spos, long epara, long epos);
	CString GetCurFieldName(const VARIANT& option);
	BOOL SetCurFieldName(LPCTSTR fieldname, const VARIANT& option, const VARIANT& direction, const VARIANT& memo);
	BOOL DeleteCtrl(LPDISPATCH ctrl);
	BOOL InitScan(const VARIANT& option, const VARIANT& range, const VARIANT& spara, const VARIANT& spos, const VARIANT& epara, const VARIANT& epos);
	long GetText(BSTR* text);
	void ReleaseScan();
	void LockCommand(LPCTSTR actionID, long lock);
	BOOL IsCommandLock(LPCTSTR actionID);
	BOOL GetFilterList(BSTR* szfilterlist, const VARIANT& flags);
	void GetPos(long* list, long* para, long* pos);
	BOOL SetPos(long list, long para, long pos);
	BOOL KeyIndicator(long* seccnt, long* secno, long* prnpageno, long* colno, long* line, long* pos, short* over, BSTR* ctrlname);
	BOOL GetActionCmdUIStatus(LPCTSTR actid, long bWithKey, long* bEnabled, long* bChecked, long* bRadio, BSTR* szText);
	long ModifyFieldProperties(LPCTSTR field, long remove, long add);
	LPDISPATCH GetPosBySet();
	BOOL SetPosBySet(LPDISPATCH pos);
	long GetTextBySet(LPDISPATCH text);
	VARIANT InsertBackgroundPicture(LPCTSTR bordertype, LPCTSTR Path, const VARIANT& embedded, const VARIANT& filloption, const VARIANT& watermark, const VARIANT& effect, const VARIANT& brightness, const VARIANT& contrast);
	long SetFieldViewOption(long option);
	VARIANT GetTextFile(LPCTSTR format, LPCTSTR option);
	long SetTextFile(const VARIANT& data, LPCTSTR format, LPCTSTR option);
	LPDISPATCH GetMousePos(long Xrelto, long Yrelto);
	BOOL ShowStatusBar(long Show);
	LPDISPATCH GetFileInfo(LPCTSTR FileName);
	CString SaveState(LPCTSTR FileName);
	BOOL LoadState(LPCTSTR FileName);
	BOOL ReplaceAction(LPCTSTR OldActionID, LPCTSTR NewActionID);
	LPDISPATCH GetMessageSet();
	LPDISPATCH GetViewStatus(long nType);
	BOOL RegisterModule(LPCTSTR ModuleType, const VARIANT& ModuleData);
	BOOL MoveToFieldEx(LPCTSTR field, const VARIANT& text, const VARIANT& start, const VARIANT& select);
	BOOL SetAutoSave(LPCTSTR FileName, long saveinterval);
	void AboutBox();
};

/////////////////////////////////////////////////////////////////////////////
// _DHwpCtrl wrapper class

class _DHwpCtrl : public COleDispatchDriver
{
public:
	_DHwpCtrl() {}		// Calls COleDispatchDriver default constructor
	_DHwpCtrl(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	_DHwpCtrl(const _DHwpCtrl& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	LPDISPATCH GetCellShape();
	void SetCellShape(LPDISPATCH);
	LPDISPATCH GetCharShape();
	void SetCharShape(LPDISPATCH);
	LPDISPATCH GetHeadCtrl();
	void SetHeadCtrl(LPDISPATCH);
	BOOL GetIsEmpty();
	void SetIsEmpty(BOOL);
	short GetIsModified();
	void SetIsModified(short);
	LPDISPATCH GetLastCtrl();
	void SetLastCtrl(LPDISPATCH);
	long GetPageCount();
	void SetPageCount(long);
	LPDISPATCH GetParaShape();
	void SetParaShape(LPDISPATCH);
	LPDISPATCH GetParentCtrl();
	void SetParentCtrl(LPDISPATCH);
	CString GetPath();
	void SetPath(LPCTSTR);
	LPDISPATCH GetViewProperties();
	void SetViewProperties(LPDISPATCH);
	long GetVersion();
	void SetVersion(long);
	long GetCurFieldState();
	void SetCurFieldState(long);
	BOOL GetReadOnlyMode();
	void SetReadOnlyMode(BOOL);
	short GetSelectionMode();
	void SetSelectionMode(short);
	long GetEditMode();
	void SetEditMode(long);
	BOOL GetAutoShowHideToolBar();
	void SetAutoShowHideToolBar(BOOL);
	LPDISPATCH GetEngineProperties();
	void SetEngineProperties(LPDISPATCH);
	LPDISPATCH GetScrollPosInfo();
	void SetScrollPosInfo(LPDISPATCH);
	long GetHyperlinkMode();
	void SetHyperlinkMode(long);

// Operations
public:
	void Clear(const VARIANT& option);
	LPDISPATCH CreateAction(LPCTSTR actid);
	BOOL CreatePageImage(LPCTSTR Path, const VARIANT& pgno, const VARIANT& resolution, const VARIANT& depth, const VARIANT& format);
	LPDISPATCH CreateSet(LPCTSTR setid);
	BOOL FieldExist(LPCTSTR field);
	CString GetFieldList(const VARIANT& number, const VARIANT& option);
	CString GetFieldText(LPCTSTR fieldlist);
	BOOL Insert(LPCTSTR Path, const VARIANT& format, const VARIANT& arg);
	LPDISPATCH InsertCtrl(LPCTSTR ctrlid, const VARIANT& initparam);
	BOOL MoveToField(LPCTSTR field, const VARIANT& text, const VARIANT& start, const VARIANT& select);
	BOOL Open(LPCTSTR Path, const VARIANT& format, const VARIANT& arg);
	void PutFieldText(LPCTSTR fieldlist, LPCTSTR textlist);
	void RenameField(LPCTSTR oldname, LPCTSTR newname);
	void Run(LPCTSTR actid);
	BOOL Save(const VARIANT& save_if_dirty);
	BOOL SaveAs(LPCTSTR Path, const VARIANT& format, const VARIANT& arg);
	BOOL OpenDocument(LPCTSTR szFileName, LPCTSTR szFileType);
	BOOL SaveDocument(LPCTSTR szFileName, LPCTSTR szFileType);
	BOOL InsertDocument(LPCTSTR szFileName);
	BOOL PrintDocument();
	BOOL SetToolBar(long lToolBarID, const VARIANT& varID);
	BOOL ShowToolBar(long bShow);
	LPDISPATCH InsertPicture(LPCTSTR Path, const VARIANT& embedded, const VARIANT& sizeOption, const VARIANT& reverse, const VARIANT& watermark, const VARIANT& effect, const VARIANT& width, const VARIANT& height);
	BOOL CreateField(LPCTSTR direction, const VARIANT& memo, const VARIANT& name);
	void SetClientName(LPCTSTR szClient);
	BOOL MovePos(const VARIANT& moveID, const VARIANT& para, const VARIANT& pos);
	BOOL SelectText(long spara, long spos, long epara, long epos);
	CString GetCurFieldName(const VARIANT& option);
	BOOL SetCurFieldName(LPCTSTR fieldname, const VARIANT& option, const VARIANT& direction, const VARIANT& memo);
	BOOL DeleteCtrl(LPDISPATCH ctrl);
	BOOL InitScan(const VARIANT& option, const VARIANT& range, const VARIANT& spara, const VARIANT& spos, const VARIANT& epara, const VARIANT& epos);
	long GetText(BSTR* text);
	void ReleaseScan();
	void LockCommand(LPCTSTR actionID, long lock);
	BOOL IsCommandLock(LPCTSTR actionID);
	BOOL GetFilterList(BSTR* szfilterlist, const VARIANT& flags);
	void GetPos(long* list, long* para, long* pos);
	BOOL SetPos(long list, long para, long pos);
	BOOL KeyIndicator(long* seccnt, long* secno, long* prnpageno, long* colno, long* line, long* pos, short* over, BSTR* ctrlname);
	BOOL GetActionCmdUIStatus(LPCTSTR actid, long bWithKey, long* bEnabled, long* bChecked, long* bRadio, BSTR* szText);
	long ModifyFieldProperties(LPCTSTR field, long remove, long add);
	LPDISPATCH GetPosBySet();
	BOOL SetPosBySet(LPDISPATCH pos);
	long GetTextBySet(LPDISPATCH text);
	VARIANT InsertBackgroundPicture(LPCTSTR bordertype, LPCTSTR Path, const VARIANT& embedded, const VARIANT& filloption, const VARIANT& watermark, const VARIANT& effect, const VARIANT& brightness, const VARIANT& contrast);
	long SetFieldViewOption(long option);
	VARIANT GetTextFile(LPCTSTR format, LPCTSTR option);
	long SetTextFile(const VARIANT& data, LPCTSTR format, LPCTSTR option);
	LPDISPATCH GetMousePos(long Xrelto, long Yrelto);
	BOOL ShowStatusBar(long Show);
	LPDISPATCH GetFileInfo(LPCTSTR FileName);
	CString SaveState(LPCTSTR FileName);
	BOOL LoadState(LPCTSTR FileName);
	BOOL ReplaceAction(LPCTSTR OldActionID, LPCTSTR NewActionID);
	LPDISPATCH GetMessageSet();
	LPDISPATCH GetViewStatus(long nType);
	BOOL RegisterModule(LPCTSTR ModuleType, const VARIANT& ModuleData);
	BOOL MoveToFieldEx(LPCTSTR field, const VARIANT& text, const VARIANT& start, const VARIANT& select);
	BOOL SetAutoSave(LPCTSTR FileName, long saveinterval);
	void AboutBox();
};
/////////////////////////////////////////////////////////////////////////////
// _DHwpCtrlEvents wrapper class

class _DHwpCtrlEvents : public COleDispatchDriver
{
public:
	_DHwpCtrlEvents() {}		// Calls COleDispatchDriver default constructor
	_DHwpCtrlEvents(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	_DHwpCtrlEvents(const _DHwpCtrlEvents& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	void NotifyMessage(LPCTSTR Msg, long WParam, long LParam);
	void OnMouseLButtonDown(long x, long y);
	void OnScroll(long WParam, long LParam);
};
/////////////////////////////////////////////////////////////////////////////
// DHwpAction wrapper class

class DHwpAction : public COleDispatchDriver
{
public:
	DHwpAction() {}		// Calls COleDispatchDriver default constructor
	DHwpAction(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	DHwpAction(const DHwpAction& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	CString GetActid();
	void SetActid(LPCTSTR);
	CString GetSetid();
	void SetSetid(LPCTSTR);

// Operations
public:
	LPDISPATCH CreateSet();
	long Execute(LPDISPATCH param);
	long GetDefault(LPDISPATCH param);
	long PopupDialog(LPDISPATCH param);
	void Run();
};
/////////////////////////////////////////////////////////////////////////////
// DHwpParameterSet wrapper class

class DHwpParameterSet : public COleDispatchDriver
{
public:
	DHwpParameterSet() {}		// Calls COleDispatchDriver default constructor
	DHwpParameterSet(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	DHwpParameterSet(const DHwpParameterSet& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	long GetCount();
	void SetCount(long);
	BOOL GetIsSet();
	void SetIsSet(BOOL);
	CString GetSetid();
	void SetSetid(LPCTSTR);

// Operations
public:
	LPDISPATCH Clone();
	LPDISPATCH CreateItemArray(LPCTSTR itemid, long Count);
	LPDISPATCH CreateItemSet(LPCTSTR itemid, LPCTSTR setid);
	void GetIntersection(LPDISPATCH srcset);
	BOOL IsEquivalent(LPDISPATCH srcset);
	VARIANT Item(LPCTSTR itemid);
	BOOL ItemExist(LPCTSTR itemid);
	void Merge(LPDISPATCH srcset);
	void RemoveAll(LPCTSTR setid);
	void RemoveItem(LPCTSTR itemid);
	void SetItem(LPCTSTR itemid, const VARIANT& value);
};
/////////////////////////////////////////////////////////////////////////////
// DHwpParameterArray wrapper class

class DHwpParameterArray : public COleDispatchDriver
{
public:
	DHwpParameterArray() {}		// Calls COleDispatchDriver default constructor
	DHwpParameterArray(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	DHwpParameterArray(const DHwpParameterArray& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	long GetCount();
	void SetCount(long);
	BOOL GetIsSet();
	void SetIsSet(BOOL);

// Operations
public:
	LPDISPATCH Clone();
	void Copy(LPDISPATCH srcarray);
	VARIANT Item(long index);
	void SetItem(long index, const VARIANT& value);
};
/////////////////////////////////////////////////////////////////////////////
// DHwpCtrlCode wrapper class

class DHwpCtrlCode : public COleDispatchDriver
{
public:
	DHwpCtrlCode() {}		// Calls COleDispatchDriver default constructor
	DHwpCtrlCode(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	DHwpCtrlCode(const DHwpCtrlCode& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:
	short GetCtrlCh();
	void SetCtrlCh(short);
	CString GetCtrlid();
	void SetCtrlid(LPCTSTR);
	LPDISPATCH GetNext();
	void SetNext(LPDISPATCH);
	LPDISPATCH GetPrev();
	void SetPrev(LPDISPATCH);
	LPDISPATCH GetProperties();
	void SetProperties(LPDISPATCH);
	CString GetUserDesc();
	void SetUserDesc(LPCTSTR);

// Operations
public:
	LPDISPATCH GetAnchorPos(long type);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_HWPCTRL_H__3A696BF3_C723_4F6E_B9ED_82FF1A22665D__INCLUDED_)
