Files
core/HwpFile/HwpDoc/HWPElements/HWPRecordFormObject.cpp
2026-04-02 08:10:57 +03:00

24 lines
570 B
C++

#include "HWPRecordFormObject.h"
namespace HWP
{
CHWPRecordFormObject::CHWPRecordFormObject(int nTagNum, int nLevel, int nSize)
: CHWPRecord(nTagNum, nLevel, nSize)
{}
int CHWPRecordFormObject::ParseCtrl(CCtrlForm& oForm, int nSize, CHWPStream& oBuffer, int nOff, int nVersion)
{
oBuffer.SavePosition();
oBuffer.Skip(4); // tbp+
oBuffer.Skip(4); // tbp+
oBuffer.Skip(4); // String length?
short shLen = oBuffer.ReadShort() * 2;
oBuffer.Skip(shLen);
// oBuffer.ReadString(m_sFormStr, EStringCharacter::UTF16);
return oBuffer.GetDistanceToLastPos(true);
}
}