2 #pragma warning disable CS1591
4 using System.Runtime.InteropServices;
5 using System.Collections.Generic;
7 using System.Threading;
8 using System.ComponentModel;
11 /// <summary>The look and layout of the text
12 /// The text format can affect the geometry of the text object, as well as how characters are presented.</summary>
13 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
14 [Efl.ITextFormatConcrete.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public interface ITextFormat :
17 Efl.Eo.IWrapper, IDisposable
19 /// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
20 /// <returns>Ellipsis value</returns>
22 /// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
23 /// <param name="value">Ellipsis value</param>
24 void SetEllipsis(double value);
25 /// <summary>Wrap mode for use in the text</summary>
26 /// <returns>Wrap mode</returns>
27 Efl.TextFormatWrap GetWrap();
28 /// <summary>Wrap mode for use in the text</summary>
29 /// <param name="wrap">Wrap mode</param>
30 void SetWrap(Efl.TextFormatWrap wrap);
31 /// <summary>Multiline is enabled or not</summary>
32 /// <returns><c>true</c> if multiline is enabled, <c>false</c> otherwise</returns>
34 /// <summary>Multiline is enabled or not</summary>
35 /// <param name="enabled"><c>true</c> if multiline is enabled, <c>false</c> otherwise</param>
36 void SetMultiline(bool enabled);
37 /// <summary>Horizontal alignment of text</summary>
38 /// <returns>Alignment type</returns>
39 Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType();
40 /// <summary>Horizontal alignment of text</summary>
41 /// <param name="value">Alignment type</param>
42 void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value);
43 /// <summary>Horizontal alignment of text</summary>
44 /// <returns>Horizontal alignment value</returns>
46 /// <summary>Horizontal alignment of text</summary>
47 /// <param name="value">Horizontal alignment value</param>
48 void SetHalign(double value);
49 /// <summary>Vertical alignment of text</summary>
50 /// <returns>Vertical alignment value</returns>
52 /// <summary>Vertical alignment of text</summary>
53 /// <param name="value">Vertical alignment value</param>
54 void SetValign(double value);
55 /// <summary>Minimal line gap (top and bottom) for each line in the text
56 /// <c>value</c> is absolute size.</summary>
57 /// <returns>Line gap value</returns>
59 /// <summary>Minimal line gap (top and bottom) for each line in the text
60 /// <c>value</c> is absolute size.</summary>
61 /// <param name="value">Line gap value</param>
62 void SetLinegap(double value);
63 /// <summary>Relative line gap (top and bottom) for each line in the text
64 /// The original line gap value is multiplied by <c>value</c>.</summary>
65 /// <returns>Relative line gap value</returns>
66 double GetLinerelgap();
67 /// <summary>Relative line gap (top and bottom) for each line in the text
68 /// The original line gap value is multiplied by <c>value</c>.</summary>
69 /// <param name="value">Relative line gap value</param>
70 void SetLinerelgap(double value);
71 /// <summary>Tabstops value</summary>
72 /// <returns>Tapstops value</returns>
74 /// <summary>Tabstops value</summary>
75 /// <param name="value">Tapstops value</param>
76 void SetTabstops(int value);
77 /// <summary>Whether text is a password</summary>
78 /// <returns><c>true</c> if the text is a password, <c>false</c> otherwise</returns>
80 /// <summary>Whether text is a password</summary>
81 /// <param name="enabled"><c>true</c> if the text is a password, <c>false</c> otherwise</param>
82 void SetPassword(bool enabled);
83 /// <summary>The character used to replace characters that can't be displayed
84 /// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
85 /// <returns>Replacement character</returns>
86 System.String GetReplacementChar();
87 /// <summary>The character used to replace characters that can't be displayed
88 /// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
89 /// <param name="repch">Replacement character</param>
90 void SetReplacementChar(System.String repch);
91 /// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
92 /// <value>Ellipsis value</value>
97 /// <summary>Wrap mode for use in the text</summary>
98 /// <value>Wrap mode</value>
99 Efl.TextFormatWrap Wrap {
103 /// <summary>Multiline is enabled or not</summary>
104 /// <value><c>true</c> if multiline is enabled, <c>false</c> otherwise</value>
109 /// <summary>Horizontal alignment of text</summary>
110 /// <value>Alignment type</value>
111 Efl.TextFormatHorizontalAlignmentAutoType HalignAutoType {
115 /// <summary>Horizontal alignment of text</summary>
116 /// <value>Horizontal alignment value</value>
121 /// <summary>Vertical alignment of text</summary>
122 /// <value>Vertical alignment value</value>
127 /// <summary>Minimal line gap (top and bottom) for each line in the text
128 /// <c>value</c> is absolute size.</summary>
129 /// <value>Line gap value</value>
134 /// <summary>Relative line gap (top and bottom) for each line in the text
135 /// The original line gap value is multiplied by <c>value</c>.</summary>
136 /// <value>Relative line gap value</value>
141 /// <summary>Tabstops value</summary>
142 /// <value>Tapstops value</value>
147 /// <summary>Whether text is a password</summary>
148 /// <value><c>true</c> if the text is a password, <c>false</c> otherwise</value>
153 /// <summary>The character used to replace characters that can't be displayed
154 /// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
155 /// <value>Replacement character</value>
156 System.String ReplacementChar {
161 /// <summary>The look and layout of the text
162 /// The text format can affect the geometry of the text object, as well as how characters are presented.</summary>
163 /// <remarks>This is a <b>BETA</b> class. It can be modified or removed in the future. Do not use it for product development.</remarks>
164 sealed public class ITextFormatConcrete :
169 /// <summary>Pointer to the native class description.</summary>
170 public override System.IntPtr NativeClass
174 if (((object)this).GetType() == typeof(ITextFormatConcrete))
176 return GetEflClassStatic();
180 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
185 /// <summary>Subclasses should override this constructor if they are expected to be instantiated from native code.
186 /// Do not call this constructor directly.</summary>
187 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
188 private ITextFormatConcrete(ConstructingHandle ch) : base(ch)
192 [System.Runtime.InteropServices.DllImport("libefl.so.1")] internal static extern System.IntPtr
193 efl_text_format_interface_get();
194 /// <summary>Initializes a new instance of the <see cref="ITextFormat"/> class.
195 /// Internal usage: This is used when interacting with C code and should not be used directly.</summary>
196 /// <param name="wh">The native pointer to be wrapped.</param>
197 private ITextFormatConcrete(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
201 /// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
202 /// <returns>Ellipsis value</returns>
203 public double GetEllipsis() {
204 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_get_ptr.Value.Delegate(this.NativeHandle);
205 Eina.Error.RaiseIfUnhandledException();
208 /// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
209 /// <param name="value">Ellipsis value</param>
210 public void SetEllipsis(double value) {
211 Efl.ITextFormatConcrete.NativeMethods.efl_text_ellipsis_set_ptr.Value.Delegate(this.NativeHandle,value);
212 Eina.Error.RaiseIfUnhandledException();
214 /// <summary>Wrap mode for use in the text</summary>
215 /// <returns>Wrap mode</returns>
216 public Efl.TextFormatWrap GetWrap() {
217 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_get_ptr.Value.Delegate(this.NativeHandle);
218 Eina.Error.RaiseIfUnhandledException();
221 /// <summary>Wrap mode for use in the text</summary>
222 /// <param name="wrap">Wrap mode</param>
223 public void SetWrap(Efl.TextFormatWrap wrap) {
224 Efl.ITextFormatConcrete.NativeMethods.efl_text_wrap_set_ptr.Value.Delegate(this.NativeHandle,wrap);
225 Eina.Error.RaiseIfUnhandledException();
227 /// <summary>Multiline is enabled or not</summary>
228 /// <returns><c>true</c> if multiline is enabled, <c>false</c> otherwise</returns>
229 public bool GetMultiline() {
230 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_get_ptr.Value.Delegate(this.NativeHandle);
231 Eina.Error.RaiseIfUnhandledException();
234 /// <summary>Multiline is enabled or not</summary>
235 /// <param name="enabled"><c>true</c> if multiline is enabled, <c>false</c> otherwise</param>
236 public void SetMultiline(bool enabled) {
237 Efl.ITextFormatConcrete.NativeMethods.efl_text_multiline_set_ptr.Value.Delegate(this.NativeHandle,enabled);
238 Eina.Error.RaiseIfUnhandledException();
240 /// <summary>Horizontal alignment of text</summary>
241 /// <returns>Alignment type</returns>
242 public Efl.TextFormatHorizontalAlignmentAutoType GetHalignAutoType() {
243 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_get_ptr.Value.Delegate(this.NativeHandle);
244 Eina.Error.RaiseIfUnhandledException();
247 /// <summary>Horizontal alignment of text</summary>
248 /// <param name="value">Alignment type</param>
249 public void SetHalignAutoType(Efl.TextFormatHorizontalAlignmentAutoType value) {
250 Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_auto_type_set_ptr.Value.Delegate(this.NativeHandle,value);
251 Eina.Error.RaiseIfUnhandledException();
253 /// <summary>Horizontal alignment of text</summary>
254 /// <returns>Horizontal alignment value</returns>
255 public double GetHalign() {
256 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_get_ptr.Value.Delegate(this.NativeHandle);
257 Eina.Error.RaiseIfUnhandledException();
260 /// <summary>Horizontal alignment of text</summary>
261 /// <param name="value">Horizontal alignment value</param>
262 public void SetHalign(double value) {
263 Efl.ITextFormatConcrete.NativeMethods.efl_text_halign_set_ptr.Value.Delegate(this.NativeHandle,value);
264 Eina.Error.RaiseIfUnhandledException();
266 /// <summary>Vertical alignment of text</summary>
267 /// <returns>Vertical alignment value</returns>
268 public double GetValign() {
269 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_get_ptr.Value.Delegate(this.NativeHandle);
270 Eina.Error.RaiseIfUnhandledException();
273 /// <summary>Vertical alignment of text</summary>
274 /// <param name="value">Vertical alignment value</param>
275 public void SetValign(double value) {
276 Efl.ITextFormatConcrete.NativeMethods.efl_text_valign_set_ptr.Value.Delegate(this.NativeHandle,value);
277 Eina.Error.RaiseIfUnhandledException();
279 /// <summary>Minimal line gap (top and bottom) for each line in the text
280 /// <c>value</c> is absolute size.</summary>
281 /// <returns>Line gap value</returns>
282 public double GetLinegap() {
283 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_get_ptr.Value.Delegate(this.NativeHandle);
284 Eina.Error.RaiseIfUnhandledException();
287 /// <summary>Minimal line gap (top and bottom) for each line in the text
288 /// <c>value</c> is absolute size.</summary>
289 /// <param name="value">Line gap value</param>
290 public void SetLinegap(double value) {
291 Efl.ITextFormatConcrete.NativeMethods.efl_text_linegap_set_ptr.Value.Delegate(this.NativeHandle,value);
292 Eina.Error.RaiseIfUnhandledException();
294 /// <summary>Relative line gap (top and bottom) for each line in the text
295 /// The original line gap value is multiplied by <c>value</c>.</summary>
296 /// <returns>Relative line gap value</returns>
297 public double GetLinerelgap() {
298 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_get_ptr.Value.Delegate(this.NativeHandle);
299 Eina.Error.RaiseIfUnhandledException();
302 /// <summary>Relative line gap (top and bottom) for each line in the text
303 /// The original line gap value is multiplied by <c>value</c>.</summary>
304 /// <param name="value">Relative line gap value</param>
305 public void SetLinerelgap(double value) {
306 Efl.ITextFormatConcrete.NativeMethods.efl_text_linerelgap_set_ptr.Value.Delegate(this.NativeHandle,value);
307 Eina.Error.RaiseIfUnhandledException();
309 /// <summary>Tabstops value</summary>
310 /// <returns>Tapstops value</returns>
311 public int GetTabstops() {
312 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_get_ptr.Value.Delegate(this.NativeHandle);
313 Eina.Error.RaiseIfUnhandledException();
316 /// <summary>Tabstops value</summary>
317 /// <param name="value">Tapstops value</param>
318 public void SetTabstops(int value) {
319 Efl.ITextFormatConcrete.NativeMethods.efl_text_tabstops_set_ptr.Value.Delegate(this.NativeHandle,value);
320 Eina.Error.RaiseIfUnhandledException();
322 /// <summary>Whether text is a password</summary>
323 /// <returns><c>true</c> if the text is a password, <c>false</c> otherwise</returns>
324 public bool GetPassword() {
325 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_password_get_ptr.Value.Delegate(this.NativeHandle);
326 Eina.Error.RaiseIfUnhandledException();
329 /// <summary>Whether text is a password</summary>
330 /// <param name="enabled"><c>true</c> if the text is a password, <c>false</c> otherwise</param>
331 public void SetPassword(bool enabled) {
332 Efl.ITextFormatConcrete.NativeMethods.efl_text_password_set_ptr.Value.Delegate(this.NativeHandle,enabled);
333 Eina.Error.RaiseIfUnhandledException();
335 /// <summary>The character used to replace characters that can't be displayed
336 /// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
337 /// <returns>Replacement character</returns>
338 public System.String GetReplacementChar() {
339 var _ret_var = Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_get_ptr.Value.Delegate(this.NativeHandle);
340 Eina.Error.RaiseIfUnhandledException();
343 /// <summary>The character used to replace characters that can't be displayed
344 /// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
345 /// <param name="repch">Replacement character</param>
346 public void SetReplacementChar(System.String repch) {
347 Efl.ITextFormatConcrete.NativeMethods.efl_text_replacement_char_set_ptr.Value.Delegate(this.NativeHandle,repch);
348 Eina.Error.RaiseIfUnhandledException();
350 /// <summary>Ellipsis value (number from -1.0 to 1.0)</summary>
351 /// <value>Ellipsis value</value>
352 public double Ellipsis {
353 get { return GetEllipsis(); }
354 set { SetEllipsis(value); }
356 /// <summary>Wrap mode for use in the text</summary>
357 /// <value>Wrap mode</value>
358 public Efl.TextFormatWrap Wrap {
359 get { return GetWrap(); }
360 set { SetWrap(value); }
362 /// <summary>Multiline is enabled or not</summary>
363 /// <value><c>true</c> if multiline is enabled, <c>false</c> otherwise</value>
364 public bool Multiline {
365 get { return GetMultiline(); }
366 set { SetMultiline(value); }
368 /// <summary>Horizontal alignment of text</summary>
369 /// <value>Alignment type</value>
370 public Efl.TextFormatHorizontalAlignmentAutoType HalignAutoType {
371 get { return GetHalignAutoType(); }
372 set { SetHalignAutoType(value); }
374 /// <summary>Horizontal alignment of text</summary>
375 /// <value>Horizontal alignment value</value>
376 public double Halign {
377 get { return GetHalign(); }
378 set { SetHalign(value); }
380 /// <summary>Vertical alignment of text</summary>
381 /// <value>Vertical alignment value</value>
382 public double Valign {
383 get { return GetValign(); }
384 set { SetValign(value); }
386 /// <summary>Minimal line gap (top and bottom) for each line in the text
387 /// <c>value</c> is absolute size.</summary>
388 /// <value>Line gap value</value>
389 public double Linegap {
390 get { return GetLinegap(); }
391 set { SetLinegap(value); }
393 /// <summary>Relative line gap (top and bottom) for each line in the text
394 /// The original line gap value is multiplied by <c>value</c>.</summary>
395 /// <value>Relative line gap value</value>
396 public double Linerelgap {
397 get { return GetLinerelgap(); }
398 set { SetLinerelgap(value); }
400 /// <summary>Tabstops value</summary>
401 /// <value>Tapstops value</value>
402 public int Tabstops {
403 get { return GetTabstops(); }
404 set { SetTabstops(value); }
406 /// <summary>Whether text is a password</summary>
407 /// <value><c>true</c> if the text is a password, <c>false</c> otherwise</value>
408 public bool Password {
409 get { return GetPassword(); }
410 set { SetPassword(value); }
412 /// <summary>The character used to replace characters that can't be displayed
413 /// Currently only used to replace characters if <see cref="Efl.ITextFormat.Password"/> is enabled.</summary>
414 /// <value>Replacement character</value>
415 public System.String ReplacementChar {
416 get { return GetReplacementChar(); }
417 set { SetReplacementChar(value); }
419 private static IntPtr GetEflClassStatic()
421 return Efl.ITextFormatConcrete.efl_text_format_interface_get();
423 /// <summary>Wrapper for native methods and virtual method delegates.
424 /// For internal use by generated code only.</summary>
425 public new class NativeMethods : Efl.Eo.EoWrapper.NativeMethods
427 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Efl);
428 /// <summary>Gets the list of Eo operations to override.</summary>
429 /// <returns>The list of Eo operations to be overload.</returns>
430 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
432 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
433 var methods = Efl.Eo.Globals.GetUserMethods(type);
435 if (efl_text_ellipsis_get_static_delegate == null)
437 efl_text_ellipsis_get_static_delegate = new efl_text_ellipsis_get_delegate(ellipsis_get);
440 if (methods.FirstOrDefault(m => m.Name == "GetEllipsis") != null)
442 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_ellipsis_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_ellipsis_get_static_delegate) });
445 if (efl_text_ellipsis_set_static_delegate == null)
447 efl_text_ellipsis_set_static_delegate = new efl_text_ellipsis_set_delegate(ellipsis_set);
450 if (methods.FirstOrDefault(m => m.Name == "SetEllipsis") != null)
452 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_ellipsis_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_ellipsis_set_static_delegate) });
455 if (efl_text_wrap_get_static_delegate == null)
457 efl_text_wrap_get_static_delegate = new efl_text_wrap_get_delegate(wrap_get);
460 if (methods.FirstOrDefault(m => m.Name == "GetWrap") != null)
462 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_wrap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_wrap_get_static_delegate) });
465 if (efl_text_wrap_set_static_delegate == null)
467 efl_text_wrap_set_static_delegate = new efl_text_wrap_set_delegate(wrap_set);
470 if (methods.FirstOrDefault(m => m.Name == "SetWrap") != null)
472 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_wrap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_wrap_set_static_delegate) });
475 if (efl_text_multiline_get_static_delegate == null)
477 efl_text_multiline_get_static_delegate = new efl_text_multiline_get_delegate(multiline_get);
480 if (methods.FirstOrDefault(m => m.Name == "GetMultiline") != null)
482 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_multiline_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_multiline_get_static_delegate) });
485 if (efl_text_multiline_set_static_delegate == null)
487 efl_text_multiline_set_static_delegate = new efl_text_multiline_set_delegate(multiline_set);
490 if (methods.FirstOrDefault(m => m.Name == "SetMultiline") != null)
492 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_multiline_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_multiline_set_static_delegate) });
495 if (efl_text_halign_auto_type_get_static_delegate == null)
497 efl_text_halign_auto_type_get_static_delegate = new efl_text_halign_auto_type_get_delegate(halign_auto_type_get);
500 if (methods.FirstOrDefault(m => m.Name == "GetHalignAutoType") != null)
502 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_auto_type_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_auto_type_get_static_delegate) });
505 if (efl_text_halign_auto_type_set_static_delegate == null)
507 efl_text_halign_auto_type_set_static_delegate = new efl_text_halign_auto_type_set_delegate(halign_auto_type_set);
510 if (methods.FirstOrDefault(m => m.Name == "SetHalignAutoType") != null)
512 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_auto_type_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_auto_type_set_static_delegate) });
515 if (efl_text_halign_get_static_delegate == null)
517 efl_text_halign_get_static_delegate = new efl_text_halign_get_delegate(halign_get);
520 if (methods.FirstOrDefault(m => m.Name == "GetHalign") != null)
522 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_get_static_delegate) });
525 if (efl_text_halign_set_static_delegate == null)
527 efl_text_halign_set_static_delegate = new efl_text_halign_set_delegate(halign_set);
530 if (methods.FirstOrDefault(m => m.Name == "SetHalign") != null)
532 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_halign_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_halign_set_static_delegate) });
535 if (efl_text_valign_get_static_delegate == null)
537 efl_text_valign_get_static_delegate = new efl_text_valign_get_delegate(valign_get);
540 if (methods.FirstOrDefault(m => m.Name == "GetValign") != null)
542 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_valign_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_valign_get_static_delegate) });
545 if (efl_text_valign_set_static_delegate == null)
547 efl_text_valign_set_static_delegate = new efl_text_valign_set_delegate(valign_set);
550 if (methods.FirstOrDefault(m => m.Name == "SetValign") != null)
552 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_valign_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_valign_set_static_delegate) });
555 if (efl_text_linegap_get_static_delegate == null)
557 efl_text_linegap_get_static_delegate = new efl_text_linegap_get_delegate(linegap_get);
560 if (methods.FirstOrDefault(m => m.Name == "GetLinegap") != null)
562 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linegap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linegap_get_static_delegate) });
565 if (efl_text_linegap_set_static_delegate == null)
567 efl_text_linegap_set_static_delegate = new efl_text_linegap_set_delegate(linegap_set);
570 if (methods.FirstOrDefault(m => m.Name == "SetLinegap") != null)
572 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linegap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linegap_set_static_delegate) });
575 if (efl_text_linerelgap_get_static_delegate == null)
577 efl_text_linerelgap_get_static_delegate = new efl_text_linerelgap_get_delegate(linerelgap_get);
580 if (methods.FirstOrDefault(m => m.Name == "GetLinerelgap") != null)
582 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linerelgap_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linerelgap_get_static_delegate) });
585 if (efl_text_linerelgap_set_static_delegate == null)
587 efl_text_linerelgap_set_static_delegate = new efl_text_linerelgap_set_delegate(linerelgap_set);
590 if (methods.FirstOrDefault(m => m.Name == "SetLinerelgap") != null)
592 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_linerelgap_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_linerelgap_set_static_delegate) });
595 if (efl_text_tabstops_get_static_delegate == null)
597 efl_text_tabstops_get_static_delegate = new efl_text_tabstops_get_delegate(tabstops_get);
600 if (methods.FirstOrDefault(m => m.Name == "GetTabstops") != null)
602 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_tabstops_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_tabstops_get_static_delegate) });
605 if (efl_text_tabstops_set_static_delegate == null)
607 efl_text_tabstops_set_static_delegate = new efl_text_tabstops_set_delegate(tabstops_set);
610 if (methods.FirstOrDefault(m => m.Name == "SetTabstops") != null)
612 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_tabstops_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_tabstops_set_static_delegate) });
615 if (efl_text_password_get_static_delegate == null)
617 efl_text_password_get_static_delegate = new efl_text_password_get_delegate(password_get);
620 if (methods.FirstOrDefault(m => m.Name == "GetPassword") != null)
622 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_password_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_password_get_static_delegate) });
625 if (efl_text_password_set_static_delegate == null)
627 efl_text_password_set_static_delegate = new efl_text_password_set_delegate(password_set);
630 if (methods.FirstOrDefault(m => m.Name == "SetPassword") != null)
632 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_password_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_password_set_static_delegate) });
635 if (efl_text_replacement_char_get_static_delegate == null)
637 efl_text_replacement_char_get_static_delegate = new efl_text_replacement_char_get_delegate(replacement_char_get);
640 if (methods.FirstOrDefault(m => m.Name == "GetReplacementChar") != null)
642 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_replacement_char_get"), func = Marshal.GetFunctionPointerForDelegate(efl_text_replacement_char_get_static_delegate) });
645 if (efl_text_replacement_char_set_static_delegate == null)
647 efl_text_replacement_char_set_static_delegate = new efl_text_replacement_char_set_delegate(replacement_char_set);
650 if (methods.FirstOrDefault(m => m.Name == "SetReplacementChar") != null)
652 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_text_replacement_char_set"), func = Marshal.GetFunctionPointerForDelegate(efl_text_replacement_char_set_static_delegate) });
657 /// <summary>Returns the Eo class for the native methods of this class.</summary>
658 /// <returns>The native class pointer.</returns>
659 public override IntPtr GetEflClass()
661 return Efl.ITextFormatConcrete.efl_text_format_interface_get();
664 #pragma warning disable CA1707, CS1591, SA1300, SA1600
667 private delegate double efl_text_ellipsis_get_delegate(System.IntPtr obj, System.IntPtr pd);
670 public delegate double efl_text_ellipsis_get_api_delegate(System.IntPtr obj);
672 public static Efl.Eo.FunctionWrapper<efl_text_ellipsis_get_api_delegate> efl_text_ellipsis_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_ellipsis_get_api_delegate>(Module, "efl_text_ellipsis_get");
674 private static double ellipsis_get(System.IntPtr obj, System.IntPtr pd)
676 Eina.Log.Debug("function efl_text_ellipsis_get was called");
677 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
680 double _ret_var = default(double);
683 _ret_var = ((ITextFormat)ws.Target).GetEllipsis();
687 Eina.Log.Warning($"Callback error: {e.ToString()}");
688 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
696 return efl_text_ellipsis_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
700 private static efl_text_ellipsis_get_delegate efl_text_ellipsis_get_static_delegate;
703 private delegate void efl_text_ellipsis_set_delegate(System.IntPtr obj, System.IntPtr pd, double value);
706 public delegate void efl_text_ellipsis_set_api_delegate(System.IntPtr obj, double value);
708 public static Efl.Eo.FunctionWrapper<efl_text_ellipsis_set_api_delegate> efl_text_ellipsis_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_ellipsis_set_api_delegate>(Module, "efl_text_ellipsis_set");
710 private static void ellipsis_set(System.IntPtr obj, System.IntPtr pd, double value)
712 Eina.Log.Debug("function efl_text_ellipsis_set was called");
713 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
719 ((ITextFormat)ws.Target).SetEllipsis(value);
723 Eina.Log.Warning($"Callback error: {e.ToString()}");
724 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
731 efl_text_ellipsis_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
735 private static efl_text_ellipsis_set_delegate efl_text_ellipsis_set_static_delegate;
738 private delegate Efl.TextFormatWrap efl_text_wrap_get_delegate(System.IntPtr obj, System.IntPtr pd);
741 public delegate Efl.TextFormatWrap efl_text_wrap_get_api_delegate(System.IntPtr obj);
743 public static Efl.Eo.FunctionWrapper<efl_text_wrap_get_api_delegate> efl_text_wrap_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_wrap_get_api_delegate>(Module, "efl_text_wrap_get");
745 private static Efl.TextFormatWrap wrap_get(System.IntPtr obj, System.IntPtr pd)
747 Eina.Log.Debug("function efl_text_wrap_get was called");
748 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
751 Efl.TextFormatWrap _ret_var = default(Efl.TextFormatWrap);
754 _ret_var = ((ITextFormat)ws.Target).GetWrap();
758 Eina.Log.Warning($"Callback error: {e.ToString()}");
759 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
767 return efl_text_wrap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
771 private static efl_text_wrap_get_delegate efl_text_wrap_get_static_delegate;
774 private delegate void efl_text_wrap_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatWrap wrap);
777 public delegate void efl_text_wrap_set_api_delegate(System.IntPtr obj, Efl.TextFormatWrap wrap);
779 public static Efl.Eo.FunctionWrapper<efl_text_wrap_set_api_delegate> efl_text_wrap_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_wrap_set_api_delegate>(Module, "efl_text_wrap_set");
781 private static void wrap_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatWrap wrap)
783 Eina.Log.Debug("function efl_text_wrap_set was called");
784 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
790 ((ITextFormat)ws.Target).SetWrap(wrap);
794 Eina.Log.Warning($"Callback error: {e.ToString()}");
795 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
802 efl_text_wrap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), wrap);
806 private static efl_text_wrap_set_delegate efl_text_wrap_set_static_delegate;
808 [return: MarshalAs(UnmanagedType.U1)]
809 private delegate bool efl_text_multiline_get_delegate(System.IntPtr obj, System.IntPtr pd);
811 [return: MarshalAs(UnmanagedType.U1)]
812 public delegate bool efl_text_multiline_get_api_delegate(System.IntPtr obj);
814 public static Efl.Eo.FunctionWrapper<efl_text_multiline_get_api_delegate> efl_text_multiline_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_multiline_get_api_delegate>(Module, "efl_text_multiline_get");
816 private static bool multiline_get(System.IntPtr obj, System.IntPtr pd)
818 Eina.Log.Debug("function efl_text_multiline_get was called");
819 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
822 bool _ret_var = default(bool);
825 _ret_var = ((ITextFormat)ws.Target).GetMultiline();
829 Eina.Log.Warning($"Callback error: {e.ToString()}");
830 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
838 return efl_text_multiline_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
842 private static efl_text_multiline_get_delegate efl_text_multiline_get_static_delegate;
845 private delegate void efl_text_multiline_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enabled);
848 public delegate void efl_text_multiline_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enabled);
850 public static Efl.Eo.FunctionWrapper<efl_text_multiline_set_api_delegate> efl_text_multiline_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_multiline_set_api_delegate>(Module, "efl_text_multiline_set");
852 private static void multiline_set(System.IntPtr obj, System.IntPtr pd, bool enabled)
854 Eina.Log.Debug("function efl_text_multiline_set was called");
855 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
861 ((ITextFormat)ws.Target).SetMultiline(enabled);
865 Eina.Log.Warning($"Callback error: {e.ToString()}");
866 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
873 efl_text_multiline_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enabled);
877 private static efl_text_multiline_set_delegate efl_text_multiline_set_static_delegate;
880 private delegate Efl.TextFormatHorizontalAlignmentAutoType efl_text_halign_auto_type_get_delegate(System.IntPtr obj, System.IntPtr pd);
883 public delegate Efl.TextFormatHorizontalAlignmentAutoType efl_text_halign_auto_type_get_api_delegate(System.IntPtr obj);
885 public static Efl.Eo.FunctionWrapper<efl_text_halign_auto_type_get_api_delegate> efl_text_halign_auto_type_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_halign_auto_type_get_api_delegate>(Module, "efl_text_halign_auto_type_get");
887 private static Efl.TextFormatHorizontalAlignmentAutoType halign_auto_type_get(System.IntPtr obj, System.IntPtr pd)
889 Eina.Log.Debug("function efl_text_halign_auto_type_get was called");
890 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
893 Efl.TextFormatHorizontalAlignmentAutoType _ret_var = default(Efl.TextFormatHorizontalAlignmentAutoType);
896 _ret_var = ((ITextFormat)ws.Target).GetHalignAutoType();
900 Eina.Log.Warning($"Callback error: {e.ToString()}");
901 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
909 return efl_text_halign_auto_type_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
913 private static efl_text_halign_auto_type_get_delegate efl_text_halign_auto_type_get_static_delegate;
916 private delegate void efl_text_halign_auto_type_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatHorizontalAlignmentAutoType value);
919 public delegate void efl_text_halign_auto_type_set_api_delegate(System.IntPtr obj, Efl.TextFormatHorizontalAlignmentAutoType value);
921 public static Efl.Eo.FunctionWrapper<efl_text_halign_auto_type_set_api_delegate> efl_text_halign_auto_type_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_halign_auto_type_set_api_delegate>(Module, "efl_text_halign_auto_type_set");
923 private static void halign_auto_type_set(System.IntPtr obj, System.IntPtr pd, Efl.TextFormatHorizontalAlignmentAutoType value)
925 Eina.Log.Debug("function efl_text_halign_auto_type_set was called");
926 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
932 ((ITextFormat)ws.Target).SetHalignAutoType(value);
936 Eina.Log.Warning($"Callback error: {e.ToString()}");
937 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
944 efl_text_halign_auto_type_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
948 private static efl_text_halign_auto_type_set_delegate efl_text_halign_auto_type_set_static_delegate;
951 private delegate double efl_text_halign_get_delegate(System.IntPtr obj, System.IntPtr pd);
954 public delegate double efl_text_halign_get_api_delegate(System.IntPtr obj);
956 public static Efl.Eo.FunctionWrapper<efl_text_halign_get_api_delegate> efl_text_halign_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_halign_get_api_delegate>(Module, "efl_text_halign_get");
958 private static double halign_get(System.IntPtr obj, System.IntPtr pd)
960 Eina.Log.Debug("function efl_text_halign_get was called");
961 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
964 double _ret_var = default(double);
967 _ret_var = ((ITextFormat)ws.Target).GetHalign();
971 Eina.Log.Warning($"Callback error: {e.ToString()}");
972 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
980 return efl_text_halign_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
984 private static efl_text_halign_get_delegate efl_text_halign_get_static_delegate;
987 private delegate void efl_text_halign_set_delegate(System.IntPtr obj, System.IntPtr pd, double value);
990 public delegate void efl_text_halign_set_api_delegate(System.IntPtr obj, double value);
992 public static Efl.Eo.FunctionWrapper<efl_text_halign_set_api_delegate> efl_text_halign_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_halign_set_api_delegate>(Module, "efl_text_halign_set");
994 private static void halign_set(System.IntPtr obj, System.IntPtr pd, double value)
996 Eina.Log.Debug("function efl_text_halign_set was called");
997 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1003 ((ITextFormat)ws.Target).SetHalign(value);
1007 Eina.Log.Warning($"Callback error: {e.ToString()}");
1008 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1015 efl_text_halign_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
1019 private static efl_text_halign_set_delegate efl_text_halign_set_static_delegate;
1022 private delegate double efl_text_valign_get_delegate(System.IntPtr obj, System.IntPtr pd);
1025 public delegate double efl_text_valign_get_api_delegate(System.IntPtr obj);
1027 public static Efl.Eo.FunctionWrapper<efl_text_valign_get_api_delegate> efl_text_valign_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_valign_get_api_delegate>(Module, "efl_text_valign_get");
1029 private static double valign_get(System.IntPtr obj, System.IntPtr pd)
1031 Eina.Log.Debug("function efl_text_valign_get was called");
1032 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1035 double _ret_var = default(double);
1038 _ret_var = ((ITextFormat)ws.Target).GetValign();
1042 Eina.Log.Warning($"Callback error: {e.ToString()}");
1043 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1051 return efl_text_valign_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1055 private static efl_text_valign_get_delegate efl_text_valign_get_static_delegate;
1058 private delegate void efl_text_valign_set_delegate(System.IntPtr obj, System.IntPtr pd, double value);
1061 public delegate void efl_text_valign_set_api_delegate(System.IntPtr obj, double value);
1063 public static Efl.Eo.FunctionWrapper<efl_text_valign_set_api_delegate> efl_text_valign_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_valign_set_api_delegate>(Module, "efl_text_valign_set");
1065 private static void valign_set(System.IntPtr obj, System.IntPtr pd, double value)
1067 Eina.Log.Debug("function efl_text_valign_set was called");
1068 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1074 ((ITextFormat)ws.Target).SetValign(value);
1078 Eina.Log.Warning($"Callback error: {e.ToString()}");
1079 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1086 efl_text_valign_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
1090 private static efl_text_valign_set_delegate efl_text_valign_set_static_delegate;
1093 private delegate double efl_text_linegap_get_delegate(System.IntPtr obj, System.IntPtr pd);
1096 public delegate double efl_text_linegap_get_api_delegate(System.IntPtr obj);
1098 public static Efl.Eo.FunctionWrapper<efl_text_linegap_get_api_delegate> efl_text_linegap_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_linegap_get_api_delegate>(Module, "efl_text_linegap_get");
1100 private static double linegap_get(System.IntPtr obj, System.IntPtr pd)
1102 Eina.Log.Debug("function efl_text_linegap_get was called");
1103 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1106 double _ret_var = default(double);
1109 _ret_var = ((ITextFormat)ws.Target).GetLinegap();
1113 Eina.Log.Warning($"Callback error: {e.ToString()}");
1114 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1122 return efl_text_linegap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1126 private static efl_text_linegap_get_delegate efl_text_linegap_get_static_delegate;
1129 private delegate void efl_text_linegap_set_delegate(System.IntPtr obj, System.IntPtr pd, double value);
1132 public delegate void efl_text_linegap_set_api_delegate(System.IntPtr obj, double value);
1134 public static Efl.Eo.FunctionWrapper<efl_text_linegap_set_api_delegate> efl_text_linegap_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_linegap_set_api_delegate>(Module, "efl_text_linegap_set");
1136 private static void linegap_set(System.IntPtr obj, System.IntPtr pd, double value)
1138 Eina.Log.Debug("function efl_text_linegap_set was called");
1139 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1145 ((ITextFormat)ws.Target).SetLinegap(value);
1149 Eina.Log.Warning($"Callback error: {e.ToString()}");
1150 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1157 efl_text_linegap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
1161 private static efl_text_linegap_set_delegate efl_text_linegap_set_static_delegate;
1164 private delegate double efl_text_linerelgap_get_delegate(System.IntPtr obj, System.IntPtr pd);
1167 public delegate double efl_text_linerelgap_get_api_delegate(System.IntPtr obj);
1169 public static Efl.Eo.FunctionWrapper<efl_text_linerelgap_get_api_delegate> efl_text_linerelgap_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_linerelgap_get_api_delegate>(Module, "efl_text_linerelgap_get");
1171 private static double linerelgap_get(System.IntPtr obj, System.IntPtr pd)
1173 Eina.Log.Debug("function efl_text_linerelgap_get was called");
1174 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1177 double _ret_var = default(double);
1180 _ret_var = ((ITextFormat)ws.Target).GetLinerelgap();
1184 Eina.Log.Warning($"Callback error: {e.ToString()}");
1185 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1193 return efl_text_linerelgap_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1197 private static efl_text_linerelgap_get_delegate efl_text_linerelgap_get_static_delegate;
1200 private delegate void efl_text_linerelgap_set_delegate(System.IntPtr obj, System.IntPtr pd, double value);
1203 public delegate void efl_text_linerelgap_set_api_delegate(System.IntPtr obj, double value);
1205 public static Efl.Eo.FunctionWrapper<efl_text_linerelgap_set_api_delegate> efl_text_linerelgap_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_linerelgap_set_api_delegate>(Module, "efl_text_linerelgap_set");
1207 private static void linerelgap_set(System.IntPtr obj, System.IntPtr pd, double value)
1209 Eina.Log.Debug("function efl_text_linerelgap_set was called");
1210 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1216 ((ITextFormat)ws.Target).SetLinerelgap(value);
1220 Eina.Log.Warning($"Callback error: {e.ToString()}");
1221 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1228 efl_text_linerelgap_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
1232 private static efl_text_linerelgap_set_delegate efl_text_linerelgap_set_static_delegate;
1235 private delegate int efl_text_tabstops_get_delegate(System.IntPtr obj, System.IntPtr pd);
1238 public delegate int efl_text_tabstops_get_api_delegate(System.IntPtr obj);
1240 public static Efl.Eo.FunctionWrapper<efl_text_tabstops_get_api_delegate> efl_text_tabstops_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_tabstops_get_api_delegate>(Module, "efl_text_tabstops_get");
1242 private static int tabstops_get(System.IntPtr obj, System.IntPtr pd)
1244 Eina.Log.Debug("function efl_text_tabstops_get was called");
1245 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1248 int _ret_var = default(int);
1251 _ret_var = ((ITextFormat)ws.Target).GetTabstops();
1255 Eina.Log.Warning($"Callback error: {e.ToString()}");
1256 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1264 return efl_text_tabstops_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1268 private static efl_text_tabstops_get_delegate efl_text_tabstops_get_static_delegate;
1271 private delegate void efl_text_tabstops_set_delegate(System.IntPtr obj, System.IntPtr pd, int value);
1274 public delegate void efl_text_tabstops_set_api_delegate(System.IntPtr obj, int value);
1276 public static Efl.Eo.FunctionWrapper<efl_text_tabstops_set_api_delegate> efl_text_tabstops_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_tabstops_set_api_delegate>(Module, "efl_text_tabstops_set");
1278 private static void tabstops_set(System.IntPtr obj, System.IntPtr pd, int value)
1280 Eina.Log.Debug("function efl_text_tabstops_set was called");
1281 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1287 ((ITextFormat)ws.Target).SetTabstops(value);
1291 Eina.Log.Warning($"Callback error: {e.ToString()}");
1292 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1299 efl_text_tabstops_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), value);
1303 private static efl_text_tabstops_set_delegate efl_text_tabstops_set_static_delegate;
1305 [return: MarshalAs(UnmanagedType.U1)]
1306 private delegate bool efl_text_password_get_delegate(System.IntPtr obj, System.IntPtr pd);
1308 [return: MarshalAs(UnmanagedType.U1)]
1309 public delegate bool efl_text_password_get_api_delegate(System.IntPtr obj);
1311 public static Efl.Eo.FunctionWrapper<efl_text_password_get_api_delegate> efl_text_password_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_password_get_api_delegate>(Module, "efl_text_password_get");
1313 private static bool password_get(System.IntPtr obj, System.IntPtr pd)
1315 Eina.Log.Debug("function efl_text_password_get was called");
1316 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1319 bool _ret_var = default(bool);
1322 _ret_var = ((ITextFormat)ws.Target).GetPassword();
1326 Eina.Log.Warning($"Callback error: {e.ToString()}");
1327 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1335 return efl_text_password_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1339 private static efl_text_password_get_delegate efl_text_password_get_static_delegate;
1342 private delegate void efl_text_password_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool enabled);
1345 public delegate void efl_text_password_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool enabled);
1347 public static Efl.Eo.FunctionWrapper<efl_text_password_set_api_delegate> efl_text_password_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_password_set_api_delegate>(Module, "efl_text_password_set");
1349 private static void password_set(System.IntPtr obj, System.IntPtr pd, bool enabled)
1351 Eina.Log.Debug("function efl_text_password_set was called");
1352 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1358 ((ITextFormat)ws.Target).SetPassword(enabled);
1362 Eina.Log.Warning($"Callback error: {e.ToString()}");
1363 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1370 efl_text_password_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), enabled);
1374 private static efl_text_password_set_delegate efl_text_password_set_static_delegate;
1376 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1377 private delegate System.String efl_text_replacement_char_get_delegate(System.IntPtr obj, System.IntPtr pd);
1379 [return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))]
1380 public delegate System.String efl_text_replacement_char_get_api_delegate(System.IntPtr obj);
1382 public static Efl.Eo.FunctionWrapper<efl_text_replacement_char_get_api_delegate> efl_text_replacement_char_get_ptr = new Efl.Eo.FunctionWrapper<efl_text_replacement_char_get_api_delegate>(Module, "efl_text_replacement_char_get");
1384 private static System.String replacement_char_get(System.IntPtr obj, System.IntPtr pd)
1386 Eina.Log.Debug("function efl_text_replacement_char_get was called");
1387 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1390 System.String _ret_var = default(System.String);
1393 _ret_var = ((ITextFormat)ws.Target).GetReplacementChar();
1397 Eina.Log.Warning($"Callback error: {e.ToString()}");
1398 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1406 return efl_text_replacement_char_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1410 private static efl_text_replacement_char_get_delegate efl_text_replacement_char_get_static_delegate;
1413 private delegate void efl_text_replacement_char_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String repch);
1416 public delegate void efl_text_replacement_char_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String repch);
1418 public static Efl.Eo.FunctionWrapper<efl_text_replacement_char_set_api_delegate> efl_text_replacement_char_set_ptr = new Efl.Eo.FunctionWrapper<efl_text_replacement_char_set_api_delegate>(Module, "efl_text_replacement_char_set");
1420 private static void replacement_char_set(System.IntPtr obj, System.IntPtr pd, System.String repch)
1422 Eina.Log.Debug("function efl_text_replacement_char_set was called");
1423 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1429 ((ITextFormat)ws.Target).SetReplacementChar(repch);
1433 Eina.Log.Warning($"Callback error: {e.ToString()}");
1434 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1441 efl_text_replacement_char_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), repch);
1445 private static efl_text_replacement_char_set_delegate efl_text_replacement_char_set_static_delegate;
1447 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1454 #pragma warning disable CS1591
1455 public static class EflITextFormatConcrete_ExtensionMethods {
1456 public static Efl.BindableProperty<double> Ellipsis<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1457 return new Efl.BindableProperty<double>("ellipsis", fac);
1460 public static Efl.BindableProperty<Efl.TextFormatWrap> Wrap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1461 return new Efl.BindableProperty<Efl.TextFormatWrap>("wrap", fac);
1464 public static Efl.BindableProperty<bool> Multiline<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1465 return new Efl.BindableProperty<bool>("multiline", fac);
1468 public static Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType> HalignAutoType<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1469 return new Efl.BindableProperty<Efl.TextFormatHorizontalAlignmentAutoType>("halign_auto_type", fac);
1472 public static Efl.BindableProperty<double> Halign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1473 return new Efl.BindableProperty<double>("halign", fac);
1476 public static Efl.BindableProperty<double> Valign<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1477 return new Efl.BindableProperty<double>("valign", fac);
1480 public static Efl.BindableProperty<double> Linegap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1481 return new Efl.BindableProperty<double>("linegap", fac);
1484 public static Efl.BindableProperty<double> Linerelgap<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1485 return new Efl.BindableProperty<double>("linerelgap", fac);
1488 public static Efl.BindableProperty<int> Tabstops<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1489 return new Efl.BindableProperty<int>("tabstops", fac);
1492 public static Efl.BindableProperty<bool> Password<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1493 return new Efl.BindableProperty<bool>("password", fac);
1496 public static Efl.BindableProperty<System.String> ReplacementChar<T>(this Efl.Ui.ItemFactory<T> fac, Efl.Csharp.ExtensionTag<Efl.ITextFormat, T>magic = null) where T : Efl.ITextFormat {
1497 return new Efl.BindableProperty<System.String>("replacement_char", fac);
1501 #pragma warning restore CS1591
1505 /// <summary>Wrap mode of the text (not in effect if not multiline)</summary>
1506 [Efl.Eo.BindingEntity]
1507 public enum TextFormatWrap
1509 /// <summary>No wrapping</summary>
1511 /// <summary>Wrap mode character</summary>
1513 /// <summary>Wrap mode word</summary>
1515 /// <summary>Wrap mode mixed</summary>
1517 /// <summary>Wrap mode hyphenation</summary>
1525 /// <summary>Auto-horizontal alignment of the text</summary>
1526 [Efl.Eo.BindingEntity]
1527 public enum TextFormatHorizontalAlignmentAutoType
1529 /// <summary>No auto-alignment rule</summary>
1531 /// <summary>Respects LTR/RTL (bidirectional) settings</summary>
1533 /// <summary>Respects locale's langauge settings</summary>
1535 /// <summary>Text is places at opposite side of LTR/RTL (bidirectional) settings</summary>