Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

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

service UnoControlFormattedFieldModel

Description
specifies the standard model of an formatted control


Included Services

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

Properties' 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.

Properties' Details

Align
 
short Align;
Description
specifies the alignment of the text in the control.
 0: left
 1: center
 2: right
BackgroundColor
 
long BackgroundColor;
Description
specifies the background color (RGB) of the control.
Border
 
short Border;
Description
specifies the border style of the control.
 0: No border
 1: 3D border
 2: simple border
EffectiveDefault
 
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
 
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
 
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
 
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
 
boolean Enabled;
Description
determines whether a control is enabled or disabled.
FontDescriptor
 
com::sun::star::awt::FontDescriptor FontDescriptor;
Description
specifies the font attributes of the text in the control.
FormatKey
 
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
 
com::sun::star::util::XNumberFormatsSupplier FormatsSupplier;
Description
supplies the formats the field should work with.
MaxTextLen
 
short MaxTextLen;
Description
specifies the maximum character count; 0 means no limit.
Printable
 
boolean Printable;
Description
specifies that the control will be printed with the document.
ReadOnly
 
boolean ReadOnly;
Description
specifies that the content of the control cannot be modified by the user.
Spin
 
boolean Spin;
Description
specifies that the control has a spin button.
StrictFormat
 
boolean StrictFormat;
Description
specifies that the text is checked during the input.
Tabstop
 
boolean Tabstop;
Description
specifies that the control can be reached with the tabulator key.
Text
 
string Text;
Description
specifies the text that is displayed in the control.
TextColor
 
long TextColor;
Description
specifies the text color (RGB) of the control.
HelpText
 
string HelpText;
Description
specifies the help text of the control.
HelpURL
 
string HelpURL;
Description
specifies the help id of the control.

Top of Page