summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/grid
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-07 15:28:22 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-01-07 15:28:22 +0100
commitdcd6c8a87317a81beea35a067667165b9e0f051b (patch)
tree00c8529cb7dae3f2bea85ab09b58a8b559ef4db0 /offapi/com/sun/star/awt/grid
parent14ea1e208b3038c5639abd99c11799146a69643c (diff)
gridsort: alllow removing columns from a grid control column model
Diffstat (limited to 'offapi/com/sun/star/awt/grid')
-rw-r--r--offapi/com/sun/star/awt/grid/XGridColumnModel.idl21
1 files changed, 16 insertions, 5 deletions
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.
+
+ <p>The newly created column is not yet inserted into the column container, you need to call <member>addColumn</member>
+ after you initialized the column object.</p>
+ */
+ XGridColumn
+ createColumn();
+
/** Adds a column to the model.
</p>You should use the <member>createColumn</member> 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
- <p>The newly created column is not yet inserted into the column container, you need to call <member>addColumn</member>
- after you initialized the column object.</p>
+ @param ColumnIndex
+ denotes the index of the column to remove
+ @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ if <code>ColumnIndex</code> 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