LibreOffice
LibreOffice 24.2 SDK API Reference
|
If you do not want to implement the XGridColumnModel yourself, use this service. More...
import <DefaultGridColumnModel.idl;
Additional Inherited Members | |
![]() | |
interface | ::com::sun::star::lang::XComponent |
implements life time control for the component | |
interface | ::com::sun::star::container::XContainer |
allows to register listeners to be notified when columns are inserted or removed | |
interface | ::com::sun::star::util::XCloneable |
allows cloning the complete column model | |
![]() | |
long | getColumnCount () |
Returns the number of columns. | |
XGridColumn | createColumn () |
creates a new column for use with the column model. | |
long | addColumn ([in] XGridColumn column) raises ( ::com::sun::star::lang::IllegalArgumentException ) |
Adds a column to the model. | |
void | removeColumn ([in] long ColumnIndex) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
removes a column from the model | |
sequence< XGridColumn > | getColumns () |
Returns all columns of the model. | |
XGridColumn | getColumn ([in] long index) raises ( ::com::sun::star::lang::IndexOutOfBoundsException ) |
Returns a specific column. | |
void | setDefaultColumns ([in] long elements) |
Fills the model with the given number of default columns. | |
![]() | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. | |
![]() | |
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. | |
![]() | |
void | addContainerListener ([in] com::sun::star::container::XContainerListener xListener) |
adds the specified listener to receive events when elements are inserted or removed. | |
void | removeContainerListener ([in] com::sun::star::container::XContainerListener xListener) |
removes the specified listener so it does not receive any events from this container. | |
![]() | |
com::sun::star::util::XCloneable | createClone () |
creates a copy of the object. | |
If you do not want to implement the XGridColumnModel yourself, use this service.