mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 01:11:43 +08:00
36 lines
964 B
C++
36 lines
964 B
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)
|
|
{}
|
|
|
|
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);
|
|
}
|
|
}
|