// PrpPaperSize.cpp : _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_ _xZkqqHx_iDhEiDeAiDeDiDiL_xHqqkZx_
//

#include "stdafx.h"
#include "DynamicDraw.h"
//----- 00.02.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//#include "FoundDoc.h"		// For g_pDoc.
//#include "DynamicDrawView.h"	// For g_pView.
//#include "UtilMath.h"		// For hix2histr.etc.
//#include "UtilDlg.h"		// For SetUnitString.etc.
//#include "UtilPrint.h"		// For ::GetPaperType.
//----- 00.02.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
#include "PrpPaperSize.h"	// This header.

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFCPrpPaperSize _xZkqqHx_iDhGiDiNiDhAiDgFiDeC_xHqqkZx_ _xZkqqHx_iDhJiBfLiDfH_xHqqkZx_

IMPLEMENT_DYNCREATE(CFCPrpPaperSize, CFCPropertyPageBase)

CFCPrpPaperSize::CFCPrpPaperSize () : BASE_CLASS(CFCPrpPaperSize::IDD)
{
	//{{AFX_DATA_INIT(CFCPrpPaperSize)
	//}}AFX_DATA_INIT

	// _xZkqqHx_iDiBiDgCiDfKiBfLiDfHiPiIjHjNjCiGiCmMiDhEiDiJiDePiCpAjAnNjCoIiBeC_xHqqkZx_
	m_bProhibitMsg = TRUE;
} // CFCPrpPaperSize::CFCPrpPaperSize.

CFCPrpPaperSize::~CFCPrpPaperSize ()
{
} // CFCPrpPaperSize::~CFCPrpPaperSize.

void CFCPrpPaperSize::DoDataExchange(CDataExchange* pDX)
{
	BASE_CLASS::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFCPrpPaperSize)
	DDX_Control(pDX, IDC_PPR_STC_BORDER_2, m_stcBorder2);
	DDX_Control(pDX, IDC_PPR_STC_BORDER_1, m_stcBorder1);
	DDX_Control(pDX, IDC_PPR_SPN_PAPER_HEIGHT, m_spnPaperHeight);
	DDX_Control(pDX, IDC_PPR_SPN_PAPER_WIDTH, m_spnPaperWidth);
	DDX_Control(pDX, IDC_PPR_SPN_MARGIN_RIGHT, m_spnMarginRight);
	DDX_Control(pDX, IDC_PPR_SPN_MARGIN_LEFT, m_spnMarginLeft);
	DDX_Control(pDX, IDC_PPR_SPN_MARGIN_BOTTOM, m_spnMarginBottom);
	DDX_Control(pDX, IDC_PPR_SPN_MARGIN_TOP, m_spnMarginTop);
	//}}AFX_DATA_MAP
} // CFCPrpPaperSize::DoDataExchange.

BEGIN_MESSAGE_MAP(CFCPrpPaperSize, BASE_CLASS)
	//{{AFX_MSG_MAP(CFCPrpPaperSize)
	ON_CBN_SELCHANGE(IDC_PPR_CBB_PAPER_SIZE, OnSelchangePprCbbPaperSize)
	ON_BN_CLICKED(IDC_PPR_RDO_PAPER_HORZ, OnPprRdoPaperHorz)
	ON_BN_CLICKED(IDC_PPR_RDO_PAPER_VERT, OnPprRdoPaperVert)
	ON_EN_CHANGE(IDC_PPR_EDT_MARGIN_BOTTOM, OnChangePprEdtMarginBottom)
	ON_EN_CHANGE(IDC_PPR_EDT_MARGIN_RIGHT, OnChangePprEdtMarginRight)
	ON_EN_CHANGE(IDC_PPR_EDT_MARGIN_TOP, OnChangePprEdtMarginTop)
	ON_EN_CHANGE(IDC_PPR_EDT_MARGIN_LEFT, OnChangePprEdtMarginLeft)
	ON_EN_CHANGE(IDC_PPR_EDT_PAPER_HEIGHT, OnChangePprEdtPaperHeight)
	ON_EN_CHANGE(IDC_PPR_EDT_PAPER_WIDTH, OnChangePprEdtPaperWidth)
	ON_COMMAND(ID_DIALOG_INIT_VALUE, OnDialogInitValue)
	ON_WM_CTLCOLOR()
	ON_BN_CLICKED(IDC_PPR_CHK_IS_SET_SAME_TO_PRINTER, OnPprChkIsSetSameToPrinter)
	ON_BN_CLICKED(IDC_PPR_CHK_IS_SET_SAME_TO_SHEET, OnPprChkIsSetSameToSheet)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

