#include "stdafx.h"
//#include <algorithm>			// For sort template.
#include "FoundDoc.h"			// For g_pDoc.
#include "DynamicDrawView.h"	// For g_pView.
#include "CntrItem.h"			// For CMolipDrawCntrItem4_0.
#include "UndoArchive.h"		// For FCUndoArchive.
#include "UtilCoord.h"			// For mm2lg.etc.
#include "UtilGraph.h"			// For FCAutoDC.
#include "UtilWin.h"			// For FFPushPendingMessage.
#include "UtilFont.h"			// For FFGetStdFont.
#include "LinkManager.h"		// For FTMolipSet.
#include "ProObjOle.h"			// For CFCProObjOle.
#include "ObjOle.h"				// This header.

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

//
//                                _xZkqqHx_iCgDiEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkC_xHqqkZx_
//                                  _xZkqqHx_iEkA_xHqqkZx_              _xZkqqHx_iEkA_xHqqkZx_
//                         _xZkqqHx_iCgB_xHqqkZx_     _xZkqqHx_iCgCiEkA_xHqqkZx_OLE ERROR     _xZkqqHx_iEkA_xHqqkZx_
//                        _xZkqqHx_iBfOiBfAiBfAiBfAiBfAiEkA_xHqqkZx_              _xZkqqHx_iEkA_xHqqkZx_
//                      _xZkqqHx_iBfO_xHqqkZx_          _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkDiCgF_xHqqkZx_
//                    _xZkqqHx_iBfO_xHqqkZx_
//    _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiBfOiEjPiEkC_xHqqkZx_
//    _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iBfO_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
//    _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iBfO_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_
//    _xZkqqHx_iEkA_xHqqkZx_       _xZkqqHx_iCgA_xHqqkZx_       _xZkqqHx_iEkA_xHqqkZx_
//    _xZkqqHx_iEkA_xHqqkZx_                _xZkqqHx_iEkA_xHqqkZx_
//    _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
//
static const CPoint FD_OLE_ERR_BOX_B(50, -100);
static const CPoint FD_OLE_ERR_BOX_C(100, -100);
static const CPoint FD_OLE_ERR_BOX_D(100, -130);
static const CPoint FD_OLE_ERR_BOX_F(350, -70);

CMolipDrawCntrItem4_0* FCObjOle::s_pOleItemEditting = NULL;	// _xZkqqHx_jFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::FCObjOle
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_FDFoundDoc_xZkqqHx_iCmM_xHqqkZx_InStream_xZkqqHx_iCmFjFeLjHhGiBeC_xHqqkZx_
 *************************************************************************/
FCObjOle::FCObjOle ()
{
	// m_mmrtFrame_xZkqqHx_iCmN_xHqqkZx_double_xZkqqHx_iMfOiCpAiOgHiCkEiCmMiCmFiBeB_xHqqkZx_8_xZkqqHx_iCmMjEhLjAjEiCmFiDeBiDiJiDeDiDjDiDiBiDjDiDgHiCkKjDpMiCoJiBeC_xHqqkZx_
	ASSERT(ALIGNMENT8(sizeof(BASE_CLASS)) == offsetof(FCObjOle, m_mmrtFrame));
	// memcmp_xZkqqHx_iCmFiDeJiDhFiDfHiDeGiDeOiDgHjEoEiKhCiCpAiClHiCoJiClNiCnPiBeBiNfMjBkCjBmMiDeNiDiDiDgCiDhGiCoAjBfDiCmEiCePiCmFjGiEiCnPiCoJiBeC_xHqqkZx_
	memset(&m_mmrtFrame, 0, sizeof(FCObjOle) - offsetof(FCObjOle, m_mmrtFrame));

	m_pOleItem = NULL;
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	m_mmptLeftTop.SetPoint(0, 0);
//	m_dRatioX = 1.0;		// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeC_xHqqkZx_
//	m_dRatioY = 1.0;		// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeC_xHqqkZx_
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	m_mmrtFrame.SetRect(0.0, 0.0, 100.0, 100.0);
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	m_pData = NULL;			// OLE_xZkqqHx_jFmPiNfIjBePiCmMiDgGiBfLiDfOiBeC_xHqqkZx_
//	m_dwDataSz = 0;			// m_pData_xZkqqHx_iCmMiDfEiDeDiDfJiBeC_xHqqkZx_
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----- 00.11.27 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // FCObjOle::FCObjOle.

//----- 00.03.19 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::FCObjOle
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	vObj	: _xZkqqHx_iDePiDiLiBfLiDhGiCmJiClHiCoJjFjEjFgJiPfHiNiH_xHqqkZx_
// *************************************************************************/
//FCObjOle::FCObjOle (const DBLRect& rect) : BASE_CLASS()
//{
//	m_pOleItem = NULL;
//	m_mmrtResize = rect;
//}
//----- 00.03.19 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::IsKindOf
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCkKiClBiCmMiMfOiBeBiIlNiCkCiCmNiClBiCmMiMfOiCmMiDfEiDhFiDeOiDiJiDfIiCmMiMfOiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	nType	: _xZkqqHx_jClCiCnHiCoJiMfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	TRUE	: nType_xZkqqHx_iMfOiBeBiIlNiCkCiCmNiClLiCmMiDfEiDhFiDeOiDiJiDfIiCmMiPoKiNiH_xHqqkZx_
 *			FALSE	: _xZkqqHx_iClLiCkEiCmFiCmIiCkCiPoKiNiH_xHqqkZx_
 *************************************************************************/
BOOL FCObjOle::IsKindOf (FTObjectType nType) const
{
	if (nType == FDOJ_OLE) return TRUE;
	return BASE_CLASS::IsKindOf(nType);
} // FCObjOle::IsKindOf.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::Type
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iClBiCmMiDeOiDiJiDfIiCmMiMfOiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDeOiDiJiDfIiCmMiMfO_xHqqkZx_
 *************************************************************************/
FTObjectType FCObjOle::Type () const
{
	return FDOJ_OLE;
} // FCObjOle::Type.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::OnDraw
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMjFgAiJoGiKnGjAjEiBeC_xHqqkZx_pDC_xZkqqHx_iCmJjBePiPiIjHjNiCpAiNhDiCkCiBeBiKgFjFjEjFgJiCmM_xHqqkZx_Draw_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pDC		:_xZkqqHx_jFgAiJoGjHhAiDgGiDgPiDeDiDfIiDfCiDjDiDgFiDeMiDfIiDgHiCpAiOhHjCoIiBeC_xHqqkZx_
 *			bIsMono	:_xZkqqHx_iDiCiDgNiDeOiDiNjFgAiJoGiCmMiPoKiNiHiCmN_xHqqkZx_ TRUE _xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	Undo_xZkqqHx_iCmJiCoGiCmBiCmE_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCkKiNoNiPjMiClDiCoKiBeB_xHqqkZx_Redo_xZkqqHx_iCmJiCoGiCmBiCmEiNmEiCnBiNoMjAkMiClDiCoKiClNiPoKiNiHiBeB_xHqqkZx_
 *			COleDocument_xZkqqHx_jCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmNiNoNiPjMiClDiCoKiClNiCnMiCnMiClOiCkJiCoHiBeB_xHqqkZx_
 *			m_pOleItem_xZkqqHx_iCoA_xHqqkZx_NULL_xZkqqHx_iCmMiCnMiCnMiCmGiCmIiCoJiBeC_xHqqkZx_
 *			OLE_xZkqqHx_iDeHiDiJiBfLiOjOiCmNiBeBiImIiJlKiCmMiDiBiDgCiDfKiBfLiDfHiCpAjFfMiOkGiClHiCoJiBeC_xHqqkZx_
 *
 *                                      _xZkqqHx_iCgDiEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkC_xHqqkZx_
 *                                        _xZkqqHx_iEkA_xHqqkZx_              _xZkqqHx_iEkA_xHqqkZx_
 *                               _xZkqqHx_iCgB_xHqqkZx_     _xZkqqHx_iCgCiEkA_xHqqkZx_OLE ERROR     _xZkqqHx_iEkA_xHqqkZx_
 *                              _xZkqqHx_iBfOiBfAiBfAiBfAiBfAiEkA_xHqqkZx_              _xZkqqHx_iEkA_xHqqkZx_
 *                            _xZkqqHx_iBfO_xHqqkZx_          _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkDiCgF_xHqqkZx_
 *                          _xZkqqHx_iBfO_xHqqkZx_
 *          _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiBfOiEjPiEkC_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iBfO_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iBfO_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_       _xZkqqHx_iCgA_xHqqkZx_       _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_                _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.04.03 Fukushiro M. bIsMono_xZkqqHx_iCpAjCmHiJmBiBeC_xHqqkZx_
 *************************************************************************/
void FCObjOle::OnDraw (CDC* pDC, BOOL bIsMono)
{
	CMolipDrawCntrItem4_0* pOleItem = NULL;
	if (IsEditting())
	//----- _xZkqqHx_iClBiCmMjFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHjCiGiCmMiPoKiNiH_xHqqkZx_ -----
	{
		CSize szNew = s_pOleItemEditting->GetSize();
		if (szNew.cx != 0 && szNew.cy != 0)
			pOleItem = s_pOleItemEditting;
	} else
	//----- _xZkqqHx_iClBiCmMjFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHiClFiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
		if (IsOleItemValid())
			pOleItem = m_pOleItem;
	}
	if (pOleItem != NULL)
	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKjAnNjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
	{
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjFfMiOkGiBeC_xHqqkZx_
		FCDraw(pDC).DrawOLE(pOleItem, mm2lg(GetResizeFrame()));
	} else
	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKjAnNjCoIiClDiCoKiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
//----- 05.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		//----- _xZkqqHx_iBhOiDhNiBfLiDeOiCpAjFfMiOkGiClHiCoJ_xHqqkZx_ -----
//		FCDraw draw(pDC);
//		draw.PenInit(FD_PEN_STYLE_SOLID, 0.0, FD_S_COLOR_BLACK);
//		draw.BrushInit(FD_PATTERN_UNUSE, FD_S_COLOR_TRANSPARENT, FD_S_COLOR_WHITE);
//		CRect lgrt = mm2lg(GetResizeFrame());
//		draw.FillRect(lgrt, lgrt);
//		draw.RectLine(lgrt);
//		draw.Line(CPoint(lgrt.left, lgrt.top), CPoint(lgrt.right, lgrt.bottom));
//		draw.Line(CPoint(lgrt.right, lgrt.top), CPoint(lgrt.left, lgrt.bottom));
//----- 05.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		FCAutoDC atDC(pDC);
		atDC.SetPen(PS_SOLID, 1, FD_COLREF_BLACK);
		atDC.SetBrush(FD_COLREF_WHITE);
		// OLE_xZkqqHx_jFjEjFgJiCpAiLoJiMgAiCmFjFgAiJoGiBeC_xHqqkZx_
		CRect lgrt = mm2lg(GetResizeFrame());
		atDC.Rectangle(lgrt);
		// OLE_xZkqqHx_jFjEjFgJiCpAiOhHiClHiDeHiDiJiBfLiDiJiDhIiDiLiCpAjFfMiOkGiBeC_xHqqkZx_
		atDC.SetPen(PS_SOLID, 2, FD_COLREF_RED);
		const CPoint lgptA = mm2lg(GetResizeFrame().CenterPoint());
		const CPoint lgptB = lgptA + FD_OLE_ERR_BOX_B;
		const CPoint lgptC = lgptA + FD_OLE_ERR_BOX_C;
		const CPoint lgptD = lgptA + FD_OLE_ERR_BOX_D;
		const CPoint lgptF = lgptA + FD_OLE_ERR_BOX_F;
		atDC.MoveTo(lgptA);
		atDC.LineTo(lgptB);
		atDC.LineTo(lgptC);
		atDC.Rectangle(CRect(lgptD, lgptF));
		atDC.SetTextColor(FD_COLREF_BLACK);
		atDC.SetBkMode(TRANSPARENT);
		// _xZkqqHx_iDeHiDiJiBfLiDiJiDhIiDiLiCmMiDgFiDeMiDfIiDgHiCpAjFgAiJoGiBeC_xHqqkZx_
		LOGFONT logFont = FFGetStdFont();
		logFont.lfHeight = -D2L(double(lgptF.y - lgptD.y) * 0.7);
		atDC.SetFont(&logFont);
		WString wstrPrintText;
		wstrPrintText.LoadString(IDS_ERR_MSG_OLE_ERROR);
		long lX = ((lgptF.y - lgptD.y) + logFont.lfHeight) / 2;
		atDC.ExtTextOut(lgptD.x + lX, lgptD.y + lX, ETO_CLIPPED, lgptD.x, lgptD.y, lgptF.x, lgptF.y, wstrPrintText.c_str(), wstrPrintText.length(), CP_ACP, NULL);
	}
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::OnDraw(pDC, bIsMono);
} // FCObjOle::OnDraw.

