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