// FoundDoc.h : CFCFoundDoc _xZkqqHx_iDeOiDiJiDfIiCmMjAoJiMlOiCkIiCoGiCnBiDeDiDjDiDfOiBfLiDhEiDeGiDeDiDfIiCmMjCoIiLgAiCpAiClFiCnMiClHiBeC_xHqqkZx_
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MOLIPDRAWDOC_H__0F2570EC_A510_11D2_AC0E_00C0F6B0E2D0__INCLUDED_)
#define AFX_MOLIPDRAWDOC_H__0F2570EC_A510_11D2_AC0E_00C0F6B0E2D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Env.h"			// For FD_S_COLOR_UNSPECIFY.etc.
#include "UtilVersion.h"	// For FCHeaderInf.
#include "LayerManager.h"	// For FCLayerZOrder.
#include "FoundDocBase.h"	// Superclass.

class WString;
class CFCHIFSFile;
// 06.05.22 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
struct FCErrFontInfo;

#if 0
// DynamicDraw_xZkqqHx_iCmFiCmNiOgHiCoNiCmIiCkCiCkKiBeB_xHqqkZx_SDK_xZkqqHx_iCmFiCmNjFeLjHhGiCmIiClNiCnPiBeB_xHqqkZx_if 0 _xZkqqHx_iCmFiImNiCkEiBeC_xHqqkZx_
//;----- <EXPORT TO SDK> -----;
#include "FCFoundDocBase.h"	// Superclass.
//;------ </EXPORT TO SDK> -----;
#endif//0

//;----- <EXPORT TO SDK> -----;

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif
#define SUPER_CLASS CFCFoundDocBase

class FCUndoArchive;

class CMolipDrawCntrItem4_0;
class CFCMolipDrawSrvrItem;
class FCObjDynabase;
class FCObjIDTbl;
class FCLayerManager;
class FCObjChipMaster;
class FCHiCommandTable;
class FCLinkManager;
class FCZOrder;
class FCSheetManager;
class CFCTolBrLayer;
class CFCTolBrSheet;
class CFCFldgTemplateSave;
class FCFdbSaveTemplate;
class FCToolBase;
class CFCDlgLayerOrder;
class FCFileDialogBase;
class CFCMolipDrawSrvrItem;


class FCObjPoly;		// For CFCFOUNDDOC.
class FCObjFigure;		// For CFCFOUNDDOC.
class FCObjGroup;		// For CFCFOUNDDOC.
class FCObjRect;		// For CFCFOUNDDOC.
class FCObjRoundRect;	// For CFCFOUNDDOC.
class FCObjLine;		// For CFCFOUNDDOC.
class FCObjArc;			// For CFCFOUNDDOC.
class FCObjWidePoly;	// For CFCFOUNDDOC.
class FCObjLabel;		// For CFCFOUNDDOC.
class FCObjOle;			// For CFCFOUNDDOC.
class FCRichText;		// For CFCFOUNDDOC.
class FCStatLineVector;	// For CFCFOUNDDOC.
class FCPolyJoint;		// For CFCFOUNDDOC.
struct FCLinkRec;		// For CFCFOUNDDOC.
struct FCMolipRec;		// For CFCFOUNDDOC.

struct FCPenRec;		// For CFCFOUNDDOC.
struct FCBrushRec;		// For CFCFOUNDDOC.
struct FCShadowRec;		// For CFCFOUNDDOC.
struct FCEmfRec;		// For CFCFOUNDDOC.
struct FCArrowRec;		// For CFCFOUNDDOC.
// 05.05.02 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//struct FCTextMarginRec;	// For CFCFOUNDDOC.
struct FCTextRec;		// For CFCFOUNDDOC.
struct FCPolyLinkRec;	// For CFCFOUNDDOC.
struct FCRectRec;		// For CFCFOUNDDOC.
struct FCRoundRectRec;	// For CFCFOUNDDOC.
struct FCArcRec;		// For CFCFOUNDDOC.
struct FCLineRec;		// For CFCFOUNDDOC.
struct FCWidePolyRec;	// For CFCFOUNDDOC.
struct FCLabelRec;		// For CFCFOUNDDOC.
struct FCPolyJointRec;	// For CFCFOUNDDOC.

class FCSColorRec;			// For CFCFOUNDDOC.
class FCPatternRec;			// For CFCFOUNDDOC.
class FCPenStyleRec;		// For CFCFOUNDDOC.
class FCPenRegisterRec;		// For CFCFOUNDDOC.
class FCBrushRegisterRec;	// For CFCFOUNDDOC.
class FCEmfImageRec;		// For CFCFOUNDDOC.
class FCSFontRec;			// For CFCFOUNDDOC.
class FCEnv;				// For CFCFOUNDDOC.
class FCPictArrowRec;

struct FCLabelStidRec;
typedef auto_ptr<FCLabelStidRec> FCLabelStidRecAuto;

//;------ </EXPORT TO SDK> -----;

//;----- <EXPORT TO SDK> -----;
/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	FCCanvasStat
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfIiDgHiDiKiBfLiDiAjHhAiDeMiDiDiDjDiDgPiDfIiCmMiDfJiBfLiDiAiCoCiImKjChFiPoOjFpBiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	02.12.11 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
class FCCanvasStat
{
public:
	long	m_lZoom256;			// _xZkqqHx_iDfJiBfLiDiAjCgMiBeC_xHqqkZx_
	SheetID	m_stid;				// _xZkqqHx_iDfGiBfLiDgH_xHqqkZx_ID_xZkqqHx_iBeC_xHqqkZx_
	mmetol	m_mmCenterX;		// _xZkqqHx_iDeMiDiDiDjDiDgPiDfIjCiGjAfDiNmAjFfHiBeC_xHqqkZx_
	mmetol	m_mmCenterY;		// _xZkqqHx_iDeMiDiDiDjDiDgPiDfIjCiGjAfDiNmAjFfHiBeC_xHqqkZx_

