mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-19 13:36:59 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
59 lines
888 B
C++
59 lines
888 B
C++
|
|
// auto inserted precompiled begin
|
|
#include "precompiled_docxformat.h"
|
|
// auto inserted precompiled end
|
|
|
|
#include "FldChar.h"
|
|
|
|
|
|
namespace OOX
|
|
{
|
|
namespace Logic
|
|
{
|
|
|
|
FldChar::FldChar()
|
|
{
|
|
}
|
|
|
|
|
|
FldChar::~FldChar()
|
|
{
|
|
}
|
|
|
|
|
|
FldChar::FldChar(const XML::XNode& node)
|
|
{
|
|
fromXML(node);
|
|
}
|
|
|
|
|
|
const FldChar& FldChar::operator =(const XML::XNode& node)
|
|
{
|
|
fromXML(node);
|
|
return *this;
|
|
}
|
|
|
|
|
|
void FldChar::fromXML(const XML::XNode& node)
|
|
{
|
|
const XML::XElement element(node);
|
|
FldCharType = element.attribute("fldCharType").value();
|
|
}
|
|
|
|
|
|
const XML::XNode FldChar::toXML() const
|
|
{
|
|
return
|
|
XML::XElement(ns.w + "fldChar",
|
|
XML::XAttribute(ns.w + "fldCharType", FldCharType)
|
|
);
|
|
}
|
|
|
|
|
|
const std::string FldChar::toTxt() const
|
|
{
|
|
return "";
|
|
}
|
|
|
|
} // namespace Logic
|
|
} // namespace OOX
|