1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
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.
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).
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.
26 ************************************************************************/
27 #ifndef __com_sun_star_text_AccessibleTextGraphicObjectView_idl__
28 #define __com_sun_star_text_AccessibleTextGraphicObjectView_idl__
30 #ifndef __com_sun_star_accessibility_XAccessibleContext_idl__
31 #include
<com
/sun
/star
/accessibility
/XAccessibleContext.idl
>
34 #ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__
35 #include
<com
/sun
/star
/accessibility
/XAccessibleComponent.idl
>
38 #ifndef __com_sun_star_accessibility_XAccessibleImage_idl__
39 #include
<com
/sun
/star
/accessibility
/XAccessibleImage.idl
>
42 #ifndef __com_sun_star_accessibility_XAccessibleEventBroadcaster_idl__
43 #include
<com
/sun
/star
/accessibility
/XAccessibleEventBroadcaster.idl
>
47 //=============================================================================
49 module com
{ module sun
{ module star
{ module text
{
51 //=============================================================================
53 /** The accessible view of graphics.
57 published service AccessibleTextGraphicObject
59 /** This interface comprises the basic accessibility of text graphics.
62 <li>The parent returned by
63 <method scope="::com::sun::star::accessibility"
64 >XAccessibleContext::getAccessibleParent</method> is the
65 accessible view of a paragraph if the graphic is bound as
66 character, and the accessible view of the document (or of a
67 page in the page preview) in any other case.
68 <li>There are no chidren returned by
69 <method scope="::com::sun::star::accessibility"
70 >XAccessibleContext::getAccessibleChild</method>.
71 <li>The role is <const scope="::com::sun::star::accessibility"
72 >AccessibleRole::GRAPHIC</const>
73 <li>The name is the one assigned to the graphic in the text
74 document. This means that it is not internationalized.
75 <li>The description is the one assigned to the graphic in the text
76 document. This means that it is not internationalized. If no
77 description has been set, the description equals the name.
78 <li>There are no relations.
79 <li>The following states might be contained in the state set
80 returned by <method scope="::com::sun::star::accessibility
81 ">XAccessibleContext::getAccessibleStateSet</type>:
83 <li><const scope="::com::sun::star::accessibility"
84 >AccessibleStateType::DEFUNC</const> (indicates that
85 the document window has been closed or the graphic
86 is not existing any longer)
87 <li><const scope="::com::sun::star::accessibility"
88 >AccessibleStateType::EDITABLE</const>
89 <li><const scope="::com::sun::star::accessibility"
90 >AccessibleStateType::ENABLED</const> (always
92 <li><const scope="::com::sun::star::accessibility"
93 >AccessibleStateType::OPAQUE</const>
94 <li><const scope="::com::sun::star::accessibility"
95 >AccessibleStateType::SELECTABLE</const>
96 <li><const scope="::com::sun::star::accessibility"
97 >AccessibleStateType::SELECTED</const>
98 <li><const scope="::com::sun::star::accessibility"
99 >AccessibleStateType::FOCUSABLE</const>
100 <li><const scope="::com::sun::star::accessibility"
101 >AccessibleStateType::FOCUSED</const>
102 <li><const scope="::com::sun::star::accessibility"
103 >AccessibleStateType::SHOWING</const>
104 <li><const scope="::com::sun::star::accessibility"
105 >AccessibleStateType::VISIBLE</const>
107 <li>The locale is the one the text document itself.
111 interface ::com
::sun
::star
::accessibility
::XAccessibleContext
;
113 /** This interface describes the graphical representation of a
116 interface ::com
::sun
::star
::accessibility
::XAccessibleComponent
;
118 /** This interface gives access to the image size and its description.
120 interface ::com
::sun
::star
::accessibility
::XAccessibleImage
;
122 /** This is the interface for listeners */
123 interface ::com
::sun
::star
::accessibility
::XAccessibleEventBroadcaster
;
126 //=============================================================================