diff --git a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl index 94ddc4eb5eeb..49ad3cbc1f9a 100644 --- a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl +++ b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl @@ -64,11 +64,20 @@ interface XGridColumnModel interface ::com::sun::star::util::XCloneable; /** Returns the number of columns. + @returns the number of columns. */ long getColumnCount(); + /** creates a new column for use with the column model. + +

The newly created column is not yet inserted into the column container, you need to call addColumn + after you initialized the column object.

+ */ + XGridColumn + createColumn(); + /** Adds a column to the model.

You should use the createColumn member to create a new column. This gives @@ -86,13 +95,15 @@ interface XGridColumnModel long addColumn( [in] XGridColumn column ) raises ( ::com::sun::star::lang::IllegalArgumentException ); - /** creates a new column for use with the column model. + /** retrieves a column from the model -

The newly created column is not yet inserted into the column container, you need to call addColumn - after you initialized the column object.

+ @param ColumnIndex + denotes the index of the column to remove + @throws ::com::sun::star::lang::IndexOutOfBoundsException + if ColumnIndex does not denote a valid column index. */ - XGridColumn - createColumn(); + void removeColumn( [in] long ColumnIndex ) + raises ( ::com::sun::star::lang::IndexOutOfBoundsException ); /** Returns all columns of the model. @returns