LibreOffice
LibreOffice 24.2 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 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... | |
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.