//----- 00.04.03 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::OnDrawMono
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFgAiJoGiKnGjAjEiBeCiClBiCmMjFjEjFgJiCpAiDiCiDgNiDeOiDiNjFgAiJoGiClHiCoJiBeCjFjEjFgJiCmMiInKjDkOiOjOiCmM_xHqqkZx_
// *			_xZkqqHx_iDhCiDgCiDgHiDhNiDgCiDhGiNoMjAkMiCmJiOgHiCoNiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pDC		: CDC*
// *************************************************************************/
//void FCObjOle::OnDrawMono (CDC* pDC)
//{
//	// draw the OLE item itself
//	if (m_pOleItem != NULL)
//	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKjAnNjCoIiClDiCoKiCmEiCkCiCoJiPoKiNiH_xHqqkZx_ -----
//	{
//		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjFfMiOkGiBeC_xHqqkZx_
//		m_pOleItem->Draw(pDC, mm2lg(m_mmrtResize));
//	} else
//	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKjAnNjCoIiClDiCoKiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//	{
//		//----- _xZkqqHx_iBhOiDhNiBfLiDeOiCpAjFfMiOkGiClHiCoJ_xHqqkZx_ -----
//		CPen* penpOld = pDC->SelectObject(CPen::FromHandle((HPEN)GetStockObject(BLACK_PEN)));
//		CRect lgrt = mm2lg(m_mmrtResize);
//		pDC->MoveTo(lgrt.left, lgrt.top);
//		pDC->LineTo(lgrt.right, lgrt.top);
//		pDC->LineTo(lgrt.right, lgrt.bottom);
//		pDC->LineTo(lgrt.left, lgrt.bottom);
//		pDC->LineTo(lgrt.left, lgrt.top);
//		pDC->LineTo(lgrt.right, lgrt.bottom);
//		pDC->MoveTo(lgrt.right, lgrt.top);
//		pDC->LineTo(lgrt.left, lgrt.bottom);
//		pDC->SelectObject(penpOld);
//	}
//} // FCObjOle::OnDrawMono.
//----- 00.04.03 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::GetOuterFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAhNiMgAiCmJiKePjAnKiClHiCoJiDhEiDiMiBfLiDiAiCpAiLiBiCnPiCoJiBeCjApMiCkKiCkAiCoKiCmOiClLiCmMjFjNiCoAiNgMjHlGiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iOmAiNhDiCmMjBiBiClDiCkKiLiBiCnPiCoHiCoKiCoJiBeCjCgMiCmJiCmNiCkAiCoJjCpGjDhIiMoLiNlHiCkKiCkAiCmBiCmEiCoAiCoGiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iKePjAnKiClHiCoJiDhEiDiMiBfLiDiAiDfEiDeDiDfJ_xHqqkZx_._xZkqqHx_iOmAiNmAjFfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	OLE_xZkqqHx_iDeHiDiJiBfLiOjOiCmNiBeBiImIiJlKiCmMiDiBiDgCiDfKiBfLiDfHiCpAjFfMiOkGiCmFiCkLiCoJiCoGiCkEiCmJiDhEiDiMiBfLiDiAiCpAiKgNjFnLiBeC_xHqqkZx_
 *
 *
 *                                      _xZkqqHx_iCgDiEkBiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkC_xHqqkZx_
 *                                        _xZkqqHx_iEkA_xHqqkZx_              _xZkqqHx_iEkA_xHqqkZx_
 *                               _xZkqqHx_iCgB_xHqqkZx_     _xZkqqHx_iCgCiEkA_xHqqkZx_OLE ERROR     _xZkqqHx_iEkA_xHqqkZx_
 *                              _xZkqqHx_iBfOiBfAiBfAiBfAiBfAiEkA_xHqqkZx_              _xZkqqHx_iEkA_xHqqkZx_
 *                            _xZkqqHx_iBfO_xHqqkZx_          _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkDiCgF_xHqqkZx_
 *                          _xZkqqHx_iBfO_xHqqkZx_
 *          _xZkqqHx_iEkBiEjPiEjPiEjPiEjPiEjPiEjPiBfOiEjPiEkC_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_          _xZkqqHx_iBfO_xHqqkZx_    _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_        _xZkqqHx_iBfO_xHqqkZx_      _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_       _xZkqqHx_iCgA_xHqqkZx_       _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkA_xHqqkZx_                _xZkqqHx_iEkA_xHqqkZx_
 *          _xZkqqHx_iEkEiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEjPiEkD_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
