Support the underline and its attributes in span tag 85/271685/5
authorssabah <s.sabah@samsung.com>
Thu, 24 Feb 2022 13:15:24 +0000 (15:15 +0200)
committershrouq Sabah <s.sabah@samsung.com>
Mon, 28 Feb 2022 15:32:11 +0000 (15:32 +0000)
commitee33f54bcefdc59971ffa428e6f8e4bdd31b94ed
tree5a3eaae93fa49c6ad74a97f539584e6ee519c00d
parent74a79d8093336c771d667ad0c0b58909f58abd32
Support the underline and its attributes in span tag

 The attributes of underline :
  - u-color
  - u-height
  - u-type
  - u-dash-gap
  - u-dash-width

 How to apply it in TextLabel:

  textLabel.SetProperty(Dali::Toolkit::TextLabel::Property::TEXT, "Before <span u-color='blue' u-type='dashed' u-height='4.0f' u-dash-gap='2.0f' u-dash-width='3.0f'> Hello World</span> after.");
  textLabel.SetProperty(Dali::Toolkit::TextLabel::Property::ENABLE_MARKUP, true);

Change-Id: Ia3dfd19e0f7a40903785e6d93d2587b9bfcac056
automated-tests/src/dali-toolkit-internal/utc-Dali-TextEditor-internal.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextField-internal.cpp
automated-tests/src/dali-toolkit-internal/utc-Dali-TextLabel-internal.cpp
dali-toolkit/internal/text/markup-processor-span.cpp
dali-toolkit/internal/text/markup-processor-span.h
dali-toolkit/internal/text/markup-processor.cpp
dali-toolkit/internal/text/underline-style-properties.h