2014-08-14 06:56:34 +08:00
|
|
|
#include <xlnt/cell/comment.hpp>
|
2014-07-26 04:39:25 +08:00
|
|
|
|
|
|
|
namespace xlnt {
|
|
|
|
|
2014-07-27 04:19:15 +08:00
|
|
|
comment::comment(const std::string &text, const std::string &author) : text_(text), author_(author)
|
2014-07-26 04:39:25 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2014-07-27 04:19:15 +08:00
|
|
|
comment::comment()
|
2014-07-26 04:39:25 +08:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
comment::~comment()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
std::string comment::get_author() const
|
|
|
|
{
|
2014-07-27 04:19:15 +08:00
|
|
|
return author_;
|
2014-07-26 04:39:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
std::string comment::get_text() const
|
|
|
|
{
|
2014-07-27 04:19:15 +08:00
|
|
|
return text_;
|
2014-07-26 04:39:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace xlnt
|