:: com :: sun :: star :: form ::

interface XGridColumnFactory
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XGridColumnFactory
Description
allows to create columns to be added into a grid control model.

Grid columns (more precise: models of grid columns) are direct children of the grid control model they belong to. Grid columns can't be created on a global service factory, instead, you need to create them on the grid, where you want to insert them later on.

See also
::com::sun::star::form::component::GridControl

Methods' Summary
createColumn creates a new column object
getColumnTypes returns a list of available column types.
Methods' Details
createColumn
::com::sun::star::beans::XPropertySet
createColumn(
 
[in] string 

raises(

 
aColumnType ) 
::com::sun::star::lang::IllegalArgumentException );

Description
creates a new column object
Parameter aColumnType
the type of column to be created
Returns
the new column object
Throws
com::sun::star::lang::IllegalArgumentException if aColumnType is not available.
getColumnTypes
sequence< string >
getColumnTypes();
 
 

Description
returns a list of available column types.
Returns
a list of column types.
Top of Page