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_style_StyleFamily_idl__
24#define __com_sun_star_style_StyleFamily_idl__
25
26#ifndef __com_sun_star_container_XNameContainer_idl__
27#include <com/sun/star/container/XNameContainer.idl>
28#endif
29
30#ifndef __com_sun_star_container_XIndexAccess_idl__
31#include <com/sun/star/container/XIndexAccess.idl>
32#endif
33
34
35//=============================================================================
36
37 module com {  module sun {  module star {  module style {
38
39//=============================================================================
40
41// DocMerge from xml: service com::sun::star::style::StyleFamily
42/** This service is a container of style sheets of the same style family.@see StyleFamilies
43 */
44published service StyleFamily
45{
46
47
48	// DocMerge from xml: service com::sun::star::style::StyleFamily: interface com::sun::star::container::XNameAccess
49	/** This mandatory interface makes it possible to access
50				the style sheets within this family by name.
51
52				<p>The elements in this container support the service
53				<type>Style</type> and are accessed via an <type>XStyle</type>.
54	 */
55	interface com::sun::star::container::XNameAccess;
56
57
58	// DocMerge from xml: service com::sun::star::style::StyleFamily: interface com::sun::star::container::XNameContainer
59	/** This optional interface makes it possible to add and
60				remove the style sheets within this family by name.
61
62				<p>The elements in this container support the service
63				<type>Style</type> and are accessed via an <type>XStyle</type>.
64	 */
65	[optional] interface com::sun::star::container::XNameContainer;
66
67	// DocMerge from xml: service com::sun::star::style::StyleFamily: interface com::sun::star::container::XIndexAccess
68	/** This optional interface makes it possible to access the style sheets
69				within this family by index.
70
71				<p>The elements in this container support the service
72				<type>Style</type> and are accessed via an <type>XStyle</type>.
73	 */
74	[optional] interface com::sun::star::container::XIndexAccess;
75
76};
77
78//=============================================================================
79
80}; }; }; };
81
82/*=============================================================================
83
84=============================================================================*/
85#endif
86