Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.10

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface 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  aColumnType )
raises( ::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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.