mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-15 11:23:31 +08:00
30 lines
610 B
C++
30 lines
610 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
#include "SlidePersist.h"
|
|
|
|
#include "../Records/TextFullSettings.h"
|
|
|
|
SSlidePersist::SSlidePersist() : m_arTextAttrs()
|
|
{
|
|
}
|
|
|
|
SSlidePersist::SSlidePersist(const SSlidePersist& oSrc)
|
|
{
|
|
*this = oSrc;
|
|
}
|
|
|
|
CString SSlidePersist::ToString()
|
|
{
|
|
CString str = _T("");
|
|
str.Format(_T("<SlideInfo PsrRef='%d' SlideID='%d' />"), m_nPsrRef, m_nSlideID);
|
|
return str;
|
|
}
|
|
|
|
SSlidePersist& SSlidePersist::operator =(const SSlidePersist& oSrc)
|
|
{
|
|
m_nPsrRef = oSrc.m_nPsrRef;
|
|
m_nSlideID = oSrc.m_nSlideID;
|
|
|
|
m_arTextAttrs.Append(oSrc.m_arTextAttrs);
|
|
return (*this);
|
|
} |