Add GetSpanType API 55/286155/2
authorssabah <s.sabah@samsung.com>
Wed, 28 Dec 2022 20:33:19 +0000 (23:33 +0300)
committershrouq Sabah <s.sabah@samsung.com>
Wed, 11 Jan 2023 09:04:37 +0000 (09:04 +0000)
commit42a903f57b518513c174d05212c117c7144588fa
tree89ea07ec5c656b5e6227d273cbe9112a914fffba
parentee3cc0da8dbf399532ae1f36b85cc1aeb02c940d
Add GetSpanType API

Add GetSpanType and SpanType enum
This API help casting from BaseSpan to one of sub classes

Change-Id: I75399a5dfba6d74148951fdd14b57889b86c738f
15 files changed:
automated-tests/src/dali-toolkit/utc-Dali-Text-BaseSpan.cpp
dali-toolkit/devel-api/file.list
dali-toolkit/devel-api/text/spans/base-span.cpp
dali-toolkit/devel-api/text/spans/base-span.h
dali-toolkit/devel-api/text/spans/span-enumerations.h [new file with mode: 0644]
dali-toolkit/internal/text/spannable/spans/background-color-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/base-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/base-span-impl.h
dali-toolkit/internal/text/spannable/spans/bold-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/character-spacing-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/font-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/foreground-color-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/italic-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/strikethrough-span-impl.cpp
dali-toolkit/internal/text/spannable/spans/underline-span-impl.cpp