mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 02:44:13 +08:00
17 lines
444 B
C++
17 lines
444 B
C++
#include "NotesAtom.h"
|
|
|
|
|
|
void CRecordNotesAtom::ReadFromStream(SRecordHeader &oHeader, POLE::Stream *pStream)
|
|
{
|
|
m_oHeader = oHeader;
|
|
|
|
m_nSlideIDRef = (UINT)StreamUtils::ReadDWORD(pStream);
|
|
|
|
USHORT nFlag = StreamUtils::ReadWORD(pStream);
|
|
m_bMasterObjects = ((nFlag & 0x01) == 0x01);
|
|
m_bMasterScheme = ((nFlag & 0x02) == 0x02);
|
|
m_bMasterBackground = ((nFlag & 0x04) == 0x04);
|
|
|
|
StreamUtils::StreamSkip(2, pStream);
|
|
}
|