#if !defined(AFX_PRPPAPERSIZE_H__D2A8DF51_E1C6_11D3_AF37_00C0F6B0E2D0__INCLUDED_)
#define AFX_PRPPAPERSIZE_H__D2A8DF51_E1C6_11D3_AF37_00C0F6B0E2D0__INCLUDED_

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

#include "FSpinBtnCtrl.h"		// For CFCFSpinBtnCtrl.
#include "StcBorder.h"			// For CFCStcBorder.
#include "SpnHiUnit.h"			// For CFCSpnHiUnit.
#include "PrpPaperSizeSub.h"	// For CFCPRPPAPERSIZE.
#include "PropertyPageBase.h"	// For Baseclass.

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

/////////////////////////////////////////////////////////////////////////////
// CFCPrpPaperSize _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_

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

	DECLARE_DYNCREATE(CFCPrpPaperSize)

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

// _xZkqqHx_iDfPiDeDiDeBiDiNiDeP_xHqqkZx_ _xZkqqHx_iDgGiBfLiDfO_xHqqkZx_
	//{{AFX_DATA(CFCPrpPaperSize)
	enum { IDD = IDD_PRP_PAPER_SIZE };
	CFCStcBorder	m_stcBorder2;
	CFCStcBorder	m_stcBorder1;
	CFCSpnHiUnit	m_spnPaperHeight;
	CFCSpnHiUnit	m_spnPaperWidth;
	CFCSpnHiUnit	m_spnMarginRight;
	CFCSpnHiUnit	m_spnMarginLeft;
	CFCSpnHiUnit	m_spnMarginBottom;
	CFCSpnHiUnit	m_spnMarginTop;
	//}}AFX_DATA

CFCPRPPAPERSIZE

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	virtual void	GetPaperSize (short& nPaperType,
								  mmetol& mmWidth, mmetol& mmHeight) const;
	virtual void	GetPaperMargin (mmetol& mmLeft,  mmetol& mmTop,
									mmetol& mmRight, mmetol& mmBottom) const;
	virtual void	GetPaperPageSize (mmetol& mmWidth, mmetol& mmHeight) const;

//----- 00.02.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//protected:
//	virtual BOOL	IsConsistent () const;
//	virtual void	UpdateModified ();
//	virtual void	UpdateControls (DWORD dwCtrl);
//	virtual void	UpdateActivate ();
//	virtual void	InitValue ();
//
//// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
//protected:
//	FCPrpAttr<short>	m_tnPaperType;
//	FCPrpAttr<hixc>		m_thixPaperWidth;
//	FCPrpAttr<hixc>		m_thixPaperHeight;
//	FCPrpAttr<short>	m_tnPaperOrient;
//	FCPrpAttr<hixc>		m_thixMarginLeft;
//	FCPrpAttr<hixc>		m_thixMarginTop;
//	FCPrpAttr<hixc>		m_thixMarginRight;
//	FCPrpAttr<hixc>		m_thixMarginBottom;
//
//	BOOL	m_bIsReady;	// _xZkqqHx_iPiIjHjNiPiAjEpFiCgOiCgKiBeI_xHqqkZx_
//----- 00.02.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCPrpPaperSize)
	public:
	virtual void OnOK();
	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(CFCPrpPaperSize)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangePprCbbPaperSize();
	afx_msg void OnPprRdoPaperHorz();
	afx_msg void OnPprRdoPaperVert();
	afx_msg void OnChangePprEdtMarginBottom();
	afx_msg void OnChangePprEdtMarginRight();
	afx_msg void OnChangePprEdtMarginTop();
	afx_msg void OnChangePprEdtMarginLeft();
	afx_msg void OnChangePprEdtPaperHeight();
	afx_msg void OnChangePprEdtPaperWidth();
	afx_msg void OnDialogInitValue();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnPprChkIsSetSameToPrinter();
	afx_msg void OnPprChkIsSetSameToSheet();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

}; // class CFCPrpPaperSize.

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

#endif // !defined(AFX_PRPPAPERSIZE_H__D2A8DF51_E1C6_11D3_AF37_00C0F6B0E2D0__INCLUDED_)
