Files
core/ASCOfficeOdtFile/Source/DocxFormat/Logic/Text.h
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

34 lines
759 B
C++

#pragma once
#ifndef OOX_LOGIC_TEXT_INCLUDE_H_
#define OOX_LOGIC_TEXT_INCLUDE_H_
#include "RunItemBase.h"
namespace OOX
{
namespace Logic
{
class Text : public RunItemBase
{
public:
Text();
virtual ~Text();
explicit Text(const std::string& text);
explicit Text(const XML::XNode& node);
const Text& operator =(const XML::XNode& node);
const Text& operator =(const std::string& text);
public:
virtual void fromXML(const XML::XNode& node);
virtual void fromTxt(const std::string& text);
virtual const XML::XNode toXML() const;
virtual const std::string toTxt() const;
private:
std::string m_text;
};
} // namespace Logic
} // namespace OOX
#endif // OOX_LOGIC_TEXT_INCLUDE_H_