xlnt/source/relationship.cpp
2014-05-21 19:17:56 -04:00

15 lines
345 B
C++

#include "relationship.h"
namespace xlnt {
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)
{
if(t == "hyperlink")
{
type_ = type::hyperlink;
target_mode_ = target_mode::external;
}
}
} // namespace xlnt