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

29 lines
720 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "ShapeProperties.h"
using namespace PPT;
CRecordShapeProperties::CRecordShapeProperties()
{
}
CRecordShapeProperties::~CRecordShapeProperties()
{
}
void CRecordShapeProperties::ReadFromStream(SRecordHeader &oHeader, POLE::Stream *pStream)
{
m_oHeader = oHeader;
LONG lPosition = 0;
StreamUtils::StreamPosition(lPosition, pStream);
m_oProperties.FromStream(pStream, m_oHeader.RecInstance);
// _UINT32 dwLen = m_oProperties.GetLen();
// это на всякий случай, может там напридумывают проперти с complex -
// которые мы не поддерживаем...
StreamUtils::StreamSeek(lPosition + m_oHeader.RecLen, pStream);
}