X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=dali-toolkit%2Finternal%2Ftext%2Ftext-view.h;h=93542cc1c63b9fefa48347450adaea43129d6823;hb=3e844ed708b1cbe03cd5bfe9ad202aad27bbe360;hp=37d6e0fe44bca36928300ef12762486c45d0f1a2;hpb=04194fd795542d80b5cf7c1b954ca14593e536d4;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-view.h b/dali-toolkit/internal/text/text-view.h index 37d6e0f..93542cc 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; @@ -168,9 +177,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() @@ -239,6 +248,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);