interface XGridColumnFactory in module com::sun::star::form::

(Global Index)

Syntax

interface XGridColumnFactory : com::sun::star::uno::XInterface ;

Description

provides the functionality of creating columns for a grid component.

With it is possible to inspect all possible column types which may be instanciated using .

Method Summary

createColumn creates a new column object.

getColumnTypes returns a list of available column types.

Known Services Which Export this Interface

com::sun::star::form::component::GridControl

Method Details



createColumn

Syntax

com::sun::star::beans::XPropertySet createColumn (
string aColumnType )
raises ( com::sun::star::lang::IllegalArgumentException );

Description

creates a new column object.

Parameter aColumnType

the name of the column type.

Returns

the new column object.

Throws

com::sun::star::lang::IllegalArgumentException if the column type is not available.

getColumnTypes

Syntax

sequence< string > getColumnTypes ();

Description

returns a list of available column types.

Returns

a list of column types.
Top of Page