mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
15 lines
354 B
C++
15 lines
354 B
C++
#include "common/relationship.hpp"
|
|
|
|
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
|