1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef __com_sun_star_sheet_DataPilotFieldGroup_idl__
29 #define __com_sun_star_sheet_DataPilotFieldGroup_idl__
31 #ifndef __com_sun_star_container_XNamed_idl__
32 #include
<com
/sun
/star
/container
/XNamed.idl
>
34 #ifndef __com_sun_star_container_XNameContainer_idl__
35 #include
<com
/sun
/star
/container
/XNameContainer.idl
>
37 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
38 #include
<com
/sun
/star
/container
/XEnumerationAccess.idl
>
40 #ifndef __com_sun_star_container_XIndexAccess_idl__
41 #include
<com
/sun
/star
/container
/XIndexAccess.idl
>
44 //=============================================================================
46 module com
{ module sun
{ module star
{ module sheet
{
48 //=============================================================================
50 /** represents a collection of members in a data pilot field group.
52 <p>The members (also called items) of this collection are instances of
53 <type>DataPilotFieldGroupItem</type>.</p>
56 @see DataPilotFieldGroups
57 @see DataPilotFieldGroupItem
59 published service DataPilotFieldGroup
61 //-------------------------------------------------------------------------
63 /** provides access to the name of the data pilot field group.
65 <p>It is possible to change the name of this field group as long as
66 the new name is not used in the collection of groups in the field.</p>
68 interface com
::sun
::star
::container
::XNamed
;
70 //-------------------------------------------------------------------------
72 /** provides access to the data pilot field group members in the
75 interface com
::sun
::star
::container
::XIndexAccess
;
77 //-------------------------------------------------------------------------
79 /** creates an enumeration of all data pilot field group members.
81 @see DataPilotFieldGroupEnumeration
83 interface com
::sun
::star
::container
::XEnumerationAccess
;
85 //-------------------------------------------------------------------------
87 /** provides access to the data pilot field group members in the
90 interface com
::sun
::star
::container
::XNameAccess
;
92 //-------------------------------------------------------------------------
94 /** provides read/write access to the data pilot field group members in
95 the collection via name.
97 <p>The <type scope="com::sun::star::container">XNameContainer</type>
98 and <type scope="com::sun::star::container">XNameReplace</type>
99 interfaces can be used to manage the members that this group contains.
100 It is possible to insert, remove, and replace members.</p>
102 <p>The method <member scope="com::sun::star::container">
103 XNameReplace::replaceByName</member> can be used to rename the
104 specified member. To do so, the new name has to be passed as second
105 argument. An implementation should support the following data types:
108 <li>a non-empty <atom>string</atom> specifying the new name of the
110 <li>an object supporting the <type scope="com::sun::star::container">
111 XNamed</type> interface, for example an instance of
112 <type>DataPilotFieldGroupItem</type> received from another group.</li>
115 <p>The method <member scope="com::sun::star::container">
116 XNameContainer::insertByName</member> can be used to insert a new
117 member into this field group. An implementation should ignore the
118 second argument and insert the specified member name.</p>
120 <p>The method <member scope="com::sun::star::container">
121 XNameContainer::removeByName</member> can be used to remove an
122 existing member name.</p>
124 [optional] interface com
::sun
::star
::container
::XNameContainer
;
128 //=============================================================================