+ else if((DevelText::Underline::Property::TYPE == valueGet.first.indexKey) || (TYPE_KEY == valueGet.first.stringKey))
+ {
+ /// Underline Type key.
+ typeDefined = true;
+
+ if(valueGet.second.GetType() == Dali::Property::STRING)
+ {
+ const std::string typeStr = valueGet.second.Get<std::string>();
+ Text::UnderlineTypeStringToTypeValue(typeStr.c_str(), typeStr.size(), type);
+ }
+ else
+ {
+ type = valueGet.second.Get<Text::Underline::Type>();
+ }
+ }
+ else if((DevelText::Underline::Property::DASH_WIDTH == valueGet.first.indexKey) || (DASH_WIDTH_KEY == valueGet.first.stringKey))
+ {
+ /// Dashed Underline Width key.
+ dashWidthDefined = true;
+
+ if(valueGet.second.GetType() == Dali::Property::STRING)
+ {
+ const std::string dashWidthStr = valueGet.second.Get<std::string>();
+ dashWidth = StringToFloat(dashWidthStr.c_str());
+ }
+ else
+ {
+ dashWidth = valueGet.second.Get<float>();
+ }
+ }
+ else if((DevelText::Underline::Property::DASH_GAP == valueGet.first.indexKey) || (DASH_GAP_KEY == valueGet.first.stringKey))
+ {
+ /// Dashed Underline Gap key.
+ dashGapDefined = true;
+
+ if(valueGet.second.GetType() == Dali::Property::STRING)
+ {
+ const std::string dashGapStr = valueGet.second.Get<std::string>();
+ dashGap = StringToFloat(dashGapStr.c_str());
+ }
+ else
+ {
+ dashGap = valueGet.second.Get<float>();
+ }
+ }