1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_report_XFunctions_idl__
24#define __com_sun_star_report_XFunctions_idl__
25
26#ifndef __com_sun_star_container_XChild_idl__
27#include <com/sun/star/container/XChild.idl>
28#endif
29#ifndef __com_sun_star_container_XContainer_idl__
30#include <com/sun/star/container/XContainer.idl>
31#endif
32#ifndef __com_sun_star_container_XIndexContainer_idl__
33#include <com/sun/star/container/XIndexContainer.idl>
34#endif
35#ifndef __com_sun_star_lang_XComponent_idl__
36#include <com/sun/star/lang/XComponent.idl>
37#endif
38//=============================================================================
39
40 module com {  module sun {  module star {  module report {
41published interface XReportDefinition;
42published interface XFunction;
43//=============================================================================
44
45/** This interface specifies the functions collections of the report definition or a group.
46    @see XFunction
47    @see XReportDefinition
48 */
49published interface XFunctions
50{
51    /** allows to register listeners to be notified of changes in the container.
52    */
53    interface com::sun::star::container::XContainer;
54    /** gives access to the group elements.
55        The elements are of type <type>XFunction</type>.
56    */
57    interface com::sun::star::container::XIndexContainer;
58
59    /** allows the navigation to the report or group object.
60        The method setParent from <type>XChild</type> is not supported and will throw an exception when called.
61    */
62    interface com::sun::star::container::XChild;
63
64    /** allows life-time control of the functions instance.
65     */
66    interface com::sun::star::lang::XComponent;
67
68    /** factory method for <type>XFunction</type>.
69    */
70    com::sun::star::report::XFunction createFunction();
71};
72
73//=============================================================================
74}; }; }; };
75
76#endif
77