unoawt2: allow creating dialogs with a parent window

This commit is contained in:
Frank Schoenheit [fs] 2010-06-17 18:28:42 +02:00
parent 1dec06fb3a
commit 9a4b737c86

View file

@ -31,6 +31,9 @@
#ifndef __com_sun_star_awt_XDialogProvider_idl__
#include <com/sun/star/awt/XDialogProvider.idl>
#endif
#ifndef __com_sun_star_beans_PropertyValue_idl__
#include <com/sun/star/beans/PropertyValue.idl>
#endif
//=============================================================================
@ -107,6 +110,25 @@ interface XDialogProvider2 : ::com::sun::star::awt::XDialogProvider {
com::sun::star::awt::XDialog createDialogWithHandler
( [in] string URL, [in] com::sun::star::uno::XInterface xHandler )
raises ( com::sun::star::lang::IllegalArgumentException );
/** creates a dialog for the given URL, accepting additional creation parameters
<p>The arguments accepted so far are
<ul><li><em>ParentWindow</em> - must be a component supporting the <type>XWindowPeer</type> interface,
or a component supporting the <type>XControl</type> interfac, so an <code>XWindowPeer</code> can be
obtained from it. The given window will be used as parent window for the to-be-created dialog.</li>
<li><em>EventHandler</em> - specifies a component handling events in the dialog. See
<member>createDialogWithHandler</member> for a detailed specification of dialog event handling.</li>
</ul>
</p>
*/
XDialog createDialogWithArguments(
[in] string URL,
[in] sequence< ::com::sun::star::beans::PropertyValue > Arguments
)
raises ( com::sun::star::lang::IllegalArgumentException
);
};
//=============================================================================