service UnoControlEditModel in module com::sun::star::awt::

(Global Index)

Syntax

service UnoControlEditModel;

Description

specifies the standard model of an UnoControlEdit .

Included Services

com::sun::star::awt::UnoControlModel

Property Summary

Align specifies the alignment of the text in the control.

BackgroundColor specifies the background color (RGB) of the control.

Border specifies the border style of the control.

EchoChar specifies the echo character for a password edit field. @optional

Enabled determines whether a control is enabled or disabled.

FontDescriptor specifies the font attributes of the text in the control.

HardLineBreaks specifies that the soft line breaks will be returned in the getText method of the editfield.

HScroll specifies that the content of the control can be scrolled in the horizontal direction.

MaxTextLen specifies the maximum character count; 0 means no limit.

MultiLine specifies that the edit may have more than one line.

Printable specifies that the control will be printed with the document.

ReadOnly specifies that the content of the control cannot be modified by the user.

Tabstop specifies that the control can be reached with the tabulator key.

Text specifies the text that is displayed in the control.

TextColor specifies the text color (RGB) of the control.

VScroll specifies that the content of the control can be scrolled in the vertical direction.

HelpText specifies the help text of the control.

HelpURL specifies the help id of the control.

Property Details



Align

Syntax

short Align;

Description

specifies the alignment of the text in the control.

 0: left
 1: center
 2: right

BackgroundColor

Syntax

long BackgroundColor;

Description

specifies the background color (RGB) of the control.


Border

Syntax

short Border;

Description

specifies the border style of the control.

 0: No border
 1: 3D border
 2: simple border

EchoChar [ O P T I O N A L ]

Syntax

short EchoChar;

Description

specifies the echo character for a password edit field. @optional


Enabled

Syntax

boolean Enabled;

Description

determines whether a control is enabled or disabled.


FontDescriptor

Syntax

com::sun::star::awt::FontDescriptor FontDescriptor;

Description

specifies the font attributes of the text in the control.


HardLineBreaks

Syntax

boolean HardLineBreaks;

Description

specifies that the soft line breaks will be returned in the getText method of the editfield.


HScroll

Syntax

boolean HScroll;

Description

specifies that the content of the control can be scrolled in the horizontal direction.


MaxTextLen

Syntax

short MaxTextLen;

Description

specifies the maximum character count; 0 means no limit.


MultiLine

Syntax

boolean MultiLine;

Description

specifies that the edit may have more than one line.


Printable

Syntax

boolean Printable;

Description

specifies that the control will be printed with the document.


ReadOnly

Syntax

boolean ReadOnly;

Description

specifies that the content of the control cannot be modified by the user.


Tabstop

Syntax

boolean Tabstop;

Description

specifies that the control can be reached with the tabulator key.


Text

Syntax

string Text;

Description

specifies the text that is displayed in the control.


TextColor

Syntax

long TextColor;

Description

specifies the text color (RGB) of the control.


VScroll

Syntax

boolean VScroll;

Description

specifies that the content of the control can be scrolled in the vertical direction.


HelpText

Syntax

string HelpText;

Description

specifies the help text of the control.


HelpURL

Syntax

string HelpURL;

Description

specifies the help id of the control.

Top of Page