update dev300-m58
[ooovba.git] / offapi / com / sun / star / sheet / DataPilotFieldGroup.idl
blobf520e0d5644e85529ae2c01d010126cdff3c40da
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DataPilotFieldGroup.idl,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_sheet_DataPilotFieldGroup_idl__
32 #define __com_sun_star_sheet_DataPilotFieldGroup_idl__
34 #ifndef __com_sun_star_container_XNamed_idl__
35 #include <com/sun/star/container/XNamed.idl>
36 #endif
37 #ifndef __com_sun_star_container_XNameContainer_idl__
38 #include <com/sun/star/container/XNameContainer.idl>
39 #endif
40 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
41 #include <com/sun/star/container/XEnumerationAccess.idl>
42 #endif
43 #ifndef __com_sun_star_container_XIndexAccess_idl__
44 #include <com/sun/star/container/XIndexAccess.idl>
45 #endif
47 //=============================================================================
49 module com { module sun { module star { module sheet {
51 //=============================================================================
53 /** represents a collection of members in a data pilot field group.
55 <p>The members (also called items) of this collection are instances of
56 <type>DataPilotFieldGroupItem</type>.</p>
58 @see DataPilotField
59 @see DataPilotFieldGroups
60 @see DataPilotFieldGroupItem
62 published service DataPilotFieldGroup
64 //-------------------------------------------------------------------------
66 /** provides access to the name of the data pilot field group.
68 <p>It is possible to change the name of this field group as long as
69 the new name is not used in the collection of groups in the field.</p>
71 interface com::sun::star::container::XNamed;
73 //-------------------------------------------------------------------------
75 /** provides access to the data pilot field group members in the
76 collection via index.
78 interface com::sun::star::container::XIndexAccess;
80 //-------------------------------------------------------------------------
82 /** creates an enumeration of all data pilot field group members.
84 @see DataPilotFieldGroupEnumeration
86 interface com::sun::star::container::XEnumerationAccess;
88 //-------------------------------------------------------------------------
90 /** provides access to the data pilot field group members in the
91 collection via name.
93 interface com::sun::star::container::XNameAccess;
95 //-------------------------------------------------------------------------
97 /** provides read/write access to the data pilot field group members in
98 the collection via name.
100 <p>The <type scope="com::sun::star::container">XNameContainer</type>
101 and <type scope="com::sun::star::container">XNameReplace</type>
102 interfaces can be used to manage the members that this group contains.
103 It is possible to insert, remove, and replace members.</p>
105 <p>The method <member scope="com::sun::star::container">
106 XNameReplace::replaceByName</member> can be used to rename the
107 specified member. To do so, the new name has to be passed as second
108 argument. An implementation should support the following data types:
110 <ul>
111 <li>a non-empty <atom>string</atom> specifying the new name of the
112 group member.</li>
113 <li>an object supporting the <type scope="com::sun::star::container">
114 XNamed</type> interface, for example an instance of
115 <type>DataPilotFieldGroupItem</type> received from another group.</li>
116 </ul></p>
118 <p>The method <member scope="com::sun::star::container">
119 XNameContainer::insertByName</member> can be used to insert a new
120 member into this field group. An implementation should ignore the
121 second argument and insert the specified member name.</p>
123 <p>The method <member scope="com::sun::star::container">
124 XNameContainer::removeByName</member> can be used to remove an
125 existing member name.</p>
127 [optional] interface com::sun::star::container::XNameContainer;
131 //=============================================================================
133 }; }; }; };
135 #endif