Files
core/HwpFile/HwpDoc/Paragraph/CtrlShapeTextArt.cpp
2025-01-11 01:18:41 +03:00

41 lines
1.0 KiB
C++

#include "CtrlShapeTextArt.h"
namespace HWP
{
CCtrlShapeTextArt::CCtrlShapeTextArt()
{}
CCtrlShapeTextArt::CCtrlShapeTextArt(const HWP_STRING& sCtrlID)
: CCtrlGeneralShape(sCtrlID)
{}
CCtrlShapeTextArt::CCtrlShapeTextArt(const CCtrlGeneralShape& oShape)
: CCtrlGeneralShape(oShape)
{}
CCtrlShapeTextArt::CCtrlShapeTextArt(const HWP_STRING& sCtrlID, int nSize, CHWPStream& oBuffer, int nOff, int nVersion)
: CCtrlGeneralShape(sCtrlID, nSize, oBuffer, nOff, nVersion)
{}
EShapeType CCtrlShapeTextArt::GetShapeType() const
{
return EShapeType::TextArt;
}
int CCtrlShapeTextArt::ParseElement(CCtrlShapeTextArt& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion)
{
// TODO:: проверить
// [HWP ambiguous] following 120bytes are unknown.
// Document doesn't mention about this at all.
oBuffer.Skip(nSize);
return nSize;
}
int CCtrlShapeTextArt::ParseCtrl(CCtrlShapeTextArt& oObj, int nSize, CHWPStream& oBuffer, int nOff, int nVersion)
{
return CCtrlGeneralShape::ParseCtrl(oObj, nSize, oBuffer, nOff, nVersion);
}
}