#if !defined(AFX_DLGTEXTMARGIN_H__8D6325A1_F178_11D3_AF64_00C0F6B0E2D0__INCLUDED_)
#define AFX_DLGTEXTMARGIN_H__8D6325A1_F178_11D3_AF64_00C0F6B0E2D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgTextMargin.h : _xZkqqHx_iDhHiDgCiDfPiBfL_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "SpnHiUnit.h"			// For CFCSpnHiUnit.
#include "DlgTextMarginSub.h"	// For CFCDLGTEXTMARGIN.
#include "DialogBase.h"		// For Baseclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCDialogBase

/////////////////////////////////////////////////////////////////////////////
// CFCDlgTextMargin _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

class CFCWndRichEdit;

class CFCDlgTextMargin : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
	CFCDlgTextMargin(CWnd* pParent = NULL);   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCDlgTextMargin)
	enum { IDD = IDD_DLG_TEXT_MARGIN };
	CFCSpnHiUnit	m_spnTextMarginB;
	CFCSpnHiUnit	m_spnTextMarginR;
	CFCSpnHiUnit	m_spnTextMarginT;
	CFCSpnHiUnit	m_spnTextMarginL;
	//}}AFX_DATA

CFCDLGTEXTMARGIN

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	SetTextObjects (const ObjDynabaseVector& vTextObj);
	virtual void	SetTextEditor (CFCWndRichEdit* pEditor);

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
	const ObjDynabaseVector*	m_pvTextObj;
	CFCWndRichEdit*			m_pEditor;

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCDlgTextMargin)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV _xZkqqHx_iDfEiDhMiBfLiDgH_xHqqkZx_
	//}}AFX_VIRTUAL

// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
protected:

	// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
	//{{AFX_MSG(CFCDlgTextMargin)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnDialogInitValue();
	afx_msg void OnChangeTmgEdtTextMarginL();
	afx_msg void OnChangeTmgEdtTextMarginT();
	afx_msg void OnChangeTmgEdtTextMarginR();
	afx_msg void OnChangeTmgEdtTextMarginB();
	afx_msg void OnApplyNow();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ _xZkqqHx_iCmNjBePiNhDiCmMjClMjBePiCmJjCmHiJmBiCmMjAoJiMlOiCpAjBhNjDpMiClFiCnMiClHiBeC_xHqqkZx_

#endif // !defined(AFX_DLGTEXTMARGIN_H__8D6325A1_F178_11D3_AF64_00C0F6B0E2D0__INCLUDED_)
