merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / text / AccessibleTextDocumentPageView.idl
blob1f85b2cc9a773c2a9008bedbeaa0675515e43348
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_AccessibleTextDocumentPageView_idl__
28 #define __com_sun_star_text_AccessibleTextDocumentPageView_idl__
30 #ifndef __com_sun_star_accessibility_XAccessibleContext_idl__
31 #include <com/sun/star/accessibility/XAccessibleContext.idl>
32 #endif
34 #ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__
35 #include <com/sun/star/accessibility/XAccessibleComponent.idl>
36 #endif
38 #ifndef __com_sun_star_accessibility_XAccessibleSelection_idl__
39 #include <com/sun/star/accessibility/XAccessibleSelection.idl>
40 #endif
42 #ifndef __com_sun_star_accessibility_XAccessibleEventBroadcaster_idl__
43 #include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl>
44 #endif
47 //=============================================================================
49 module com { module sun { module star { module text {
51 //=============================================================================
53 /** The accessible page preview of a text document.
55 @since OOo 1.1.2
57 published service AccessibleTextDocumentPageView
59 /** This interface gives access to page that are visible in the
60 page preview of a text document.
61 <ul>
62 <li>The children returned by
63 <method scope="::com::sun::star::accessibility"
64 >XAccessibleContext::getAccessibleChild</type> all support
65 the interface XAccessible. Calling
66 <method scope="::com::sun::star::accessibility"
67 >XAccessible::getAccessibleContext</type> for these children
68 returns an object that supports one of the service
69 <type scope="::com::sun::star::text"
70 >AccessiblePageView</type>.
71 <li>The role is <const scope="::com::sun::star::accessibility"
72 >AccessibleRole::DOCUMENT</const>.
73 <li>The name is "document view" (or the equivalent term
74 in application's language).
75 <li>The description also is "document view" (or the equivalent term
76 in application's language).
77 <li>There are no relation sets.
78 <li>The following states might be contained in the state set
79 returned by <method scope="::com::sun::star::accessibility"
80 >XAccessibleContext::getAccessibleStateSet</method>:
81 <ul>
82 <li><const scope="::com::sun::star::accessibility"
83 >AccessibleStateType::DEFUNC</const> (indicates that
84 the document window has been closed)
85 <li><const scope="::com::sun::star::accessibility"
86 >AccessibleStateType::ENABLED</const> (always
87 contained)
88 <li><const scope="::com::sun::star::accessibility"
89 >AccessibleStateType::OPAQUE</const> (always
90 contained)
91 <li><const scope="::com::sun::star::accessibility"
92 >AccessibleStateType::SHOWING</const>
93 <li><const scope="::com::sun::star::accessibility"
94 >AccessibleStateType::VISIBLE</const>
95 </ul>
96 <li>The locale is the application's locale.
97 </ul>
100 interface ::com::sun::star::accessibility::XAccessibleContext;
102 /** This interface describes the graphical representation of a text
103 document view.
105 interface ::com::sun::star::accessibility::XAccessibleComponent;
107 /** This is the interface for listeners
109 interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster;
112 //=============================================================================
114 }; }; }; };
116 #endif