summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/awt/XContainerWindowProvider.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/awt/XContainerWindowProvider.idl')
-rw-r--r--offapi/com/sun/star/awt/XContainerWindowProvider.idl46
1 files changed, 23 insertions, 23 deletions
diff --git a/offapi/com/sun/star/awt/XContainerWindowProvider.idl b/offapi/com/sun/star/awt/XContainerWindowProvider.idl
index 1cea42d99a80..fea57d85aa00 100644
--- a/offapi/com/sun/star/awt/XContainerWindowProvider.idl
+++ b/offapi/com/sun/star/awt/XContainerWindowProvider.idl
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -28,28 +28,28 @@
#ifndef __com_sun_star_awt_XContainerWindowProvider_idl__
#define __com_sun_star_awt_XContainerWindowProvider_idl__
-#ifndef __com_sun_star_awt_XWindow_idl__
-#include <com/sun/star/awt/XWindow.idl>
+#ifndef __com_sun_star_awt_XWindow_idl__
+#include <com/sun/star/awt/XWindow.idl>
#endif
-#ifndef __com_sun_star_awt_XWindowPeer_idl__
-#include <com/sun/star/awt/XWindowPeer.idl>
+#ifndef __com_sun_star_awt_XWindowPeer_idl__
+#include <com/sun/star/awt/XWindowPeer.idl>
#endif
#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
#include <com/sun/star/lang/IllegalArgumentException.idl>
#endif
-//=============================================================================
+//=============================================================================
module com { module sun { module star { module awt {
-//=============================================================================
+//=============================================================================
-/** provides container windows implementing the
+/** provides container windows implementing the
<type scope="com::sun::star::awt">XWindow</type> interface.
*/
interface XContainerWindowProvider : ::com::sun::star::uno::XInterface {
- //-------------------------------------------------------------------------
+ //-------------------------------------------------------------------------
/** creates a window for the given URL
@@ -65,28 +65,28 @@ interface XContainerWindowProvider : ::com::sun::star::uno::XInterface {
This parameter must not be null.
@param xHandler
- is the interface that will be called to handle the Events that
- are generated by the window (and all controls placed on it) and
- bound to the handler using a vnd.sun.star.UNO URL specifying a
- handler method to be called. Usually this will be done directly
+ is the interface that will be called to handle the Events that
+ are generated by the window (and all controls placed on it) and
+ bound to the handler using a vnd.sun.star.UNO URL specifying a
+ handler method to be called. Usually this will be done directly
by the user.
-
+
xHandler can handle events in two different ways:
- 1. By supporting the <type scope="com::sun::star::awt">XContainerWindowEventHandler</type>
+ 1. By supporting the <type scope="com::sun::star::awt">XContainerWindowEventHandler</type>
interface. This is a generic interface to accept event notifications.
-
+
2. By providing interfaces that directly implement the handler
methods to be called. The XContainerWindowProvider implementation then
- will try to access these events using the
+ will try to access these events using the
<type scope="com::sun::star::beans">Introspection</type>Introspection
service. To make this possible the handler implementation also has to
support <type scope="com::sun::star::lang">XTypeProvider</type>.
If XContainerWindowEventHandler is supported XContainerWindowEventHandler.callHandlerMethod()
- is always called first to handle the event. Only if the event cannot be
+ is always called first to handle the event. Only if the event cannot be
handled by XContainerWindowEventHandler (callHandlerMethod() then has to return
- false) or if XContainerWindowEventHandler is not supported at all the Introspection
+ false) or if XContainerWindowEventHandler is not supported at all the Introspection
based access will be used.
The Introspection based access tries to call a method named according to the
@@ -96,10 +96,10 @@ interface XContainerWindowProvider : ::com::sun::star::uno::XInterface {
void HandlerMethodName( [in] com::sun::star::awt::XWindow xWindow, [in] any aEvent )
will be searched. The signature is similar to XContainerWindowEventHandler.
- callHandlerMethod except for MethodName itself that isn't needed
+ callHandlerMethod except for MethodName itself that isn't needed
here. For more information about these parameters, see
<type scope="com::sun::star::awt">XContainerWindowEventHandler</type>.
-
+
If this method is found, it will be called, otherwise a method
void HandlerMethodName( void )
@@ -119,11 +119,11 @@ interface XContainerWindowProvider : ::com::sun::star::uno::XInterface {
com::sun::star::awt::XWindow createContainerWindow
( [in] string URL, [in] string WindowType,
[in] com::sun::star::awt::XWindowPeer xParent,
- [in] com::sun::star::uno::XInterface xHandler )
+ [in] com::sun::star::uno::XInterface xHandler )
raises ( com::sun::star::lang::IllegalArgumentException );
};
-//=============================================================================
+//=============================================================================
}; }; }; };