// FoundDoc.cpp : MC2FoundDoc _xZkqqHx_iDeOiDiJiDfIiCmMjDkOiNoMiCmMjCoIiLgAiCpAiNhDiCkCiCnMiClHiBeC_xHqqkZx_
//

#include "stdafx.h"
#include "2CntrItem.h"		// For CMolipDrawCntrItem.
#include "2App.h"			// For g_pApp.
#include "2View.h"			// For g_pView.
#include "2NewFDObjAny.h"	// For NewFDObjAny.
#include "2ChipRec.h"		// For MC2ChipTbl::OutStream.etc.
#include "2ObjOle.h"		// For MC2ObjOle.
#include "2ObjIDTbl.h"		// For MC2ObjIDTbl.
#include "2LinkManager.h"	// For m_pLinkManager;
#include "2FoundDoc.h"		// This header.

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

// MC2FoundDoc_xZkqqHx_jFmPjAjEiBeC_xHqqkZx_
MC2FoundDoc* g_pDoc = NULL;


/////////////////////////////////////////////////////////////////////////////
// MC2FoundDoc

IMPLEMENT_DYNCREATE(MC2FoundDoc, COleServerDoc)

BEGIN_MESSAGE_MAP(MC2FoundDoc, COleServerDoc)
	//{{AFX_MSG_MAP(MC2FoundDoc)
	//}}AFX_MSG_MAP
	// _xZkqqHx_iDgGiDhEiDeIiDiLiDgHiCmM_xHqqkZx_ OLE _xZkqqHx_iDfCiDjDiDgFiDgJiCmMjCoIiLgAiCpAiOgHjHhAiJmCjEfMiCmJiClFiCnMiClHiBeC_xHqqkZx_
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// MC2FoundDoc _xZkqqHx_iDeOiDiJiDfIiCmMiNfMjChK_xHqqkZx_/_xZkqqHx_iPmBjGmF_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::MC2FoundDoc
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_. OnCreate_xZkqqHx_jDjJiKnGjAjEiCkKiCmIiCkCiClNiCnPiBeBiClBiClBiCmFiDiBiDjDiDgPjFmPjAjEiCpA_xHqqkZx_
 *			_xZkqqHx_iPiJiKpKiJlL_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.10.15 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
MC2FoundDoc::MC2FoundDoc ()
{
	// OLE _xZkqqHx_jFkBiNiHiDhEiDeAiDeDiDiLiCpAiOgHjHhAiClFiCnMiClHiBeC_xHqqkZx_
	EnableCompoundFile();
	// _xZkqqHx_iDhHiDgCiDfPjDmHiCnNiNjOiCnNiCmMiCnNiBeC_xHqqkZx_
	m_bHeaderLoadOnly = FALSE;
	// _xZkqqHx_jFfMiOkGjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iKmHjHjNiDgFiBfLiDhFiDiLiCmMiNoMjAkMiBeC_xHqqkZx_
	m_oitpObjIDTbl = new MC2ObjIDTbl;
	// _xZkqqHx_iDiKiDjDiDeOiDhNiDgMiBfLiDfHiDiDiCmMiNoMjAkMiBeC_xHqqkZx_
	m_pLinkManager = new MC2LinkManager();
} // MC2FoundDoc::MC2FoundDoc.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::~MC2FoundDoc
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgGiDfIiDgHiDiJiDeOiDfOiBeC_xHqqkZx_OnDestroy_xZkqqHx_jDjJiKnGjAjEiCkKiCmIiCkCiClNiCnPiBeBiClBiClBiCmFiDiBiDjDiDgPjFmPjAjEiCpA_xHqqkZx_
 *			_xZkqqHx_iKeKjFpKiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.10.15 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
