mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 01:52:24 +08:00
Added .cpp files for all records
This commit is contained in:
16
MsBinaryFile/PptFile/Records/NotesAtom.cpp
Normal file
16
MsBinaryFile/PptFile/Records/NotesAtom.cpp
Normal file
@ -0,0 +1,16 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user