mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 08:22:08 +08:00
59 lines
1.3 KiB
C++
59 lines
1.3 KiB
C++
#pragma once
|
|
#ifndef PPTX_LOGIC_EFFECTSTYLE_INCLUDE_H_
|
|
#define PPTX_LOGIC_EFFECTSTYLE_INCLUDE_H_
|
|
|
|
#include "./../WrapperWritingElement.h"
|
|
#include "EffectProperties.h"
|
|
#include "Scene3d.h"
|
|
#include "Sp3d.h"
|
|
|
|
namespace PPTX
|
|
{
|
|
namespace Logic
|
|
{
|
|
|
|
class EffectStyle : public WrapperWritingElement
|
|
{
|
|
public:
|
|
PPTX_LOGIC_BASE(EffectStyle)
|
|
|
|
EffectStyle& operator=(const EffectStyle& oSrc)
|
|
{
|
|
parentFile = oSrc.parentFile;
|
|
parentElement = oSrc.parentElement;
|
|
|
|
EffectList = oSrc.EffectList;
|
|
scene3d = oSrc.scene3d;
|
|
sp3d = oSrc.sp3d;
|
|
return *this;
|
|
}
|
|
|
|
public:
|
|
virtual void fromXML(XmlUtils::CXmlNode& node);
|
|
|
|
virtual CString toXML() const;
|
|
|
|
virtual void toXmlWriter(NSBinPptxRW::CXmlWriter* pWriter) const
|
|
{
|
|
pWriter->StartNode(_T("a:effectStyle"));
|
|
pWriter->EndAttributes();
|
|
|
|
EffectList.toXmlWriter(pWriter);
|
|
pWriter->Write(scene3d);
|
|
pWriter->Write(sp3d);
|
|
|
|
pWriter->EndNode(_T("a:effectStyle"));
|
|
}
|
|
|
|
public:
|
|
EffectProperties EffectList;
|
|
nullable<Scene3d> scene3d;
|
|
nullable<Sp3d> sp3d;
|
|
protected:
|
|
virtual void FillParentPointersForChilds();
|
|
};
|
|
} // namespace Logic
|
|
} // namespace PPTX
|
|
|
|
#endif // PPTX_LOGIC_EFFECTSTYLE_INCLUDE_H_
|