summaryrefslogtreecommitdiff
path: root/offapi/com/sun
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@oracle.com>2011-03-22 13:00:39 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-09-14 07:29:06 +0000
commit5df47e4bb0c1217e0b49468aa7c2ca2eecf6dc07 (patch)
tree6b7836c385a19f0c0560994699e262296fa08f8b /offapi/com/sun
parenta5d4e7806c6519e139962d88ec969f9baeb4a404 (diff)
gridfixes: #i117398# added XGridDataModel::getRowData
Change-Id: Ic08c2d54a76f2a2821822ec4b275883e4445c70c Reviewed-on: https://gerrit.libreoffice.org/543 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
Diffstat (limited to 'offapi/com/sun')
-rw-r--r--offapi/com/sun/star/awt/grid/XGridDataModel.idl22
1 files changed, 18 insertions, 4 deletions
diff --git a/offapi/com/sun/star/awt/grid/XGridDataModel.idl b/offapi/com/sun/star/awt/grid/XGridDataModel.idl
index 4e733eb8d3e2..90188e797a6b 100644
--- a/offapi/com/sun/star/awt/grid/XGridDataModel.idl
+++ b/offapi/com/sun/star/awt/grid/XGridDataModel.idl
@@ -44,13 +44,13 @@ module com { module sun { module star { module awt { module grid {
@since OOo 3.3
*/
-interface XGridDataModel
+published interface XGridDataModel
{
/** implements life time control for the component
*/
interface ::com::sun::star::lang::XComponent;
- /** allows cloning the complete column model
+ /** allows cloning the complete data model
*/
interface ::com::sun::star::util::XCloneable;
@@ -67,7 +67,7 @@ interface XGridDataModel
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the column or row index do not denote a valid cell position.
*/
- any getCellData( [in] long Column, [in] long Row )
+ any getCellData( [in] long Column, [in] long RowIndex )
raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
/** retrieves the tool tip to be displayed when the mouse hovers over a given cell
@@ -80,7 +80,7 @@ interface XGridDataModel
@throws ::com::sun::star::lang::IndexOutOfBoundsException
if the column or row index do not denote a valid cell position.
*/
- any getCellToolTip( [in] long Column, [in] long Row )
+ any getCellToolTip( [in] long Column, [in] long RowIndex )
raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
/** retrieves the heading of a given row
@@ -95,6 +95,20 @@ interface XGridDataModel
any
getRowHeading( [in] long RowIndex )
raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
+
+ /** retrieves the data for a complete row
+
+ <p>This method is provided for performance and convenience reasons, it delivers the same result
+ as subsequent calls to <member>getCellData</member> would.</p>
+
+ @param Row
+ the index of the row whose data should is to be retrieved.
+ @raises ::com::sun::star::lang::IndexOutOfBoundsException
+ of the given row index does not denote a valid row.
+ */
+ sequence< any >
+ getRowData( [in] long RowIndex )
+ raises ( ::com::sun::star::lang::IndexOutOfBoundsException );
};