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_drawing_AccessibleGraphicShape_idl__ 25#define __com_sun_star_drawing_AccessibleGraphicShape_idl__ 26 27#ifndef __com_sun_star_drawing_AccessibleShape_idl__ 28#include <com/sun/star/drawing/AccessibleShape.idl> 29#endif 30 31#ifndef __com_sun_star_accessibility_XAccessibleImage_idl__ 32#include <com/sun/star/accessibility/XAccessibleImage.idl> 33#endif 34 35module com { module sun { module star { module drawing { 36 37/** The <type>AccessibleGraphicShape</type> service is implemented by the 38 graphic object shapes shapes com.sun.star.drawing.GraphicObjectShape and 39 com.sun.star.presentation.GraphicObjectShape. 40 41 <p>It differs from the included <type>AccessibleShape</type> 'base' 42 service by the additional support of the 43 <type 44 scope="::com::sun::star::accessibility">XAccessibleImage</type> 45 interface.</p> 46 47 @since OpenOffice 1.1.2 48*/ 49published service AccessibleGraphicShape 50{ 51 /** Give access to information of generic shapes. 52 53 <p>See <type>AccessibleShape</type> for documentation and support of 54 the interfaces 55 <type scope="::com::sun::star::accessibility">XAccessible</type>, 56 <type scope="::com::sun::star::accessibility">XAccessibleContext</type>, 57 and 58 <type scope="::com::sun::star::accessibility">XAccessibleComponent</type>.</p> 59 60 @see AccessibleShape 61 */ 62 service AccessibleShape; 63 64 /** Give access to image specific information. 65 66 <p>The support of the <type 67 scope="::com::sun::star::accessibility" 68 >XAccessibleImage</type> interface 69 requires the shape to provide a description of the displayed image 70 and the image's size in the screen coordinate system (pixel). At 71 the time being this interface does not provide information that is 72 not available through the <type>AccessibleShape</type> service: 73 the size returned by the 74 <member scope="::com::sun::star::accessibility" 75 >XAccessibleImage::getWidth</member> and <member 76 scope="::com::sun::star::accessibility" 77 >XAccessibleImage::getHeight</member> functions is the same as that 78 returned by the <member 79 scope="::com::sun::star::accessibility" 80 >XAccessibleComponent::getSize</member> function; the description 81 returned by <member 82 scope="::com::sun::star::accessibility" 83 >XAccessibleImage::getAccessibleImageDescription</member> function 84 is the same as the one returned by the <member 85 scope="::com::sun::star::accessibility" 86 >XAccessibleContext::getAccessibleDescription</member> function. 87 This makes the additional interface for 88 the time being basically an indicator of graphic shapes. This may 89 change in the future.</p> 90 */ 91 interface ::com::sun::star::accessibility::XAccessibleImage; 92}; 93 94}; }; }; }; 95 96#endif 97