#if !defined(AFX_PRNPAGESETUP_H__4DF35DB9_0C0B_45F8_BAC4_6FBA74BA3DFB__INCLUDED_)
#define AFX_PRNPAGESETUP_H__4DF35DB9_0C0B_45F8_BAC4_6FBA74BA3DFB__INCLUDED_

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

#include "SpnHiUnit.h"			// For CFCSpnHiUnit.
#include "StcPaperSize.h"		// For CFCStcPaperSize.
#include "StcBorder.h"			// For CFCStcBorder.
#include "CmbSColor.h"			// For CFCCmbSColor.
#include "UtilFont.h"			// FOr FCFontCharInfo.
#include "PrnPageSetupSub.h"	// For CFCPRNPAGESETUP.
#include "PropertyPageBase.h"	// For Baseclass.

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

/////////////////////////////////////////////////////////////////////////////
// CFCPrnPageSetup _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

	DECLARE_DYNCREATE(CFCPrnPageSetup)

// _xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfGiDiHiDjD_xHqqkZx_
public:
	CFCPrnPageSetup();
	~CFCPrnPageSetup();

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCPrnPageSetup)
	enum { IDD = IDD_PRN_PAGE_SETUP };
	CFCCmbSColor	m_cbbPageNumberColor;
	CFCStcBorder	m_stcBorder1;
	CFCStcPaperSize	m_stcPaperSize;
	CFCSpnHiUnit	m_spnPageNumberHorizontalOffset;
	CFCSpnHiUnit	m_spnPageNumberVerticalOffset;
	//}}AFX_DATA

CFCPRNPAGESETUP

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	InitPaperSample (CFCStcPaperSize& stcPaperSize) const;

protected:
// 05.06.20 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	virtual void	UpdatePrinter ();
	virtual mmetol	GetNumberOffsetVertMin () const;
	virtual mmetol	GetNumberOffsetVertMax () const;
	virtual mmetol	GetNumberOffsetHorzMin () const;
	virtual mmetol	GetNumberOffsetHorzMax () const;

//----- 05.06.20 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	virtual BOOL	GetEnablePrinter () const;
//	virtual mmetol	GetPaperWidth () const;
//	virtual mmetol	GetPaperHeight () const;
//	virtual mmetol	GetHardMarginL () const;
//	virtual mmetol	GetHardMarginT () const;
//	virtual mmetol	GetHardMarginR () const;
//	virtual mmetol	GetHardMarginB () const;
//----- 05.06.20 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

// _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;

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_

	//{{AFX_VIRTUAL(CFCPrnPageSetup)
	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(CFCPrnPageSetup)
	virtual BOOL OnInitDialog();
	afx_msg void OnDialogInitValue();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnPpsChkPrintPageNumber();
	afx_msg void OnSelchangePpsCmbPageNumberTopOrBottom();
	afx_msg void OnChangePpsEdtPageNumberVerticalOffset();
	afx_msg void OnSelchangePpsCmbPageNumberLeftOrRight();
	afx_msg void OnChangePpsEdtPageNumberHorizontalOffset();
	afx_msg void OnPpsChkPaintSheet();
	afx_msg void OnPpsBtnPageNumberFontSelect();
	afx_msg void OnChangePpsEdtPageNumberText();
	//}}AFX_MSG
	afx_msg void OnSelchangePpsCbbPageNumberColor();
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_PRNPAGESETUP_H__4DF35DB9_0C0B_45F8_BAC4_6FBA74BA3DFB__INCLUDED_)
