1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_frame_XDispatchProvider_idl__
20 #define __com_sun_star_frame_XDispatchProvider_idl__
22 #include
<com
/sun
/star
/uno
/XInterface.idl
>
23 #include
<com
/sun
/star
/frame
/XDispatch.idl
>
24 #include
<com
/sun
/star
/util
/URL.idl
>
25 #include
<com
/sun
/star
/frame
/DispatchDescriptor.idl
>
29 module com
{ module sun
{ module star
{ module frame
{
31 /** provides XDispatch interfaces for certain functions which
36 published
interface XDispatchProvider
: com
::sun
::star
::uno
::XInterface
38 /** searches for an XDispatch for the specified URL within
39 the specified target frame.
42 describe the feature which should be supported by returned dispatch object
44 @param TargetFrameName
45 specify the frame which should be the target for this request
48 optional search parameter for finding the frame if no special
49 <var>TargetFrameName</var> was used
52 the dispatch object which provides queried functionality
54 or `NULL` if no dispatch object is available
56 @see XFrame::findFrame()
57 @see XDispatchProvider::queryDispatches()
59 XDispatch queryDispatch
(
60 [in] com
::sun
::star
::util
::URL URL
,
61 [in] string TargetFrameName
,
62 [in] long SearchFlags
);
64 /** actually this method is redundant to XDispatchProvider::queryDispatch()
65 to avoid multiple remote calls.
68 list of dispatch requests
71 multiple dispatch interfaces for the specified descriptors at once
74 It's not allowed to pack it - because every request must match
75 to his real result. Means: don't delete `NULL` entries inside this list.
78 sequence
< XDispatch
> queryDispatches
(
79 [in] sequence
<DispatchDescriptor
> Requests
);
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */