1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#ifndef __com_sun_star_drawing_AccessibleGraphicShape_idl__
29#define __com_sun_star_drawing_AccessibleGraphicShape_idl__
30
31#ifndef __com_sun_star_drawing_AccessibleShape_idl__
32#include <com/sun/star/drawing/AccessibleShape.idl>
33#endif
34
35#ifndef __com_sun_star_accessibility_XAccessibleImage_idl__
36#include <com/sun/star/accessibility/XAccessibleImage.idl>
37#endif
38
39module com {  module sun {  module star {  module drawing {
40
41/** The <type>AccessibleGraphicShape</type> service is implemented by the
42    graphic object shapes shapes com.sun.star.drawing.GraphicObjectShape and
43    com.sun.star.presentation.GraphicObjectShape.
44
45    <p>It differs from the included <type>AccessibleShape</type> 'base'
46    service by the additional support of the
47    <type
48    scope="::com::sun::star::accessibility">XAccessibleImage</type>
49    interface.</p>
50
51	 @since OOo 1.1.2
52*/
53published service AccessibleGraphicShape
54{
55    /** Give access to information of generic shapes.
56
57        <p>See <type>AccessibleShape</type> for documentation and support of
58        the interfaces
59        <type scope="::com::sun::star::accessibility">XAccessible</type>,
60        <type scope="::com::sun::star::accessibility">XAccessibleContext</type>,
61        and
62        <type scope="::com::sun::star::accessibility">XAccessibleComponent</type>.</p>
63
64        @see AccessibleShape
65    */
66    service AccessibleShape;
67
68    /**  Give access to image specific information.
69
70        <p>The support of the <type
71        scope="::com::sun::star::accessibility"
72        >XAccessibleImage</type> interface
73        requires the shape to provide a description of the displayed image
74        and the image's size in the screen coordinate system (pixel).  At
75        the time being this interface does not provide information that is
76        not available through the <type>AccessibleShape</type> service:
77        the size returned by the
78        <member scope="::com::sun::star::accessibility"
79        >XAccessibleImage::getWidth</member> and <member
80        scope="::com::sun::star::accessibility"
81        >XAccessibleImage::getHeight</member> functions is the same as that
82        returned by the <member
83        scope="::com::sun::star::accessibility"
84        >XAccessibleComponent::getSize</member> function; the description
85        returned by <member
86        scope="::com::sun::star::accessibility"
87        >XAccessibleImage::getAccessibleImageDescription</member> function
88        is the same as the one returned by the <member
89        scope="::com::sun::star::accessibility"
90        >XAccessibleContext::getAccessibleDescription</member> function.
91        This makes the additional interface for
92        the time being basically an indicator of graphic shapes.  This may
93        change in the future.</p>
94    */
95    interface ::com::sun::star::accessibility::XAccessibleImage;
96};
97
98}; }; }; };
99
100#endif
101