diff options
author | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-04-07 08:49:15 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@oracle.com> | 2011-04-07 08:49:15 +0200 |
commit | dde654a06ef256b776ec868e02dac21db1346454 (patch) | |
tree | 46f2d9ba759bfe0d299dca45517bae7738d72149 /offapi | |
parent | 6ea2a046f54fa8b06daff4a6dac4998aad7e7f7b (diff) |
gridfixes: ensure removal of a column at the grid control adjusts the cursor, if needed
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/awt/grid/XGridControl.idl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/offapi/com/sun/star/awt/grid/XGridControl.idl b/offapi/com/sun/star/awt/grid/XGridControl.idl index 152b63c34a0c..f8413046839a 100644 --- a/offapi/com/sun/star/awt/grid/XGridControl.idl +++ b/offapi/com/sun/star/awt/grid/XGridControl.idl @@ -28,6 +28,8 @@ #define __com_sun_star_awt_grid_XGridControl_idl__ #include <com/sun/star/uno/XInterface.idl> +#include <com/sun/star/lang/IndexOutOfBoundsException.idl> +#include <com/sun/star/util/VetoException.idl> //============================================================================= @@ -78,6 +80,24 @@ published interface XGridControl columns, or if grid data model does not contain any rows), then <code>-1</code> is returned.</p> */ long getCurrentRow(); + + /** moves the cursor to the given cell + @param ColumnIndex + the column index of the cell to activate. + @param RowIndex + the row index of the cell to activate. + @throws ::com::sun::star::lang::IndexOutOfBoundsException + if either <code>ColumnIndex</code> or <code>RowIndex</code> are out of range. + @throws ::com::sun::star::util::VetoException + if moving the cursor to another cell is vetoed. + */ + void goToCell( + [in] long ColumnIndex, + [in] long RowIndex + ) + raises ( ::com::sun::star::lang::IndexOutOfBoundsException + , ::com::sun::star::util::VetoException + ); }; //============================================================================= |