xref: /aoo41x/main/offapi/com/sun/star/report/XGroups.idl (revision d1766043)
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_XGroups_idl__
24#define __com_sun_star_report_XGroups_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 XGroup;
43//=============================================================================
44
45/** This interface specifies the groups collections of the report definition.
46    @see XGroup
47    @see XReportDefinition
48 */
49published interface XGroups
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>XGroup</type>.
56    */
57    interface com::sun::star::container::XIndexContainer;
58
59    /** allows the navigation to the report object.
60    */
61    interface com::sun::star::container::XChild;
62
63    /** allows life-time control of the groups instance.
64     */
65    interface com::sun::star::lang::XComponent;
66
67    /** factory method for <type>XGroup</type>.
68    */
69    com::sun::star::report::XGroup createGroup();
70
71    [attribute,readonly] com::sun::star::report::XReportDefinition ReportDefinition;
72};
73
74service Groups : XGroups;
75//=============================================================================
76
77}; }; }; };
78
79#endif
80