	// _xZkqqHx_iPgPjHmNiNiAjGnKiCmM_xHqqkZx_ID_xZkqqHx_iBeCiPiHjEnEiCpAjFmPiCkGiCmEiCmNiCmIiCoHiCmIiCkCiBeC_xHqqkZx_
	// _xZkqqHx_iNiAjGnKiCpAjBjNiCoCiClHiPoKiNiHiCmNiBeBiNmFiMoDiCmJjCmHiJmBiBeC_xHqqkZx_
	enum
	{
		FDGLST_NONE = 0,
		FDGLST_ZOOM,			// _xZkqqHx_jEhLjHkGiBeC_xHqqkZx_
		FDGLST_VIEW_POSITION,	// _xZkqqHx_iDhCiDiFiBfLiImKjChFiBeC_xHqqkZx_
	};
//;------ </EXPORT TO SDK> -----;

	FCCanvasStat ();
	virtual void	Init ();
	virtual void	InStream (FCUndoArchive& ar);
	virtual void	OutStream (FCUndoArchive& ar) const;
	virtual void	UpdateCanvas ();
	virtual void	UpdateData ();
//;----- <EXPORT TO SDK> -----;
}; // struct FCCanvasStat.

/*************************************************************************
 * <_xZkqqHx_iNfMjBkCjBmM_xHqqkZx_>	FCExportFormatRec
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jBeJjBpAjFjEjFgJiCpAjBlMiMgAiOkOiCmFiDfKiBfLiDhFiClHiCoJiOjOiCmMiBeBiDhEiDeIiBfLiDhNiDgCiDgHiPoOjFpBiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.06.01 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
struct FCExportFormatRec
{
	FCExportFormatRec (const wchar_t* tcpName, const wchar_t* tcpExt) :
						strName(tcpName), strExt(tcpExt) {}

	WString	strName;	// ex."Windows Metafile (*.wmf)"
	WString	strExt;		// ex.".wmf"
}; // struct FCExportFormatRec.

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	FCLabelStidRec
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDiJiDhIiDiLjFjEjFgJiCmGiBeBjFjEjFgJiCkKjBkOiClHiCoJiDfGiBfLiDgH_xHqqkZx_ID_xZkqqHx_iCpAiCnMiCmGiCnPiCmEiKmHjHjNiClHiCoJiDeOiDiJiDfIiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	01.04.21 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
struct FCLabelStidRec
{
//;------ </EXPORT TO SDK> -----;
	FCLabelStidRec (FCObjDynabase* pObj, SheetID stid);
// 02.06.05 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ (auto_ptr_xZkqqHx_jFmPjAjEiCmMjEhKjHpBiCmN_xHqqkZx_sort()_xZkqqHx_iCmFiCmNiOgHiCkGiCmIiCkC_xHqqkZx_)
//	static int	Compare (const FCLabelStidRecAuto& rec0, const FCLabelStidRecAuto& rec1, WORD wItemIndex);
	static int	Compare (const FCLabelStidRec* rec0, const FCLabelStidRec* rec1, WORD wItemIndex);

//;----- <EXPORT TO SDK> -----;
	FCObjLabel*	pObjLabel;
	WString		wstrLabel;
	SheetID		stidObjLabel;
};	// struct FCLabelStidRec.

typedef vector <FCLabelStidRecAuto> FCLabelStidRecVector;
//;------ </EXPORT TO SDK> -----;

// EnumNewDocument_xZkqqHx_iKnGjAjEiCmMiDfCiBfLiDiLiDgPiDgCiDeOiDhGiDiNiDfGiDfHiDiDiBeC_xHqqkZx_
typedef int (*FPEnumNewDocumentProc)(	CFCFoundDoc* pDoc,	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiBeC_xHqqkZx_
										void* pData);		// _xZkqqHx_iDiGiBfLiDfFiDgGiBfLiDfOiBeC_xHqqkZx_

/*************************************************************************
 * <_xZkqqHx_iDeOiDiJiDfI_xHqqkZx_>	CFCFoundDoc
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiKmHjHjN_xHqqkZx_.
 *************************************************************************/
class CFCFoundDoc : public SUPER_CLASS
{
protected:
typedef SUPER_CLASS BASE_CLASS;

protected: // _xZkqqHx_iDfGiDiKiDeBiDiJiDeDiDfJiLeAjEfMiCmMiCnNiCkJiCoHiNoMjAkMiClFiCnMiClHiBeC_xHqqkZx_
	CFCFoundDoc();
	DECLARE_DYNCREATE(CFCFoundDoc)

// _xZkqqHx_iDeBiDgHiDiKiDhCiDiFiBfLiDgH_xHqqkZx_
public:
	CFCMolipDrawSrvrItem* GetEmbeddedItem()
		{ return (CFCMolipDrawSrvrItem*)COleServerDoc::GetEmbeddedItem(); };

// _xZkqqHx_iDiGiBfLiDfFiKnGjAjEiBeC_xHqqkZx_
public:
	//----- _xZkqqHx_jFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCmMjDgPjIfOiKnGjAjE_xHqqkZx_ -----
//----------<NOT EXPORT TO VIEWER>-----------
	virtual void	RegisterObject (FCObjDynabase* pObj);
//----------</NOT EXPORT TO VIEWER>-----------
	virtual void	RegisterObject (FCObjDynabase* pObj, DWORD dwID);
	virtual void	UnregisterObject (FCObjDynabase* pObj);
	virtual FCObjDynabase*	ObjID2Object (DWORD dwID) const;
// 06.04.03 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	virtual FCObjIDTbl*	SetObjIDTbl (FCObjIDTbl* pTbl);
	virtual FC2Fold<FCObjIDTbl*, DWORDSet*>	SetObjIDTbl (FCObjIDTbl* pTbl, DWORDSet* stObjLabel);