DBLRect FCObjOle::GetOuterFrame () const
{
//----- 05.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	return GetResizeFrame();
//----- 05.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iClBiCmMjFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHjCiGiCmMiPoKiNiHiBeC_xHqqkZx_
	if (IsEditting())
		return GetResizeFrame();
	// _xZkqqHx_iClBiCmMjFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHiClFiCmEiCkCiCmIiCkCiPoKiNiHiBeC_xHqqkZx_
	if (IsOleItemValid())
		return GetResizeFrame();
	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmJiInJiPoNiCkKiCkAiCoJiPoKiNiHiBeC_xHqqkZx_
	const DBLPoint mmptD = GetResizeFrame().CenterPoint() + lg2mm(FD_OLE_ERR_BOX_D);
	const DBLPoint mmptF = GetResizeFrame().CenterPoint() + lg2mm(FD_OLE_ERR_BOX_F);
	return DBLRect(GetResizeFrame().left, mmptD.y, mmptF.x, GetResizeFrame().bottom);
//----- 05.06.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::GetOuterFrame.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::GetResizeFrame
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAhNiMgAiCmMiDiKiDfEiDeDiDfJiDhEiDiMiBfLiDiAiCpAiLiBiCnPiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_jCgMiCmMjAlDiKgNiClDiCmGiOmAiNhDiCmMjBiBiClDiCkKiLiBiCnPiCoHiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iDhEiDiMiBfLiDiAiDfEiDeDiDfJ_xHqqkZx_._xZkqqHx_iOmAiNmAjFfH_xHqqkZx_.
 *************************************************************************/
DBLRect FCObjOle::GetResizeFrame () const
{
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	DBLRect mmrtResize(m_mmptLeftTop.x, m_mmptLeftTop.y, 0, 0);
//	if (m_pOleItem != NULL)
//	{
//		CSize size = m_pOleItem->GetSize();
//		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmMiDfEiDeDiDfJiCkK_xHqqkZx_0_xZkqqHx_iCmMiPoKiNiHiCmNiBeBiJlMiCmM_xHqqkZx_10_xZkqqHx_iCpAjAnNjCoIiBeCiClBiCoKiCpAiClFiCmIiCkCiCmGiBeB_xHqqkZx_
//		// _xZkqqHx_iBhFiDeJiDhFiDfHiDeGiDeOiDgHiCpAjBhNjDpMiBhGiCmFiBhF_xHqqkZx_MolipDraw Document_xZkqqHx_iBhGiCpAjBeJjBpAiClFiClNiPoKiNiHiCmJ_xHqqkZx_
//		// _xZkqqHx_iDfEiDeDiDfJiCkK_xHqqkZx_0_xZkqqHx_iCmJiCmIiCmBiCmEiClFiCnMiCkCiBeBjAlDiPoNiCmJjDkOiNoMiClFiCmIiCkCiBeC_xHqqkZx_
//		if (size.cx == 0) size.cx = 10;
//		if (size.cy == 0) size.cy = 10;
//		// _xZkqqHx_iCfAjEhLiDfJiBfLiDiAiOjOiCmMjIfPjHjNiDfEiDeDiDfJiCpAiOmAiDfEiDeDiDfJiCmJjFmPiKlHiBeC_xHqqkZx_
//		mmrtResize.right = mmrtResize.left + m_dRatioX * (double(size.cx) / g_->dDisplayPPM);
//		mmrtResize.bottom = mmrtResize.top + m_dRatioY * (double(size.cy) / g_->dDisplayPPM);
//	} else
//	{
//		mmrtResize.right = mmrtResize.left + m_dRatioX;
//		mmrtResize.bottom = mmrtResize.top + m_dRatioY;
//	}
//	return mmrtResize;
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	if (IsEditting())
	//----- _xZkqqHx_iClBiCmMjFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHjCiGiCmMiPoKiNiH_xHqqkZx_ -----
	{
		CSize szOld = m_pOleItem->GetSize();
		CSize szNew = s_pOleItemEditting->GetSize();
		if (szOld.cx == 0 || szOld.cy == 0 || szNew.cx == 0 || szNew.cy == 0)
			return m_mmrtFrame;
		double dRatioX = double(szNew.cx) / double(szOld.cx);
		double dRatioY = double(szNew.cy) / double(szOld.cy);
		return DBLRect(	m_mmrtFrame.left,
						m_mmrtFrame.top,
						m_mmrtFrame.left + (m_mmrtFrame.Width() * dRatioX),
						m_mmrtFrame.top + (m_mmrtFrame.Height() * dRatioY));
	} else
	//----- _xZkqqHx_iClBiCmMjFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHiClFiCmEiCkCiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
		return m_mmrtFrame;
	}
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::GetResizeFrame.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::IsEqual
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHjDkPiOgNiCkKjDjJiClFiCkCiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeCiKkOjBfDiCmJjDjJiClFiCkCiCmMiCmFiCmN_xHqqkZx_
 *			_xZkqqHx_iCmIiCkNiBeBiLeAjEfMjDeJiCmJjDjJiClFiCkCiClBiCmGiCpAjClCiCnHiCoJiBeCjHoBiCkGiCmOiBeBjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCmNjEoEiKhCiClFiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	objp	:_xZkqqHx_jEoEiKhCjAoGiDeJiDhFiDfHiDeGiDeOiDgH_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	TRUE	:_xZkqqHx_jDjJiClFiCkCiPoKiNiHiBeB_xHqqkZx_ FALSE  :_xZkqqHx_iIoBiCkEiPoKiNiH_xHqqkZx_.
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iCnMiClI_xHqqkZx_BASE_CLASS_xZkqqHx_iCmMjEoEiKhCiCpAiClHiCoJiBeCiClLiCmMiOjPiCmJiOkJjFkKiCmMiDeOiDiJiDfIiCmMjBkOjAkLiCpA_xHqqkZx_
 *			_xZkqqHx_jEoEiKhCiClHiCoJiBeC_xHqqkZx_ObjDynabase::IsEqual_xZkqqHx_iCmFiDeOiDiJiDfIiCmMiMfOiCpAjEoEiKhCiClHiCoJiCmMiCmFiBeB_xHqqkZx_
 *			BASE_CLASS::IsEqual_xZkqqHx_iCkK_xHqqkZx_TRUE_xZkqqHx_iCmMiPoKiNiHiCmNiMfOiCmNjDjJiClFiCkCiCmGiClFiCmEiCoGiCkC_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.15 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL FCObjOle::IsEqual (const FCObjDynabase* objp) const
{
	if (!BASE_CLASS::IsEqual(objp)) return FALSE;
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	const FCObjOle* trgp = static_cast<const FCObjOle*>(objp);
//	return (m_mmptLeftTop == trgp->m_mmptLeftTop &&
//			m_dRatioX == trgp->m_dRatioX &&
//			m_dRatioY == trgp->m_dRatioY);
//	// m_pOleItem_xZkqqHx_iCmMjEoEiKhCiCmNiCmFiCkLiCmIiCkCiBeIiBeIiBeCiCkCiClIiCoKiCmJiClJiCoGiBeBiCgOiCgLiCgEjFjEjFgJiCmNiDgAiDgCiDhGiCmJ_xHqqkZx_
//	// _xZkqqHx_jDgPjIfOiCmFiCkLiCmIiCkCiCmMiCmFiBeBiClBiCmMiKnGjAjEiCmNjFhDjHhGiCkJiBeI_xHqqkZx_.
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	const FCObjOle* trgp = static_cast<const FCObjOle*>(objp);
	return (almosteq(m_mmrtFrame, trgp->m_mmrtFrame));
	// m_pOleItem_xZkqqHx_iCmMjEoEiKhCiCmNiCmFiCkLiCmIiCkCiBeIiBeIiBeCiCkCiClIiCoKiCmJiClJiCoGiBeBiCgOiCgLiCgEjFjEjFgJiCmNiDgAiDgCiDhGiCmJ_xHqqkZx_
	// _xZkqqHx_jDgPjIfOiCmFiCkLiCmIiCkCiCmMiCmFiBeBiClBiCmMiKnGjAjEiCmNjFhDjHhGiCkJiBeI_xHqqkZx_.
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::IsEqual.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::OutStream
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCmJiPjBiCkLiPgPiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	: _xZkqqHx_iPjBiCkLiPgPiClFjHhAiCmM_xHqqkZx_FCUndoArchive
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	m_pOleItem_xZkqqHx_iCmNiDfGiDiKiDeBiDiJiDeDiDfJiCmMjFeLjHhGiCmNiCmIiCkCiBeCjDmHiCnNiNjOiCnNiOjOiCmJiCmNiBeB_xHqqkZx_
 *			Document_xZkqqHx_iCmMiDfGiDiKiDeBiDiJiDeDiDfJiCmFjAnNjCoIiClFiCmEiCkNiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.03 Fukushiro M. CArchive_xZkqqHx_iCpA_xHqqkZx_FCUndoArchive_xZkqqHx_iCmJiPeDjAlDiBeC_xHqqkZx_
 *************************************************************************/
// 06.06.23 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//void FCObjOle::OutStream (FCUndoArchive& ar)
void FCObjOle::OutStream (FCUndoArchive& ar, BOOL bIsOutBezier)
{
	// Superclass_xZkqqHx_iKnGjAjEiCpAiOmAiNhDiBeC_xHqqkZx_
// 06.06.23 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	BASE_CLASS::OutStream(ar);
	BASE_CLASS::OutStream(ar, bIsOutBezier);

//----- 05.05.27 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// ar _xZkqqHx_iCkJiCoH_xHqqkZx_ CArchive _xZkqqHx_iCpAiOoGiCoIiPgPiClFiCmEiOgHiCkEiClNiCnPiBeB_xHqqkZx_Undo_xZkqqHx_iDgPiDgCiDhEiDeAiCpAiLpDiCmJiClHiCoJiBeC_xHqqkZx_
//	ar.ResetUndoBuffer(0, 0);
//	ASSERT(ar.GetRedoCount() == 0);
//----- 05.05.27 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	ar << m_mmrtResize;		// _xZkqqHx_iDiKiDfEiDeDiDfJiDhEiDiMiBfLiDiAiBeC_xHqqkZx_
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	ar << m_mmptLeftTop;	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiNlGiPoDiNmAjFfHiBeC_xHqqkZx_
//	ar << m_dRatioX;		// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeC_xHqqkZx_
//	ar << m_dRatioY;		// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeC_xHqqkZx_
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	ar << m_mmrtFrame;	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiNmAjFfHiBeC_xHqqkZx_
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	if (m_pOleItem != NULL)
	{
//----- 05.05.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		*ar.GetArchive() << WORD(TRUE);
//		// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCpAiLeMjIfOiBeC_xHqqkZx_
//		*ar.GetArchive() << m_pOleItem;
//----- 05.05.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		ar << WORD(TRUE);
		// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCpAiLeMjIfOiBeC_xHqqkZx_
		ar.WriteObject(m_pOleItem);
//----- 05.05.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	} else
	{
// 03.04.28 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ( )
//		*ar.GetArchive() << WORD(FALSE);
		ar << WORD(FALSE);
	}
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

} // FCObjOle::OutStream.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::InStream
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCkJiCoHjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	: _xZkqqHx_jDmHiCnNiNjOiCnNjHhAiCmM_xHqqkZx_FCUndoArchive
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	m_pOleItem_xZkqqHx_iCmNiDfGiDiKiDeBiDiJiDeDiDfJiCmMjFeLjHhGiCmNiCmIiCkCiBeCjDmHiCnNiNjOiCnNiOjOiCmJiCmNiBeB_xHqqkZx_
 *			Document_xZkqqHx_iCmMiDfGiDiKiDeBiDiJiDeDiDfJiCmFjAnNjCoIiClFiCmEiCkNiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.03.03 Fukushiro M. CArchive_xZkqqHx_iCpA_xHqqkZx_FCUndoArchive_xZkqqHx_iCmJiPeDjAlDiBeC_xHqqkZx_
 *************************************************************************/
void FCObjOle::InStream (FCUndoArchive& ar)
{
	BASE_CLASS::InStream(ar);

//----- 05.05.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// ar _xZkqqHx_iCkJiCoH_xHqqkZx_ CArchive _xZkqqHx_iCpAiOoGiCoIiPgPiClFiCmEiOgHiCkEiClNiCnPiBeB_xHqqkZx_Undo_xZkqqHx_iDgPiDgCiDhEiDeAiCpAiLpDiCmJiClHiCoJiBeC_xHqqkZx_
//	ar.ResetUndoBuffer(0, 0);
//	ASSERT(ar.GetRedoCount() == 0);
//----- 05.05.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	//----- _xZkqqHx_iDhEiDeAiDeDiDiLiDgPiBfLiDfHiDiHiDjDiCkK_xHqqkZx_3.0_xZkqqHx_iImIiNhOiCmMiPoKiNiH_xHqqkZx_ -----
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	ar >> m_mmptLeftTop;	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiNlGiPoDiNmAjFfHiBeC_xHqqkZx_
//	ar >> m_dRatioX;		// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeC_xHqqkZx_
//	ar >> m_dRatioY;		// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeC_xHqqkZx_
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	ar >> m_mmrtFrame;	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiNmAjFfHiBeC_xHqqkZx_
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	WORD wIsOle;
	ar >> wIsOle;
	if (wIsOle)
	{
		// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCpAjAlGjAkMiBeBiDgIiDeMiDiFiDiBiDjDiDgHiCmJjCmHiJmBiBeC_xHqqkZx_
		CDocItem* pItem;
// 05.05.27 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//		*ar.GetArchive() >> pItem;
		ar.ReadObject(pItem);
		// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCpAjAnNjCoIiBeC_xHqqkZx_
		m_pOleItem = (CMolipDrawCntrItem4_0*)pItem;
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmJiDeJiBfLiDgJiBfL_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
		m_pOleItem->SetOwnerObject(this);
	}
	else
	{
		m_pOleItem = NULL;
	}
	if (!IsOleItemValid())
	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKjGlDiMpIiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiDeHiDiJiBfLiMhIiNjAjFfMiOkGiCmMiDiBiDgCiDfKiBfLiDfHiCpAjChOjAmPiBeC_xHqqkZx_
		FFPushPendingMessage(FCPendingMessage(	FD_PMSG_MAIN_WND|FD_PMSG_IF_VISIBLE,
												WM_USER_INVALID_OLE_OBJECT, NULL, NULL, FALSE));
	}
//----- 00.11.22 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::InStream.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::CreatePropertyPage
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiMmFjHeMiCmM_xHqqkZx_PropertyPage_xZkqqHx_iCpAiNoMjAkMiBeFiPiJiKpKiJlLiClFiBeBiDhMiDeDiDjDiDfOiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	vPropPage	:PropertyPage_xZkqqHx_iCmMiDhMiDeDiDjDiDfOiCpAjFnEiClHiInHiCmMiDiKiDfIiDgHiBeC_xHqqkZx_
 *			vSelect		:_xZkqqHx_jBeJjBpAjFjEjFgJiCmMiPfHiNiH_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	
 *************************************************************************/
void FCObjOle::CreatePropertyPage (CPropertyPageVector& vPropPage,
											const ObjDynabaseVector& vSelect)
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::CreatePropertyPage(vPropPage, vSelect);
	ObjDynabaseVector::const_iterator i;
	for (i = vSelect.begin(); i != vSelect.end(); i++)
		if (!(*i)->IsKindOf(FDOJ_OLE)) return;
	vPropPage.push_back(new CFCProObjOle());
} // FCObjOle::CreatePropertyPage.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::~FCObjOle
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_
 *************************************************************************/
FCObjOle::~FCObjOle ()
{
	if (m_pOleItem != NULL)
	{
//----- 02.05.30 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
////		m_pOleItem->Release();
//
//		// _xZkqqHx_iClBiClBiCmFiBeB_xHqqkZx_m_pOleItem->Delete();_xZkqqHx_iCpAiOmAiNhDiClFiClNiCkCiCmMiClOiCkKiBeBiClLiCkEiClHiCoJiCmG_xHqqkZx_
//		// Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkK_xHqqkZx_
//		// _xZkqqHx_iCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
//		// OLE_xZkqqHx_iCmMiDfDiDhOiCmNiOgDiCoJiCkKiBeBiJoEjGjNiBeC_xHqqkZx_
////----- 00.08.25 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////		// OleClientItem_xZkqqHx_iCpAiNoNiPjMiBeC_xHqqkZx_OleClientItem_xZkqqHx_iCmNiBeB_xHqqkZx_COleDocument_xZkqqHx_iCmFiKmHjHjNiClDiCoKiCmE_xHqqkZx_
////		// _xZkqqHx_iCkCiCoJiCmMiCmFiBeB_xHqqkZx_Delete_xZkqqHx_iKnGjAjEiCmFiNoNiPjMiClHiCoJiBeC_xHqqkZx_
////		m_pOleItem->Delete();
////----- 00.08.25 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//
////----- 00.12.01  _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//////----- 00.11.23 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////////----- 00.09.06 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//////		// OleClientItem_xZkqqHx_iCmJiBeBjGlDiMpIiCmM_xHqqkZx_ObjID_xZkqqHx_iCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
//////		m_pOleItem->SetOwnerObjectID(DWORD(-1));
////////----- 00.09.06 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//////----- 00.11.23 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
////		// OleClientItem_xZkqqHx_iCmJiBeBiNoNiPjMiNmPiCnNiDhEiDiJiDePiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
////		m_pOleItem->SetIsDeletedObj(TRUE);
//////----- 00.11.23 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
////----- 00.12.01  _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 02.05.30 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
		// _xZkqqHx_iDeBiDhGiDiKiPeJjHlJiOjOiCmJ_xHqqkZx_ m_pOleItem->Delete();_xZkqqHx_iCpAiOmAiNhDiClHiCoJiCmG_xHqqkZx_
		// Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkK_xHqqkZx_
		// _xZkqqHx_iCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
		// _xZkqqHx_iClBiCoKiCpAjGgIiCkOiClNiCnPiBeBiDeBiDhGiDiKiPeJjHlJiOjOiImIiKePiCmFiOmAiNhDiClHiCoJiCoGiCkEiCmJjAnNjCoIiBeC_xHqqkZx_
		// _xZkqqHx_iDeBiDhGiDiKiPeJjHlJiOjOiCmNiDiBiDiCiDiKiDiKiBfLiDeOiCkKiLeOiCkLiCoJiClBiCmGiCoAiCkAiCoIiCkGiCoJiCkKiBeBiCoCiCnOiCmIiClFiBeC_xHqqkZx_
		// _xZkqqHx_iDeBiDhGiDiKiPeJjHlJiDgAiDeGiDgCiDeOiCmJ_xHqqkZx_CFCMainFrame_xZkqqHx_iCoC_xHqqkZx_CFoundDoc_xZkqqHx_iCmMiDiBiDjDiDgPiKnGjAjEiCpAiOgHiCoNiClIiCmJ_xHqqkZx_
		// g_->appMode_xZkqqHx_iDePiDiNiBfLiDgPiDiLjFmPjAjEiCpAiOgHiCkEiCmMiCmNiBeB_xHqqkZx_g_pFrame/g_pDoc _xZkqqHx_iCmN_xHqqkZx_
		// CFrameWnd::OnClose _xZkqqHx_iKnGjAjEjCiGiCmF_xHqqkZx_NULL_xZkqqHx_iCmJiClDiCoKiCmEiClFiCnMiCkEiClNiCnPiBeC_xHqqkZx_
		if (!(g_->appMode & FD_RUNMODE_ON_EXIT))
			m_pOleItem->Delete();
//----- 02.05.30 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
		m_pOleItem = NULL;
	}
//----- 00.11.27 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//----- 05.06.14 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	if (m_pData != NULL)
//	{
//		free(m_pData);
//		m_pData = NULL;
//	}
//----- 05.06.14 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	ASSERT(s_pOleItemEditting == NULL);	// _xZkqqHx_jFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_

//----- 00.11.27 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
} // FCObjOle::~FCObjOle.

//----- 02.09.06 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::Terminate
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPeJjHlJiPiIjHjNiCpAiNhDiCkEiBeC_xHqqkZx_CommandGate_xZkqqHx_iCmFjFjEjFgJiCpAiNoNiPjMiClHiCoJjBePiCmJiOmAiNhDiClHiCoJiBeC_xHqqkZx_
// *			_xZkqqHx_iDhEiDeAiDeDiDiLiCpAjFmCiClGiCoJiOjOiBeBiDeBiDhGiDiKiPeJjHlJiOjOiCmJiCmNiOmAiNhDiClDiCoKiCmIiCkCiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.11.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void FCObjOle::Terminate ()
//{
//	if (m_pOleItem != NULL)
//	{
//		// OleClientItem_xZkqqHx_iCpAiNoNiPjMiBeC_xHqqkZx_OleClientItem_xZkqqHx_iCmNiBeB_xHqqkZx_COleDocument_xZkqqHx_iCmFiKmHjHjNiClDiCoKiCmE_xHqqkZx_
//		// _xZkqqHx_iCkCiCoJiCmMiCmFiBeB_xHqqkZx_Delete_xZkqqHx_iKnGjAjEiCmFiNoNiPjMiClHiCoJiBeC_xHqqkZx_
//		m_pOleItem->Delete();
//		m_pOleItem = NULL;
//	}
//} // FCObjOle::Terminate.
//----- 02.09.06 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ (Molip_xZkqqHx_iCpA_xHqqkZx_OLE_xZkqqHx_iCmGiClFiCmEiDhJiBfLiDfIiDgHiClFiClNjAoGiCmMiDeBiDhGiDiKiCkJiCoHiBeB_xHqqkZx_Molip_xZkqqHx_iNmEjFnCiPfHiCkKiCmFiCkLiCmIiCkNiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_)-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::IsOleItemValid
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKjHeMiMpIiCkJiCmHiCkEiCkJiCpAjClCiCnHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jHeMiMpIiCmIiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	JPEG_xZkqqHx_iDhEiDeAiDeDiDiLiCpA_xHqqkZx_Windows_xZkqqHx_iDhJiDeDiDjDiDgHiCmFiKeKiCkCiCmEiBeBiIoKjFjEjFkKiCpAiDfCiDhDiBfLiBeB_xHqqkZx_DD3_xZkqqHx_iCmJ_xHqqkZx_
 *			_xZkqqHx_jDfMiCoIjFhEiCkPiClN_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmNiBeBiCkCiClPiCmHiDhEiDeAiDeDiDiLiCpAjFnLjBlGiClFiCmEiNmEiCnBiKeKiCkCiClN_xHqqkZx_
 *			_xZkqqHx_iCmGiCkLiCmJiJpDiCoKiCmEiCkCiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL FCObjOle::IsOleItemValid () const
{
	if (m_pOleItem == NULL) return FALSE;
	CSize sz = m_pOleItem->GetSize();
	if (sz.cx == 0 || sz.cy == 0) return FALSE;
	return TRUE;
} // FCObjOle::IsOleItemValid.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::GetOleClientItem
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiA_xHqqkZx_
 *************************************************************************/
CMolipDrawCntrItem4_0* FCObjOle::GetOleClientItem () const
{
	return m_pOleItem;
} // FCObjOle::GetOleClientItem.

//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::SetOleClientItem
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAnNjCoIiClHiCoJ_xHqqkZx_.
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pItem	:OLE_xZkqqHx_iDeBiDeDiDgFiDiA_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmNiBeBiDfCiDhDiBfLiCpAiCmGiCoHiClIiCmJiClLiCmMiCnMiCnMjDoAjFjEiCmFiOgHjHhAiClDiCoKiCoJiBeC_xHqqkZx_
// *************************************************************************/
//void FCObjOle::SetOleClientItem (CMolipDrawCntrItem4_0* pItem)
//{
//	m_pOleItem = pItem;
////----- 00.07.28 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////	if (m_pOleItem != NULL)
////	{
////		CSize size = m_pOleItem->GetSize();
////		// _xZkqqHx_iCfAjEhLiDfJiBfLiDiAiOjOiCmMjIfPjHjNiDfEiDeDiDfJiCpAiOmAiDfEiDeDiDfJiCmJjFmPiKlHiBeC_xHqqkZx_
////		m_mmrtResize.right = m_mmrtResize.left + double(size.cx) / g_->dDisplayPPM;
////		m_mmrtResize.bottom = m_mmrtResize.top + double(size.cy) / g_->dDisplayPPM;
////	}
////----- 00.07.28 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
////----- 00.08.25 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	if (m_pOleItem != NULL)
//	{
////----- 00.11.26 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmJiDeJiBfLiDgJiBfL_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
//		m_pOleItem->SetOwnerObject(this);
////----- 00.11.26 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//		CSize size = m_pOleItem->GetSize();
////----- 00.09.19 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////		m_dRatioX = m_mmrtResize.Width() / (double(size.cx) / g_->dDisplayPPM);
////		m_dRatioY = m_mmrtResize.Height() / (double(size.cy) / g_->dDisplayPPM);
////----- 00.09.19 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//		//----- _xZkqqHx_iDfEiDeDiDfJjEoEjHkGiCpAiOfKiPgPiBeCjGjMiCkKiIoKiCpAiNgMiCkGiCmEiBeB_xHqqkZx_size _xZkqqHx_iCkK_xHqqkZx_ 0_xZkqqHx_iCmMiPoKiNiHiCpAiNgMjHlG_xHqqkZx_ -----
//		if (size.cx != 0)
//			m_dRatioX = m_mmrtResize.Width() / (double(size.cx) / g_->dDisplayPPM);
//		else
//			m_dRatioX = 1.0;
//		if (size.cy != 0)
//			m_dRatioY = m_mmrtResize.Height() / (double(size.cy) / g_->dDisplayPPM);
//		else
//			m_dRatioY = 1.0;
////----- 00.09.19 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//	}
////----- 00.08.25 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//} // FCObjOle::SetOleClientItem.
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 05.06.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::SetOleClientItemAndRatio
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmGiDfEiDeDiDfJjEoEiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pItem	:OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAiOhHjCoIiBeC_xHqqkZx_
// *			dRatioX	:_xZkqqHx_iDfEiDeDiDfJiCmM_xHqqkZx_X_xZkqqHx_jEoEiCpAiOhHjCoIiBeC_xHqqkZx_
// *			dRatioY	:_xZkqqHx_iDfEiDeDiDfJiCmM_xHqqkZx_Y_xZkqqHx_jEoEiCpAiOhHjCoIiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jCiNiInD_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmNiBeBiDfCiDhDiBfLiCpAiCmGiCoHiClIiCmJiClLiCmMiCnMiCnMjDoAjFjEiCmFiOgHjHhAiClDiCoKiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.07.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void FCObjOle::SetOleClientItemAndRatio (CMolipDrawCntrItem4_0* pItem,
//										double dRatioX, double dRatioY)
//{
//	m_pOleItem = pItem;
//	m_dRatioX = dRatioX;
//	m_dRatioY = dRatioY;
//	if (m_pOleItem != NULL)
//	{
//		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmJiDeJiBfLiDgJiBfL_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
//		m_pOleItem->SetOwnerObject(this);
//	}
//} // FCObjOle::SetOleClientItemAndRatio.
//----- 05.06.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::SetOleClientItem
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAnNjCoIiClHiCoJiBeCjFjEjFgJiDfEiDeDiDfJiCmNjFmPiNfIiClFiCmIiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pItem	:OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmNiBeBiDfCiDhDiBfLiCpAiCmGiCoHiClIiCmJiClLiCmMiCnMiCnMjDoAjFjEiCmFiOgHjHhAiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAnNjCoIiClHiCoJiLeAiJoPiCmNiBeBiImIiJlKiCmMiPoKiNiHiCkKiCkAiCoJiBeC_xHqqkZx_
 *			1. OLE_xZkqqHx_jFjEjFgJiNoMjAkMiOjOiBeC_xHqqkZx_
 *			2. OLE_xZkqqHx_jFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHjFmPiNfIiOjOiBeC_xHqqkZx_
 *			1._xZkqqHx_iCmNiBeB_xHqqkZx_FoundDoc_xZkqqHx_iIlNiCkCiCmN_xHqqkZx_DynamicDrawView_xZkqqHx_iCmJiCkIiCkCiCmE_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAiNoMjAkMiClHiCoJ_xHqqkZx_
 *			_xZkqqHx_iNnLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_2._xZkqqHx_iCmNiBeB_xHqqkZx_CommandGate_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiKnGjAjEiCmNiBeB_xHqqkZx_2._xZkqqHx_iCmMiPoKiNiHiCmMiCnNiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::SetOleClientItem (CMolipDrawCntrItem4_0* pItem)
{
	m_pOleItem = pItem;
	if (m_pOleItem != NULL)
	{
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmJiDeJiBfLiDgJiBfL_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
		m_pOleItem->SetOwnerObject(this);
	}
} // FCObjOle::SetOleClientItem.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::SetOleClientItemAndSize
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAnNjCoIiClHiCoJiBeCjDkPiOjOiCmJjFjEjFgJiDfEiDeDiDfJiCoAjAnNjCoIiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pItem	:OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmNiBeBiDfCiDhDiBfLiCpAiCmGiCoHiClIiCmJiClLiCmMiCnMiCnMjDoAjFjEiCmFiOgHjHhAiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAnNjCoIiClHiCoJiLeAiJoPiCmNiBeBiImIiJlKiCmMiPoKiNiHiCkKiCkAiCoJiBeC_xHqqkZx_
 *			1. OLE_xZkqqHx_jFjEjFgJiNoMjAkMiOjOiBeC_xHqqkZx_
 *			2. OLE_xZkqqHx_jFjEjFgJiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHjFmPiNfIiOjOiBeC_xHqqkZx_
 *			1._xZkqqHx_iCmNiBeB_xHqqkZx_FoundDoc_xZkqqHx_iIlNiCkCiCmN_xHqqkZx_DynamicDrawView_xZkqqHx_iCmJiCkIiCkCiCmE_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAiNoMjAkMiClHiCoJ_xHqqkZx_
 *			_xZkqqHx_iNnLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_2._xZkqqHx_iCmNiBeB_xHqqkZx_CommandGate_xZkqqHx_iCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiKnGjAjEiCmNiBeB_xHqqkZx_1._xZkqqHx_iCmMiPoKiNiHiCmMiCnNiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_2._xZkqqHx_iCmMiPoKiNiHiCmNiBeB_xHqqkZx_SetOleClientItem_xZkqqHx_iKnGjAjE_xHqqkZx_
 *			_xZkqqHx_iCkKiOmAiNhDiClDiCoKiBeBjDkPiOjOiCmJiDfEiDeDiDfJjFmPiNfIiCmMiDfCiDhNiDjDiDgIiCkKiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.07.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::SetOleClientItemAndSize (CMolipDrawCntrItem4_0* pItem)
{
	SetOleClientItem(pItem);
	if (pItem != NULL)
	{
		CSize size = pItem->GetSize();
		m_mmrtFrame.right = m_mmrtFrame.left + (double(size.cx) / g_->dDisplayPPM);
		m_mmrtFrame.bottom = m_mmrtFrame.top + (double(size.cy) / g_->dDisplayPPM);
	}
} // FCObjOle::SetOleClientItemAndSize.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::OpenOleDocument
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCpAiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmFiKeKiCkNiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.11.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::OpenOleDocument ()
{
	if (m_pOleItem != NULL)
	{
		// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCpAiDeBiDhGiDiKiCmFiKeKiCkNiBeC_xHqqkZx_
		m_pOleItem->DoVerb(OLEIVERB_SHOW, g_pView);
	}
} // FCObjOle::OpenOleDocument.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::OnOpenOleDocument
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCkKiDeBiDhGiDiKiDfAiBfLiDfGiDiHiDjDiCmFiKeKiCkJiCoKiClNiPoKiNiHiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *			OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_CMolipDrawCntrItem4_0::DoVerb_xZkqqHx_iKnGjAjEiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.12.22 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::OnOpenOleDocument ()
{
	// _xZkqqHx_iClBiClBiCmJjFjEjFgJiCmMiDiKiBfLiDfHiDiHiDjDiCpAjAnIiCmBiCmEiCkCiClNiCkKiBeB_xHqqkZx_OLE_xZkqqHx_iLeOjDkOiOjOiCmJ_xHqqkZx_
	// _xZkqqHx_iJoGjGmKjFgAiJoGiCkKiCkEiCnMiCkNiCkCiCkJiCmIiCkCiCmMiCmFiCoCiCnPiClNiBeC_xHqqkZx_

//----- 06.03.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iLpDiDiKiBfLiDfHiDiHiDjDiCpAjAnNjCoIiBeC_xHqqkZx_
//	g_pView->AddEmptyRgn();
//	// _xZkqqHx_jFmPiNfIjBePiCmMiMmFjHeMiDiKiBfLiDfHiDiHiDjDiCpAjAnNjCoIiBeC_xHqqkZx_
//	g_pView->AppendToLastRgn(this);
//----- 06.03.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (m_pData != NULL) free(m_pData);
//	// _xZkqqHx_iDiBiDiCiDiKiDhEiDeAiDeDiDiLiCpAjAlGjAkMiBeC_xHqqkZx_
//	CMemFile fileWork;
//	//----- OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmMiLeMjIfOiCmGiNoNiPjM_xHqqkZx_ -----
//	FCUndoArchive ar(&fileWork, FD_ARCHIVE_STORE);
//	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmMjAnNjCoIiBeC_xHqqkZx_OLE_xZkqqHx_iCmMiPgPjHmNiCmMiClNiCnPiBeC_xHqqkZx_
//	ar.SetDocument(g_pDoc);
//	// OleClientItem_xZkqqHx_iCpAiLeMjIfOiBeC_xHqqkZx_
//	ar.WriteObject(m_pOleItem);
//	// _xZkqqHx_iDgPiDgCiDhEiDeAiCmJiOgDiCmBiCmEiCkCiCoJiDgGiBfLiDfOiCpAiDhEiDiJiDgCiDfGiDiFiClFiBeBiDeBiBfLiDeKiDeDiDhFiCpAiDeOiDiNiBfLiDfJiBeC_xHqqkZx_
//	ar.Close();
//	// _xZkqqHx_iDfEiDeDiDfJ_xHqqkZx_B_xZkqqHx_iCmMiOfKiPgPiBeC_xHqqkZx_
//	m_dwDataSz = fileWork.GetLength();
//	// CMemFile_xZkqqHx_iCmMiDgPiDgCiDhEiDeAiCpAjAnIiCoIjHkDiClHiBeC_xHqqkZx_
//	m_pData = fileWork.Detach();
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiBeBjFnCiPfHjCiGiCmMjFmPjAjEiCnGiInKjDkOiClFiCmEiBeB_xHqqkZx_
	// _xZkqqHx_jGhLjHiIiCmMjFmPjAjEiCmJiCmNjFkBjAlLiCpAjChFiCkNiBeC_xHqqkZx_
	// _xZkqqHx_iDhEiDeAiDeDiDiLjFnLjBlGiOjOiCmJiBeBjFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmMiDgGiBfLiDfOiCkK_xHqqkZx_
	// _xZkqqHx_jFnLjBlGiClDiCoKiCoJiClBiCmGiCpAjGgIiCkOiClNiCnPiBeC_xHqqkZx_

	ASSERT(s_pOleItemEditting == NULL);	// _xZkqqHx_jFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiBeC_xHqqkZx_
//----- 06.06.23 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiBeBjFnCiPfHjCiGiCmMjFmPjAjEiCnGiInKjDkOiBeC_xHqqkZx_
//	s_pOleItemEditting = m_pOleItem;
//	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiNoMjAkMiBeC_xHqqkZx_
//	m_pOleItem = new CMolipDrawCntrItem4_0(g_pDoc);
//	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmJ_xHqqkZx_OLE_xZkqqHx_iDgGiBfLiDfOiCpAjFkBiOmKiBeC_xHqqkZx_
//	m_pOleItem->CreateCloneFrom(s_pOleItemEditting);
//	m_pOleItem->SetOwnerObject(this);
//----- 06.06.23 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// Windows98_xZkqqHx_iCmMiPoKiNiHiBeB_xHqqkZx_CreateCloneFrom_xZkqqHx_iKnGjAjEiOmAiNhDjCiGiCmJiBeB_xHqqkZx_
	// View_xZkqqHx_iMgPjHfCiCmF_xHqqkZx_FCObjOle_xZkqqHx_iCmJiDeBiDeOiDfKiDfIiCkKjHiIiCoJiPoKiNiHiCkKiCkAiCoJiBeC_xHqqkZx_
	// _xZkqqHx_iClBiCmMiClNiCnPiBeB_xHqqkZx_m_pOleItem _xZkqqHx_iCmMjFmPiNfIiCmNjFkBjAlLiCkKiKkOjAkMiClFiClNiMoDiCmJ_xHqqkZx_
	// _xZkqqHx_iOmAiOhLiClHiCoJiBeC_xHqqkZx_
	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiNoMjAkMiBeC_xHqqkZx_
	s_pOleItemEditting = new CMolipDrawCntrItem4_0(g_pDoc);
	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmJ_xHqqkZx_OLE_xZkqqHx_iDgGiBfLiDfOiCpAjFkBiOmKiBeC_xHqqkZx_
	s_pOleItemEditting->CreateCloneFrom(m_pOleItem);
	s_pOleItemEditting->SetOwnerObject(this);
	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHjDpMiCoKjBnGiCkGiCoJiBeC_xHqqkZx_
	::Exchange(s_pOleItemEditting, m_pOleItem);
//----- 06.06.23 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::OnOpenOleDocument.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::OnCloseOleDocument
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCkKjFmCiClGiClNiCmGiCkLiCmJiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_
 *			CMolipDrawCntrItem4_0::OnChange_xZkqqHx_iKnGjAjEiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	iMode	:OLE_xZkqqHx_iDeBiDhGiDiKiCkKiPeJjHlJiClFiClNiPoKiNiHiCmN_xHqqkZx_ TRUE_xZkqqHx_iBeB_xHqqkZx_Molip Draw_xZkqqHx_jBkEiCkJiCoH_xHqqkZx_
 *					 _xZkqqHx_iLkNjAkHiPeJjHlJiClDiClJiClNiPoKiNiHiCmN_xHqqkZx_ FALSE _xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.11.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::OnCloseOleDocument (int iMode)
{
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_iDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCpAiKeKiOgOiClHiCoJiBeC_xHqqkZx_
//	g_pDoc->SessionBegin();
//	// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjFmPiNfIiCpAiLeMjIfOiBeC_xHqqkZx_
//	g_pDoc->CmdModify1OleDocument(this, m_dwDataSz, m_pData, m_pOleItem);
//	// _xZkqqHx_iInKjDkOiClFiClNiDiCiDiKiDhGiPfHiNiHiBeC_xHqqkZx_
//	FTMolipSet setMolip;
//	// _xZkqqHx_jFmPiNfIiMoDiCmMiMmFjHeMiDiKiBfLiDfHiDiHiDjDiCpAjAnNjCoIiBeC_xHqqkZx_
//	g_pView->AppendToLastRgn(this);
//	// _xZkqqHx_iInKjDkOiClFiClNiDiCiDiKiDhGiCpAjAnNjCoIiBeC_xHqqkZx_
//	setMolip.insert(FCMolipRec(GetObjID(), -1));
//	// _xZkqqHx_jFjEjFgJiCmMiDiKiDfEiDeDiDfJiCpAjCmKjCgNiBeCjDoAjFjEiCmFiDfCiDhNiDjDiDgIiCpAjEkNiNhDiBeC_xHqqkZx_
//	g_pDoc->LinkManager()->MovedNotify(setMolip);
//	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiPeJjHlJiBeC_xHqqkZx_
//	g_pDoc->SessionEnd();
//	// _xZkqqHx_iMmFjHeMiDiKiBfLiDfHiDiHiDjDiCpAiNmEjFgAiJoG_xHqqkZx_.
//	g_pView->SendRgnRedraw();
//	//----- _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiDgGiBfLiDfOiDgPiDgCiDhEiDeAiCpAiJpAjFpK_xHqqkZx_ -----
//	if (m_pData != NULL)
//	{
//		free(m_pData);
//		m_pData = NULL;
//	}
//	// _xZkqqHx_iKePjFjEiDeBiDhGiDiKiCkJiCoHiCmMiPeJjHlJiCmMiPoKiNiHiCmNiBeB_xHqqkZx_OLE_xZkqqHx_jFnCiPfHiDgDiBfLiDiLiCkJiCoHjFfHiPiAiDgDiBfLiDiLiCmJjGnPiClHiBeC_xHqqkZx_
//	if (iMode)
//		g_pView->PostMessage(WM_COMMAND, ID_TOOL_SELECT, (LPARAM)0);
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_jAfGiClFiCkCiDhEiDiMiBfLiDiAiDfEiDeDiDfJiCpAiOoGjDlOiBeC_xHqqkZx_
	DBLRect mmrtNewFrame = GetResizeFrame();

	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiMlDiCmJjGnPiClHiBeC_xHqqkZx_
	CMolipDrawCntrItem4_0* pOldOleItem = m_pOleItem;
	m_pOleItem = s_pOleItemEditting;
	s_pOleItemEditting = NULL;

	// _xZkqqHx_iDfCiDhNiDjDiDgIiDfKiDgCiDfGiDiHiDjDiCpAiKeKiOgOiClHiCoJiBeC_xHqqkZx_
	g_pDoc->SessionBegin();
	// OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjFmPiNfIiCpAiLeMjIfOiBeC_xHqqkZx_
	if (g_pDoc->CmdModify1OleDocument(this, pOldOleItem, m_pOleItem))
	//----- OLE_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmJjFmPiNfIiCkKiCkAiCmBiClNiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_iDiKiDfEiDeDiDfJiDfCiDhNiDjDiDgIiCmMjEkNiNhDiBeC_xHqqkZx_
		g_pDoc->CmdResize1Obj(this, mmrtNewFrame);
//----- 06.03.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//		// _xZkqqHx_jFmPiNfIiMoDiCmMiMmFjHeMiDiKiBfLiDfHiDiHiDjDiCpAjAnNjCoIiBeC_xHqqkZx_
//		g_pView->AppendToLastRgn(this);
//----- 06.03.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
		// _xZkqqHx_jFjEjFgJiCmMiDiKiDfEiDeDiDfJiCpAjCmKjCgNiBeCjDoAjFjEiCmFiDfCiDhNiDjDiDgIiCpAjEkNiNhDiBeC_xHqqkZx_
//----- 05.06.21 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//		ObjDynabaseVector vObj;
//		vObj.push_back(this);
//		g_pDoc->LinkManager()->MovedNotify(vObj);
//----- 05.06.21 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
		g_pDoc->LinkManager()->MovedNotify(this);
//----- 05.06.21 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	}
	// _xZkqqHx_iDfKiDgCiDfGiDiHiDjDiPeJjHlJiBeC_xHqqkZx_
	g_pDoc->SessionEnd();
//----- 06.03.16 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	// _xZkqqHx_iMmFjHeMiDiKiBfLiDfHiDiHiDjDiCpAiNmEjFgAiJoG_xHqqkZx_.
//	g_pView->SendRgnRedraw();
//----- 06.03.16 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiNoNiPjMiBeC_xHqqkZx_
	pOldOleItem->Delete();

	// _xZkqqHx_iKePjFjEiDeBiDhGiDiKiCkJiCoHiCmMiPeJjHlJiCmMiPoKiNiHiCmNiBeB_xHqqkZx_OLE_xZkqqHx_jFnCiPfHiDgDiBfLiDiLiCkJiCoHjFfHiPiAiDgDiBfLiDiLiCmJjGnPiClHiBeC_xHqqkZx_
	if (iMode)
// 06.12.26 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//		g_pView->PostMessage(WM_COMMAND, ID_TOOL_SELECT, (LPARAM)0);
		g_pView->SwitchCurrentTool(ID_TOOL_SELECT, FALSE);
//----- 05.06.14 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::OnCloseOleDocument.

//----- 05.06.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::GetOleRatioX
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	Ole_xZkqqHx_iCmMiDgGiBfLiDfOiDfEiDeDiDfJiCmJiClBiCmMjEoEjHkGiCpAiKhMiCkPiCoJiCmGiBeBjFjEjFgJjFjNiCmJiCmIiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.08.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//double FCObjOle::GetOleRatioX () const
//{
//	return m_dRatioX;
//} // FCObjOle::GetOleRatioX.
//
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::GetOleRatioY
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	Ole_xZkqqHx_iCmMiDgGiBfLiDfOiDfEiDeDiDfJiCmJiClBiCmMjEoEjHkGiCpAiKhMiCkPiCoJiCmGiBeBjFjEjFgJjFjNiCmJiCmIiCoJiBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.08.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//double FCObjOle::GetOleRatioY () const
//{
//	return m_dRatioY;
//} // FCObjOle::GetOleRatioY.
//----- 05.06.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::IsEditting
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHjCiGiCkJiCmHiCkEiCkJjClCiCnHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnCiPfHjCiGiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL FCObjOle::IsEditting () const
{
	if (FCObjOle::GetEdittingOleItem() != NULL)
	//----- _xZkqqHx_jFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCkKjBlGiNnNiClHiCoJiPoKiNiH_xHqqkZx_ -----
	{
		return (FCObjOle::GetEdittingOleItem()->GetOwnerObject() == this);
	}
	return FALSE;
} // FCObjOle::IsEditting.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::GetEdittingOleItem
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jFnCiPfHjCiGiCmM_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAjFnEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.14 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
CMolipDrawCntrItem4_0* FCObjOle::GetEdittingOleItem ()
{
	return s_pOleItemEditting;
} // FCObjOle::GetEdittingOleItem.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::Copy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iIpIjAjEiCmMjFjEjFgJiCmJjBkOjAkLiCpAiDfCiDhDiBfLiClHiCoJ_xHqqkZx_.
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pObj	: _xZkqqHx_jBkOjAkLiCpAiDfCiDhDiBfLiClDiCoKiCoJjFjEjFgJ_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.09.24 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::Copy (FCObjDynabase* pObj) const
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::Copy(pObj);
	// _xZkqqHx_iClBiCmMiDeOiDiJiDfIiCmMjBkOjAkLiCmMiCnNiCpAiDfCiDhDiBfLiBeC_xHqqkZx_
	FCObjOle::CopySelf(pObj);
} // FCObjOle::Copy.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::CopySelf
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iClBiCmMiDeOiDiJiDfIiCmJjBkOiClHiCoJjBkOjAkLiCmMiCnNiCpAiDfCiDhDiBfLiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pObj	:_xZkqqHx_iDfCiDhDiBfLjAoGiCmMjFjEjFgJiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.28 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::CopySelf (FCObjDynabase* pObj) const
{
//----- 06.07.04 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_iClBiCmMiDeOiDiJiDfIiCmMiDfEiDhFiDeOiDiJiDfIiCmFjGlDiCkPiCoKiCmOjFkBiOmKiClJiClIjFjMiLeBiBeC_xHqqkZx_
	if (!pObj->IsKindOf(FCObjOle::Type())) return;
//----- 06.07.04 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
	FCObjOle* pOle = reinterpret_cast<FCObjOle*>(pObj);
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	pOle->m_mmrtResize = m_mmrtResize;
//	if (m_pOleItem != NULL)
//	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkK_xHqqkZx_NULL_xZkqqHx_iCmFiCmNiCmIiCkCiPoKiNiH_xHqqkZx_ -----
//	{
//		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAfGiLeLiNoMjAkMiClFiBeBiDfCiDhDiBfLiClHiCoJiBeC_xHqqkZx_
//		CMolipDrawCntrItem4_0* pItem = new CMolipDrawCntrItem4_0(g_pDoc);	// COleClientItem_xZkqqHx_iCmM_xHqqkZx_Subclass.
//		pItem->CreateCloneFrom(m_pOleItem);
//		// pOle_xZkqqHx_iCnGiCmMiDeBiDeDiDgFiDiAjAnNjCoIiBeCiDfEiDeDiDfJiCmNjAnNjCoIiClDiCoKiCmIiCkCiBeC_xHqqkZx_
//		pOle->SetOleClientItem(pItem);
//		// _xZkqqHx_jCiNiBgKiDeBiDeDiDgFiDiAiCnGiCmM_xHqqkZx_pOle_xZkqqHx_iCmMjFjEjFgJ_xHqqkZx_ID_xZkqqHx_jAnNjCoIiCmNiBeB_xHqqkZx_pOle_xZkqqHx_iCmMjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCkKiMiIjCoIiClFiCmEiCkJiCoHiBeCiBeC_xHqqkZx_
//	} else
//	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkK_xHqqkZx_NULL_xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
//	{
//		// pOle_xZkqqHx_iCnGiCmMiDeBiDeDiDgFiDiAjAnNjCoIiBeC_xHqqkZx_
//		pOle->SetOleClientItem(NULL);
//	}
////----- 00.08.25 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	pOle->m_dRatioX = m_dRatioX;
//	pOle->m_dRatioY = m_dRatioY;
////----- 00.08.25 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	pOle->m_mmptLeftTop = m_mmptLeftTop;
//	pOle->m_dRatioX = m_dRatioX;
//	pOle->m_dRatioY = m_dRatioY;
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	pOle->m_mmrtFrame = m_mmrtFrame;
//----- 05.06.13 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	if (m_pOleItem != NULL)
	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkK_xHqqkZx_NULL_xZkqqHx_iCmFiCmNiCmIiCkCiPoKiNiH_xHqqkZx_ -----
	{
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAjAfGiLeLiNoMjAkMiClFiBeBiDfCiDhDiBfLiClHiCoJiBeC_xHqqkZx_
		CMolipDrawCntrItem4_0* pItem = new CMolipDrawCntrItem4_0(g_pDoc);	// COleClientItem_xZkqqHx_iCmM_xHqqkZx_Subclass.
		pItem->CreateCloneFrom(m_pOleItem);
		// pOle_xZkqqHx_iCnGiCmMiDeBiDeDiDgFiDiAjAnNjCoIiBeC_xHqqkZx_
		pOle->m_pOleItem = pItem;
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmJiDeJiBfLiDgJiBfL_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
		pItem->SetOwnerObject(pOle);
	} else
	//----- OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkK_xHqqkZx_NULL_xZkqqHx_iCmMiPoKiNiH_xHqqkZx_ -----
	{
		// pOle_xZkqqHx_iCnGiCmMiDeBiDeDiDgFiDiAjAnNjCoIiBeC_xHqqkZx_
		pOle->m_pOleItem = NULL;
	}
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // FCObjOle::CopySelf.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::Move
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCpAiInKjDkOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	mmDX, mmDY	:_xZkqqHx_jFjEjFgJiCmMiInKjDkOjHmKiCpAiOhHjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::Move (mmetol mmDX, mmetol mmDY)
{
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_iDiKiDfEiDeDiDfJiDhEiDiMiBfLiDiAiCpAiInKjDkOiBeC_xHqqkZx_
//	m_mmrtResize += DBLPoint(mmDX, mmDY);
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iDhEiDiMiBfLiDiAiNlGiPoDiCpAiInKjDkOiBeC_xHqqkZx_
// 05.06.13 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_mmptLeftTop += DBLPoint(mmDX, mmDY);
	m_mmrtFrame += DBLPoint(mmDX, mmDY);
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::Move(mmDX, mmDY);
} // FCObjOle::Move.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::Resize
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCpAiDiKiDfEiDeDiDfJiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	bXPosi	: X_xZkqqHx_jFpLiMpMiCmMjElNjDfNiCpAiOhHjCoIiBeC_xHqqkZx_
 *			bYPosi	: Y_xZkqqHx_jFpLiMpMiCmMjElNjDfNiCpAiOhHjCoIiBeC_xHqqkZx_
 *			mmrtNew	: _xZkqqHx_iDiKiDfEiDeDiDfJiMoDiCmMiNmAjFfHiCpAiOhHjCoIiBeCiOmAiNmAjFfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.30 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void FCObjOle::Resize (BOOL bXPosi, BOOL bYPosi, const DBLRect& mmrtNew, const DBLRect& mmrtOld)
{
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_iDiKiDfEiDeDiDfJiDhEiDiMiBfLiDiAiCpAjFmPiNfIiBeC_xHqqkZx_
//	m_mmrtResize = mmrtNew;
////----- 00.08.25 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
//	if (m_pOleItem != NULL)
//	{
//		CSize size = m_pOleItem->GetSize();
////----- 00.09.19 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////		m_dRatioX = m_mmrtResize.Width() / (double(size.cx) / g_->dDisplayPPM);
////		m_dRatioY = m_mmrtResize.Height() / (double(size.cy) / g_->dDisplayPPM);
////----- 00.09.19 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//		//----- _xZkqqHx_iDfEiDeDiDfJjEoEjHkGiCpAiOfKiPgPiBeCjGjMiCkKiIoKiCpAiNgMiCkGiCmEiBeB_xHqqkZx_size _xZkqqHx_iCkK_xHqqkZx_ 0_xZkqqHx_iCmMiPoKiNiHiCpAiNgMjHlG_xHqqkZx_ -----
//		if (size.cx != 0)
//			m_dRatioX = m_mmrtResize.Width() / (double(size.cx) / g_->dDisplayPPM);
//		else
//			m_dRatioX = 1.0;
//		if (size.cy != 0)
//			m_dRatioY = m_mmrtResize.Height() / (double(size.cy) / g_->dDisplayPPM);
//		else
//			m_dRatioY = 1.0;
////----- 00.09.19 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//	}
////----- 00.08.25 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iDhEiDiMiBfLiDiAiCpAjFmPiNfIiBeC_xHqqkZx_
// 05.06.13 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	m_mmptLeftTop.SetPoint(mmrtNew.left, mmrtNew.top);
	m_mmrtFrame = mmrtNew;
//----- 05.06.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	if (m_pOleItem != NULL)
//	{
//		CSize size = m_pOleItem->GetSize();
//		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCmMiDfEiDeDiDfJiCkK_xHqqkZx_0_xZkqqHx_iCmMiPoKiNiHiCmNiBeB_xHqqkZx_10_xZkqqHx_iCpAjAnNjCoIiBeC_xHqqkZx_GetResizeFrame _xZkqqHx_iCmGiNiHiCoNiClJiCoJiBeC_xHqqkZx_
//		// JW CAD _xZkqqHx_iCmFjDfMiCoIjFhEiCkPiClNiDgGiBfLiDfOiCmNiBeBiDfEiDeDiDfJiCmMjGoCiCkCiCkJiCkPiCmJ_xHqqkZx_0 _xZkqqHx_iCpAjFnEiClHiCoHiClFiCkCiBeC_xHqqkZx_
//		if (size.cx == 0) size.cx = 10;
//		if (size.cy == 0) size.cy = 10;
//		//----- _xZkqqHx_iDfEiDeDiDfJjEoEjHkGiCpAiOfKiPgP_xHqqkZx_ -----
//		m_dRatioX = mmrtNew.Width() / (double(size.cx) / g_->dDisplayPPM);
//		m_dRatioY = mmrtNew.Height() / (double(size.cy) / g_->dDisplayPPM);
//	} else
//	{
//		m_dRatioX = mmrtNew.Width();
//		m_dRatioY = mmrtNew.Height();
//	}
//----- 05.06.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 00.11.27 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	BASE_CLASS::Resize(bXPosi, bYPosi, mmrtNew, mmrtOld);
} // FCObjOle::Resize.

//----- 01.01.14 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
///*************************************************************************
// * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	FCObjOle::InStreamOld
// *
// * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMiPpDjBnEiCpAiDfIiDgHiDiKiBfLiDiAiCkJiCoHjDmHiCnNiNjOiCnOiBeC_xHqqkZx_V3.0_xZkqqHx_iImIjBePiCmMiDhEiDeAiDeDiDiLjHhAiBeC_xHqqkZx_
// *
// * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	:_xZkqqHx_jDmHiCnNiNjOiCnNjHhAiCmM_xHqqkZx_FCUndoArchive_xZkqqHx_iBeC_xHqqkZx_
// *
// * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.11.27 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
// *************************************************************************/
//void FCObjOle::InStreamOld (FCUndoArchive& ar)
//{
//	DBLRect mmrtResize;
//	ar >> mmrtResize;		// _xZkqqHx_iDiKiDfEiDeDiDfJiDhEiDiMiBfLiDiAiBeC_xHqqkZx_
//	// _xZkqqHx_iDhEiDiMiBfLiDiAiCmMiNlGiPoDiNmAjFfHiBeC_xHqqkZx_
//	m_mmptLeftTop.SetPoint(mmrtResize.left, mmrtResize.top);
//	// OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmGiDhEiDiMiBfLiDiAiCmMiKgHiPgLjEoEiBeCiJlMiCmMjCgMiCmGiClFiCmEiBeB_xHqqkZx_ResizeFrame_xZkqqHx_iCmMjBoFiCkLiClDiCpAjAnNjCoIiBeC_xHqqkZx_
//	m_dRatioX = mmrtResize.Width();
//	m_dRatioY = mmrtResize.Height();
//} // FCObjOle::InStreamOld.
//----- 01.01.14 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
