1*d1766043SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*d1766043SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*d1766043SAndrew Rist * distributed with this work for additional information
6*d1766043SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance
9*d1766043SAndrew Rist * with the License.  You may obtain a copy of the License at
10*d1766043SAndrew Rist *
11*d1766043SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*d1766043SAndrew Rist *
13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*d1766043SAndrew Rist * software distributed under the License is distributed on an
15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*d1766043SAndrew Rist * KIND, either express or implied.  See the License for the
17*d1766043SAndrew Rist * specific language governing permissions and limitations
18*d1766043SAndrew Rist * under the License.
19*d1766043SAndrew Rist *
20*d1766043SAndrew Rist *************************************************************/
21*d1766043SAndrew Rist
22*d1766043SAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir#ifndef __com_sun_star_chart_AccessibleChartDocumentView_idl__
25cdf0e10cSrcweir#define __com_sun_star_chart_AccessibleChartDocumentView_idl__
26cdf0e10cSrcweir
27cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessible_idl__
28cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessible.idl>
29cdf0e10cSrcweir#endif
30cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleContext_idl__
31cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessibleContext.idl>
32cdf0e10cSrcweir#endif
33cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__
34cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessibleComponent.idl>
35cdf0e10cSrcweir#endif
36cdf0e10cSrcweir
37cdf0e10cSrcweirmodule com {  module sun {  module star {  module chart {
38cdf0e10cSrcweir
39cdf0e10cSrcweir/** The <type>AccessibleChartDocumentView</type> service is supported
40cdf0e10cSrcweir    by a Component that represents the view of a Chart document to
41cdf0e10cSrcweir    provide an entry point to the document tree for accessibility.
42cdf0e10cSrcweir
43cdf0e10cSrcweir    <p>An object that implements the <type>AccessibleChartDocumentView</type>
44cdf0e10cSrcweir    service provides information about itself and about the chart
45cdf0e10cSrcweir    subcomponents contained in the chart document displayed in a
46cdf0e10cSrcweir    window.  This service gives a simplified view on the underlying
47cdf0e10cSrcweir    implementation.  It tries both to keep the structure of the
48cdf0e10cSrcweir    accessibility representation tree as simple as possible and
49cdf0e10cSrcweir    provide as much relevant information as possible.</p>
50cdf0e10cSrcweir
51cdf0e10cSrcweir    @since OOo 1.1.2
52cdf0e10cSrcweir*/
53cdf0e10cSrcweirpublished service AccessibleChartDocumentView
54cdf0e10cSrcweir{
55cdf0e10cSrcweir    /** Base interface for being accessible.  It gives access to the
56cdf0e10cSrcweir        <type scope="::com::sun::star::accessibility">XAccessibleContext</type>
57cdf0e10cSrcweir        interface.
58cdf0e10cSrcweir    */
59cdf0e10cSrcweir    interface ::com::sun::star::accessibility::XAccessible;
60cdf0e10cSrcweir
61cdf0e10cSrcweir    /** Provide access to a Chart document's view.
62cdf0e10cSrcweir
63cdf0e10cSrcweir        <p>You can access the following information:</p>
64cdf0e10cSrcweir        <dl>
65cdf0e10cSrcweir         <dt>Role</dt>
66cdf0e10cSrcweir             <dd>The object's role is
67cdf0e10cSrcweir             <const scope="com::sun::star::accessibility">AccessibleRole::DOCUMENT</const>.</dd>
68cdf0e10cSrcweir         <dt>Name</dt>
69cdf0e10cSrcweir             <dd>Its name is the document's name or the base name of the filename if
70cdf0e10cSrcweir             no document name has been set explicitly.</dd>
71cdf0e10cSrcweir         <dt>Description</dt>
72cdf0e10cSrcweir             <dd>The description is the document's description or the
73cdf0e10cSrcweir             full filename if no description has been set
74cdf0e10cSrcweir             explicitly.</dd>
75cdf0e10cSrcweir          <dt>Children</dt>
76cdf0e10cSrcweir             <dd>The subcomponents of a chart.  This includes all kinds of
77cdf0e10cSrcweir             titles, a legend and the diagram.  The diagram and the legend are
78cdf0e10cSrcweir             the only children that themselves contain children.  The Chart
79cdf0e10cSrcweir             subcomponents support the service
80cdf0e10cSrcweir             <type>AccessibleChartElement</type>.  Additionally, there may be
81cdf0e10cSrcweir             shapes a user added via the clipboard.  For details see the
82cdf0e10cSrcweir             <type scope="::com::sun::star::drawing">AccessibleShape</type>.
83cdf0e10cSrcweir             </dd>
84cdf0e10cSrcweir         <dt>Parent</dt>
85cdf0e10cSrcweir             <dd>The parent will usually be the window that contains the
86cdf0e10cSrcweir             Chart document view.  It has to be set via implementation dependent
87cdf0e10cSrcweir             ways.</dd>
88cdf0e10cSrcweir         <dt>Relations</dt>
89cdf0e10cSrcweir             <dd>At the moment relations are not supported.  The method
90cdf0e10cSrcweir             <member scope="com::sun::star::accessibility">XAccessibleContext::getAccessibleRelationSet</member>
91cdf0e10cSrcweir             will always return an empty set.</dd>
92cdf0e10cSrcweir         <dt>States</dt>
93cdf0e10cSrcweir             <dd>The following states are supported:
94cdf0e10cSrcweir             <ul>
95cdf0e10cSrcweir              <li><const scope="com::sun::star::accessibility">AccessibleStateType::DEFUNC</const>
96cdf0e10cSrcweir                  is set if a document view becomes obsolete like when
97cdf0e10cSrcweir                  the window, which displays the view, is closed.</li>
98cdf0e10cSrcweir              <li><const scope="com::sun::star::accessibility">AccessibleStateType::ENABLED</const>
99cdf0e10cSrcweir                  is always set unless the
100cdf0e10cSrcweir                  <const scope="com::sun::star::accessibility">AccessibleStateType::DEFUNC</const>
101cdf0e10cSrcweir                  state is set.</li>
102cdf0e10cSrcweir              <li><const scope="com::sun::star::accessibility">AccessibleStateType::OPAQUE</const>
103cdf0e10cSrcweir                  is always set.</li>
104cdf0e10cSrcweir              <li><const scope="com::sun::star::accessibility">AccessibleStateType::SHOWING</const>
105cdf0e10cSrcweir                  is always set unless the
106cdf0e10cSrcweir                  <const scope="com::sun::star::accessibility">AccessibleStateType::DEFUNC</const>
107cdf0e10cSrcweir                  state is set.</li>
108cdf0e10cSrcweir              <li><const scope="com::sun::star::accessibility">AccessibleStateType::VISIBLE</const>
109cdf0e10cSrcweir                  is always set unless the
110cdf0e10cSrcweir                  <const scope="com::sun::star::accessibility">AccessibleStateType::DEFUNC</const>
111cdf0e10cSrcweir                  state is set.</li>
112cdf0e10cSrcweir             </ul>
113cdf0e10cSrcweir             </dd>
114cdf0e10cSrcweir         <dt>Locale</dt>
115cdf0e10cSrcweir             <dd>Is the locale set at the document.</dd>
116cdf0e10cSrcweir         <dt>Property change listeners</dt>
117cdf0e10cSrcweir             <dd>They are supported to inform the
118cdf0e10cSrcweir             listeners about changes in this object.</dd>
119cdf0e10cSrcweir        </dl>
120cdf0e10cSrcweir    */
121cdf0e10cSrcweir    interface ::com::sun::star::accessibility::XAccessibleContext;
122cdf0e10cSrcweir
123cdf0e10cSrcweir    /** Provide access to a Chart document's graphical representation.
124cdf0e10cSrcweir
125cdf0e10cSrcweir        <p>The main purpose of this interface is to provide a bounding
126cdf0e10cSrcweir        box of the currently visible area and to let the user find the
127cdf0e10cSrcweir        subcomponents of a chart that cover a given test point.</p>
128cdf0e10cSrcweir
129cdf0e10cSrcweir        <p>The accessible Chart subcomponents all support the service
130cdf0e10cSrcweir        <type>AccessibleChartElement</type></p>
131cdf0e10cSrcweir
132cdf0e10cSrcweir        @see AccessibleChartElement
133cdf0e10cSrcweir    */
134cdf0e10cSrcweir    interface ::com::sun::star::accessibility::XAccessibleComponent;
135cdf0e10cSrcweir};
136cdf0e10cSrcweir
137cdf0e10cSrcweir}; }; }; };
138cdf0e10cSrcweir
139cdf0e10cSrcweir#endif
140