1d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5d1766043SAndrew Rist * distributed with this work for additional information 6d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14d1766043SAndrew Rist * software distributed under the License is distributed on an 15d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17d1766043SAndrew Rist * specific language governing permissions and limitations 18d1766043SAndrew Rist * under the License. 19cdf0e10cSrcweir * 20d1766043SAndrew Rist *************************************************************/ 21d1766043SAndrew Rist 22d1766043SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleExtendedComponent_idl__ 25cdf0e10cSrcweir#define __com_sun_star_accessibility_XAccessibleExtendedComponent_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__ 28cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl> 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir#ifndef __com_sun_star_awt_XFocusListener_idl__ 31cdf0e10cSrcweir#include <com/sun/star/awt/XFocusListener.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir#ifndef __com_sun_star_awt_XFont_idl__ 34cdf0e10cSrcweir#include <com/sun/star/awt/XFont.idl> 35cdf0e10cSrcweir#endif 36cdf0e10cSrcweir#ifndef __com_sun_star_awt_FontDescriptor_idl__ 37cdf0e10cSrcweir#include <com/sun/star/awt/FontDescriptor.idl> 38cdf0e10cSrcweir#endif 39cdf0e10cSrcweir#ifndef __com_sun_star_awt_Point_idl__ 40cdf0e10cSrcweir#include <com/sun/star/awt/Point.idl> 41cdf0e10cSrcweir#endif 42cdf0e10cSrcweir#ifndef __com_sun_star_awt_Rectangle_idl__ 43cdf0e10cSrcweir#include <com/sun/star/awt/Rectangle.idl> 44cdf0e10cSrcweir#endif 45cdf0e10cSrcweir#ifndef __com_sun_star_awt_Size_idl__ 46cdf0e10cSrcweir#include <com/sun/star/awt/Size.idl> 47cdf0e10cSrcweir#endif 48cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__ 49cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessibleComponent.idl> 50cdf0e10cSrcweir#endif 51cdf0e10cSrcweir 52cdf0e10cSrcweirmodule com { module sun { module star { module accessibility { 53cdf0e10cSrcweir 54cdf0e10cSrcweir/** The <type>XAccessibleExtendedComponent</type> interface contains 55cdf0e10cSrcweir additional methods to those of the <type>XAccessibleComponent</type> 56cdf0e10cSrcweir interface. These methods provide information that is used not as often. The 57cdf0e10cSrcweir division into two interfaces allows classes to support the more 58cdf0e10cSrcweir frequently used methods of the <type>XAccessibleComponent</type> 59cdf0e10cSrcweir interface and only support the <type>XAccessibleExtendedComponent</type> 60cdf0e10cSrcweir interface if that makes sense for the class. 61cdf0e10cSrcweir 62cdf0e10cSrcweir <p>This interface provides extended access to retrieve information 63cdf0e10cSrcweir concerning the graphical representation of an object. This interface 64cdf0e10cSrcweir combines methods from the Java interfaces 65cdf0e10cSrcweir <code>javax.accessibility.AccessibleComponent</code> and 66cdf0e10cSrcweir <code>javax.accessibility.AccessibleExtendedComponent</code>.</p> 67cdf0e10cSrcweir 68*0d3a54ffSJürgen Schmidt @since OpenOffice 1.1.2 69cdf0e10cSrcweir*/ 70cdf0e10cSrcweirpublished interface XAccessibleExtendedComponent : XAccessibleComponent 71cdf0e10cSrcweir{ 72cdf0e10cSrcweir /** Returns the font of this object. 73cdf0e10cSrcweir 74cdf0e10cSrcweir @return 75cdf0e10cSrcweir The returend reference to a font object is empty if a font is not 76cdf0e10cSrcweir supported by this object. 77cdf0e10cSrcweir */ 78cdf0e10cSrcweir ::com::sun::star::awt::XFont getFont (); 79cdf0e10cSrcweir 80cdf0e10cSrcweir /** Returns the titled border text. 81cdf0e10cSrcweir 82cdf0e10cSrcweir <p>This method stems from the Java interface 83cdf0e10cSrcweir <code>AccessibleExtendedComponent</code>.</p> 84cdf0e10cSrcweir 85cdf0e10cSrcweir @return 86cdf0e10cSrcweir The returned value is the titled border text of the object or 87cdf0e10cSrcweir empty if that is not supported. 88cdf0e10cSrcweir */ 89cdf0e10cSrcweir string getTitledBorderText (); 90cdf0e10cSrcweir 91cdf0e10cSrcweir /** Returns the tool tip text of this object. 92cdf0e10cSrcweir 93cdf0e10cSrcweir <p>This method stems from the Java interface 94cdf0e10cSrcweir <code>AccessibleExtendedComponent</code>.</p> 95cdf0e10cSrcweir 96cdf0e10cSrcweir @return 97cdf0e10cSrcweir Returns the localized tool tip text of the object. If tool tips 98cdf0e10cSrcweir are not supported and empty string is returned. 99cdf0e10cSrcweir */ 100cdf0e10cSrcweir string getToolTipText (); 101cdf0e10cSrcweir}; 102cdf0e10cSrcweir 103cdf0e10cSrcweir}; }; }; }; 104cdf0e10cSrcweir 105cdf0e10cSrcweir#endif 106