X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Flogical-model-impl.h;h=c54c5230767e55a88fad3ceb6c7eb435f5cf1c28;hp=08c636d11fb620a2ab786809d82d1b4ceeefc7a8;hb=29bbe2381a1cfdd96757dfd441e7f9747560b2c8;hpb=7562b511d06c8a8157883e35308aaa65e4e10810 diff --git a/dali-toolkit/internal/text/logical-model-impl.h b/dali-toolkit/internal/text/logical-model-impl.h index 08c636d..c54c523 100644 --- a/dali-toolkit/internal/text/logical-model-impl.h +++ b/dali-toolkit/internal/text/logical-model-impl.h @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -182,6 +183,20 @@ public: Length numberOfCharacters, Vector& paragraphs); + /** + * @brief Retrieves the number of bounded paragraph runs. + * + * @return The number of bounded paragraph runs. + */ + Length GetNumberOfBoundedParagraphRuns() const; + + /** + * @brief Retrieves the reference for bounded paragraph runs. + * + * @return The reference for bounded paragraph runs. + */ + const Vector& GetBoundedParagraphRuns() const; + // Embedded images /** @@ -228,6 +243,7 @@ public: Vector mAnchors; Vector mUnderlinedCharacterRuns; ///< The underlined character run from markup-processor Vector mStrikethroughCharacterRuns; ///< The strikethrough character run from markup-processor + Vector mBoundedParagraphRuns; ///< The bounded paragraph is used to handle a paragraph mark-up tag and it's attributes. Like TextAlign, TextDirection, TextIndent, LineHeight, etc. BidirectionalLineRunIndex mBidirectionalLineIndex; ///< The last fetched bidirectional line info. };