X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-enumerations-impl.h;h=3aa1fbdf89584e8d30472152ac5275b4ea66f637;hb=d19410c023c18c050ae226c72c6d79ebf9b0de80;hp=bb72e98ae498f33f90177b2f3d86c77a06e0e684;hpb=b8da2e53925b9abb9fa362560069e8ca4aa62f81;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-enumerations-impl.h b/dali-toolkit/internal/text/text-enumerations-impl.h index bb72e98..3aa1fbd 100644 --- a/dali-toolkit/internal/text/text-enumerations-impl.h +++ b/dali-toolkit/internal/text/text-enumerations-impl.h @@ -24,6 +24,8 @@ // INTERNAL INCLUDES #include +// DEVEL INCLUDES +#include namespace Dali { namespace Toolkit @@ -68,6 +70,21 @@ const char* GetHorizontalAlignmentString(const Toolkit::Text::HorizontalAlignmen */ const char* GetVerticalAlignmentString(const Toolkit::Text::VerticalAlignment::Type& alignment); +/** + * @brief Get the ellipsis-location-type from the provided property value. + * @param[in] propertyValue The source value (which can be a Property::INTEGER or Property::STRING type) + * @param[out] ellipsisPositionType The resulting ellipsisPositionType from the given source + * @return true if the resulting ellipsisPositionType has been updated + */ +bool GetEllipsisPositionTypeEnumeration(const Property::Value& propertyValue, Toolkit::DevelText::EllipsisPosition::Type& ellipsisPositionType); + +/** + * @brief Converts the underline type to string format. + * @param[in] type the Toolkit::Text::Underline::Type enum source + * @return the string equivalent + */ +const char* GetUnderlineTypeToString(const Toolkit::Text::Underline::Type& type); + } // namespace Text } // namespace Toolkit