diff --git a/offapi/com/sun/star/awt/XUnitConversion.idl b/offapi/com/sun/star/awt/XUnitConversion.idl index 6e8d185f2fdc..d94b5f66023a 100644 --- a/offapi/com/sun/star/awt/XUnitConversion.idl +++ b/offapi/com/sun/star/awt/XUnitConversion.idl @@ -60,23 +60,55 @@ interface XUnitConversion: com::sun::star::uno::XInterface { /** converts the given Point, which is specified in pixels, into the given logical unit + + @param Point + A given Point in a well known type + @param TargetUnit + A type from MeasureUnit in which the Point will convert to. + + @return + Returns a new Point in the TargetUnit type format. */ - com::sun::star::awt::Point convertPointToLogic( [in] com::sun::star::awt::Point aPoint, [in] short TargetUnit ) + com::sun::star::awt::Point convertPointToLogic( [in] com::sun::star::awt::Point Point, [in] short TargetUnit ) raises ( com::sun::star::lang::IllegalArgumentException ); /** converts the given Point, which is specified in the given logical unit, into pixels - */ + + @param Point + A given Point in the SourceUnit type + @param SourceUnit + The type from MeasureUnit of the Point. + + @return + Return a new Point in Pixel type format. + */ com::sun::star::awt::Point convertPointToPixel( [in] com::sun::star::awt::Point aPoint, [in] short SourceUnit ) raises ( com::sun::star::lang::IllegalArgumentException ); /** converts the given Size, which is specified in pixels, into the given logical unit + + @param aSize + A given Size in a well known type + @param TargetUnit + A type from MeasureUnit in which the Size will convert to. + + @return + Returns a new Size in the TargetUnit type format. */ com::sun::star::awt::Size convertSizeToLogic( [in] com::sun::star::awt::Size aSize, [in] short TargetUnit ) raises ( com::sun::star::lang::IllegalArgumentException ); /** converts the given Size, which is specified in the given logical unit, into pixels - */ + + @param Size + A given Size in a well known type + @param TargetUnit + The type from MeasureUnit of the Size. + + @return + Returns a new Size in the TargetUnit type format. + */ com::sun::star::awt::Size convertSizeToPixel( [in] com::sun::star::awt::Size aSize, [in] short SourceUnit ) raises ( com::sun::star::lang::IllegalArgumentException ); diff --git a/offapi/com/sun/star/report/XImageControl.idl b/offapi/com/sun/star/report/XImageControl.idl index 58d5ae46c240..df13e1a769cc 100644 --- a/offapi/com/sun/star/report/XImageControl.idl +++ b/offapi/com/sun/star/report/XImageControl.idl @@ -65,10 +65,18 @@ interface XImageControl */ [attribute,bound] string ImageURL; - /** specifies if the image is automatically scaled to the size of the - control. - */ - [attribute,bound] boolean ScaleImage; + /** defines how to scale the image + +

If this property is present, it supersedes the ScaleImage property.

+ +

The value of this property is one of the ImageScaleMode constants.

+ + @since OOo 3.2 + */ + [attribute,bound] short ScaleMode + { + set raises (com::sun::star::lang::IllegalArgumentException); + }; /** Specifies that the IRI given in the data field should be preserved, otherwise the content will be inserted in the resulting report document. If the data field contains something different as string then this attribute will be ignored. diff --git a/offapi/com/sun/star/report/XShape.idl b/offapi/com/sun/star/report/XShape.idl index 22aa577002cc..2a2c60b5fb21 100644 --- a/offapi/com/sun/star/report/XShape.idl +++ b/offapi/com/sun/star/report/XShape.idl @@ -82,6 +82,10 @@ interface XShape com.sun.star.drawing.EnhancedCustomShapeGeometry */ [attribute,bound] sequence<::com::sun::star::beans::PropertyValue> CustomShapeGeometry; + + /** determines if the object is opaque or transparent for text. + */ + [attribute,bound] boolean Opaque; }; service Shape : XShape; diff --git a/offapi/com/sun/star/sdb/XRowSetChangeBroadcaster.idl b/offapi/com/sun/star/sdb/XRowSetChangeBroadcaster.idl new file mode 100644 index 000000000000..2a853eae89ec --- /dev/null +++ b/offapi/com/sun/star/sdb/XRowSetChangeBroadcaster.idl @@ -0,0 +1,66 @@ +/************************************************************************* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2008 by Sun Microsystems, Inc. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* $RCSfile: code,v $ +* +* $Revision: 1.3 $ +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* +* for a copy of the LGPLv3 License. +************************************************************************/ + +#ifndef __com_sun_star_sdb_XRowSetChangeBroadcaster_idl__ +#define __com_sun_star_sdb_XRowSetChangeBroadcaster_idl__ + +#include + +//============================================================================= + +module com { module sun { module star { module sdb { + +interface XRowSetChangeListener; + +//============================================================================= + +/** broadcasts changes in the RowSet supplied by a component + + @see XRowSetSupplier + @see XRowSetChangeListener + @since OOo 3.2 + */ +interface XRowSetChangeBroadcaster +{ + /** adds a listener to be notified when the RowSet supplied by the component changes. + */ + void addRowSetChangeListener( [in] XRowSetChangeListener i_Listener ); + + /** removes a previously added listener. + */ + void removeRowSetChangeListener( [in] XRowSetChangeListener i_Listener ); +}; + +//============================================================================= + +}; }; }; }; + +//============================================================================= + +#endif diff --git a/offapi/com/sun/star/sdb/XRowSetChangeListener.idl b/offapi/com/sun/star/sdb/XRowSetChangeListener.idl new file mode 100644 index 000000000000..8f68ec70d1fe --- /dev/null +++ b/offapi/com/sun/star/sdb/XRowSetChangeListener.idl @@ -0,0 +1,62 @@ +/************************************************************************* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2008 by Sun Microsystems, Inc. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* $RCSfile: code,v $ +* +* $Revision: 1.3 $ +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* +* for a copy of the LGPLv3 License. +************************************************************************/ + +#ifndef __com_sun_star_sdb_XRowSetChangeListener_idl__ +#define __com_sun_star_sdb_XRowSetChangeListener_idl__ + +#include + +//============================================================================= + +module com { module sun { module star { module sdb { + +//============================================================================= + +/** is implemented by components which want to be notified when the RowSet supplied + by a XRowSetSupplier changes. + + @see XRowSetChangeBroadcaster + @see XRowSetSupplier + @since OOo 3.2 + */ + interface XRowSetChangeListener : ::com::sun::star::lang::XEventListener +{ + /** notifies the listener that the RowSet associated with a XRowSetSupplier + has changed. + */ + [oneway] void onRowSetChanged( [in] ::com::sun::star::lang::EventObject i_Event ); +}; + +//============================================================================= + +}; }; }; }; + +//============================================================================= + +#endif diff --git a/offapi/com/sun/star/sdb/XRowSetSupplier.idl b/offapi/com/sun/star/sdb/XRowSetSupplier.idl index 071750c915ab..0ab2b78c97a5 100644 --- a/offapi/com/sun/star/sdb/XRowSetSupplier.idl +++ b/offapi/com/sun/star/sdb/XRowSetSupplier.idl @@ -43,6 +43,8 @@ //============================================================================= /** uses a row set as datasource. + + @see XRowSetChangeBroadcaster */ published interface XRowSetSupplier: com::sun::star::uno::XInterface { diff --git a/offapi/com/sun/star/sdb/application/DefaultViewController.idl b/offapi/com/sun/star/sdb/application/DefaultViewController.idl index 47040d133736..2c9836b70b0c 100644 --- a/offapi/com/sun/star/sdb/application/DefaultViewController.idl +++ b/offapi/com/sun/star/sdb/application/DefaultViewController.idl @@ -44,7 +44,7 @@ module com { module sun { module star { module sdb { module application { //============================================================================= -/** is the default Controller implementation for OpenOffice.org's database application. +/** is the default controller implementation for OpenOffice.org's database application. */ service DefaultViewController { diff --git a/offapi/com/sun/star/sdb/makefile.mk b/offapi/com/sun/star/sdb/makefile.mk index d3358cf63fc5..b535584fc4b8 100644 --- a/offapi/com/sun/star/sdb/makefile.mk +++ b/offapi/com/sun/star/sdb/makefile.mk @@ -126,6 +126,8 @@ IDLFILES=\ XResultSetAccess.idl \ XRowSetApproveBroadcaster.idl \ XRowSetApproveListener.idl \ + XRowSetChangeBroadcaster.idl \ + XRowSetChangeListener.idl \ XRowSetSupplier.idl \ XSingleSelectQueryAnalyzer.idl \ XSingleSelectQueryComposer.idl \ diff --git a/offapi/com/sun/star/util/MeasureUnit.idl b/offapi/com/sun/star/util/MeasureUnit.idl index 6d7915a5774c..6cb8d3e7c883 100644 --- a/offapi/com/sun/star/util/MeasureUnit.idl +++ b/offapi/com/sun/star/util/MeasureUnit.idl @@ -106,3 +106,4 @@ published constants MeasureUnit }; }; }; }; #endif +