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
24#ifndef __com_sun_star_accessibility_XAccessibleExtendedComponent_idl__
25#define __com_sun_star_accessibility_XAccessibleExtendedComponent_idl__
26
27#ifndef __com_sun_star_uno_XInterface_idl__
28#include <com/sun/star/uno/XInterface.idl>
29#endif
30#ifndef __com_sun_star_awt_XFocusListener_idl__
31#include <com/sun/star/awt/XFocusListener.idl>
32#endif
33#ifndef __com_sun_star_awt_XFont_idl__
34#include <com/sun/star/awt/XFont.idl>
35#endif
36#ifndef __com_sun_star_awt_FontDescriptor_idl__
37#include <com/sun/star/awt/FontDescriptor.idl>
38#endif
39#ifndef __com_sun_star_awt_Point_idl__
40#include <com/sun/star/awt/Point.idl>
41#endif
42#ifndef __com_sun_star_awt_Rectangle_idl__
43#include <com/sun/star/awt/Rectangle.idl>
44#endif
45#ifndef __com_sun_star_awt_Size_idl__
46#include <com/sun/star/awt/Size.idl>
47#endif
48#ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__
49#include <com/sun/star/accessibility/XAccessibleComponent.idl>
50#endif
51
52module com { module sun { module star { module accessibility {
53
54/** The <type>XAccessibleExtendedComponent</type> interface contains
55    additional methods to those of the <type>XAccessibleComponent</type>
56    interface.  These methods provide information that is used not as often.  The
57    division into two interfaces allows classes to support the more
58    frequently used methods of the <type>XAccessibleComponent</type>
59    interface and only support the <type>XAccessibleExtendedComponent</type>
60    interface if that makes sense for the class.
61
62    <p>This interface provides extended access to retrieve information
63    concerning the graphical representation of an object.  This interface
64    combines methods from the Java interfaces
65    <code>javax.accessibility.AccessibleComponent</code> and
66    <code>javax.accessibility.AccessibleExtendedComponent</code>.</p>
67
68    @since OpenOffice 1.1.2
69*/
70published interface XAccessibleExtendedComponent : XAccessibleComponent
71{
72    /** Returns the font of this object.
73
74        @return
75            The returend reference to a font object is empty if a font is not
76            supported by this object.
77    */
78    ::com::sun::star::awt::XFont getFont ();
79
80    /** Returns the titled border text.
81
82        <p>This method stems from the Java interface
83        <code>AccessibleExtendedComponent</code>.</p>
84
85        @return
86            The returned value is the titled border text of the object or
87            empty if that is not supported.
88    */
89    string getTitledBorderText ();
90
91    /** Returns the tool tip text of this object.
92
93        <p>This method stems from the Java interface
94        <code>AccessibleExtendedComponent</code>.</p>
95
96        @return
97            Returns the localized tool tip text of the object.  If tool tips
98            are not supported and empty string is returned.
99    */
100    string getToolTipText ();
101};
102
103}; }; }; };
104
105#endif
106