mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 03:42:47 +08:00
18 lines
502 B
C++
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) ) );
|
|
}
|