MC2FoundDoc::~MC2FoundDoc ()
{
	// _xZkqqHx_jFjEjFgJ_xHqqkZx_ID_xZkqqHx_iDgFiBfLiDhFiDiLiBeBiDfEiDhFiDgFiBfLiDhFiDiLiCpAiNoNiPjMiBeC_xHqqkZx_
	delete m_oitpObjIDTbl;
	m_oitpObjIDTbl = NULL;
	// _xZkqqHx_iDiKiDjDiDeOiDhNiDgMiBfLiDfHiDiDiCmMiNoNiPjMiBeC_xHqqkZx_
	delete m_pLinkManager;
	m_pLinkManager = NULL;
} // MC2FoundDoc::~MC2FoundDoc.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::SetRootStorage
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCpAjChFiCkLiKlHiCkGiCoJiBeCiDeBiBfLiDeKiDeDiDhFiCkJiCoH_xHqqkZx_OLE_xZkqqHx_iCpAjDmHiCnNiNjOiCnOiClNiCnPiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pStorage	:_xZkqqHx_jChFiCkLiKlHiCkGiCoJiDfIiDgHiDiMiBfLiDfHiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_iCoAiCmGiCoAiCmGiCmMiDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iDeBiBfLiDeKiDeDiDhFiCkJiCoH_xHqqkZx_OLE_xZkqqHx_iCpAjDmHiCnNiNjOiCnOiPoKiNiHiBeBjFkBiNiHiDhEiDeAiDeDiDiLiCmFiCkAiCoKiCmOiBeB_xHqqkZx_
 *			_xZkqqHx_iDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCmGiDeBiBfLiDeKiDeDiDhFiCmNiDfKiDgCiDgHiCmJiCmIiCmBiCmEiCkCiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_jBkGiClPiBeBiDeBiBfLiDeKiDeDiDhFiCmMjDmHiCnNiNjOiCnNiImKjChFiCkKiClPiCoFiCkEiCmH_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmM_xHqqkZx_
 *			_xZkqqHx_iImKjChFiCmJiCmIiCmBiClNiCmGiCkLiBeBjDmHiCnNiNjOiCnNjAoGiCmNiDeBiBfLiDeKiDeDiDhFiCmFiCmNiCmIiCkN_xHqqkZx_
 *			_xZkqqHx_iDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCmJiCmIiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiClNiCnPiBeBiDeBiBfLiDeKiDeDiDhFiCmGiDfKiDgCiDgHiCmJiCmIiCmBiClNiDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCpA_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiDgIiDeMiDiFiDiBiDjDiDgHiCmJjDgOiClFiCmEiCoCiCoJjFeLjHhGiCkKiCkAiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iDhEiDiJiDgCiDgHiDhEiDeAiDeDiDiLiCmMiPoKiNiHiCmNiBeBiClBiCmMjFeLjHhGiCmNiCmIiCkCiBeC_xHqqkZx_
 *			_xZkqqHx_iClNiClOiClFiBeBiDhEiDiJiDgCiDgHiDhEiDeAiDeDiDiLiCmFiCkAiCmBiCmEiCoAiBeBjDmHiCnNiNjOiCnNiOjOiCmJ_xHqqkZx_
 *			OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCkKjBlGiNnNiClHiCoJiPoKiNiHiBeBiImIiJlKiCmMiImKjChFiCmF_xHqqkZx_
 *			_xZkqqHx_iDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCmJ_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiNoMjAkMiClFiCmJ_xHqqkZx_
 *			_xZkqqHx_iNhDiCmBiCmEiClFiCnMiCkEiBeC_xHqqkZx_
 *			_xZkqqHx_iClBiCmMiClNiCnPiBeBiDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCpA_xHqqkZx_(-1)_xZkqqHx_iCmFjChFiCkLiKlHiCkGiCoJiClBiCmGiCmN_xHqqkZx_
 *			_xZkqqHx_iClFiCmIiCkCiBeC_xHqqkZx_
 *			OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCpAiDhEiDiJiDgCiDgHiDhEiDeAiDeDiDiLiCnGiPjBiCkLiPgPiClHiPoKiNiHiCmN_xHqqkZx_
 *			_xZkqqHx_iDiLiBfLiDgHiDfIiDgHiDiMiBfLiDfHiCpAjEePiCmMiClNiCnPiCmJ_xHqqkZx_(-1)_xZkqqHx_iCmJjChFiCkLiKlHiCkGiCmEiBeB_xHqqkZx_
 *			_xZkqqHx_iJlNiCoAiPiIjHjNiCkKiCmIiCkCiCoGiCkEiCmJiClFiCmEiCkIiCkNiBeC_xHqqkZx_
 *			
 *			void COleClientItem::ReadItemCompound(CArchive& ar)
 *			{
 *				:
 *				:
 *				GetItemStorageCompound();
 *				~~~~~~~~~~~~~~~~~~~~~~~~~_xZkqqHx_iClBiCmMiKnGjAjEjCiG_xHqqkZx_
 *
 *			void COleClientItem::GetItemStorageCompound()
 *			{
 *				:
 *				:
 *				SCODE sc = pDoc->m_lpRootStg->CreateStorage(T2COLE(szItemName),
 *					STGM_CREATE|STGM_READWRITE|STGM_TRANSACTED|STGM_SHARE_EXCLUSIVE,
 *					0, 0, &lpStorage);
 *				~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_xZkqqHx_iClBiClB_xHqqkZx_
 *
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	03.06.05 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
LPSTORAGE MC2FoundDoc::SetRootStorage (LPSTORAGE pStorage)
{
	LPSTORAGE pStorageOld = m_lpRootStg;
	m_lpRootStg = pStorage;
	return pStorageOld;
} // MC2FoundDoc::SetRootStorage.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::SetFileType
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iPgPjHmNiClHiCoJiDhEiDeAiDeDiDiLiMfOiCpAjAnNjCoIiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	df	:_xZkqqHx_iDhEiDeAiDeDiDiLiMfOiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.13 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::SetFileType (FTDocumentFormat df)
{
	m_headerInf.SetFileType(df);
} // MC2FoundDoc::SetFileType.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::InStreamCore
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDeBiDgGiBfLiDfOiBgJiDhEiDiJiDgCiDgHiBeFjFkBiNiHiBgKiCpAjDpMjHmNiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar			:_xZkqqHx_iDgGiBfLiDfOiCpAjDmHiCnNiNjOiCnOiDeBiBfLiDeKiDeDiDhFiCpAiOhHjCoIiBeC_xHqqkZx_
 *			bIsFcore	:_xZkqqHx_iDhEiDiJiDgCiDgHiDfCiDeBiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeBjFkBiNiHiDfCiDeBiCmMiPoKiNiHiCmN_xHqqkZx_FALSE_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::InStreamCore (MC2ARCHIVE& ar, BOOL bIsFcore)
{
	// _xZkqqHx_iDhHiDgCiDfPiPoOjFpBiCmMjDpMjHmNiBeC_xHqqkZx_
	m_headerInf.InStream(ar);
	// _xZkqqHx_iDhHiDgCiDfPjDmHiCnNiNjOiCnNiCmMiCnNiCmIiCoHjFjMiLeBiBeC_xHqqkZx_
	if (m_bHeaderLoadOnly) return;
	if (bIsFcore)
	//----- _xZkqqHx_iDhEiDiJiDgCiDgHiDfCiDeBiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_jFlGiPjBiDhGiDiNiDhAiDgFiDeCiDfEiDeDiDfJiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
		long lDocPropertySize;
		ar >> lDocPropertySize;
		ASSERT(lDocPropertySize == 0);
	}
	// _xZkqqHx_iDhGiDiKiDjDiDfOiPoOjFpBjDjJiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	g_pApp->InStream(ar);
	// _xZkqqHx_iKmCiLkLiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	MC2Env::InStream(ar);
	// _xZkqqHx_iDgDiBfLiDiLjAnNjCoIiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	g_pView->InStream(ar);
	MC2ChipTbl::InStream(ar);
	InStream(ar);
	// _xZkqqHx_iDiKiDjDiDeOiPoOjFpBiCpAjDpMjHmNiClHiCoJiBeC_xHqqkZx_
	m_pLinkManager->InStream(ar);

	// COleDocument::Serialize _xZkqqHx_iCmJiCkIiCkCiCmE_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmMjDpMiPgPjHmNiCkK_xHqqkZx_
	// _xZkqqHx_iOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
	// V2_xZkqqHx_iDhEiDeIiBfLiDhNiDgCiDgHiCmFiCmNiBeB_xHqqkZx_ObjOle::OutStream _xZkqqHx_iCmJiCkIiCkCiCmE_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmM_xHqqkZx_
	// _xZkqqHx_jDpMiPgPjHmNiCmNiOmAiNhDiClDiCoKiCmIiCkCiClNiCnPiBeB_xHqqkZx_COleServerDoc::Serialize(ar)_xZkqqHx_iCpAiMmEiCnBiPgPiClH_xHqqkZx_
	// _xZkqqHx_jFeLjHhGiCkKiCkAiCoJiBeC_xHqqkZx_
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	if (ar.GetRedoCount() != 0)
//		FFUtilErrI->ThrowMiscException(L"Error::Core2 To Core2 Converter");
//	COleServerDoc::Serialize(*ar.GetArchive());
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	COleServerDoc::Serialize(ar);
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	//----- COleDocument_xZkqqHx_jCiGiCmJjDmHiCnNiNjOiCnMiCoKiClNiDeBiDeDiDgFiDiAiCpAiBeB_xHqqkZx_ObjOle_xZkqqHx_iCmJjAnNjCoIiClHiCoJ_xHqqkZx_ -----

	// _xZkqqHx_iNoNiPjMiClHiCnHiCkL_xHqqkZx_OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAiDgPiDgCiDeOiDeBiDgCiDhGiBeC_xHqqkZx_
// 06.05.10 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	MfcOleClientItemPVector vOleBack;
	vector<COleClientItem*> vOleBack;

	POSITION pos = GetStartPosition();
	for (;;)
	{
		CMolipDrawCntrItem* pItem = (CMolipDrawCntrItem*)GetNextClientItem(pos);
		if (pItem == NULL) break;
		//-----------------------------------------------------------------
		// _xZkqqHx_jGhLjHiIiCmIiCoHiImIiJlKiCmMiPiIjHjNiCmNjFhDjHhGiClOiCkKiBeB_xHqqkZx_2.0A3_xZkqqHx_iCmFiCmNiNoNiPjMiClDiCoKiClNiCmNiClIiCmM_xHqqkZx_OLE_xZkqqHx_jFjEjFgJiCmM_xHqqkZx_
		// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCkKiDfKiBfLiDhFiClDiCoKiCmEiClFiCnMiCmBiCmEiCkCiCoJiCmMiCmFiBeBiClLiCmMiClNiCnPiCmMiPiIjHjNiBeC_xHqqkZx_
		//-----------------------------------------------------------------
		// _xZkqqHx_jGlDiMpIiCmM_xHqqkZx_ObjID_xZkqqHx_iCmMiPoKiNiHiCmNiBeBiOjPiCmMiDiLiBfLiDhGiCnGiBeC_xHqqkZx_
		if (pItem->GetOwnerObjectID() == DWORD(-1)) continue;
		MC2ObjBase* pObj = ObjID2Object(pItem->GetOwnerObjectID());
		if (pObj == NULL || !pObj->IsKindOf(FDOJ_OLE))
		{
			vOleBack.push_back(pItem);
		} else
		{
			((MC2ObjOle*)pObj)->SetOleClientItem(pItem);
		}
	}
	// OLE_xZkqqHx_iDeBiDeDiDgFiDiAiCpAiNoNiPjMiClHiCoJiBeC_xHqqkZx_
// 06.05.10 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	MfcOleClientItemPVector::iterator iOle;
	vector<COleClientItem*>::iterator iOle;
	for (iOle = vOleBack.begin(); iOle != vOleBack.end(); iOle++)
	{
		// OleClientItem_xZkqqHx_iCpAiNoNiPjMiBeC_xHqqkZx_OleClientItem_xZkqqHx_iCmNiBeB_xHqqkZx_COleDocument_xZkqqHx_iCmFiKmHjHjNiClDiCoKiCmE_xHqqkZx_
		// _xZkqqHx_iCkCiCoJiCmMiCmFiBeB_xHqqkZx_Delete_xZkqqHx_iKnGjAjEiCmFiNoNiPjMiClHiCoJiBeC_xHqqkZx_
		(*iOle)->Delete();
	}
} // MC2FoundDoc::InStreamCore.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::OutStreamCore
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDeBiDgGiBfLiDfOiBgJiDhEiDiJiDgCiDgHiBeFjFkBiNiHiBgKiCpAiPgPjHmNiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar			:_xZkqqHx_iDgGiBfLiDfOiCpAiPjBiCkLiPgPiClHiDeBiBfLiDeKiDeDiDhFiCpAiOhHjCoIiBeC_xHqqkZx_
 *			bIsFcore	:_xZkqqHx_iDhEiDiJiDgCiDgHiDfCiDeBiCmMiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeBjFkBiNiHiDfCiDeBiCmMiPoKiNiHiCmN_xHqqkZx_FALSE_xZkqqHx_iCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.02 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::OutStreamCore (MC2ARCHIVE& ar, BOOL bIsFcore)
{
	// _xZkqqHx_iDhHiDgCiDfPiPoOjFpBiCpAiPgPjHmNiBeC_xHqqkZx_
	m_headerInf.OutStream(ar);

	if (bIsFcore)
	//----- _xZkqqHx_iDhEiDiJiDgCiDgHiDfCiDeBiCmMiPoKiNiH_xHqqkZx_ -----
	{
		// _xZkqqHx_jFlGiPjBiDhGiDiNiDhAiDgFiDeCiDfEiDeDiDfJiCpAiPjBiCkLiNjOiCnOiBeC_xHqqkZx_
		long lDocPropertySize = 0;
		ar << lDocPropertySize;
	}

	// _xZkqqHx_iDhGiDiKiDjDiDfOiPoOjFpBjDjJiCpAiPjBiCkLiPgPiClHiBeC_xHqqkZx_
	g_pApp->OutStream(ar);
	// _xZkqqHx_iKmCiLkLiPoOjFpBiCpAiPjBiCkLiPgPiClHiBeC_xHqqkZx_
	MC2Env::OutStream(ar);
	// _xZkqqHx_iDgDiBfLiDiLjAnNjCoIiPoOjFpBiCpAiPjBiCkLiPgPiClHiBeC_xHqqkZx_
	g_pView->OutStream(ar);
	MC2ChipTbl::OutStream(ar);
	OutStream(ar);
	// _xZkqqHx_iDiKiDjDiDeOiPoOjFpBiCpAiPgPjHmNiClHiCoJiBeC_xHqqkZx_
	m_pLinkManager->OutStream(ar);
	// COleDocument::Serialize _xZkqqHx_iCmJiCkIiCkCiCmE_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmMjDpMiPgPjHmNiCkK_xHqqkZx_
	// _xZkqqHx_iOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
	// V2_xZkqqHx_iDhEiDeIiBfLiDhNiDgCiDgHiCmFiCmNiBeB_xHqqkZx_ObjOle::OutStream _xZkqqHx_iCmJiCkIiCkCiCmE_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCmM_xHqqkZx_
	// _xZkqqHx_jDpMiPgPjHmNiCmNiOmAiNhDiClDiCoKiCmIiCkCiClNiCnPiBeB_xHqqkZx_COleServerDoc::Serialize(ar)_xZkqqHx_iCpAiMmEiCnBiPgPiClH_xHqqkZx_
	// _xZkqqHx_jFeLjHhGiCkKiCkAiCoJiBeC_xHqqkZx_
// 06.05.10 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	COleServerDoc::Serialize(*ar.GetArchive());
	COleServerDoc::Serialize(ar);
} // MC2FoundDoc::OutStreamCore.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::LoadTemplate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgFiDjDiDhGiDiMiBfLiDgHiDhEiDeAiDeDiDiLiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	wcpFilePath	:_xZkqqHx_iDhEiDeAiDeDiDiLiDhAiDfIjGlMiCpAiOhHjCoIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jAkMiMpHiClFiClNiPoKiNiHiCmN_xHqqkZx_TRUE_xZkqqHx_iBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	05.06.03 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
BOOL MC2FoundDoc::LoadTemplate (const wchar_t* wcpFilePath)
{
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_jFjEjFgJjBkOjAkLiDfIiDgHiDiKiBfLiDiAiCpAiOoGjDlOiBeC_xHqqkZx_
//	FCUndoArchive* ar = FFClassCreate((FCUndoArchive*)NULL);
//	ar->Initialize(wcpFilePath, FD_ARCHIVE_LOAD, this, TRUE);
//	// _xZkqqHx_iDgFiDjDiDhGiDiMiBfLiDgHiCmMiDhHiDgCiDfPiPoOjFpBiBeC_xHqqkZx_
//	m_headerInf.InStream(*ar);
//	// _xZkqqHx_iKmCiLkLjFnLjBlGjFmPjAjEiCpAjDmHiCnNiNjOiCnNiBeC_xHqqkZx_
//	MC2Env::InStream(*ar);
//	// _xZkqqHx_iDgDiBfLiDiLjAnNjCoIiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
//	g_pView->InStream(*ar);
//	// _xZkqqHx_iDgAiDgCiDhGjDmHiCnNiNjOiCnNiBeC_xHqqkZx_
//	MC2ChipTbl::InStream(*ar);
//	// _xZkqqHx_iDeBiBfLiDeKiDeDiDhFiCpAiNoNiPjMiBeC_xHqqkZx_
//	FFClassDelete(ar);
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_iDeBiBfLiDeKiDeDiDhFiCpAiNoMjAkMiBeC_xHqqkZx_
	CFile file(WStrToTStr(wcpFilePath), CFile::modeRead | CFile::shareDenyNone);
	CArchive ar(&file, CArchive::load);
	ar.m_pDocument = this;
	// _xZkqqHx_iDgFiDjDiDhGiDiMiBfLiDgHiCmMiDhHiDgCiDfPiPoOjFpBiBeC_xHqqkZx_
	m_headerInf.InStream(ar);
	// _xZkqqHx_iKmCiLkLjFnLjBlGjFmPjAjEiCpAjDmHiCnNiNjOiCnNiBeC_xHqqkZx_
	MC2Env::InStream(ar);
	// _xZkqqHx_iDgDiBfLiDiLjAnNjCoIiPoOjFpBiCpAjDmHiCnNiNjOiCnOiBeC_xHqqkZx_
	g_pView->InStream(ar);
	// _xZkqqHx_iDgAiDgCiDhGjDmHiCnNiNjOiCnNiBeC_xHqqkZx_
	MC2ChipTbl::InStream(ar);
	ar.Close();
	file.Close();
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	return TRUE;
} // MC2FoundDoc::LoadTemplate.

void MC2FoundDoc::SetHeaderLoadOnly (BOOL bHeaderLoadOnly)
{
	// _xZkqqHx_iDhHiDgCiDfPjDmHiCnNiNjOiCnNiCmMiCnNiBeC_xHqqkZx_
	m_bHeaderLoadOnly = bHeaderLoadOnly;
} // MC2FoundDoc::SetHeaderLoadOnly.

const MC2HeaderInf* MC2FoundDoc::GetHeaderInfo () const
{
	return &m_headerInf;
} // MC2FoundDoc::GetHeaderInfo.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::RegisterObject
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jAfGiClFiCkNjAlGjAkMiClDiCoKiClNjFjEjFgJiCpAiOhHjCoIiClFiClN_xHqqkZx_ID_xZkqqHx_iCmFjDgPjIfOiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pObj	: _xZkqqHx_jDgPjIfOiClHiCoJjFjEjFgJ_xHqqkZx_
 *			dwID	: _xZkqqHx_jDgPjIfOiClHiCoJjFjEjFgJiCmM_xHqqkZx_ID
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	ID_xZkqqHx_iCmMiPgEjFkBiCpAiDgAiDeGiDgCiDeOiClFiCmIiCkCiCmMiCmFiBeB_xHqqkZx_m_obppObjID2P_xZkqqHx_iCkKiClHiCnHiCmEiLpDiCmMiOjOiBeB_xHqqkZx_
 *			_xZkqqHx_iClHiCmIiCoNiClP_xHqqkZx_m_dwObjID2PNext = 0_xZkqqHx_iCmMiOjOiCmMiCnNiOgHjHhAiCmFiCkLiCoJiBeCjAfGiLeLiCmJiDhEiDeAiDeDiDiL_xHqqkZx_
 *			_xZkqqHx_iCpAiDiNiBfLiDgIiClHiCoJiOjOiCmMiCnNiCmGiNgMiCkGiCmEiCoGiCkCiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.14 Fukushiro M. _xZkqqHx_iDgFiBfLiDhFiDiLiCkK_xHqqkZx_NULL_xZkqqHx_iCmMiPiIjHjNiCpAjCmHiJmB_xHqqkZx_.ChipTbl::InStream_xZkqqHx_iCmMiInH_xHqqkZx_.
 *************************************************************************/
void MC2FoundDoc::RegisterObject (MC2ObjBase* pObj, DWORD dwID)
{
	if (m_oitpObjIDTbl != NULL)
		m_oitpObjIDTbl->Register(pObj, dwID);
} // MC2FoundDoc::RegisterObject.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::UnregisterObject
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCpA_xHqqkZx_ID_xZkqqHx_jDgPjIfOiCkJiCoHiCmNiClIiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	pObj	: _xZkqqHx_jFjEjFgJ_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.11.14 Fukushiro M. _xZkqqHx_iDgFiBfLiDhFiDiLiCkK_xHqqkZx_NULL_xZkqqHx_iCmMiPiIjHjNiCpAjCmHiJmB_xHqqkZx_.ChipTbl::InStream_xZkqqHx_iCmMiInH_xHqqkZx_.
 *************************************************************************/
void MC2FoundDoc::UnregisterObject (MC2ObjBase* pObj)
{
	// _xZkqqHx_jFjEjFgJ_xHqqkZx_ID_xZkqqHx_iDgFiBfLiDhFiDiLiCkJiCoHjFjEjFgJiCpAiPjMiCkN_xHqqkZx_.
	if (m_oitpObjIDTbl != NULL)
		m_oitpObjIDTbl->Unregister(pObj->GetObjID());
} // MC2FoundDoc::UnregisterObject.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::ObjID2Object
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCkJiCoHjFjEjFgJiCpAjCfEiClHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	_xZkqqHx_jFjEjFgJ_xHqqkZx_ID.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jFjEjFgJ_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.10.17 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *			98.11.14 Fukushiro M. _xZkqqHx_iDgFiBfLiDhFiDiLiCkK_xHqqkZx_NULL_xZkqqHx_iCmMiPiIjHjNiCpAjCmHiJmB_xHqqkZx_.ChipTbl::InStream_xZkqqHx_iCmMiInH_xHqqkZx_.
 *************************************************************************/
MC2ObjBase* MC2FoundDoc::ObjID2Object (DWORD dwID) const
{
	if (m_oitpObjIDTbl != NULL)
		return (MC2ObjBase*)m_oitpObjIDTbl->IDtoObject(dwID);
	return NULL;
} // MC2FoundDoc::ObjID2Object.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::OutStream
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiDgGiBfLiDfOiBgJiDhEiDeAiDeDiDiLiBgKiCmMiDfGiDiKiDeBiDiLiPgPjHmNiCpAiNhDiCkEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar		:_xZkqqHx_iPgPjHmNjAoG_xHqqkZx_.
 *			vpObj	:_xZkqqHx_iPgPjHmNiClHiCoJjFjEjFgJiCmMiPfHiNiHiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	vpObj_xZkqqHx_iCmFiOhHjCoIiClDiCoKiCoJjFjEjFgJiPfHiNiHiCmMiDhGiDiNiDhAiDgFiDeCiDgGiBfLiDfOiCpA_xHqqkZx_ar_xZkqqHx_iCnGiPgPjHmNiClHiCoJiBeC_xHqqkZx_
 *			vpObj_xZkqqHx_iCkK_xHqqkZx_NULL_xZkqqHx_iCmMiPoKiNiHiCmNiBeBjBfDiCmEiCmMjFfMiOkGjFjEjFgJiCpAiPgPjHmNiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.10.15 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *			99.04.26 Fukushiro M. _xZkqqHx_iChJiDgPiDgCiDhEiDeAjFmPiNfIiCmJjElKiCkEiPeDjAlDiBeC_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::OutStream (MC2ARCHIVE& ar) const
{
	MC2ObjBaseVector::const_iterator iON;

	// _xZkqqHx_jFjEjFgJiCmMjAjEiCpAiPgPjHmNiClHiCoJiBeC_xHqqkZx_
	ar << (long)m_vZOrder.size();
	// _xZkqqHx_jFjEjFgJiCmMiDfIiDgHiDiKiBfLiDiAiCpAiPgPjHmNiClHiCoJiBeC_xHqqkZx_
	for (iON = m_vZOrder.begin(); iON != m_vZOrder.end(); iON++)
	{
		ar << (BYTE)((*iON)->Type());
		(*iON)->OutStream(ar);
	}
} // MC2FoundDoc::OutStream.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::InStream
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiDgGiBfLiDfOiBgJiDhEiDeAiDeDiDiLiBgKiCmMiDfGiDiKiDeBiDiLjDpMjHmNiCpAiNhDiCkCiBeBjFjEjFgJiCpAjAlGjAkMiClHiCoJiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar		:_xZkqqHx_jDpMjHmNjAoG_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.10.15 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *			99.01.16 Fukushiro M. _xZkqqHx_jFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCmMjDgPjIfOiPiIjHjNiCpAjCmHiJmBiBeC_xHqqkZx_
 *			99.04.26 Fukushiro M. _xZkqqHx_iChJiDgPiDgCiDhEiDeAjFmPiNfIiCmJjElKiCkEiPeDjAlDiBeC_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::InStream (MC2ARCHIVE& ar)
{
	BYTE		byType;
	long		lSize;
	MC2ObjBase*	pObj;
	//----- _xZkqqHx_jFjEjFgJiCmMjDmHiCnNiNjOiCnN_xHqqkZx_ -----
	ar >> lSize;
	while (0 < lSize--)
	{
		ar >> byType;
		pObj = NewFDObjAny(FTObjectType(byType));
		pObj->InStream(ar);
		// _xZkqqHx_jFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCpAiDgFiBfLiDhFiDiLiCmJiLkNjAkHjDgPjIfOiBeCiDePiDiLiBfLiDhGiCmMiPoKiNiHiCmNiBeBiDePiDiLiBfLiDhGiDiBiDjDiDgPiCoAjDgPjIfOiClDiCoKiCoJiBeC_xHqqkZx_
		pObj->RegisterObjForceID();
		// _xZkqqHx_jFjEjFgJiCpA_xHqqkZx_Z_xZkqqHx_iDgPiDgCiDhEiDeAiCmJjDgPjIfOiBeC_xHqqkZx_
		m_vZOrder.push_back(pObj);
	}
} // MC2FoundDoc::InStream.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::DeleteContents
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCmMiDgGiBfLiDfOiCpAiNoNiPjMiClFiBeBiNmEiCnBiPiJiKpKiJlLiClHiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgH_xHqqkZx_ _xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiOkJjAgHiCmNjEgKiKpMiClJiClIiBeBiDgIiDeMiDiFiDiBiDjDiDgHiCmM_xHqqkZx_
 *			_xZkqqHx_iDgGiBfLiDfOiCpAiNoNiPjMiClHiCoJiClNiCnPiCmJiBeBiDhEiDiMiBfLiDiAiDiPiBfLiDeOiCkKiMmEiCnBiPgPiClHiBeC_xHqqkZx_
 *			_xZkqqHx_iImIiJlKiCmMiCfCiCmCiCmMiKnGjAjEiCkJiCoHiOmAiNhDiClDiCoKiCoJiBeC_xHqqkZx_
 *			_xZkqqHx_iBeF_xHqqkZx_COleServerDoc::OnNewDocument
 *			_xZkqqHx_iBeF_xHqqkZx_COleServerDoc::OnOpenDocument
 *			_xZkqqHx_iBeF_xHqqkZx_CFrameWnd::OnClose
 *
 * <_xZkqqHx_jCiNiInD_xHqqkZx_>	_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjEgKiKpMiOjOiCmJiClBiCmMiKnGjAjEiCkKiMmEiCmOiCoKiCoJiOjOiCmNiBeBiKpJiCmJ_xHqqkZx_View_xZkqqHx_iCmNjEgKiKpM_xHqqkZx_
 *			_xZkqqHx_iClDiCoKiCmEiCkCiCoJiClBiCmGiCmJjCiNiInD_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	98.10.15 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::DeleteContents ()
{
	//----- _xZkqqHx_jFjEjFgJiCpAiNoNiPjM_xHqqkZx_ -----
	MC2ObjBaseVector::const_iterator iObj;
	for (iObj = m_vZOrder.begin();
		 iObj != m_vZOrder.end(); iObj++)
	{
		delete *iObj;
	}
	// _xZkqqHx_iDgAiDgCiDhGiDgFiBfLiDhFiDiLiCmMiDeOiDiKiDeBiBeC_xHqqkZx_
	MC2ChipTbl::Clear();
	m_vZOrder.clear();
	// _xZkqqHx_jFfMiOkGjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iDgFiBfLiDhFiDiLiCpAiDeOiDiKiDeB_xHqqkZx_.
	m_oitpObjIDTbl->ClearAll();
	// _xZkqqHx_iDiKiDjDiDeOiDhNiDgMiBfLiDfHiDiDiCpAiDeOiDiKiDeBiBeC_xHqqkZx_
	m_pLinkManager->ClearAll();
	// _xZkqqHx_iKmCiLkLjFnLjBlGjFmPjAjEiCpAiDeOiDiKiDeBiBeC_xHqqkZx_
	MC2Env::ClearEnvTbl();
	// _xZkqqHx_iDfIiBfLiDhAiBfLiDeOiDiJiDfIiCmMiDiBiDjDiDgPiKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	COleServerDoc::DeleteContents();
} // MC2FoundDoc::DeleteContents.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC2FoundDoc::Serialize
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfGiDiKiDeBiDiJiDeDiDfJiBgJiDgGiBfLiDfOiCmMjDpMiPgPjHmNiBgKiCpAiNhDiCkEiBeC_xHqqkZx_
 *
 * <_xZkqqHx_iIpIjAjE_xHqqkZx_>	ar	:_xZkqqHx_iDfGiDiKiDeBiDiJiDeDiDfJjHhAiDeBiBfLiDeKiDeDiDhFiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	99.04.28 Fukushiro M. _xZkqqHx_iDfCiDiBiDjDiDgHiNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC2FoundDoc::Serialize (CArchive& ar)
{
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	// _xZkqqHx_jFjEjFgJjBkOjAkLiDfIiDgHiDiKiBfLiDiAiCpAiOoGjDlOiBeC_xHqqkZx_
//	FCUndoArchive* udar = FFClassCreate((FCUndoArchive*)NULL);
//	udar->Initialize(ar);
//	if (ar.IsStoring())
//	{
//		OutStreamCore(*udar, FALSE);
//	}
//	else
//	{
//		InStreamCore(*udar, FALSE);
//	}
//	// _xZkqqHx_iDeBiBfLiDeKiDeDiDhFiCpAiNoNiPjMiBeC_xHqqkZx_
//	FFClassDelete(udar);
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	// _xZkqqHx_jFjEjFgJjBkOjAkLiDfIiDgHiDiKiBfLiDiAiCpAiOoGjDlOiBeC_xHqqkZx_
	if (ar.IsStoring())
	{
		OutStreamCore(ar, FALSE);
	}
	else
	{
		InStreamCore(ar, FALSE);
	}
//----- 06.05.10 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
} // MC2FoundDoc::Serialize.

/////////////////////////////////////////////////////////////////////////////
// MC2FoundDoc _xZkqqHx_iDfEiBfLiDgPiBfL_xHqqkZx_ _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_

COleServerItem* MC2FoundDoc::OnGetEmbeddedItem()
{
	return NULL;
}

/////////////////////////////////////////////////////////////////////////////
// MC2FoundDoc _xZkqqHx_iDfGiDiKiDeBiDiJiDeDiDfLiBfLiDfGiDiHiDjD_xHqqkZx_

/////////////////////////////////////////////////////////////////////////////
// MC2FoundDoc _xZkqqHx_iDeOiDiJiDfIiCmMjAgGjCgG_xHqqkZx_

#ifdef _DEBUG
void MC2FoundDoc::AssertValid() const
{
	COleServerDoc::AssertValid();
}

void MC2FoundDoc::Dump(CDumpContext& dc) const
{
	COleServerDoc::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// MC2FoundDoc _xZkqqHx_iDfCiDhNiDjDiDgI_xHqqkZx_

//////////////////////////////////////////////////////////////////////////
// OLE_xZkqqHx_iDeJiBfLiDgHiDiBiBfLiDfGiDiHiDjDiDfCiDhNiDjDiDgIiPiIjHjNiKnGjAjE_xHqqkZx_
//////////////////////////////////////////////////////////////////////////

