xlnt/source/relationship.cpp

15 lines
345 B
C++
Raw Normal View History

2014-05-22 05:48:51 +08:00
#include "relationship.h"
namespace xlnt {
2014-05-22 07:17:56 +08:00
relationship::relationship(const std::string &t, const std::string &r_id, const std::string &target_uri) : id_(r_id), source_uri_(""), target_uri_(target_uri)
2014-05-22 05:48:51 +08:00
{
2014-05-22 07:17:56 +08:00
if(t == "hyperlink")
2014-05-22 05:48:51 +08:00
{
type_ = type::hyperlink;
target_mode_ = target_mode::external;
}
}
} // namespace xlnt