X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-view.h;h=7cccf19d47fee2c197709324fc9be5a71086dd6d;hp=37d6e0fe44bca36928300ef12762486c45d0f1a2;hb=020b07151378db83ab8e12eb3e2d51db0ed69996;hpb=0c862d5823332bc2161c64f901395f2390c82fd2 diff --git a/dali-toolkit/internal/text/text-view.h b/dali-toolkit/internal/text/text-view.h index 37d6e0f..7cccf19 100644 --- a/dali-toolkit/internal/text/text-view.h +++ b/dali-toolkit/internal/text/text-view.h @@ -19,6 +19,8 @@ */ // INTERNAL INCLUDES +#include +#include #include #include @@ -52,6 +54,13 @@ public: void SetVisualModel(VisualModelPtr visualModel); /** + * @brief Set the logical model. + * + * @param[in] logicalModel The logical model used by the View. + */ + void SetLogicalModel(LogicalModelPtr logicalModel); + + /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetControlSize() */ const Vector2& GetControlSize() const override; @@ -126,6 +135,11 @@ public: bool IsUnderlineEnabled() const override; /** + * @copydoc Dali::Toolkit::Text::ViewInterface::IsMarkupUnderlineSet() + */ + bool const IsMarkupUnderlineSet() const; + + /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetHyphens() */ const GlyphInfo* GetHyphens() const override; @@ -168,9 +182,9 @@ public: /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetUnderlineRuns() */ - virtual void GetUnderlineRuns(GlyphRun* underlineRuns, - UnderlineRunIndex index, - Length numberOfRuns) const; + virtual void GetUnderlineRuns(UnderlinedGlyphRun* underlineRuns, + UnderlineRunIndex index, + Length numberOfRuns) const; /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetOutlineColor() @@ -223,6 +237,11 @@ public: bool IsStrikethroughEnabled() const override; /** + * @copydoc Dali::Toolkit::Text::ViewInterface::IsMarkupStrikethroughSet() + */ + bool const IsMarkupStrikethroughSet() const; + + /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetStrikethroughHeight() */ float GetStrikethroughHeight() const override; @@ -239,6 +258,41 @@ public: StrikethroughRunIndex index, Length numberOfRuns) const; + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetNumberOfBoundedParagraphRuns() + */ + virtual Length GetNumberOfBoundedParagraphRuns() const; + + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetBoundedParagraphRuns() + */ + virtual const Vector& GetBoundedParagraphRuns() const; + + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetNumberOfCharacterSpacingGlyphRuns() + */ + Length GetNumberOfCharacterSpacingGlyphRuns() const override; + + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetCharacterSpacingGlyphRuns() + */ + const Vector& GetCharacterSpacingGlyphRuns() const override; + + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetCharacterSpacing() + */ + const float GetCharacterSpacing() const override; + + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetTextBuffer() + */ + const Character* GetTextBuffer() const override; + + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetGlyphsToCharacters() + */ + const Vector& GetGlyphsToCharacters() const override; + private: // Undefined View(const View& handle);