#if !defined(AFX_DLGPRINTSETUP_H__28865BF3_E2D9_11D3_AF3A_00C0F6B0E2D0__INCLUDED_)
#define AFX_DLGPRINTSETUP_H__28865BF3_E2D9_11D3_AF3A_00C0F6B0E2D0__INCLUDED_

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

#include "resource.h"			// For IDD_XXXX.
#include "FSpinBtnCtrl.h"		// For CFCFSpinBtnCtrl.
#include "SpnHiUnit.h"			// For CFCSpnHiUnit.
#include "StcPaperSize.h"		// For CFCStcPaperSize.
#include "StcBorder.h"			// For CFCStcBorder.
#include "PrnPrintSetupSub.h"	// For CFCDLGPRINTSETUP.
#include "PropertyPageBase.h"	// For Baseclass.

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCPropertyPageBase

/////////////////////////////////////////////////////////////////////////////
// CFCPrnPrintSetup _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

	DECLARE_DYNCREATE(CFCPrnPrintSetup)

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
// 05.06.19 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	CFCPrnPrintSetup(CWnd* pParent = NULL);   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_
	CFCPrnPrintSetup();   // _xZkqqHx_jFfHiPiAiCmMiDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCPrnPrintSetup)
	enum { IDD = IDD_PRN_PRINT_SETUP };
	CFCStcBorder	m_stcBorder1;
	CFCFSpinBtnCtrl	m_spnRatioPerPaper;
	CFCSpnHiUnit	m_spnMarginTop;
	CFCSpnHiUnit	m_spnMarginLeft;
	CFCStcPaperSize	m_stcPaperSize;
	//}}AFX_DATA

CFCPRNPRINTSETUP

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	InitPaperSample (CFCStcPaperSize& stcPaperSize) const;
	virtual void	GetPrintInfo (	BOOL& bEnablePrinter,
									mmetol& mmPaperWidth,
									mmetol& mmPaperHeight,
									mmetol& mmHardMarginL,
									mmetol& mmHardMarginT,
									mmetol& mmHardMarginR,
									mmetol& mmHardMarginB) const;

protected:
//----- 00.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	virtual BOOL	IsConsistent () const;
//	virtual void	UpdateValues ();
//	virtual void	UpdateModified ();
//	virtual void	UpdateControls (DWORD dwCtrl);
//	virtual void	UpdateActivate ();
//	virtual void	InitValue ();
//----- 00.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	virtual void	UpdatePrinter ();

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
protected:
	BOOL	m_bEnablePrinter;
	mmetol	m_mmPaperWidth;
	mmetol	m_mmPaperHeight;
	mmetol	m_mmHardMarginL;
	mmetol	m_mmHardMarginT;
	mmetol	m_mmHardMarginR;
	mmetol	m_mmHardMarginB;

//----- 00.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	FCPrpAttr<BOOL>		m_tbSpecifyMargin;
//	FCPrpAttr<xtmc>		m_txtmRatioPerPaper;
//	FCPrpAttr<hixc>		m_thixMarginLeft;
//	FCPrpAttr<hixc>		m_thixMarginTop;
//	FCPrpAttr<hixc>		m_thixMarginRight;
//	FCPrpAttr<hixc>		m_thixMarginBottom;
//	BOOL	m_bIsReady;	// _xZkqqHx_iPiIjHjNiPiAjEpFiCgOiCgKiBeI_xHqqkZx_
//----- 00.02.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCPrnPrintSetup)
	public:
	virtual void OnOK();
	virtual BOOL OnSetActive();
	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(CFCPrnPrintSetup)
	virtual BOOL OnInitDialog();
	afx_msg void OnPsuChkSpecifyMargin();
	afx_msg void OnPsuBtnSetPrinter();
	afx_msg void OnChangePsuEdtMarginLeft();
	afx_msg void OnChangePsuEdtMarginTop();
	afx_msg void OnPsuBtnPageCenterLr();
	afx_msg void OnPsuBtnPageCenterTb();
	afx_msg void OnChangePsuEdtRatioPerPaper();
	afx_msg void OnDialogInitValue();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
}; // class CFCPrnPrintSetup.

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

#endif // !defined(AFX_DLGPRINTSETUP_H__28865BF3_E2D9_11D3_AF3A_00C0F6B0E2D0__INCLUDED_)
