#include "stdafx.h"
#include "3ObjRect.h"		// For MC3ObjRect.
#include "3ToolTextPut.h"	// This header.

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

#ifdef SUPER_CLASS
#undef SUPER_CLASS
#endif

#define SUPER_CLASS MC3ToolRichEditTmpl<MC3ToolBasePutCreate>

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolTextPut::MC3ToolTextPut
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_iDfCiDjDiDfIiDgHiDiJiDeOiDfO_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.01.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
MC3ToolTextPut::MC3ToolTextPut ()
{
	m_pInsideObject = NULL;		// _xZkqqHx_jDoAjFjEiDgDiBfLiDiLjDoAjFjEjFjEjFgJiBeC_xHqqkZx_
} // MC3ToolTextPut::MC3ToolTextPut.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolTextPut::OnViewCreate
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CDynamicDrawView::OnCreate_xZkqqHx_iCkJiCoH_xHqqkZx_Call_xZkqqHx_iBeC_xHqqkZx_Tool_xZkqqHx_iCmMiPiJiKpKiJlLiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.01.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC3ToolTextPut::OnViewCreate ()
{
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	SUPER_CLASS::OnViewCreate();
	// _xZkqqHx_jDoAjFjEiDgDiBfLiDiLjDoAjFjEjFjEjFgJiNoMjAkMiBeC_xHqqkZx_
	m_pInsideObject = new MC3ObjRect();
} // MC3ToolTextPut::OnViewCreate.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolTextPut::OnViewDestroy
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	CDynamicDrawView::OnDestroy_xZkqqHx_iCkJiCoH_xHqqkZx_Call_xZkqqHx_iBeC_xHqqkZx_Tool_xZkqqHx_iCmMiPeJjHlJiPiIjHjNiBeC_xHqqkZx_
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.01.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
void MC3ToolTextPut::OnViewDestroy ()
{
	// _xZkqqHx_jDoAjFjEiDgDiBfLiDiLjDoAjFjEjFjEjFgJiNoNiPjMiBeC_xHqqkZx_
	delete m_pInsideObject;
	m_pInsideObject = NULL;
	// Superclass_xZkqqHx_iKnGjAjEiOmAiNhDiBeC_xHqqkZx_
	SUPER_CLASS::OnViewDestroy();
} // MC3ToolTextPut::OnViewDestroy.

/*************************************************************************
 * <_xZkqqHx_iKnGjAjE_xHqqkZx_>	MC3ToolTextPut::GetInsideObject
 *
 * <_xZkqqHx_iLeAjEfM_xHqqkZx_>	_xZkqqHx_jFjEjFgJiCmMjAlGjAkMiCmJiOgHjHhAiClDiCoKiCoJjDoAjFjEiDgDiBfLiDiLjDoAjFjEjFjEjFgJiCpAjFnEiClH_xHqqkZx_.
 *
 * <_xZkqqHx_jFnEjCgM_xHqqkZx_>	_xZkqqHx_jDoAjFjEiDgDiBfLiDiLjDoAjFjEjFjEjFgJiCmMiDhMiDeDiDjDiDfO_xHqqkZx_.
 *
 * <_xZkqqHx_iJpAjAoA_xHqqkZx_>	_xZkqqHx_iClBiCmMjFjEjFgJiCpAiOgHiCmBiCmEiBeBiDhNiDeFiDfIiInKjDkOiOjOiCmMjFgAiJoGiCoCjFjEjFgJiCmMjAlGjAkMiCpAiNhDiCkE_xHqqkZx_.
 *
 * <_xZkqqHx_jHjKjHpA_xHqqkZx_>	00.01.25 Fukushiro M. _xZkqqHx_iNoMjAkM_xHqqkZx_
 *************************************************************************/
MC3ObjBase* MC3ToolTextPut::GetInsideObject () const
{
	return m_pInsideObject;
} // MC3ToolTextPut::GetInsideObject.

