Files
core/ASCOfficeOdtFile/Source/DocxFormat/Theme/OuterShdw.cpp
Elen.Subbotina 6138139c4e исправлен проект - подключен "старый" DocxFormat (тот который с AVS - без вытирания буста)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:37:54 +03:00

62 lines
1.2 KiB
C++

// auto inserted precompiled begin
#include "precompiled_docxformat.h"
// auto inserted precompiled end
#include "OuterShdw.h"
namespace OOX
{
namespace Theme
{
OuterShdw::OuterShdw()
{
}
OuterShdw::~OuterShdw()
{
}
OuterShdw::OuterShdw(const XML::XNode& node)
{
fromXML(node);
}
const OuterShdw& OuterShdw::operator =(const XML::XNode& node)
{
fromXML(node);
return *this;
}
void OuterShdw::fromXML(const XML::XNode& node)
{
const XML::XElement element(node);
m_blurRad = element.attribute("blurRad").value();
m_dist = element.attribute("dist").value();
m_dir = element.attribute("dir").value();
m_rotWithShare = element.attribute("rotWithShape").value();
m_srgbClr = element.element("srgbClr");
}
const XML::XNode OuterShdw::toXML() const
{
return
XML::XElement(ns.a + "outerShdw",
XML::XAttribute("blurRad", m_blurRad) +
XML::XAttribute("dist", m_dist) +
XML::XAttribute("dir", m_dir) +
XML::XAttribute("rotWithShape", m_rotWithShare) +
XML::Write(m_srgbClr)
);
}
} // namespace Theme
} // namespace OOX