mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 05:24:10 +08:00
22 lines
486 B
C++
22 lines
486 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); // Длина строки?
|
|
|
|
oBuffer.ReadString(m_sFormStr);
|
|
|
|
return oBuffer.GetDistanceToLastPos();
|
|
}
|
|
}
|