X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Fmarkup-processor-strikethrough.h;h=fca6d3443cfe5898d0494235c3f12b33d753d26e;hp=44bfab97e2d280ec1a5b0a5d4ac2f784d66723f1;hb=750fadba87bb959c9af32e89e3f1bc7af6cb6dd2;hpb=fe3c31e7c1d047a8b0679c8ba580e19545cf9664 diff --git a/dali-toolkit/internal/text/markup-processor-strikethrough.h b/dali-toolkit/internal/text/markup-processor-strikethrough.h index 44bfab9..fca6d34 100644 --- a/dali-toolkit/internal/text/markup-processor-strikethrough.h +++ b/dali-toolkit/internal/text/markup-processor-strikethrough.h @@ -18,6 +18,12 @@ * */ +// EXTERNAL INCLUDES +#include + +// INTERNAL INCLUDES +#include + namespace Dali { namespace Toolkit @@ -37,6 +43,14 @@ struct StrikethroughCharacterRun; void ProcessColorAttribute(const Attribute& attribute, StrikethroughCharacterRun& strikethroughCharacterRun); /** + * @brief Fill the strikethrough character run with the height attribute value. + * + * @param[in] attribute the height attribute. + * @param[out] strikethroughRun The strikethrough character run + */ +void ProcessHeightAttribute(const Attribute& attribute, StrikethroughCharacterRun& strikethroughRun); + +/** * @brief Retrieves the strikethrough run info from the tag and sets it to the strikethrough run. * * @param[in] tag The strikethrough tag and its attributes. @@ -44,6 +58,13 @@ void ProcessColorAttribute(const Attribute& attribute, StrikethroughCharacterRun */ void ProcessStrikethroughTag(const Tag& tag, StrikethroughCharacterRun& strikethroughRun); +/** + * @brief Override the run's attributes which contained in the previous run. This is to handle the nested tags. + * + * @param[in,out] strikethroughCharacterRun The list of strikethrough character run + */ +void OverrideNestedStrikethroughCharacterRuns(Vector& strikethroughCharacterRun); + } // namespace Text } // namespace Toolkit