mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 10:59:17 +08:00
17 lines
481 B
C++
17 lines
481 B
C++
#include "BuildAtom.h"
|
|
|
|
|
|
void CRecordBuildAtom::ReadFromStream(SRecordHeader &oHeader, POLE::Stream *pStream)
|
|
{
|
|
m_oHeader = oHeader;
|
|
|
|
m_nBuildType = StreamUtils::ReadDWORD ( pStream );
|
|
m_nBuildId = StreamUtils::ReadDWORD ( pStream );
|
|
m_nShapeIdRef = StreamUtils::ReadDWORD ( pStream );
|
|
|
|
_UINT32 Value = StreamUtils::ReadDWORD ( pStream );
|
|
|
|
m_fExpanded = ( 0x01 == ( 0x01 & ((BYTE)Value) ) );
|
|
m_fUIExpanded = ( 0x02 == ( 0x02 & ((BYTE)Value) ) );
|
|
}
|