You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "StdAfx.h"
|
|
|
|
|
#include "ObjString.h"
|
|
|
|
|
#include "FontTypeMgr.h"
|
|
|
|
|
|
|
|
|
|
CObjString::CObjString(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CObjString::~CObjString(void)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
CObjString::CObjString(CObjString &rhs)
|
|
|
|
|
:CObjComposite(rhs)
|
|
|
|
|
{
|
|
|
|
|
m_ValStr.Copy(rhs.m_ValStr);
|
|
|
|
|
m_FontTypeName = rhs.m_FontTypeName;
|
|
|
|
|
m_FontName = rhs.m_FontName;
|
|
|
|
|
}
|
|
|
|
|
//<2F><><EFBFBD>ÿɱ<C3BF><C9B1>ı<EFBFBD><C4B1>Ŀ<EFBFBD><C4BF><EFBFBD>
|
|
|
|
|
void CObjString::GetValStrCopy(CValString &ValStr)
|
|
|
|
|
{
|
|
|
|
|
ValStr.Copy(m_ValStr);
|
|
|
|
|
}
|
|
|
|
|
void CObjString::SetValStr(CValString &ValStr)
|
|
|
|
|
{
|
|
|
|
|
m_ValStr.Copy(ValStr);
|
|
|
|
|
}
|
|
|
|
|
//<2F><><EFBFBD>浱ǰϵͳ<CFB5><CDB3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
void CObjString::SetUseCurFontName()
|
|
|
|
|
{
|
|
|
|
|
CFontTypeMgr &pFontTypeMgr = CFontTypeMgr::Instance();
|
|
|
|
|
SetFontTypeName(pFontTypeMgr.GetCurFontTypeName());
|
|
|
|
|
SetFontName(pFontTypeMgr.GetCurFontName());
|
|
|
|
|
}
|