Text scroll animation bug fix
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / text-controller.h
index b9cbb2c..e3a7427 100644 (file)
@@ -422,6 +422,18 @@ public: // Configure the text controller.
    */
   void ShadowSetByString( bool setByString );
 
+  /**
+   * @brief Query if font style settings were provided by string or map
+   * @return bool true if set by string
+   */
+  bool IsFontStyleSetByString();
+
+  /**
+   * Set method font style setting were set by
+   * @param[in] bool, true if set by string
+   */
+  void FontStyleSetByString( bool setByString );
+
 public: // Update.
 
   /**
@@ -898,6 +910,13 @@ public: // Queries & retrieves.
   float GetHeightForWidth( float width );
 
   /**
+   * @brief Retrieves the text's number of lines for a given width.
+   * @param[in] width The width of the text's area.
+   * @ return The number of lines.
+   */
+  int GetLineCount( float width );
+
+  /**
    * @brief Retrieves the text's model.
    *
    * @return A pointer to the text's model.