	//----- _xZkqqHx_iDiJiDhIiDiLjFjEjFgJiCmMjDgPjIfOiKnGjAjE_xHqqkZx_ -----
//----- 06.04.03 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
//	virtual void	RegisterObjLabel (FCObjDynabase* pObj);
//	virtual void	UnregisterObjLabel (FCObjDynabase* pObj);
//----- 06.04.03 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
	virtual void	RegisterObjLabel (DWORD dwObjId);
	virtual void	UnregisterObjLabel (DWORD dwObjId);
//----- 06.04.03 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
	virtual void	GetObjLabelStid (FCLabelStidRecVector& vLabelStid) const;
	virtual WORDVector&	LabelSortOrder ();

	//----- _xZkqqHx_jFjEjFgJiCmMjFfMiOkGjDgPjIfOiKnGjAjE_xHqqkZx_ -----
	virtual FCSheetManager*		SetSheetManager (FCSheetManager* pNew);
	virtual const FCSheetManager*	GetSheetManager () const;
	virtual const FCLayerManager*	GetCurrentSheet () const;

	//----- _xZkqqHx_iJoGjBjMiDeHiDeOiDfIiDhMiBfLiDgHiCmMiDhEiDeAiDeDiDiLiDhEiDeIiBfLiDhNiDgCiDgHjDgPjIfOiKnGjAjE_xHqqkZx_ -----
	virtual DWORD	RegisterSelObjSaveFormat (const wchar_t* tcpName, const wchar_t* tcpExt);

	virtual BOOL	IsCurrentSheetReady () const;
	virtual SheetID	GetCurrentSheetId () const;
	virtual void	SetCurrentSheetId (SheetID stid);
	virtual DWORD	GetCurrentLayerIdx () const;
	virtual DWORD	FirstFrontLayerIdx (DWORD dwFromIdx, WORD wOption) const;
	virtual FCLayerZOrder	ObjDynabaseToLZOrder (const FCObjDynabase* pObj) const;
	virtual DWORD	GetZOrderSize (WORD wOption = FDOZ_ON_ANY, DWORD dwFromIdx = 0, DWORD dwUntilIdx = MAXDWORD) const;
	virtual void	GetZOrder (FCZOrder& zOrder, WORD wOption = FDOZ_ON_ANY, DWORD dwFromIdx = 0, DWORD dwUntilIdx = MAXDWORD) const;
	virtual void	GetZOrder (ObjDynabaseVector& vObj, WORD wOption = FDOZ_ON_ANY, DWORD dwFromIdx = 0, DWORD dwUntilIdx = MAXDWORD) const;

	//----- _xZkqqHx_jFjEjFgJiCmMiMjPiNpF_xHqqkZx_ -----
	virtual void	GetRectInObject (ObjDynabaseVector& vObj, const DBLRect& mmrct, WORD wOperation) const;
	virtual FCObjDynabase* GetIntersectObject (	const DBLPoint& mmpt,
											FCObjDynabase* pObjFrom,
											WORD wFlag) const;
	virtual BOOL	GetObjectOuterFrame (DBLRect& mmrtFrame) const;
	virtual BOOL	CanDoOnObject (const FCObjDynabase* pObj, WORD wOperate) const;

	//----- _xZkqqHx_iDiKiDjDiDeOiDhNiDgMiBfLiDfHiDiD_xHqqkZx_ -----
	virtual FCLinkManager* LinkManager ();
	virtual const FCLinkManager* LinkManager () const;
	virtual FCLinkManager* SetLinkManager (FCLinkManager* pLmgr);

	//----- _xZkqqHx_iDfCiDhDiBfLiBjFiDhJiBfLiDfIiDgHiKnGjAjE_xHqqkZx_ -----
	virtual void	OnCopy (const ObjDynabaseVector& vObj, const FCLinkManager* pLinkMgr = NULL);
	virtual BOOL	CanPaste () const;
	virtual void	OnPaste (ObjDynabaseVector& vNewObj, BOOL bAsLink);
	virtual BOOL	CanPasteSpec (UINT dwFormat) const;
	virtual void	OnPasteSpec (UINT dwFormat, ObjDynabaseVector& vNewObj);
//----- 06.11.21 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	virtual BOOL	CanPasteOverAs (const ObjDynabaseVector& vObj) const;
//	virtual void	OnPasteOverAs (	const ObjDynabaseVector& vObj,
////----- 06.11.17 Fukushiro M. _xZkqqHx_jFmPiNfIjBeP_xHqqkZx_ ()-----
////									BOOL bIsCopyText,
////									BOOL bIsCopyPen,
////									BOOL bIsCopyBrush,
////									BOOL bIsCopyEmfImage,
////									BOOL bIsCopyArrow,
////									BOOL bIsCopySize);
////----- 06.11.17 Fukushiro M. _xZkqqHx_jFmPiNfIiMoD_xHqqkZx_ ()-----
//									DWORD dwPasteAttr);
////----- 06.11.17 Fukushiro M. _xZkqqHx_jFmPiNfIiPeJ_xHqqkZx_ ()-----
//----- 06.11.21 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

	virtual void	GetObjectToTextMap (map<DWORD, WString>& mpIdToText) const;

