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.
36 lines
924 B
C++
36 lines
924 B
C++
#pragma once
|
|
#include "ObjString.h"
|
|
#include "ObjChar.h"
|
|
#include "SFontPar.h"
|
|
|
|
class CObjTxt :public CObjString
|
|
{
|
|
friend class CDlgVariableString;
|
|
public:
|
|
CObjTxt(void);
|
|
~CObjTxt(void);
|
|
CObjTxt(CObjTxt &rhs);
|
|
virtual OBJ_TYPE GetType(){return _TYPE_TXT;};
|
|
virtual CString GetStr();
|
|
virtual CObjTxt * Clone(){return new CObjTxt(*this);};
|
|
virtual void BindingDlg();
|
|
virtual void CreatExt();
|
|
public:
|
|
SFontPar &GetFontPar(){return m_FontPar;};
|
|
void SetFontPar(SFontPar &par){m_FontPar = par;};
|
|
private:
|
|
void GetEachCharData(CString Str);
|
|
void AdjustGap();
|
|
void AdjustArcTxt();
|
|
void AdjustWidthHeight();
|
|
void AdjustItalic();
|
|
void MakeReverse(CString &Str);
|
|
void MakeOutDir();
|
|
void RecoverPerState();
|
|
CString GetCurString();
|
|
private:
|
|
//×ÖÌå²ÎÊý
|
|
SFontPar m_FontPar;
|
|
};
|
|
|