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_accessibility_AccessibleContext_idl__
24#define __com_sun_star_accessibility_AccessibleContext_idl__
25
26module com { module sun { module star { module accessibility {
27
28 published interface XAccessibleContext;
29 published interface XAccessibleEventBroadcaster;
30
31/** Central service of the Accessibility API that gives access to various
32    facets of an object's content.
33
34    <p>This service has to be implemented by every class that represents the
35    actual accessibility information of another UNO service.  It exposes two
36    kinds of information: A tree structure in which all accessible objects
37    are organized can be navigated in freely.  It typically represents
38    spatial relationship of one object containing a set of children like a
39    dialog box contains a set of buttons.  Additionally the
40    <type>XAccessibleContext</type> interface of this service exposes
41    methods that provide access to the actual object's content.  This can be
42    the object's role, name, description, and so on.</p>
43
44    @see XAccessibleContext
45
46    @since OpenOffice 1.1.2
47*/
48published service AccessibleContext
49{
50	interface XAccessibleContext;
51
52	/** is implemented by accessible contexts that supports broadcasting of
53		accessible events.
54
55		@see AccessibleEventObject
56		@see AccessibleEventId
57	*/
58	[optional] interface XAccessibleEventBroadcaster;
59};
60
61}; }; }; };
62
63#endif
64