LibreOffice
LibreOffice 24.8 SDK API Reference
|
allows to create columns to be added into a grid control model. More...
import <XGridColumnFactory.idl;
Public Member Functions | |
com::sun::star::beans::XPropertySet | createColumn ([in] string aColumnType) raises ( com::sun::star::lang::IllegalArgumentException ) |
creates a new column object | |
sequence< string > | getColumnTypes () |
returns a list of available column types. | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
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.
com::sun::star::beans::XPropertySet createColumn | ( | [in] string | aColumnType | ) | ||
raises | ( | com::sun::star::lang::IllegalArgumentException ) |
creates a new column object
aColumnType | the type of column to be created |
com::sun::star::lang::IllegalArgumentException | if aColumnType is not available. |
sequence< string > getColumnTypes | ( | ) |
returns a list of available column types.