:: com :: sun :: star :: sdb ::

service ColumnSettings
Description
describes the common properties of a database column.

Exported Interfaces
::com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Properties' 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 [ OPTIONAL ]
indicates a control model whichs defines the settings for layouting. The default is NULL .
HelpText [ OPTIONAL ]
describes an optional help text which can be used by UI components when representing this column. The default is NULL .
ControlDefault [ OPTIONAL ]
describes the default value which should be displayed by a control when moving to a new row. The default is NULL .
Properties' Details
FormatKey
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 ::com::sun::star::util::XNumberFormatter interface.

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

Align
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
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
long Position;
Description
Position of the column within a grid.

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

Hidden
boolean Hidden;
Description
determines whether the column should be displayed or not.
ControlModel
::com::sun::star::beans::XPropertySet ControlModel;
[ OPTIONAL ]
Description
indicates a control model whichs defines the settings for layouting. The default is NULL .
HelpText
string HelpText;
[ OPTIONAL ]
Description
describes an optional help text which can be used by UI components when representing this column. The default is NULL .
ControlDefault
string ControlDefault;
[ OPTIONAL ]
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