mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 10:07:28 +08:00
20 lines
663 B
C++
20 lines
663 B
C++
#include "ParaBuildAtom.h"
|
|
|
|
|
|
void CRecordParaBuildAtom::ReadFromStream(SRecordHeader &oHeader, POLE::Stream *pStream)
|
|
{
|
|
m_oHeader = oHeader;
|
|
|
|
m_nParaBuild = StreamUtils::ReadDWORD ( pStream );
|
|
m_nBuildLevel = StreamUtils::ReadDWORD ( pStream );
|
|
|
|
_UINT32 Value = StreamUtils::ReadDWORD ( pStream );
|
|
|
|
m_fAnimBackground = ( 0x01 == ( 0x01 & ((BYTE)Value) ) );
|
|
m_fReverse = ( 0x02 == ( 0x02 & ((BYTE)Value) ) );
|
|
m_fUserSetAnimBackground = ( 0x04 == ( 0x04 & ((BYTE)Value) ) );
|
|
m_fAutomatic = ( 0x08 == ( 0x08 & ((BYTE)Value) ) );
|
|
|
|
m_nDelayTime = StreamUtils::ReadDWORD ( pStream );
|
|
}
|