	static long		DoModalExportDialog (WString& wstrFilePath,
										WString& wstrFileVersion,
										BOOL& bIsSaveObject,
										BOOL& bIsSaveChip,
										FCFdbSaveTemplate* pSpecifyDialog = NULL);
	static long		DoModalImportDialog (WString& wstrFilePath,
										FCFileDialogBase* pSpecifyDialog = NULL,
										const wchar_t* wcpInitialDir = NULL);

	static int		EnumNewDocument (FPEnumNewDocumentProc proc, void* pData);

	virtual BOOL	OnSaveDocumentCopyAs (const wchar_t* wcpFile);

	virtual const FCHeaderInf*	GetHeaderInfo () const;

	//----- Undo_xZkqqHx_iKnGjIeB_xHqqkZx_ -----
	virtual void	SessionBegin ();
	virtual void	SessionEnd ();
	virtual void	NullSessionBegin ();
	virtual void	NullSessionEnd ();
	virtual long	GetSessionDepth () const;
	virtual void	OnUndo ();
	virtual BOOL	CanUndo () const;
	virtual void	OnRedo ();
	virtual BOOL	CanRedo () const;
	virtual void	OnPictArrowModified (PictArrowID paid);

	//----- _xZkqqHx_jFkBiNiHiDfCiDhNiDjDiDgI_xHqqkZx_ -----
	virtual	void	MulticmdCreate1Obj (FCObjDynabase* objp, SheetID stid, const FCLayerZOrder& lzorder);
	virtual	void	MulticmdDelete1Obj (FCObjDynabase* objp, SheetID stid);
// 06.12.05 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	virtual	void	MulticmdDeleteUnusedFonts ();

	//----- OLE_xZkqqHx_iCmMiLeMjIfOiKnGjIeB_xHqqkZx_ -----
	virtual BOOL	IsOleDocumentsOpened () const;
	virtual void	CloseOleDocuments ();

	//----- _xZkqqHx_iClLiCmMjBlM_xHqqkZx_ -----
	virtual void	OnActivateDocument (BOOL bActive);

	virtual BOOL	GetIsDocumentOpened () const;
	virtual void	SetIsDocumentOpened (BOOL bIsDocumentOpened);
	virtual long	GetDocumentId () const;
	virtual DWORD	GetStdTool () const;

	virtual BOOL	IsClosableTemporaryDocument () const;
	virtual BOOL	IsReadOnly () const;
	virtual void	SetIsReadOnly (BOOL bReadOnly);

	virtual BOOL	IsPictArrowForbidden () const;

	virtual void	ForceExitApplication ();

	virtual void	OnPursuerTextNeedInfo ();

// 06.05.22 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	virtual void	GetAndClearErrFontInfo (vector<FCErrFontInfo>& vFontInfo);

	//----- _xZkqqHx_iDfIiDgHiDiKiBfLiDiAiKnGjAjE_xHqqkZx_ -----
	virtual void	OutWorkFormat (	CFile& file,
									BOOL bIsOutObject,
									BOOL bIsOutChip);
	virtual void	InWorkFormat (	CFile& file,
									FCCanvasStat* pCanvasStatRefer,
									BOOL bIsRedraw = TRUE);

	virtual void	ExportFile (const wchar_t* wcpFile,
								const wchar_t* wcpFileVersion,
								BOOL bIsOutObject,
								BOOL bIsOutChip);
	virtual void	ImportFile (const wchar_t* wcpFile,
								FCCanvasStat* pCanvasStatRefer);

	static void		ImportEnv (	const wchar_t* wcpFilePath,
								FCEnv* pEnv);

	//----- ID_xZkqqHx_iDgFiBfLiDhFiDiLiKnGjAjE_xHqqkZx_ -----
	static void	InitObjIdTblByReservedId (FCObjIDTbl& idtable);

	//----- _xZkqqHx_jFgAiJoG_xHqqkZx_ -----
	virtual void	OnDrawBackView (CDC* pDC);
	virtual void	OnDrawFrontView (CDC* pDC);

	//----- _xZkqqHx_iDgFiDjDiDhGiDiMiBfLiDgHiDhEiDeAiDeDiDiLiKnGjIeB_xHqqkZx_ -----
	virtual void	LoadStdTemplate (WString& strFile);

