diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-05-10 17:06:05 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-05-10 17:06:05 +0000 |
commit | 07c24eebc717b13dc71f8ea19a527a51f813d708 (patch) | |
tree | 833c6da35cf5261f87b7eac5f58430117c59f0d4 /offapi/com/sun/star/embed | |
parent | d830f89342f09419d264cba6de0f492671304e40 (diff) |
INTEGRATION: CWS fwkbugfix02 (1.3.102); FILE MERGED
2004/04/19 11:18:15 mav 1.3.102.4: #116056# interfaces review
2004/03/25 10:41:03 mav 1.3.102.3: #116056# interfaces review
2004/03/24 10:17:39 mav 1.3.102.2: #116056# remove unneeded interfaces
2004/03/22 10:14:34 mav 1.3.102.1: #115011# review idl files
Diffstat (limited to 'offapi/com/sun/star/embed')
-rw-r--r-- | offapi/com/sun/star/embed/XInplaceObject.idl | 92 |
1 files changed, 33 insertions, 59 deletions
diff --git a/offapi/com/sun/star/embed/XInplaceObject.idl b/offapi/com/sun/star/embed/XInplaceObject.idl index 4ece2412161e..b8cb257bbdd3 100644 --- a/offapi/com/sun/star/embed/XInplaceObject.idl +++ b/offapi/com/sun/star/embed/XInplaceObject.idl @@ -2,9 +2,9 @@ * * $RCSfile: XInplaceObject.idl,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2004-01-06 08:54:46 $ + * last change: $Author: hr $ $Date: 2004-05-10 18:06:05 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -73,33 +73,34 @@ #include <com/sun/star/awt/KeyEvent.idl> #endif -#ifndef __com_sun_star_embed_XInplaceUIWindow_idl__ -#include <com/sun/star/embed/XInplaceUIWindow.idl> -#endif - #ifndef __com_sun_star_embed_WrongStateException_idl__ #include <com/sun/star/embed/WrongStateException.idl> #endif -//============================================================================= +//============================================================================ module com { module sun { module star { module embed { -//============================================================================= -/** represents common functionality for inplace embedded objects +//============================================================================ +/** represents common functionality for inplace embedded objects. */ interface XInplaceObject: com::sun::star::uno::XInterface { - //------------------------------------------------------------------------- - /** Sets the visible part of the inplace object. - - <p> Both rectangles are provided in object's parent window - coordinates in pixels. The intersection of rectangles specifies the - visible part of the object. - In case the position window has a size that is different from - object's size, the object should either scale or deactivate. + //------------------------------------------------------------------------ + /** sets the visible part of the inplace object. + + <p> + Both rectangles are provided in object's parent window coordinates + in pixels. The intersection of rectangles specifies the visible part + of the object. In case the position window has a size that is + different from object's visual area size, the object should either + scale or deactivate. + </p> + + <p> + The method must activate object repainting. </p> @param aPosRect @@ -114,54 +115,26 @@ interface XInplaceObject: com::sun::star::uno::XInterface @throws com::sun::star::uno::Exception in case of other problems */ - void setObjectRects( [in] ::com::sun::star::awt::Rectangle aPosRect, + void setObjectRectangles( [in] ::com::sun::star::awt::Rectangle aPosRect, [in] ::com::sun::star::awt::Rectangle aClipRect ) raises( ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception ); - //------------------------------------------------------------------------- - /** Notifies UIActive object that the parent window was resized. - - <p> This notification is done to let the object to resize it's bars - </p> - - @param aBordRect - specifies a new outer rectangle for border space - - @param xUIWin - specifies the window that was resized ( document or top one ) - mainly should be used for MDI case, since usually the document window is a top one - - @param bFromFrame - <TRUE/> in case top one window was resized - <FALSE/> in case document window was resized - - @throws com::sun::star::embed::WrongStateException - the specified state can not be reached - - @throws com::sun::star::uno::Exception - in case of other problems - */ - void resizeBorder( [in] ::com::sun::star::awt::Rectangle aPosRect, - [in] ::com::sun::star::embed::XInplaceUIWindow xUIWin, - [in] boolean bFromFrame ) - raises( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception ); - - //------------------------------------------------------------------------- - /** Enables or disables modeless dialogs of the object + //------------------------------------------------------------------------ + /** enables or disables modeless dialogs of the object. - <p> In case contaner whants to show a modal dialog it should disable - modeless of embedded object dialogs with this call. Later the same call - can be used to enable it. + <p> + In case contaner whants to show a modal dialog it should disable + modeless of embedded object dialogs with this call. Later the same + call can be used to enable it. </p> @param bEnable <TRUE/> to enable object modeless <FALSE/> to disable it - @throws com::sun::star::embed::UnreachableStateException - the specified state can not be reached + @throws com::sun::star::embed::WrongStateException + the object is in wrong state @throws com::sun::star::uno::Exception in case of other problems @@ -170,8 +143,9 @@ interface XInplaceObject: com::sun::star::uno::XInterface raises( ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception ); - //------------------------------------------------------------------------- - /** Provides accelerator table the container whants to use during inplace editing. + //------------------------------------------------------------------------ + /** provides accelerator table the container whants to use during inplace + editing. @return an accelerator table from container @@ -179,13 +153,13 @@ interface XInplaceObject: com::sun::star::uno::XInterface @throws com::sun::star::embed::WrongStateException the object is in unexpected state */ - void translateAccelerators( [in] sequence< ::com::sun::star::awt::KeyEvent > aKeys ) + void translateAccelerators( + [in] sequence< ::com::sun::star::awt::KeyEvent > aKeys ) raises( ::com::sun::star::embed::WrongStateException ); - }; -//============================================================================= +//============================================================================ }; }; }; }; |