[NUI] Support Ellipsis position Property 14/260614/7
authorShrouq Sabah <s.sabah@samsung.com>
Tue, 29 Jun 2021 23:30:46 +0000 (02:30 +0300)
committershrouq Sabah <s.sabah@samsung.com>
Wed, 28 Jul 2021 20:02:39 +0000 (20:02 +0000)
Added new property Ellipsis to TextEditor
Added new property Ellipsis_Position to TextLabel, TextField and TextEditor

Handled Ellipsis poistion for below cases:
Positions: END, START and MIDDLE
TextController: TextLabel, TextField and TextEditor
SingleLine and Muilt-lines with differnat LineWrap modes
Text direction LTR and RTL

END algorithm already exits
START and MIDDLE algorithms added according to END one

This is to integrate with NUI.

Change-Id: Ia991d8573c2cdbeb904a3703991b840631599f6e

dali-csharp-binder/src/devel-property-wrap.cpp

index efe4f1b..0d71f0b 100755 (executable)
 
 #include "common.h"
 
-#include <dali/devel-api/actors/actor-devel.h>
-#include <dali/devel-api/rendering/renderer-devel.h>
-#include <dali-toolkit/devel-api/controls/control-devel.h>
 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
-#include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
-#include <dali-toolkit/public-api/visuals/visual-properties.h>
-#include <dali-toolkit/public-api/controls/text-controls/hidden-input-properties.h>
+#include <dali-toolkit/devel-api/controls/control-devel.h>
+#include <dali-toolkit/devel-api/controls/text-controls/text-editor-devel.h>
+#include <dali-toolkit/devel-api/controls/text-controls/text-field-devel.h>
 #include <dali-toolkit/devel-api/controls/text-controls/text-label-devel.h>
-#include <dali-toolkit/devel-api/visuals/image-visual-actions-devel.h>
 #include <dali-toolkit/devel-api/visuals/animated-image-visual-actions-devel.h>
-
+#include <dali-toolkit/devel-api/visuals/image-visual-actions-devel.h>
+#include <dali-toolkit/public-api/controls/text-controls/hidden-input-properties.h>
+#include <dali-toolkit/public-api/visuals/visual-properties.h>
+#include <dali/devel-api/actors/actor-devel.h>
+#include <dali/devel-api/rendering/renderer-devel.h>
 
 using namespace Dali;
 using namespace Dali::Toolkit;
 using signalType = DevelControl::VisualEventSignalType;
-using visualSignalType = Signal< void(Control, Property::Index, Property::Index) >;
-using SignalCallbackFuncType = void(*)(Control, Property::Index, Property::Index);
+using visualSignalType =
+    Signal<void(Control, Property::Index, Property::Index)>;
+using SignalCallbackFuncType = void (*)(Control, Property::Index,
+                                        Property::Index);
 
 SWIGINTERN bool _CSharp_Dali_VisualEventSignal_Empty(signalType const *self) {
   return self->Empty();
 }
