service ColumnSettings in module com::sun::star::sdb::

(Global Index)

Syntax

service ColumnSettings;

Description

describes the common properties of a database column.

Exported Interfaces

com::sun::star::beans::XPropertySet

Description

provides information about and access to the properties from an implementation.


Property Summary

FormatKey contains the index of the number format that is used for the column.

Align specifies the alignment of columns text.

Width specifies the width of the column displayed in a grid, the unit is 10THMM.

Position Position of the column within a grid.

Hidden determines whether the column should be displayed or not.

ControlModel indicates a control model whichs defines the settings for layouting. The default is NULL .

HelpText describes an optional help text which can be used by UI components when representing this column. The default is NULL .

ControlDefault describes the default value which should be displayed by a control when moving to a new row. The default is NULL .

Property Details



FormatKey

Syntax

long FormatKey;

Description

contains the index of the number format that is used for the column.

The proper value can be determined by using the XNumberFormatter interface.

If the value is void , a default numberformat should be used according to the datatype of the column.


Align

Syntax

long Align;

Description

specifies the alignment of columns text.

 0: left
 1: center
 2: right

If the value is void , a default alignment should be used according to the datatype of the column.


Width

Syntax

long Width;

Description

specifies the width of the column displayed in a grid, the unit is 10THMM.

If the value is void , a default width should be used according to the label of the column.


Position

Syntax

long Position;

Description

Position of the column within a grid.

If the value is void , the default position should be taken according.


Hidden

Syntax

boolean Hidden;

Description

determines whether the column should be displayed or not.


ControlModel [ O P T I O N A L ]

Syntax

com::sun::star::beans::XPropertySet ControlModel;

Description

indicates a control model whichs defines the settings for layouting. The default is NULL .


HelpText [ O P T I O N A L ]

Syntax

string HelpText;

Description

describes an optional help text which can be used by UI components when representing this column. The default is NULL .


ControlDefault [ O P T I O N A L ]

Syntax

string ControlDefault;

Description

describes the default value which should be displayed by a control when moving to a new row. The default is NULL .

Top of Page