(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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 OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.