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

(Global Index)

Syntax

service UnoControlFormattedFieldModel;

Description

specifies the standard model of an formatted control

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.

EffectiveDefault specifies the default value of the field

EffectiveMax specifies the maximal value of the field.

EffectiveMin specifies the minimal value of the field.

EffectiveValue specifies the current value of the field.

Enabled determines whether a control is enabled or disabled.

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

FormatKey specifies the format to be used when formatting the field input and output

FormatsSupplier supplies the formats the field should work with.

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

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.

Spin specifies that the control has a spin button.

StrictFormat specifies that the text is checked during the input.

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.

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

EffectiveDefault

Syntax

any EffectiveDefault;

Description

specifies the default value of the field

This may be a numeric value (double) or a string, depending on the formatting of the field.


EffectiveMax

Syntax

double EffectiveMax;

Description

specifies the maximal value of the field.

This property is ignored if the format of the field is no numeric format.


EffectiveMin

Syntax

double EffectiveMin;

Description

specifies the minimal value of the field.

This property is ignored if the format of the field is no numeric format.


EffectiveValue

Syntax

double EffectiveValue;

Description

specifies the current value of the field.

This may be a numeric value (double) or a string, depending on the formatting of the field.


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.


FormatKey

Syntax

long FormatKey;

Description

specifies the format to be used when formatting the field input and output

This value is meaningful relative to the FormatsSupplier property only.


FormatsSupplier

Syntax

com::sun::star::util::XNumberFormatsSupplier FormatsSupplier;

Description

supplies the formats the field should work with.


MaxTextLen

Syntax

short MaxTextLen;

Description

specifies the maximum character count; 0 means no limit.


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.


Spin

Syntax

boolean Spin;

Description

specifies that the control has a spin button.


StrictFormat

Syntax

boolean StrictFormat;

Description

specifies that the text is checked during the input.


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.


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