//----- 00.06.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//#if 0
//
///////////////////////////////////////////////////////////////////////////////
//// CFCPrpPaperSize _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::GetPaperSize
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHhAiOiGiCmMiDfOiDeDiDhGiCmGiDfEiDeDiDfJiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nPaperType	:_xZkqqHx_jHhAiOiGiCmMiMfOiCpAjFnEiClHiBeC_xHqqkZx_DEVMODE_xZkqqHx_iNfMjBkCjBmMiCmM_xHqqkZx_dmPaperSize_xZkqqHx_iDiBiDjDiDgP_xHqqkZx_
// *						 _xZkqqHx_iCmMjCgMiCpAiOgHjHhAiClHiCoJiBeC_xHqqkZx_
// *			mmWidth		:_xZkqqHx_jHhAiOiGiCmMjFjNiCpAjFnEiClHiBeC_xHqqkZx_
// *			mmHeight	:_xZkqqHx_jHhAiOiGiCmMiNiCiClDiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::GetPaperSize (short& nPaperType,
//									mmetol& mmWidth, mmetol& mmHeight)
//{
//	if (m_tnPaperType == NoValue ||
//		m_thixPaperWidth == NoValue ||
//		m_thixPaperHeight == NoValue)
//	{
//		g_pEnv->GetDocPaperSize(nPaperType, mmWidth, mmHeight);
//	} else
//	{
//		nPaperType = m_tnPaperType;
//		mmWidth  = hix2mm(m_thixPaperWidth);
//		mmHeight = hix2mm(m_thixPaperHeight);
//	}
//} // CFCPrpPaperSize::GetPaperSize.
//
////----- 00.02.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
/////*************************************************************************
//// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::GetPaperOrientation
//// *
//// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHhAiOiGiCmMjFpLiMpMiCpAjFnEiClHiBeC_xHqqkZx_
//// *
//// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nOrient	:_xZkqqHx_jHhAiOiGiCmMjFpLiMpMiCpAjFnEiClHiBeC_xHqqkZx_DEVMODE_xZkqqHx_iNfMjBkCjBmMiCmM_xHqqkZx_dmOrientation
//// *					 _xZkqqHx_iDiBiDjDiDgPiCmMjCgMiCpAiOgHjHhAiClHiCoJiBeC_xHqqkZx_
//// *
//// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jCgMiCkKjFnEiClJiClNiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeBjCgMiCkKjFnEiClJiCmIiCkCiPoKiNiHiCmN_xHqqkZx_ FALSE_xZkqqHx_iBeC_xHqqkZx_
//// *
//// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
//// *************************************************************************/
////BOOL CFCPrpPaperSize::GetPaperOrientation (short& nOrient)
////{
////	if (m_tnPaperOrient == NoValue) return FALSE;
////	nOrient = m_tnPaperOrient;
////	return TRUE;
////} // CFCPrpPaperSize::GetPaperOrientation.
////----- 00.02.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::GetPaperMargin
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jHhAiOiGiCmMjHfNjEjCiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	mmLeft		:_xZkqqHx_jHhAiOiGiCmMiNlGjHfNjEjCiCpAjFnEiClHiBeC_xHqqkZx_
// *			mmTop		:_xZkqqHx_jHhAiOiGiCmMiPoDjHfNjEjCiCpAjFnEiClHiBeC_xHqqkZx_
// *			mmRight	:_xZkqqHx_jHhAiOiGiCmMiJeFjHfNjEjCiCpAjFnEiClHiBeC_xHqqkZx_
// *			mmBottom	:_xZkqqHx_jHhAiOiGiCmMiJlKjHfNjEjCiCpAjFnEiClHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::GetPaperMargin (mmetol& mmLeft,  mmetol& mmTop,
//									  mmetol& mmRight, mmetol& mmBottom)
//{
//	if (m_thixMarginLeft == NoValue ||
//		m_thixMarginTop == NoValue ||
//		m_thixMarginRight == NoValue ||
//		m_thixMarginBottom == NoValue)
//	{
//		g_pEnv->GetDocPaperMargin(mmLeft, mmTop, mmRight, mmBottom);
//	} else
//	{
//		mmLeft	= hix2mm(m_thixMarginLeft);
//		mmTop	= hix2mm(m_thixMarginTop);
//		mmRight	= hix2mm(m_thixMarginRight);
//		mmBottom= hix2mm(m_thixMarginBottom);
//	}
//} // CFCPrpPaperSize::GetPaperMargin.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::IsConsistent
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jCgMiCkKjAlDiClFiCkNjAnNjCoIiClDiCoKiCmEiCkCiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	TRUE	:_xZkqqHx_jCgMiCkKjAlDiClFiCkCiPoKiNiHiBeC_xHqqkZx_
// *			FALSE	:_xZkqqHx_jCgMiCkKjAlDiClFiCkNiCmIiCkCiPoKiNiHiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL CFCPrpPaperSize::IsConsistent () const
//{
//	//----- _xZkqqHx_jCgMiCkKjGlDiCkCiPoKiNiHiCmNiDeHiDiJiBfL_xHqqkZx_ -----
//	if (m_tnPaperType == NoValue) return FALSE;
//	if (m_tnPaperOrient == NoValue) return FALSE;
//	if (m_thixPaperWidth == NoValue) return FALSE;
//	if (m_thixPaperHeight == NoValue) return FALSE;
//	if (m_thixMarginLeft == NoValue) return FALSE;
//	if (m_thixMarginTop == NoValue) return FALSE;
//	if (m_thixMarginRight == NoValue) return FALSE;
//	if (m_thixMarginBottom == NoValue) return FALSE;
//
//	//----- _xZkqqHx_jCgMiCkKjFiJiCmIiCoHiCmOiDeHiDiJiBfL_xHqqkZx_ -----
//	if (m_thixPaperWidth <= 0.0) return FALSE;
//	if (m_thixPaperHeight <= 0.0) return FALSE;
//	if (m_thixMarginLeft < 0.0) return FALSE;
//	if (m_thixMarginTop < 0.0) return FALSE;
//	if (m_thixMarginRight < 0.0) return FALSE;
//	if (m_thixMarginBottom < 0.0) return FALSE;
//
//	//----- _xZkqqHx_iDhJiBfLiDfHjFjNiBeFiNiCiCkKiLjGjHgFjEmNiImNiKePiCmIiCoHiCmOiDeHiDiJiBfL_xHqqkZx_ -----
//	mmetol mmW = hix2mm(m_thixPaperWidth - m_thixMarginLeft - m_thixMarginRight);
//	mmetol mmH = hix2mm(m_thixPaperHeight - m_thixMarginTop - m_thixMarginBottom);
//	if (mmW <= 0.0) return FALSE;
//	if (mmH <= 0.0) return FALSE;
//	if (FD_PAGE_MAX_W < mmW) return FALSE;
//	if (FD_PAGE_MAX_H < mmH) return FALSE;
//
//	return TRUE;
//} // CFCPrpPaperSize::IsConsistent.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::UpdateModified
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiBeBiIoKiCmCiCmFiCoAjFmPiNfIiCkKiCkAiCoKiCmOiPeDjAlDiDhEiDiJiDeP_xHqqkZx_
// *			_xZkqqHx_iCpAjAnNjCoIiClHiCoJiBeCiIoKiCmCiCoAjFmPiNfIiCkKiCmIiCkPiCoKiCmOiPeDjAlDiDhEiDiJiDePiCpAiJpAiPjMiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::UpdateModified ()
//{
//	// _xZkqqHx_iJlNiCkJiPiIjHjNjCiGiCmIiCoHiCmOjBkGiOjOjFjMiLeBiBeC_xHqqkZx_
//	if (!m_bIsReady) return;
//	m_bIsReady = FALSE;
//
//	if (!IsConsistent())
//	{
//		SetModified(FALSE);
//		m_bIsReady = TRUE;
//		return;
//	}
//	BOOL bModified = FALSE;
//
//	if (m_tnPaperType.IsChanged()) bModified = TRUE;
//	if (m_tnPaperOrient.IsChanged()) bModified = TRUE;
//	if (m_thixPaperWidth.IsChanged()) bModified = TRUE;
//	if (m_thixPaperHeight.IsChanged()) bModified = TRUE;
//	if (m_thixMarginLeft.IsChanged()) bModified = TRUE;
//	if (m_thixMarginTop.IsChanged()) bModified = TRUE;
//	if (m_thixMarginRight.IsChanged()) bModified = TRUE;
//	if (m_thixMarginBottom.IsChanged()) bModified = TRUE;
//
//	SetModified(bModified);
//	m_bIsReady = TRUE;
//} // CFCPrpPaperSize::UpdateModified.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::UpdateControls
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFmPjAjEiCmMiPpDjBnEiCpAiDfCiDjDiDgHiDiNiBfLiDiLiCnGjElNiJgGiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	dwCtrl	:_xZkqqHx_iClBiCmMiKnGjAjEiCmMiMmEiCnBiPgPiClFiMlDiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	dwCtrl_xZkqqHx_iCkKiDeHiDgGiDeCiDgCiDgHiDfCiDjDiDgHiDiNiBfLiDiLiCmMiOjOiCmNiBeBiClLiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCmJ_xHqqkZx_
// *			_xZkqqHx_jCgMiCpAjAnNjCoIiClHiCoJiCmGiDfCiDjDiDgHiDiNiBfLiDiLjBfDjBmMiCkKjBeJjBpAiPpDjBnEiCmJiCmIiCmBiCmEiClFiCnMiCkEiClNiCnPiBeB_xHqqkZx_
// *			_xZkqqHx_iClLiCmMiDfCiDjDiDgHiDiNiBfLiDiLiCnGiCmMjCgMiCmMjAnNjCoIiCmNiNhDiCoNiCmIiCkCiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::UpdateControls (DWORD dwCtrl)
//{
//	// _xZkqqHx_iJlNiCkJiPiIjHjNjCiGiCmIiCoHiCmOjBkGiOjOjFjMiLeBiBeC_xHqqkZx_
//	if (!m_bIsReady) return;
//	m_bIsReady = FALSE;
//
//	//----- nPaperType_xZkqqHx_iCmMjEhKjHpBjHhGjBgGiCpAjCfEiClFiCmEiBeB_xHqqkZx_CurSel_xZkqqHx_iCpAjAnNjCoI_xHqqkZx_ -----
//	const int iCurSel = ::PaperTypeToIndex(m_tnPaperType);
//	if (0 <= iCurSel)
//	{
//		CComboBox* cmbBox = (CComboBox*)GetDlgItem(IDC_PPR_CBB_PAPER_SIZE);
//		cmbBox->SetCurSel(iCurSel);
//	}
//
//	//----- _xZkqqHx_jHhAiOiGiDfEiDeDiDfJiBeBjHfNjEjCiCmMjFlGiOjKjHpBiCpAjAnNjCoI_xHqqkZx_ -----
//	_TCHAR	tcsBuf[200];
//	if (m_thixPaperWidth == NoValue)
//		*tcsBuf = _T('\0');
//	else
//		hix2histr(tcsBuf, m_thixPaperWidth);
//	SetDlgItemText(IDC_PPR_EDT_PAPER_WIDTH, tcsBuf);
//
//	if (m_thixPaperHeight == NoValue)
//		*tcsBuf = _T('\0');
//	else
//		hix2histr(tcsBuf, m_thixPaperHeight);
//	SetDlgItemText(IDC_PPR_EDT_PAPER_HEIGHT, tcsBuf);
//
//	if (m_thixMarginLeft == NoValue)
//		*tcsBuf = _T('\0');
//	else
//		hix2histr(tcsBuf, m_thixMarginLeft);
//	SetDlgItemText(IDC_PPR_EDT_MARGIN_LEFT, tcsBuf);
//
//	if (m_thixMarginTop == NoValue)
//		*tcsBuf = _T('\0');
//	else
//		hix2histr(tcsBuf, m_thixMarginTop);
//	SetDlgItemText(IDC_PPR_EDT_MARGIN_TOP, tcsBuf);
//
//	if (m_thixMarginRight == NoValue)
//		*tcsBuf = _T('\0');
//	else
//		hix2histr(tcsBuf, m_thixMarginRight);
//	SetDlgItemText(IDC_PPR_EDT_MARGIN_RIGHT, tcsBuf);
//
//	if (m_thixMarginBottom == NoValue)
//		*tcsBuf = _T('\0');
//	else
//		hix2histr(tcsBuf, m_thixMarginBottom);
//	SetDlgItemText(IDC_PPR_EDT_MARGIN_BOTTOM, tcsBuf);
//
//	if (m_tnPaperOrient == DMORIENT_PORTRAIT)
//		CheckDlgButton(IDC_PPR_RDO_PAPER_VERT, TRUE);
//	else
//		CheckDlgButton(IDC_PPR_RDO_PAPER_HORZ, TRUE);
//
//	m_bIsReady = TRUE;
//} // CFCPrpPaperSize::UpdateControls.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::UpdateActivate
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iKgFjBkOjAkLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjClCiCnHiBeBjHeMiMpIiPpDjBnEjFmPjAjEiCpAiNfIjAfGiClFiClNiMoD_xHqqkZx_
// *			_xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjFfMiOkGiCpAjFmPiNfIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::UpdateActivate ()
//{
//	// _xZkqqHx_iJlNiCkJiPiIjHjNjCiGiCmIiCoHiCmOjBkGiOjOjFjMiLeBiBeC_xHqqkZx_
//	if (!m_bIsReady) return;
//	m_bIsReady = FALSE;
//
//	//----- _xZkqqHx_jDpMjHmNiCmMiJmCiBeFjFhDiJmCiCpAjAnNjCoI_xHqqkZx_ -----
//	if (m_tnPaperType == -1)
//	//----- _xZkqqHx_iDiGiBfLiDfFjAnNjCoIiDfEiDeDiDfJiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		((CEdit*)GetDlgItem(IDC_PPR_EDT_PAPER_WIDTH))->SetReadOnly(FALSE);
//		((CEdit*)GetDlgItem(IDC_PPR_EDT_PAPER_HEIGHT))->SetReadOnly(FALSE);
//		m_spnPaperWidth.EnableWindow(TRUE);
//		m_spnPaperHeight.EnableWindow(TRUE);
//		GetDlgItem(IDC_PPR_RDO_PAPER_VERT)->EnableWindow(FALSE);
//		GetDlgItem(IDC_PPR_RDO_PAPER_HORZ)->EnableWindow(FALSE);
//	} else
//	//----- _xZkqqHx_iDiGiBfLiDfFjAnNjCoIiDfEiDeDiDfJiImIiKePiCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		((CEdit*)GetDlgItem(IDC_PPR_EDT_PAPER_WIDTH))->SetReadOnly(TRUE);
//		((CEdit*)GetDlgItem(IDC_PPR_EDT_PAPER_HEIGHT))->SetReadOnly(TRUE);
//		m_spnPaperWidth.EnableWindow(FALSE);
//		m_spnPaperHeight.EnableWindow(FALSE);
//		GetDlgItem(IDC_PPR_RDO_PAPER_VERT)->EnableWindow(TRUE);
//		GetDlgItem(IDC_PPR_RDO_PAPER_HORZ)->EnableWindow(TRUE);
//	}
//
//	m_bIsReady = TRUE;
//} // CFCPrpPaperSize::UpdateActivate.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::InitValue
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBkOjAkLjCgMiCmMjFmPjAjEiCpAiPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::InitValue ()
//{
//	//----- _xZkqqHx_jHhAiOiGiDfEiDeDiDfJiCpAiOoGjDlOiBeFjAnNjCoI_xHqqkZx_ -----
//	short nPaperType;
//	double mmPaperWidth, mmPaperHeight;
//	g_pEnv->GetDocPaperSize(nPaperType, mmPaperWidth, mmPaperHeight);
//	m_tnPaperType.Init(nPaperType);
//	m_thixPaperWidth.Init(mm2hix(mmPaperWidth));
//	m_thixPaperHeight.Init(mm2hix(mmPaperHeight));
//
//	//----- _xZkqqHx_jHhAiOiGjFpLiMpMiCpAiOoGjDlOiBeFjAnNjCoI_xHqqkZx_ -----
//	m_tnPaperOrient.Init(g_pEnv->GetDocPaperOrientation());
//
//	//----- _xZkqqHx_jHhAiOiGjHfNjEjCiCpAiOoGjDlOiBeFjAnNjCoI_xHqqkZx_ -----
//	double mmMarginLeft, mmMarginTop, mmMarginRight, mmMarginBottom;
//	g_pEnv->GetDocPaperMargin(mmMarginLeft, mmMarginTop,
//							 mmMarginRight, mmMarginBottom);
//	m_thixMarginLeft.Init(mm2hix(mmMarginLeft));
//	m_thixMarginTop.Init(mm2hix(mmMarginTop));
//	m_thixMarginRight.Init(mm2hix(mmMarginRight));
//	m_thixMarginBottom.Init(mm2hix(mmMarginBottom));
//} // CFCPrpPaperSize::InitValue.
//
///////////////////////////////////////////////////////////////////////////////
//// CFCPrpPaperSize _xZkqqHx_iDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJ_xHqqkZx_
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnInitDialog
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfPiDeDiDeBiDiNiDePiPiJiKpKiJlLiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iJlKiLeMiDfCiDiBiDjDiDgHiOfBiPmGiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//BOOL CFCPrpPaperSize::OnInitDialog ()
//{
//	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::OnInitDialog();
//
//	// OnInitDialog_xZkqqHx_iImIjBePiCmJ_xHqqkZx_CEdit_xZkqqHx_iCmM_xHqqkZx_OnChange_xZkqqHx_iCkKiOmAiNhDiClDiCoKiCoJiInHiBeB_xHqqkZx_
//	// _xZkqqHx_iClBiCmMiPiIjHjNiCpAjBhNjDpMiBeC_xHqqkZx_SpinCtrl_xZkqqHx_iCmMiInHiCmFiCmNiCmIiCkCiCkJiBeI_xHqqkZx_
//	m_bIsReady = TRUE;
//
//	// _xZkqqHx_iDfPiDeDiDeBiDiNiDePiCmMjCfAiImKjFfMiOkGiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
//	::SetUnitString(m_hWnd);
//	// _xZkqqHx_jHjIiCkLjIhCjBmOiJjOjFlGiOjKjHpBiCmMjAnNjCoIiCpAiNhDiCkEiBeC_xHqqkZx_
//	::RightByLeftHand(m_hWnd);
//
//	//-----  _xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiCmJjHhAiOiGjGlMiCpAjAnNjCoI_xHqqkZx_ -----
//	CComboBox* cmbpName =
//		reinterpret_cast<CComboBox*>(GetDlgItem(IDC_PPR_CBB_PAPER_SIZE));
//	const int  nSize = ::PaperIndexSize();
//	for (int i = 0; i < nSize; i++)
//	{
//		FFAddString(cmbpName ,GetPaperName(i));
//	}
//
//	//----- _xZkqqHx_iDfIiDhDiDjDiDfCiDjDiDgHiDiNiBfLiDiLiCmMiDiMiDjDiDfHjAnNjCoI_xHqqkZx_ -----
//	m_spnPaperWidth.SetRange(0, FD_PAGE_MAX_W);
//	m_spnPaperHeight.SetRange(0, FD_PAGE_MAX_H);
//	m_spnMarginLeft.SetRange(0, FD_PAGE_MAX_W);
//	m_spnMarginTop.SetRange(0, FD_PAGE_MAX_H);
//	m_spnMarginRight.SetRange(0, FD_PAGE_MAX_W);
//	m_spnMarginBottom.SetRange(0, FD_PAGE_MAX_H);
//
//	// _xZkqqHx_jBkOjAkLjFmPjAjEiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
//	InitValue();
//	// _xZkqqHx_jFmPjAjEiCmMjCgMiCpAiDfCiDjDiDgHiDiNiBfLiDiLiCnGjElNiJgGiBeC_xHqqkZx_
//	UpdateControls(0);
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//
//	return TRUE;	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmJiDhEiDeIiBfLiDeKiDfIiCpAjAnNjCoIiClFiCmIiCkCiCmGiCkLiBeB_xHqqkZx_
//					// _xZkqqHx_jGnPiCoIjCgMiCmN_xHqqkZx_ TRUE _xZkqqHx_iCmGiCmIiCoIiCnMiClH_xHqqkZx_
//					// _xZkqqHx_jHoBiKeP_xHqqkZx_: OCX _xZkqqHx_iDhGiDiNiDhAiDgFiDeC_xHqqkZx_ _xZkqqHx_iDhJiBfLiDfHiCmMjGnPiCoIjCgMiCmN_xHqqkZx_ FALSE _xZkqqHx_iCmGiCmIiCoIiCnMiClH_xHqqkZx_
//} // CFCPrpPaperSize::OnInitDialog.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnOK
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OK_xZkqqHx_iDhLiDfOiDjDiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnOK ()
//{
//	//-----	_xZkqqHx_jBkOjAkLiCmJjGlFiPiCiCkKiCkAiCoJiPoKiNiHiCmNiBeBjFjEjFgJiCmJjBkOjAkLiCpAjAnNjCoIiClJiClIiCmJjFjMiLeB_xHqqkZx_ -----
//	if (!IsConsistent())
//	{
//		BASE_CLASS::OnOK();
//		return;
//	}
//
//	// _xZkqqHx_jHhAiOiGiCmMjBoFiCkLiClDiCpAiOoGjDlOiBeC_xHqqkZx_
//	short nPaperType;
//	mmetol mmPaperWidth, mmPaperHeight;
//	GetPaperSize(nPaperType, mmPaperWidth, mmPaperHeight);
//	// _xZkqqHx_jHhAiOiGjHfNjEjCiCpAiOoGjDlOiBeC_xHqqkZx_
//	mmetol mmMarginL, mmMarginT, mmMarginR, mmMarginB;
//	GetPaperMargin(mmMarginL, mmMarginT, mmMarginR, mmMarginB);
//
//	// _xZkqqHx_jCgMiCpAjFmPiNfIiClHiCoJiBeC_xHqqkZx_
//	g_pEnv->SetDocPaperSize(m_tnPaperOrient, m_tnPaperType,
//							mmPaperWidth, mmPaperHeight,
//							mmMarginL, mmMarginT,
//							mmMarginR, mmMarginB);
//
//	// _xZkqqHx_jBkOjAkLjFmPjAjEiCmMiPiJiKpKiJlLiBeC_xHqqkZx_
//	InitValue();
//	// _xZkqqHx_jFmPjAjEiCmMjCgMiCpAiDfCiDjDiDgHiDiNiBfLiDiLiCnGjElNiJgGiBeC_xHqqkZx_
//	UpdateControls(0);
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//
//	// _xZkqqHx_iDhJiBfLiDfHiDfEiDeDiDfJjFmPiNfIiCpAjFfMiOkGiCmJjElNiJgGiBeC_xHqqkZx_
//	g_pView->Invalidate();
//
//	// Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeC_xHqqkZx_
//	BASE_CLASS::OnOK();
//} // CFCPrpPaperSize::OnOK.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnSelchangePprCbbPaperSize
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDhLiDhLiDgCiDeOiDfIiBhFjCoIiMgAiDfEiDeDiDfJiBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnSelchangePprCbbPaperSize ()
//{
//	CComboBox* cmbBox = (CComboBox*)GetDlgItem(IDC_PPR_CBB_PAPER_SIZE);
//	const int iCurSel = cmbBox->GetCurSel();
//	if (iCurSel < 0)
//	{
//		m_tnPaperType = NoValue;
//	} else
//	{
//		m_tnPaperType = ::GetPaperType(iCurSel);
//		m_thixPaperWidth = mm2hix(::GetPaperWidth(iCurSel, m_tnPaperOrient));
//		m_thixPaperHeight = mm2hix(::GetPaperHeight(iCurSel, m_tnPaperOrient));
//	}
//	// _xZkqqHx_jFmPjAjEiCmMjCgMiCpAiDfCiDjDiDgHiDiNiBfLiDiLiCnGjElNiJgGiBeC_xHqqkZx_
//	UpdateControls(IDC_PPR_CBB_PAPER_SIZE);
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnSelchangePprCbbPaperSize.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnPprRdoPaperHorz
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiBhFiJkBiMpMiCkLiBhGiCkKiJjPiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnPprRdoPaperHorz ()
//{
//	if (m_tnPaperOrient == DMORIENT_LANDSCAPE) return;
//	m_tnPaperOrient = DMORIENT_LANDSCAPE;
//	// _xZkqqHx_iPgDiCmGiJkBiCmMjCgMiCpAjDpMiCoKjBnGiCkGiCoJiBeC_xHqqkZx_
//	const hixc hixTmp = m_thixPaperWidth;
//	m_thixPaperWidth = hixc(m_thixPaperHeight);
//	m_thixPaperHeight = hixTmp;
//	// _xZkqqHx_jFmPjAjEiCmMjCgMiCpAiDfCiDjDiDgHiDiNiBfLiDiLiCnGjElNiJgGiBeC_xHqqkZx_
//	UpdateControls(IDC_PPR_RDO_PAPER_HORZ);
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnPprRdoPaperHorz.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnPprRdoPaperVert
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDfHiDeJiDhLiDfOiDjDiBhFiPgDiMpMiCkLiBhGiCkKiJjPiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnPprRdoPaperVert ()
//{
//	if (m_tnPaperOrient == DMORIENT_PORTRAIT) return;
//	m_tnPaperOrient = DMORIENT_PORTRAIT;
//	// _xZkqqHx_iPgDiCmGiJkBiCmMjCgMiCpAjDpMiCoKjBnGiCkGiCoJiBeC_xHqqkZx_
//	const hixc hixTmp = m_thixPaperWidth;
//	m_thixPaperWidth = hixc(m_thixPaperHeight);
//	m_thixPaperHeight = hixTmp;
//	// _xZkqqHx_jFmPjAjEiCmMjCgMiCpAiDfCiDjDiDgHiDiNiBfLiDiLiCnGjElNiJgGiBeC_xHqqkZx_
//	UpdateControls(IDC_PPR_RDO_PAPER_VERT);
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnPprRdoPaperVert.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnChangePprEdtMarginBottom
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeHiDgGiDeCiDgCiDgHiDhLiDgCiDeOiDfIiBhFjHfNjEjC_xHqqkZx_ Bottom_xZkqqHx_iBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnChangePprEdtMarginBottom ()
//{
//	CString	str;
//	switch (CheckFloatStr(str, (CEdit*)GetDlgItem(IDC_PPR_EDT_MARGIN_BOTTOM)))
//	{
//	case FDCS_ERROR:	// _xZkqqHx_jFlGiOjKjHpBiCmJiDeHiDiJiBfLiCkKiCkAiCoJiBeC_xHqqkZx_
//	case FDCS_EMPTY:	// _xZkqqHx_jFlGiOjKjHpBiCkKiLpDiBeC_xHqqkZx_
//		m_thixMarginBottom = NoValue;
//		break;
//	default:	// FDCS_NORMAL:	_xZkqqHx_jAlDiPoNiBeC_xHqqkZx_
//		m_thixMarginBottom = histr2hix(str);
//	}
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnChangePprEdtMarginBottom.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnChangePprEdtMarginRight
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeHiDgGiDeCiDgCiDgHiDhLiDgCiDeOiDfIiBhFjHfNjEjC_xHqqkZx_ Right_xZkqqHx_iBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnChangePprEdtMarginRight ()
//{
//	CString	str;
//	switch (CheckFloatStr(str, (CEdit*)GetDlgItem(IDC_PPR_EDT_MARGIN_RIGHT)))
//	{
//	case FDCS_ERROR:	// _xZkqqHx_jFlGiOjKjHpBiCmJiDeHiDiJiBfLiCkKiCkAiCoJiBeC_xHqqkZx_
//	case FDCS_EMPTY:	// _xZkqqHx_jFlGiOjKjHpBiCkKiLpDiBeC_xHqqkZx_
//		m_thixMarginRight = NoValue;
//		break;
//	default:	// FDCS_NORMAL:	_xZkqqHx_jAlDiPoNiBeC_xHqqkZx_
//		m_thixMarginRight = histr2hix(str);
//	}
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnChangePprEdtMarginRight.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnChangePprEdtMarginTop
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeHiDgGiDeCiDgCiDgHiDhLiDgCiDeOiDfIiBhFjHfNjEjC_xHqqkZx_ Top_xZkqqHx_iBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnChangePprEdtMarginTop ()
//{
//	CString	str;
//	switch (CheckFloatStr(str, (CEdit*)GetDlgItem(IDC_PPR_EDT_MARGIN_TOP)))
//	{
//	case FDCS_ERROR:	// _xZkqqHx_jFlGiOjKjHpBiCmJiDeHiDiJiBfLiCkKiCkAiCoJiBeC_xHqqkZx_
//	case FDCS_EMPTY:	// _xZkqqHx_jFlGiOjKjHpBiCkKiLpDiBeC_xHqqkZx_
//		m_thixMarginTop = NoValue;
//		break;
//	default:	// FDCS_NORMAL:	_xZkqqHx_jAlDiPoNiBeC_xHqqkZx_
//		m_thixMarginTop = histr2hix(str);
//	}
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnChangePprEdtMarginTop.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnChangePprEdtMarginLeft
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeHiDgGiDeCiDgCiDgHiDhLiDgCiDeOiDfIiBhFjHfNjEjC_xHqqkZx_ Left_xZkqqHx_iBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnChangePprEdtMarginLeft ()
//{
//	CString	str;
//	switch (CheckFloatStr(str, (CEdit*)GetDlgItem(IDC_PPR_EDT_MARGIN_LEFT)))
//	{
//	case FDCS_ERROR:	// _xZkqqHx_jFlGiOjKjHpBiCmJiDeHiDiJiBfLiCkKiCkAiCoJiBeC_xHqqkZx_
//	case FDCS_EMPTY:	// _xZkqqHx_jFlGiOjKjHpBiCkKiLpDiBeC_xHqqkZx_
//		m_thixMarginLeft = NoValue;
//		break;
//	default:	// FDCS_NORMAL:	_xZkqqHx_jAlDiPoNiBeC_xHqqkZx_
//		m_thixMarginLeft = histr2hix(str);
//	}
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnChangePprEdtMarginLeft.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnChangePprEdtPaperHeight
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeHiDgGiDeCiDgCiDgHiDhLiDgCiDeOiDfIiBhF_xHqqkZx_Height_xZkqqHx_iBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnChangePprEdtPaperHeight ()
//{
//	CString	str;
//	switch (CheckFloatStr(str, (CEdit*)GetDlgItem(IDC_PPR_EDT_PAPER_HEIGHT)))
//	{
//	case FDCS_ERROR:	// _xZkqqHx_jFlGiOjKjHpBiCmJiDeHiDiJiBfLiCkKiCkAiCoJiBeC_xHqqkZx_
//	case FDCS_EMPTY:	// _xZkqqHx_jFlGiOjKjHpBiCkKiLpDiBeC_xHqqkZx_
//		m_thixPaperHeight = NoValue;
//		break;
//	default:	// FDCS_NORMAL:	_xZkqqHx_jAlDiPoNiBeC_xHqqkZx_
//		m_thixPaperHeight = histr2hix(str);
//	}
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnChangePprEdtPaperHeight.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	CFCPrpPaperSize::OnChangePprEdtPaperWidth
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeHiDgGiDeCiDgCiDgHiDhLiDgCiDeOiDfIiBhF_xHqqkZx_Width_xZkqqHx_iBhGiCkKjFmPiNfIiClDiCoKiClNiOjOiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.02.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void CFCPrpPaperSize::OnChangePprEdtPaperWidth ()
//{
//	CString	str;
//	switch (CheckFloatStr(str, (CEdit*)GetDlgItem(IDC_PPR_EDT_PAPER_WIDTH)))
//	{
//	case FDCS_ERROR:	// _xZkqqHx_jFlGiOjKjHpBiCmJiDeHiDiJiBfLiCkKiCkAiCoJiBeC_xHqqkZx_
//	case FDCS_EMPTY:	// _xZkqqHx_jFlGiOjKjHpBiCkKiLpDiBeC_xHqqkZx_
//		m_thixPaperWidth = NoValue;
//		break;
//	default:	// FDCS_NORMAL:	_xZkqqHx_jAlDiPoNiBeC_xHqqkZx_
//		m_thixPaperWidth = histr2hix(str);
//	}
//	// _xZkqqHx_iDfCiDjDiDgHiDiNiBfLiDiLiCmMjHeMiMpIiBeFjGlDiMpIiCpAjAnNjCoIiBeC_xHqqkZx_
//	UpdateActivate();
//	// _xZkqqHx_jBkOjAkLiCmJjFmPiNfIiCkKiCkAiCoJiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
//	UpdateModified();
//} // CFCPrpPaperSize::OnChangePprEdtPaperWidth.
//
//
//void CFCPrpPaperSize::OnDialogInitValue() 
//{
//	// TODO: _xZkqqHx_iClBiCmMiImKjChFiCmJiDfCiDhNiDjDiDgI_xHqqkZx_ _xZkqqHx_iDgOiDjDiDgIiDiJjHhAiCmMiDfCiBfLiDgIiCpAjCmHiJmBiClFiCmEiCkNiClOiClDiCkC_xHqqkZx_
//	
//}
//
//#endif//0
//----- 00.06.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
