mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 03:42:47 +08:00
23 lines
480 B
C++
23 lines
480 B
C++
#include "CtrlCharacter.h"
|
|
|
|
namespace HWP
|
|
{
|
|
CCtrlCharacter::CCtrlCharacter(const STRING& sCtrlID, ECtrlCharType eCtrlChar)
|
|
: CCtrl(sCtrlID), m_eCtrlChar(eCtrlChar)
|
|
{}
|
|
|
|
CCtrlCharacter::CCtrlCharacter(const STRING& sCtrlID, ECtrlCharType eCtrlChar, int nCharShapeID)
|
|
: CCtrl(sCtrlID), m_eCtrlChar(eCtrlChar), m_nCharShapeID(nCharShapeID)
|
|
{}
|
|
|
|
int CCtrlCharacter::GetSize()
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
void CCtrlCharacter::SetCharShapeID(int nCharShapeID)
|
|
{
|
|
m_nCharShapeID = nCharShapeID;
|
|
}
|
|
}
|