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_AccessibleEndnoteView_idl__
28 #define __com_sun_star_text_AccessibleEndnoteView_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_XAccessibleEventBroadcaster_idl__
39 #include
<com
/sun
/star
/accessibility
/XAccessibleEventBroadcaster.idl
>
43 //=============================================================================
45 module com
{ module sun
{ module star
{ module text
{
47 //=============================================================================
49 /** The accessible view of endnotes.
52 published service AccessibleEndnoteView
54 /** This interface gives access to any paragraph fragment and table
55 fragment that is contained in a endnote and is at least
56 partially visible on the screen.
59 <li>The parent returned by
60 <method scope="::com::sun::star::accessibility"
61 >XAccessibleContext::getAccessibleParent</method>
62 is either the accessible view of a text document,
63 a page of the accessible page preview of a text document,
64 or the accessible page preview of a spreadsheet document.
65 <li>The children returned by
66 <method scope="::com::sun::star::accessibility"
67 >XAccessibleContext::getAccessibleChild</method> all
68 support the interface XAccessible. Calling
69 <method scope="::com::sun::star::accessibility"
70 >XAccessible::getAccessibleContext</method> for these children returns
71 an object that supports one of the following services.
73 <li><type scope="::com::sun::star::text"
74 >AccessibleParagraphView</type>:
75 A child of this kind is returned for every paragraph
76 fragment that is contained in the document body and
77 is at least partially visible. A paragraph fragment is
78 the part of a paragraph that is displayed on a
80 <li><type scope="::com::sun::star::table"
81 >AccessibleTableView</type>:
82 A child of this kind is returned for every table
83 fragment that is contained in the document body
84 and is at least partially visible. A table fragment is
85 the part of a table that is displayed on a certain page.
87 <p>The logical order of paragraph and table fragments is never
89 <li>The role is <const scope="::com::sun::star::accessibility"
90 >AccessibleRole::ENDNOTE</const>
91 <li>The name is "endnote" (or the equivalent term
92 in application's language) with a number appended.
93 <li>The description is endnote" (or the equivalent term
94 in application's language) with the endnote number or
95 character appended in the format that is specified in the
97 <li>There are no relations. <em>TODO: One might specify a relation
98 to the endnote anchor's paragraph.</em>
99 <li>The following states might be contained in the state set
100 returned by <method scope="::com::sun::star::accessibility"
101 >XAccessibleContext::getAccessibleStateSet</method>:
103 <li><const scope="::com::sun::star::accessibility"
104 >AccessibleStateType::DEFUNC</const> (indicates that the
105 document window has been closed or the endnote is
106 not existing any longer)
107 <li><const scope="::com::sun::star::accessibility"
108 >AccessibleStateType::EDITABLE</const>
109 <li><const scope="::com::sun::star::accessibility"
110 >AccessibleStateType::ENABLED</const> (always contained)
111 <li><const scope="::com::sun::star::accessibility"
112 >AccessibleStateType::OPAQUE</const>
113 <li><const scope="::com::sun::star::accessibility"
114 >AccessibleStateType::SHOWING</const>
115 <li><const scope="::com::sun::star::accessibility"
116 >AccessibleStateType::VISIBLE</const>
118 <li>Depending of the application's region setting, the locale is
119 the western, asian or complex default language of the document.
123 interface ::com
::sun
::star
::accessibility
::XAccessibleContext
;
125 /** This interface describes the graphical representation of a
128 interface ::com
::sun
::star
::accessibility
::XAccessibleComponent
;
130 /** This is the interface for listeners */
131 interface ::com
::sun
::star
::accessibility
::XAccessibleEventBroadcaster
;
134 //=============================================================================