	virtual const wchar_t*	GetDocumentProperty (FTDocumentPropertyId dpid) const;
	virtual void	SetDocumentProperty (FTDocumentPropertyId dpid, const wchar_t* wcpNewValue);
	virtual void	DocumentPropertyToStream (	BYTEVector& vStream,
												const WString* wstraDocProperty,
												long lDocPropertySize) const;
	virtual void	StreamToDocumentProperty (	WString* wstraDocProperty,
												long lDocPropertySize,
												const BYTE* pStream,
												long lStreamSize) const;

//----- 06.11.17 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	virtual DWORD	MakeObjRectFromClipboard (FCObjRect& objRect, DWORD dwPasteAttr);
//----- 06.11.17 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	//----- _xZkqqHx_iDfCiDhNiDjDiDgIiCmMiDhNiDeOiDiNiBeC_xHqqkZx_FoundDocSub.h_xZkqqHx_jCiGiCmJiLeMiPhB_xHqqkZx_ -----

friend class FCHiCommandTable;
friend class CFCTolBrLayer;
friend class CFCTolBrSheet;
friend class CFCDlgCommonEditorModify;	// For SheetManager()->InStream.
friend class CFCMtrxCtrlChip;			// For SheetManager()->InStream.
friend class FCToolBase;				// For FCToolBase::OnMoveCurrentLayer.
friend class CFCDlgLayerOrder;			// For CFCDlgLayerOrder::OnApplyNow.
friend class CFCMolipDrawSrvrItem;

protected:
	//----- _xZkqqHx_iDhEiDeAiDeDiDiLiKnGiMfH_xHqqkZx_ -----
//----- 06.03.30 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	virtual void	OutVersionCcoreFormat (	FCUndoArchive& ar,
//											const wchar_t* wcpVersion);
//----- 06.03.30 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
	virtual void	OutVersionCcoreFormat (	LPSTORAGE lpStorage,
											const wchar_t* wcpVersion,
											BOOL bShowConvWarnning);
	virtual void	OutVersionFcoreFormat (	CFile& file,
											WORD wFileType,
											const wchar_t* wcpVersion,
											BOOL bIsOutObject,
											BOOL bIsOutChip,
											BOOL bShowConvWarnning);
	virtual void	OutCurrentCcoreFormat (FCUndoArchive& ar);
	virtual void	OutCurrentFcoreFormat (	CFile& file,
											WORD wFileType,
											BOOL bIsOutObject,
											BOOL bIsOutChip);
	virtual void	OutCurrentSubCoreFormat (	FCUndoArchive& ar,
												WORD wFileType,
												BOOL bIsOutObject,
												BOOL bIsOutChip,
// 06.06.23 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
												BOOL bIsOutBezier);
	virtual void	InVersionCcoreFormat (	LPSTORAGE lpStorage,
											const wchar_t* wcpVersion);
// 06.03.30 Fukushiro M. 1_xZkqqHx_iNhDiNoNiPjM_xHqqkZx_ ()
//	virtual void	InCcoreFormat (FCUndoArchive& ar);
	virtual void	InFcoreFormat (	CFile& file,
									FCCanvasStat* pCanvasStatRefer,
									BOOL bIsRedraw = TRUE);
	virtual void	InCurrentCcoreFormat (FCUndoArchive& ar);
	virtual void	InCurrentFcoreFormat (	CFile& file,
											FCCanvasStat* pCanvasStatRefer,
											BOOL bIsRedraw = TRUE);
	virtual void	InCurrentSubCoreFormat (FCUndoArchive& ar,
											WORD wFileType,
											FCCanvasStat* pCanvasStatRefer,
											BOOL bIsRedraw = TRUE);
	virtual void	OutPortableFormat (	CFile& file,
										const CSize& szImage,
										const wchar_t* wcpVersion,
										BOOL bIsOutObject,
										BOOL bIsOutChip);
	virtual void	InPortableFormat (	CFile& file,
										FCCanvasStat* pCanvasStatRefer);

//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	virtual BOOL	OnOpenMdrwDocument (const wchar_t* wcpFilePath);
	virtual BOOL	OnOpenMdpfDocument (const wchar_t* wcpFilePath);
	virtual BOOL	OnSaveMdrwDocument (const wchar_t* wcpFilePath,
										BOOL bShowConvWarnning);
	virtual BOOL	OnSaveMdpfDocument (const wchar_t* wcpFilePath,
										BOOL bShowConvWarnning);
//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	virtual void	DeleteAndInitContents (BOOL bIsCloseFile);
	virtual void	AfterLoadDocument (BOOL bIsRedraw);

	virtual FCSheetManager*	SheetManager () const;
	virtual FCLayerManager*	CurrentSheet () const;

	//----- OLE_xZkqqHx_iDhJiBfLiDfIiDgHiKnGjIeB_xHqqkZx_ -----
	virtual void	DoPasteNative (	COleDataObject *pDataObject,
									ObjDynabaseVector& vNewObj);
	virtual void	DoPasteEmbedded (COleDataObject* pDataObject,
									ObjDynabaseVector& vNewObj,
									BOOL bAsLink);
	virtual void	DoPasteEmf (ObjDynabaseVector& vNewObj);
	virtual void	DoPasteText (ObjDynabaseVector& vNewObj, UINT dwFormat);
	virtual void	DoPasteCsv (ObjDynabaseVector& vNewObj);

	virtual FTObjectType	GetForbiddenObject (long lIndex) const;

	//----- Undo_xZkqqHx_iKnGjIeB_xHqqkZx_ -----
	virtual void	OpenUndo ();
	virtual void	CloseUndo ();

//----- 06.02.14 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	//----- _xZkqqHx_iDfCiDhNiDjDiDgIiDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_ -----
	virtual	void	CmdCreate1Obj (FCObjDynabase* objp, SheetID stid, const FCLayerZOrder& lzorder);
	virtual	void	CmdDelete1Obj (FCObjDynabase* objp, SheetID stid);
//----- 06.02.14 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----- 06.03.19 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	//----- _xZkqqHx_iJoGjBjMiDeHiDeOiDfIiDhMiBfLiDgHiCmMiKnGjAjE_xHqqkZx_ -----
	virtual const FCExportFormatRec&	GetImageExportFormat (DWORD dwFormatId) const;
	virtual DWORD	GetImageExportFormatCount () const;
	virtual void	SaveSelectedObjectImage (	DWORD dwFormatId,
												const wchar_t* wcpFilePath,
												mmetol mmMarginLeft,
												mmetol mmMarginTop,
												mmetol mmMarginRight,
												mmetol mmMarginBottom);
//----- 06.03.19 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

	//----- _xZkqqHx_iClLiCmMjBlM_xHqqkZx_ -----
	virtual BOOL	CheckSaveDocName (const wchar_t* lpszPathName) const;
	virtual void	GetObjectHintText (WString& wstrHint, const FCObjDynabase* pObj) const;

	// _xZkqqHx_iClBiCmMiKnGjAjEiCmNjFhDjHhGiCmJiBeCiPkLjHiIjDeJiCmJiCmNiNoNiPjMiClHiCnHiCkLiBeC_xHqqkZx_
// 06.03.03 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	virtual void	PrepareWidePolySideBezier ();

