From 152e27755d3b910fb91132ee315e121ee64b2ab2 Mon Sep 17 00:00:00 2001 From: "Frank Schoenheit [fs]" Date: Mon, 3 Jan 2011 23:14:55 +0100 Subject: gridsort: allow cloning grid columns, and the (default) grid data/column model --- offapi/com/sun/star/awt/grid/XGridColumn.idl | 12 ++++++++++-- offapi/com/sun/star/awt/grid/XGridColumnModel.idl | 5 +++++ offapi/com/sun/star/awt/grid/XGridDataModel.idl | 12 ++++++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) (limited to 'offapi/com/sun/star/awt/grid') diff --git a/offapi/com/sun/star/awt/grid/XGridColumn.idl b/offapi/com/sun/star/awt/grid/XGridColumn.idl index 61d9c11a4..50b626042 100644 --- a/offapi/com/sun/star/awt/grid/XGridColumn.idl +++ b/offapi/com/sun/star/awt/grid/XGridColumn.idl @@ -30,7 +30,7 @@ #include #include #include - +#include //============================================================================= @@ -41,8 +41,16 @@ module com { module sun { module star { module awt { module grid { /** The XGridColumn defines the properties and behavior of a column in a grid control @since OOo 3.3.0 */ -interface XGridColumn : com::sun::star::lang::XComponent +interface XGridColumn { + /** implements life time control for the component + */ + interface ::com::sun::star::lang::XComponent; + + /** allows cloning the complete grid column + */ + interface ::com::sun::star::util::XCloneable; + /** Specifies the an idendifier of the colomn.**/ [attribute] any Identifier; diff --git a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl index 0a329c82a..a06a8ffe6 100644 --- a/offapi/com/sun/star/awt/grid/XGridColumnModel.idl +++ b/offapi/com/sun/star/awt/grid/XGridColumnModel.idl @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -57,6 +58,10 @@ interface XGridColumnModel */ interface ::com::sun::star::container::XContainer; + /** allows cloning the complete column model + */ + interface ::com::sun::star::util::XCloneable; + /**Specifies the height of column header. */ [attribute] long ColumnHeaderHeight; diff --git a/offapi/com/sun/star/awt/grid/XGridDataModel.idl b/offapi/com/sun/star/awt/grid/XGridDataModel.idl index 0d42e0fff..f350b3022 100644 --- a/offapi/com/sun/star/awt/grid/XGridDataModel.idl +++ b/offapi/com/sun/star/awt/grid/XGridDataModel.idl @@ -30,9 +30,9 @@ #include +#include #include - //============================================================================= module com { module sun { module star { module awt { module grid { @@ -45,8 +45,16 @@ module com { module sun { module star { module awt { module grid { @since OOo 3.3.0 */ -interface XGridDataModel: ::com::sun::star::lang::XComponent +interface XGridDataModel { + /** implements life time control for the component + */ + interface ::com::sun::star::lang::XComponent; + + /** allows cloning the complete column model + */ + interface ::com::sun::star::util::XCloneable; + /** Specifies the height of each row. */ [attribute] long RowHeight; -- cgit v1.2.3