Files
core/MsBinaryFile/PptFile/Records/Animations/BuildAtom.cpp
2022-12-10 11:47:59 +03:00

18 lines
502 B
C++

#include "BuildAtom.h"
using namespace PPT;
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) ) );
}