-SWIGINTERN std::size_t _CSharp_Dali_VisualEventSignal_GetConnectionCount(signalType *self) {
+SWIGINTERN std::size_t
+_CSharp_Dali_VisualEventSignal_GetConnectionCount(signalType *self) {
   return self->GetConnectionCount();
 }
-SWIGINTERN void _CSharp_Dali_VisualEventSignal_Connect(signalType *self, SignalCallbackFuncType func) {
+SWIGINTERN void
+_CSharp_Dali_VisualEventSignal_Connect(signalType *self,
+                                       SignalCallbackFuncType func) {
   self->Connect(func);
 }
-SWIGINTERN void _CSharp_Dali_VisualEventSignal_Disconnect(signalType *self, SignalCallbackFuncType func) {
+SWIGINTERN void
+_CSharp_Dali_VisualEventSignal_Disconnect(signalType *self,
+                                          SignalCallbackFuncType func) {
   self->Disconnect(func);
 }
-SWIGINTERN void _CSharp_Dali_VisualEventSignal_Emit(signalType *self, Control arg1, Property::Index arg2, Property::Index arg3) {
+SWIGINTERN void _CSharp_Dali_VisualEventSignal_Emit(signalType *self,
+                                                    Control arg1,
+                                                    Property::Index arg2,
+                                                    Property::Index arg3) {
   self->Emit(arg1, arg2, arg3);
 }
 
@@ -64,7 +74,8 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_SIBLING_ORDER_get() {
   return Dali::DevelActor::Property::SIBLING_ORDER;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_CAPTURE_ALL_TOUCH_AFTER_START_get() {
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Actor_Property_CAPTURE_ALL_TOUCH_AFTER_START_get() {
 
   return Dali::DevelActor::Property::CAPTURE_ALL_TOUCH_AFTER_START;
 }
@@ -75,7 +86,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Actor_Property_BLEND_EQUATION_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelControl::Property::TOOLTIP;
@@ -84,7 +95,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_TOOLTIP_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelControl::Property::STATE;
@@ -93,7 +104,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_STATE_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_SUB_STATE_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelControl::Property::SUB_STATE;
@@ -118,7 +129,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_View_Property_DOWN_FOCUSABLE_ACTOR_ID_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::ItemView::Property::LAYOUT;
@@ -127,7 +138,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_ItemView_Property_LAYOUT_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Button::Property::UNSELECTED_VISUAL;
@@ -136,7 +147,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_VISUAL_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Button::Property::SELECTED_VISUAL;
@@ -144,8 +155,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_VISUAL_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Button::Property::DISABLED_SELECTED_VISUAL;
@@ -153,8 +165,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_VISUAL_get()
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Button::Property::DISABLED_UNSELECTED_VISUAL;
@@ -162,8 +175,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_VISUAL_get
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Button::Property::UNSELECTED_BACKGROUND_VISUAL;
@@ -171,8 +185,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_UNSELECTED_BACKGROUND_VISUAL_g
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Button::Property::SELECTED_BACKGROUND_VISUAL;
@@ -180,26 +195,31 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_SELECTED_BACKGROUND_VISUAL_get
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_DISABLED_UNSELECTED_BACKGROUND_VISUAL_get() {
+  int jresult;
   int result;
 
-  result = (int)Dali::Toolkit::Button::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
+  result = (int)
+      Dali::Toolkit::Button::Property::DISABLED_UNSELECTED_BACKGROUND_VISUAL;
   jresult = (int)result;
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_DISABLED_SELECTED_BACKGROUND_VISUAL_get() {
+  int jresult;
   int result;
 
-  result = (int)Dali::Toolkit::Button::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
+  result =
+      (int)Dali::Toolkit::Button::Property::DISABLED_SELECTED_BACKGROUND_VISUAL;
   jresult = (int)result;
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_RELATIVE_ALIGNMENT;
@@ -208,7 +228,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_RELATIVE_ALIGNMENT_get()
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelButton::Property::LABEL_PADDING;
@@ -217,7 +237,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_LABEL_PADDING_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelButton::Property::VISUAL_PADDING;
@@ -226,7 +246,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Button_Property_VISUAL_PADDING_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Visual::Property::TRANSFORM;
@@ -235,7 +255,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_TRANSFORM_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Visual::Property::PREMULTIPLIED_ALPHA;
@@ -244,7 +264,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_PREMULTIPLIED_ALPHA_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::Visual::Property::MIX_COLOR;
@@ -253,7 +273,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Visual_Property_MIX_COLOR_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_PIXEL_SIZE_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextLabel::Property::PIXEL_SIZE;
@@ -262,7 +282,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_PIXEL_SIZE_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextLabel::Property::ELLIPSIS;
@@ -270,8 +290,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_STOP_MODE;
@@ -279,8 +300,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_STOP_MODE_get()
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_LOOP_DELAY;
@@ -289,27 +311,31 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_AUTO_SCROLL_LOOP_DELAY_get(
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_MODE_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   {
     try {
       result = (int)Dali::Toolkit::HiddenInput::Property::MODE;
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -318,28 +344,33 @@ SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_MODE_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get() {
+  int jresult;
   int result;
 
   {
     try {
       result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_CHARACTER;
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -349,27 +380,31 @@ SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_CHARACTER_get(
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   {
     try {
       result = (int)Dali::Toolkit::HiddenInput::Property::SUBSTITUTE_COUNT;
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -378,28 +413,34 @@ SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SUBSTITUTE_COUNT_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURATION_get() {
+  int jresult;
   int result;
 
   {
     try {
-      result = (int)Dali::Toolkit::HiddenInput::Property::SHOW_LAST_CHARACTER_DURATION;
-    } catch (std::out_of_range& e) {
+      result = (int)
+          Dali::Toolkit::HiddenInput::Property::SHOW_LAST_CHARACTER_DURATION;
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -409,7 +450,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_HIDDENINPUT_PROPERTY_SHOW_LAST_CHARACTER_DURAT
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_COUNT_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextLabel::Property::LINE_COUNT;
@@ -418,7 +459,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_COUNT_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_WRAP_MODE_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextLabel::Property::LINE_WRAP_MODE;
@@ -427,7 +468,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_LINE_WRAP_MODE_get() {
 }
 
 SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_TEXT_DIRECTION_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelTextLabel::Property::TEXT_DIRECTION;
@@ -435,20 +476,24 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_TEXT_DIRECTION_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_VERTICAL_LINE_ALIGNMENT_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_TextLabel_Property_VERTICAL_LINE_ALIGNMENT_get() {
+  int jresult;
   int result;
 
-  result = (int)Dali::Toolkit::DevelTextLabel::Property::VERTICAL_LINE_ALIGNMENT;
+  result =
+      (int)Dali::Toolkit::DevelTextLabel::Property::VERTICAL_LINE_ALIGNMENT;
   jresult = (int)result;
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_MATCH_SYSTEM_LANGUAGE_DIRECTION_get() {
+SWIGEXPORT int SWIGSTDCALL
+CSharp_TextLabel_Property_MATCH_SYSTEM_LANGUAGE_DIRECTION_get() {
   int jresult;
   int result;
 
-  result = (int)Dali::Toolkit::DevelTextLabel::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION;
+  result = (int)
+      Dali::Toolkit::DevelTextLabel::Property::MATCH_SYSTEM_LANGUAGE_DIRECTION;
   jresult = (int)result;
   return jresult;
 }
@@ -462,8 +507,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_MIN_LINE_SIZE_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextLabel_Property_RENDERING_BACKEND_get() {
-  int jresult ;
+SWIGEXPORT int SWIGSTDCALL
+CSharp_Dali_TextLabel_Property_RENDERING_BACKEND_get() {
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::DevelTextLabel::Property::RENDERING_BACKEND;
@@ -471,8 +517,17 @@ SWIGEXPORT int SWIGSTDCALL CSharp_Dali_TextLabel_Property_RENDERING_BACKEND_get(
   return jresult;
 }
 
+SWIGEXPORT int SWIGSTDCALL CSharp_TextLabel_Property_ELLIPSIS_POSITION_get() {
+  int jresult;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextLabel::Property::ELLIPSIS_POSITION;
+  jresult = (int)result;
+  return jresult;
+}
+
 SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_WRAP_MODE_get() {
-  int jresult ;
+  int jresult;
   int result;
 
   result = (int)Dali::Toolkit::TextEditor::Property::LINE_WRAP_MODE;
@@ -480,29 +535,51 @@ SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_LINE_WRAP_MODE_get() {
   return jresult;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_RELOAD_get()
-{
+SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ELLIPSIS_POSITION_get() {
+  int jresult;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextEditor::Property::ELLIPSIS_POSITION;
+  jresult = (int)result;
+  return jresult;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_TextEditor_Property_ELLIPSIS_get() {
+  int jresult;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextEditor::Property::ELLIPSIS;
+  jresult = (int)result;
+  return jresult;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_TextField_Property_ELLIPSIS_POSITION_get() {
+  int jresult;
+  int result;
+
+  result = (int)Dali::Toolkit::DevelTextField::Property::ELLIPSIS_POSITION;
+  jresult = (int)result;
+  return jresult;
+}
+
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_RELOAD_get() {
   return (int)Dali::Toolkit::DevelImageVisual::Action::RELOAD;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PLAY_get()
-{
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PLAY_get() {
   return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::PLAY;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PAUSE_get()
-{
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_PAUSE_get() {
   return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::PAUSE;
 }
 
-SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get()
-{
+SWIGEXPORT int SWIGSTDCALL CSharp_ImageView_IMAGE_VISUAL_ACTION_STOP_get() {
   return (int)Dali::Toolkit::DevelAnimatedImageVisual::Action::STOP;
 }
 
-
-
-SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_VisualEventSignal_Empty(void * jarg1) {
+SWIGEXPORT unsigned int SWIGSTDCALL
+CSharp_Dali_VisualEventSignal_Empty(void *jarg1) {
   unsigned int jresult;
   signalType *arg1 = (signalType *)0;
   bool result;
@@ -511,21 +588,25 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_VisualEventSignal_Empty(void * j
   {
     try {
       result = (bool)_CSharp_Dali_VisualEventSignal_Empty((signalType *)arg1);
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -534,7 +615,8 @@ SWIGEXPORT unsigned int SWIGSTDCALL CSharp_Dali_VisualEventSignal_Empty(void * j
   return jresult;
 }
 
-SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_VisualEventSignal_GetConnectionCount(void * jarg1) {
+SWIGEXPORT unsigned long SWIGSTDCALL
+CSharp_Dali_VisualEventSignal_GetConnectionCount(void *jarg1) {
   unsigned long jresult;
   signalType *arg1 = (signalType *)0;
   std::size_t result;
@@ -542,22 +624,27 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_VisualEventSignal_GetConnection
   arg1 = (signalType *)jarg1;
   {
     try {
-      result = _CSharp_Dali_VisualEventSignal_GetConnectionCount((signalType *)arg1);
-    } catch (std::out_of_range& e) {
+      result =
+          _CSharp_Dali_VisualEventSignal_GetConnectionCount((signalType *)arg1);
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -566,7 +653,8 @@ SWIGEXPORT unsigned long SWIGSTDCALL CSharp_Dali_VisualEventSignal_GetConnection
   return jresult;
 }
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Connect(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Connect(void *jarg1,
+                                                                  void *jarg2) {
   signalType *arg1 = (signalType *)0;
   SignalCallbackFuncType arg2 = (SignalCallbackFuncType)0;
 
@@ -575,28 +663,32 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Connect(void * jarg1,
   {
     try {
       _CSharp_Dali_VisualEventSignal_Connect(arg1, arg2);
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return;
       };
     }
   }
-
 }
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Disconnect(void * jarg1, void * jarg2) {
+SWIGEXPORT void SWIGSTDCALL
+CSharp_Dali_VisualEventSignal_Disconnect(void *jarg1, void *jarg2) {
   signalType *arg1 = (signalType *)0;
   SignalCallbackFuncType arg2 = (SignalCallbackFuncType)0;
 
@@ -605,28 +697,34 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Disconnect(void * jarg
   {
     try {
       _CSharp_Dali_VisualEventSignal_Disconnect(arg1, arg2);
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return;
       };
     }
   }
-
 }
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Emit(void * jarg1, void * jarg2, int jarg3, int jarg4) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Emit(void *jarg1,
+                                                               void *jarg2,
+                                                               int jarg3,
+                                                               int jarg4) {
   signalType *arg1 = (signalType *)0;
   Control *arg2 = (Control *)0;
   Dali::Property::Index arg3 = 0;
@@ -639,49 +737,56 @@ SWIGEXPORT void SWIGSTDCALL CSharp_Dali_VisualEventSignal_Emit(void * jarg1, voi
   {
     try {
       _CSharp_Dali_VisualEventSignal_Emit(arg1, *arg2, arg3, arg4);
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return;
       };
     }
   }
-
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_VisualEventSignal() {
-  void * jresult;
+SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_new_VisualEventSignal() {
+  void *jresult;
   signalType *result = 0;
 
   {
     try {
-      result = (signalType *)new Dali::Signal< signalType >();
-    } catch (std::out_of_rangee) {
+      result = (signalType *)new Dali::Signal<signalType>();
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -690,58 +795,65 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_new_VisualEventSignal() {
   return jresult;
 }
 
-SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_VisualEventSignal(void * jarg1) {
+SWIGEXPORT void SWIGSTDCALL CSharp_Dali_delete_VisualEventSignal(void *jarg1) {
   signalType *arg1 = (signalType *)0;
 
   arg1 = (signalType *)jarg1;
   {
     try {
       delete arg1;
-    } catch (std::out_of_rangee) {
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return ;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return ;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return ;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return;
       };
     }
   }
-
 }
 
-SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_VisualEventSignal(void * jarg1) {
-  void * jresult;
-  Control *arg1 = (Dali::Toolkit::Control *) 0;
+SWIGEXPORT void *SWIGSTDCALL CSharp_Dali_View_VisualEventSignal(void *jarg1) {
+  void *jresult;
+  Control *arg1 = (Dali::Toolkit::Control *)0;
   visualSignalType *result;
 
   arg1 = (Dali::Toolkit::Control *)jarg1;
   {
     try {
-      result = (visualSignalType*)&(DevelControl::VisualEventSignal(*arg1));
-    } catch (std::out_of_rangee) {
+      result = (visualSignalType *)&(DevelControl::VisualEventSignal(*arg1));
+    } catch (std::out_of_range &e) {
       {
-        SWIG_CSharpException(SWIG_IndexError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_IndexError, const_cast<char *>(e.what()));
+        return 0;
       };
-    } catch (std::exceptione) {
+    } catch (std::exception &e) {
       {
-        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char*>(e.what())); return 0;
+        SWIG_CSharpException(SWIG_RuntimeError, const_cast<char *>(e.what()));
+        return 0;
       };
     } catch (Dali::DaliException e) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, e.condition); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, e.condition);
+        return 0;
       };
     } catch (...) {
       {
-        SWIG_CSharpException(SWIG_UnknownError, "unknown error"); return 0;
+        SWIG_CSharpException(SWIG_UnknownError, "unknown error");
+        return 0;
       };
     }
   }
@@ -750,7 +862,6 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_View_VisualEventSignal(void * jarg1) {
   return jresult;
 }
 
-
 #ifdef __cplusplus
 }
 #endif