	//----- DIB_xZkqqHx_iNoMjAkM_xHqqkZx_ -----
	virtual void	MakeFrontPagePNGImage32 (BYTEVector& byvBitBuff, const CSize& szBmp) const;
	virtual void	MakeTemplatePNGImage32 (BYTEVector& byvBitBuff, const CSize& szBmp,
											long lColumnSize, long lLineSize) const;

	//----- _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHjHhGiLiB_xHqqkZx_ -----
	virtual	FTDocReqResult	OnReqEnd (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqIf (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqCancel	(FCReqBase&	ret, FCReqLock&	reqLock);
	virtual	FTDocReqResult	OnReqImportFile	(FCReqBase&	ret,  FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqOpenDocument (FCReqBase& ret, FCReqLock&	reqLock);
	virtual	FTDocReqResult	OnReqChangeSheetZoomCenter (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqDlgImportFile (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqMoveHistoryBackward (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqMoveHistoryForward	(FCReqBase&	ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqRgnRedraw (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqNop (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqShellExecute (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqScrollToFrame (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqSelectObject (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqMessageBox (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqPostMessage (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqSendMessage (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqSetForeground (FCReqBase& ret, FCReqLock& reqLock);
	virtual	FTDocReqResult	OnReqIfNot (FCReqBase& ret,	FCReqLock& reqLock);

	//----- _xZkqqHx_iDePiDiNiBfLiDgPiDiLjFmPjAjEiPiJiKpKiJlLiKnGjAjE_xHqqkZx_ -----
	static void		InitGlobal (CFCFoundDoc* pDoc);
	static void		TerminateGlobal ();

// _xZkqqHx_iDiGiBfLiDfFjFmPjAjEiBeC_xHqqkZx_
public:

protected:
	BOOL			m_bIsDocumentOpened;	// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiCkKiKeKiCkCiCmEiCkCiCoJiCkJiBeI_xHqqkZx_
	BOOL			m_bIsReadOnly;			// _xZkqqHx_iDgIiDeMiDiFiDiBiDjDiDgHiDhEiDeAiDeDiDiLiCmN_xHqqkZx_ReadOnly_xZkqqHx_iCkJiBeI_xHqqkZx_
	FCHeaderInf		m_headerInf;			// _xZkqqHx_jDmHiCnNiNjOiCpBiClOiDhEiDeAiDeDiDiLiCmMiDhHiDgCiDfPiPoOjFpBiBeC_xHqqkZx_
	FCCanvasStat	m_canvasStat;			// _xZkqqHx_iDfIiDgHiDiKiBfLiDiAjHhAiDeMiDiDiDjDiDgPiDfIiCmMiDfJiBfLiDiAiCoCiImKjChFiPoOjFpBiBeC_xHqqkZx_
// 06.05.24 Fukushiro M. 1_xZkqqHx_iNhDjCmHiJmB_xHqqkZx_ ()
	flint			m_fliLastSavedSessionIdx;	// _xZkqqHx_iNmFiMoDiCmJjFnLjBlGiClDiCoKiClNjHjKjHpAiDhEiDeAiDeDiDiLiImKjChFiBeC_xHqqkZx_

//----------<NOT EXPORT TO VIEWER>-----------
	WString			m_wstrSaveVersion;		// _xZkqqHx_jFnLjBlGiClHiCoJiDhEiDeAiDeDiDiLiCmMiDgPiBfLiDfHiDiHiDjDiBeC_xHqqkZx_
	BOOL			m_bAskSaveVersion;		// _xZkqqHx_jFnLjBlGiClHiCoJiDgPiBfLiDfHiDiHiDjDiCpAjGoCiCkCiNiHiCoNiClJiCoJiCkJiBeI_xHqqkZx_
	CFile*			m_pFileOpen;			// _xZkqqHx_iKeKiCkCiCmEiCkCiCoJiDhEiDiJiDgCiDgHiDhEiDeAiDeDiDiLiBeC_xHqqkZx_
//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	LPSTORAGE		m_lpOriginalStorage;	// _xZkqqHx_iKeKiCkCiCmEiCkCiCoJjFkBiNiHiDhEiDeAiDeDiDiLiCmMiDfIiDgHiDiMiBfLiDfHiBeC_xHqqkZx_
	LPSTORAGE		m_lpSubstStorage;		// _xZkqqHx_iOmAiNnLiCmJjBiAiNoMiClHiCoJiBeBjBoDjHjNiCmMiDfIiDgHiDiMiBfLiDfHiBeC_xHqqkZx_
	WString			m_wstrSubstFilePath;	// _xZkqqHx_jBoDjHjNiCmMiDfIiDgHiDiMiBfLiDfHiCmMiDhEiDeAiDeDiDiLiDhAiDfIiBeC_xHqqkZx_
//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

//----------</NOT EXPORT TO VIEWER>-----------

	// _xZkqqHx_iChJiDeJiBfLiDfPiBfLiKnGjIeBiBeC_xHqqkZx_
	FCSheetManager*	m_pSheetManager;	// _xZkqqHx_iDfGiBfLiDgHiDhNiDgMiBfLiDfHiDiDiBfLiBeC_xHqqkZx_
	FCObjIDTbl*		m_oitpObjIDTbl;		// _xZkqqHx_jFfMiOkGjFjEjFgJ_xHqqkZx_ID_xZkqqHx_iCmMiKmHjHjNiDgFiBfLiDhFiDiL_xHqqkZx_.

//----------<NOT EXPORT TO VIEWER>-----------
	// _xZkqqHx_iDiKiDjDiDeOiDhNiDgMiBfLiDfHiDiDiBeC_xHqqkZx_
	FCLinkManager*	m_pLinkManager;
//----------</NOT EXPORT TO VIEWER>-----------

	// _xZkqqHx_iDiJiDhIiDiLiKnGiMfHiBeC_xHqqkZx_
// 06.04.03 Fukushiro M. 1_xZkqqHx_iNhDjFmPiNfI_xHqqkZx_ ()
//	ObjDynabaseSet		m_stObjLabel;			// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJiBeC_xHqqkZx_
	DWORDSet*		m_stObjLabel;			// _xZkqqHx_iDiJiDhIiDiLjFjEjFgJiBeC_xHqqkZx_
	WORDVector		m_vSortOrder;			// _xZkqqHx_iDiJiDhIiDiLiDfMiBfLiDgHiPiHiCmMiDiKiDfIiDgHiBeC_xHqqkZx_

	WString			m_wstrDocumentProperty[FD_DPID_END];	// _xZkqqHx_jFlGiPjBiDhGiDiNiDhAiDgFiDeCiBeC_xHqqkZx_

//----------<NOT EXPORT TO VIEWER>-----------
	vector<FCExportFormatRec>	m_vStrImageExportFormat;	// _xZkqqHx_jBeJjBpAjFjEjFgJiDeDiDiBiBfLiDfHjFnLjBlGiCmM_xHqqkZx_
															// _xZkqqHx_iDhEiDeAiDeDiDiLiDhEiDeIiBfLiDhNiDgCiDgHjDgPjIfOiKnGjAjEiBeC_xHqqkZx_
	WString						m_wstrImageFormatExt;		// _xZkqqHx_jBePiJpBiDeHiDeOiDfIiDhMiBfLiDgHiClDiCoKiClNiDeDiDiBiBfLiDfHjFnLjBlGiDhEiDeAiDeDiDiLiCmMiKgHjCkDiOhBiBeC_xHqqkZx_
//----------</NOT EXPORT TO VIEWER>-----------

	static long		s_lGlobalCounter;		// _xZkqqHx_iDePiDiNiBfLiDgPiDiLjFmPjAjEiPiJiKpKiJlLjHhAiDeKiDeFiDjDiDfOiBeC_xHqqkZx_

// _xZkqqHx_iDeJiDhJiDiMiBfLiDfGiDiHiDjD_xHqqkZx_
public:

//_xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgI_xHqqkZx_
	// ClassWizard _xZkqqHx_iCmNiJlMjBhKiKnGjAjEiCmMiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCpAjAlGjAkMiClFiCnMiClHiBeC_xHqqkZx_
	//{{AFX_VIRTUAL(CFCFoundDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void DeleteContents();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	virtual void SetTitle(LPCTSTR lpszTitle);
	virtual void OnCloseDocument();
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	protected:
	//}}AFX_VIRTUAL
//	virtual COleServerItem* OnGetEmbeddedItem();

public:
	virtual void SetModifiedFlag (BOOL bModified = TRUE);
	virtual BOOL IsModified ();
	// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgIiBeC_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiPeDjAlDiCmJiCoGiCoJiPeDjAlDiDhEiDiJiDePjAnNjCoIiCpAiJpBjEpAiClHiCoJiBeC_xHqqkZx_
	virtual void UpdateModifiedFlag ();

protected:
	// DoSave _xZkqqHx_jCiGiCmFjHjIjHhAiBeCjGhLjHiIiCmN_xHqqkZx_ CDocManager _xZkqqHx_iCmMiDiBiDjDiDgPiKnGjAjEiClOiCkKiBeB_xHqqkZx_
	// CWinApp::m_pDocManager _xZkqqHx_iCmNiDeJiBfLiDgPiBfLiDiJiDeDiDgIiCmFiCkLiCmIiCkCiClNiCnPiBeBiClBiClBiCmJjFkBiOmKiBeC_xHqqkZx_
	virtual BOOL DoPromptFileName (	WString& wstrFileName,
									UINT nIDSTitle,
									DWORD lFlags,
									BOOL bOpenFileDialog);
	// _xZkqqHx_jGkCiMpGiKeKiClOiCkKiBeBjFnLjBlGiOjOiCmMiDhEiDeAiDeDiDiLiDfPiDeDiDeBiDiNiDePiCpAjBiAiCoJiCmJiCmNiClBiCoKiCpA_xHqqkZx_
	// _xZkqqHx_iDeJiBfLiDgPiBfLiDiJiDeDiDgIiClFiCmIiCkPiCoKiCmOiCmIiCoHiCmIiCkCiBeC_xHqqkZx_
	virtual BOOL DoSave (LPCTSTR lpszPathName, BOOL bReplace = TRUE);

//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
	// _xZkqqHx_jGkCiMpGiKeKiKnGjAjEiClOiCkKiBeB_xHqqkZx_OLE_xZkqqHx_iDeJiDhFiDfHiDeGiDeOiDgHiCkJiCoHiLeOjDkOiClHiCoJiPoKiNiHiCmJjFeLjHhGiBeC_xHqqkZx_
	virtual void	OnSaveEmbedding (LPSTORAGE lpStorage);
//----- 06.03.30 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----


// _xZkqqHx_iDeDiDjDiDhGiDiKiDiBiDjDiDgFiBfLiDfGiDiHiDjD_xHqqkZx_
public:
	virtual ~CFCFoundDoc ();

//;----- <start restrict> -----;
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
//;------ <end restrict> -----;

protected:

// _xZkqqHx_jAlGjAkMiClDiCoKiClNiDiBiDgCiDfKiBfLiDfH_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
protected:
	//{{AFX_MSG(CFCFoundDoc)
	afx_msg void OnFilePrintSetup();
	afx_msg void OnFilePageSetup();
	afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFilePageSetup(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFilePrintSetup(CCmdUI* pCmdUI);
	afx_msg void OnFileSheetSetup();
	afx_msg void OnUpdateFileSheetSetup(CCmdUI* pCmdUI);
	afx_msg void OnFileExecMolipdraw();
	afx_msg void OnFileExecHistdraw();
	afx_msg void OnFileExecHistviewer();
	afx_msg void OnViewObjLabelShowMode();
	afx_msg void OnUpdateViewObjLabelShowMode(CCmdUI* pCmdUI);
	afx_msg void OnFileSaveSelectAs();
	afx_msg void OnUpdateFileSaveSelectAs(CCmdUI* pCmdUI);
	afx_msg void OnOptionIsGridVisible();
	afx_msg void OnUpdateOptionIsGridVisible(CCmdUI* pCmdUI);
	afx_msg void OnOptionIsPageVisible();
	afx_msg void OnUpdateOptionIsPageVisible(CCmdUI* pCmdUI);
	afx_msg void OnOptionIsSnapEffective();
	afx_msg void OnUpdateOptionIsSnapEffective(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileSaveAs(CCmdUI* pCmdUI);
	afx_msg void OnHelpDebugBreak();
	afx_msg void OnFileImport();
	afx_msg void OnUpdateFileImport(CCmdUI* pCmdUI);
	afx_msg void OnFileExport();
	afx_msg void OnUpdateFileExport(CCmdUI* pCmdUI);
	afx_msg void OnFileDocumentProperty();
	afx_msg void OnUpdateFileDocumentProperty(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileRecent1(CCmdUI* pCmdUI);
	afx_msg void OnOptionPageMarginVisible();
	afx_msg void OnUpdateOptionPageMarginVisible(CCmdUI* pCmdUI);
	afx_msg void OnViewPastePosition();
	afx_msg void OnUpdateViewPastePosition(CCmdUI* pCmdUI);
	afx_msg void OnFileSaveCopyAs();
	afx_msg void OnUpdateFileSaveCopyAs(CCmdUI* pCmdUI);
	afx_msg void OnUpdateFileUpdate(CCmdUI* pCmdUI);
	afx_msg void OnOptionIsArrowGapEffective();
	afx_msg void OnUpdateOptionIsArrowGapEffective(CCmdUI* pCmdUI);
	//}}AFX_MSG
	afx_msg void OnFileRecent(UINT nCmdID);
	DECLARE_MESSAGE_MAP()

//----- 05.08.24 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	afx_msg void OnViewPageBorderVisible();
//	afx_msg void OnUpdateViewPageBorderVisible(CCmdUI* pCmdUI);
//----- 05.08.24 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.05.13 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	afx_msg void OnFileImportUrl();
//	afx_msg void OnUpdateFileImportUrl(CCmdUI* pCmdUI);
//----- 05.05.13 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.07.29 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	afx_msg void OnFileLoadInsert();
//	afx_msg void OnUpdateFileLoadInsert(CCmdUI* pCmdUI);
//----- 05.07.29 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----
//----- 05.08.19 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//	afx_msg void OnEditCopyResolution1();
//	afx_msg void OnUpdateEditCopyResolution1(CCmdUI* pCmdUI);
//	afx_msg void OnEditCopyResolution2();
//	afx_msg void OnUpdateEditCopyResolution2(CCmdUI* pCmdUI);
//	afx_msg void OnEditCopyResolution4();
//	afx_msg void OnUpdateEditCopyResolution4(CCmdUI* pCmdUI);
//	afx_msg void OnEditCopyResolution6();
//	afx_msg void OnUpdateEditCopyResolution6(CCmdUI* pCmdUI);
//	afx_msg void OnEditCopyResolution8();
//	afx_msg void OnUpdateEditCopyResolution8(CCmdUI* pCmdUI);
//----- 05.08.19 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//	afx_msg void OnFileTmplSave();

//----------<NOT EXPORT TO VIEWER>-----------
	// _xZkqqHx_jAlGjAkMiClDiCoKiClN_xHqqkZx_ OLE _xZkqqHx_iDgGiDeCiDfIiDhAiDgCiDgA_xHqqkZx_ _xZkqqHx_iDhNiDgCiDhGiKnGjAjE_xHqqkZx_
	//{{AFX_DISPATCH(CFCFoundDoc)
	afx_msg void Open(LPCTSTR pFileName);
	afx_msg void Close();
	//}}AFX_DISPATCH
	DECLARE_DISPATCH_MAP()
	DECLARE_INTERFACE_MAP()
//----------</NOT EXPORT TO VIEWER>-----------


//----- 06.06.23 Fukushiro M. _xZkqqHx_jCmHiJmBiOgO_xHqqkZx_ ()-----
// SDK_xZkqqHx_iCmMiDhEiDeAiDeDiDiLiDhMiDeDiDjDiDfOiCpAiLlGiCoNiClJiCmIiCkCiClNiCnPiCmJiNmFiMoDiCmJjCmHiJmBiBeC_xHqqkZx_
protected:
	virtual void	OutCurrentXcoreFormat (	CFile& file,
											WORD wFileType,
											BOOL bIsOutObject,
											BOOL bIsOutChip);
//----- 06.06.23 Fukushiro M. _xZkqqHx_jCmHiJmBiPeJ_xHqqkZx_ ()-----

}; // class CFCFoundDoc.

/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_MOLIPDRAWDOC_H__0F2570EC_A510_11D2_AC0E_00C0F6B0E2D0__INCLUDED_)
