LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XGridColumnFactory Interface Referencepublished

allows to create columns to be added into a grid control model. More...

import"XGridColumnFactory.idl";

Inheritance diagram for XGridColumnFactory:
XInterface GridControl

Public Member Functions

com::sun::star::beans::XPropertySet createColumn ([in] string aColumnType) raises ( com::sun::star::lang::IllegalArgumentException )
 creates a new column object More...
 
sequence< string > getColumnTypes ()
 returns a list of available column types. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed 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

Member Function Documentation

◆ createColumn()

com::sun::star::beans::XPropertySet createColumn ( [in] string  aColumnType)
raises (com::sun::star::lang::IllegalArgumentException
)

creates a new column object

Parameters
aColumnTypethe type of column to be created
Returns
the new column object
Exceptions
com::sun::star::lang::IllegalArgumentExceptionif aColumnType is not available.

◆ getColumnTypes()

sequence<string> getColumnTypes ( )

returns a list of available column types.

Returns
a list of column types.

The documentation for this interface was generated from the following file: