1*d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*d1766043SAndrew Rist * distributed with this work for additional information 6*d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9*d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10*d1766043SAndrew Rist * 11*d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*d1766043SAndrew Rist * 13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*d1766043SAndrew Rist * software distributed under the License is distributed on an 15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17*d1766043SAndrew Rist * specific language governing permissions and limitations 18*d1766043SAndrew Rist * under the License. 19*d1766043SAndrew Rist * 20*d1766043SAndrew Rist *************************************************************/ 21*d1766043SAndrew Rist 22*d1766043SAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_text_AccessibleEndnoteView_idl__ 24cdf0e10cSrcweir#define __com_sun_star_text_AccessibleEndnoteView_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleContext_idl__ 27cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessibleContext.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleComponent_idl__ 31cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessibleComponent.idl> 32cdf0e10cSrcweir#endif 33cdf0e10cSrcweir 34cdf0e10cSrcweir#ifndef __com_sun_star_accessibility_XAccessibleEventBroadcaster_idl__ 35cdf0e10cSrcweir#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.idl> 36cdf0e10cSrcweir#endif 37cdf0e10cSrcweir 38cdf0e10cSrcweir 39cdf0e10cSrcweir//============================================================================= 40cdf0e10cSrcweir 41cdf0e10cSrcweirmodule com { module sun { module star { module text { 42cdf0e10cSrcweir 43cdf0e10cSrcweir//============================================================================= 44cdf0e10cSrcweir 45cdf0e10cSrcweir/** The accessible view of pagees. 46cdf0e10cSrcweir 47cdf0e10cSrcweir 48cdf0e10cSrcweir @since OOo 1.1.2 49cdf0e10cSrcweir */ 50cdf0e10cSrcweirpublished service AccessiblePageView 51cdf0e10cSrcweir{ 52cdf0e10cSrcweir /** This interface gives access to any page that is visible in the 53cdf0e10cSrcweir page preview of a text document. 54cdf0e10cSrcweir 55cdf0e10cSrcweir <ul> 56cdf0e10cSrcweir <li>The parent returned by 57cdf0e10cSrcweir <method scope="::com::sun::star::accessibility" 58cdf0e10cSrcweir >XAccessibleContext::getAccessibleParent</method> is the 59cdf0e10cSrcweir accessible page preview of a text document. That is, the 60cdf0e10cSrcweir object returned by 61cdf0e10cSrcweir <method scope="::com::sun::star::accessibility" 62cdf0e10cSrcweir >XAccessible::getAccessibleContext</method> supports 63cdf0e10cSrcweir <type scope="::com::sun::star::text" 64cdf0e10cSrcweir >AccessibleTextDocumentPageView</type>. 65cdf0e10cSrcweir <li>The children returned by 66cdf0e10cSrcweir <method scope="::com::sun::star::accessibility" 67cdf0e10cSrcweir >XAccessibleContext::getAccessibleChild</method> all 68cdf0e10cSrcweir support the interface XAccessible. Calling 69cdf0e10cSrcweir <method scope="::com::sun::star::accessibility" 70cdf0e10cSrcweir >XAccessible::getAccessibleContext</method> for these 71cdf0e10cSrcweir children returns an object that supports one of the 72cdf0e10cSrcweir following services. 73cdf0e10cSrcweir <ul> 74cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 75cdf0e10cSrcweir >AccessibleHeaderFooterView</type>: 76cdf0e10cSrcweir A child of this kind is returned for every header 77cdf0e10cSrcweir and footer that is conatined in the page. 78cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 79cdf0e10cSrcweir >AccessibleFootnoteView</type>: 80cdf0e10cSrcweir A child of this kind is returned for every footnote 81cdf0e10cSrcweir that is conatined in the page. 82cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 83cdf0e10cSrcweir >AccessibleEndnoteView</type>: 84cdf0e10cSrcweir A child of this kind is returned for every endnote 85cdf0e10cSrcweir that is conatined in the page. 86cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 87cdf0e10cSrcweir >AccessibleParagraphView</type>: 88cdf0e10cSrcweir A child of this kind is returned for every paragraph 89cdf0e10cSrcweir fragment that is contained in the page. 90cdf0e10cSrcweir A paragraph fragment is the part of a paragraph that 91cdf0e10cSrcweir is displayed on a certain page. 92cdf0e10cSrcweir <li><type scope="::com::sun::star::table" 93cdf0e10cSrcweir >AccessibleTableView</type>: 94cdf0e10cSrcweir A child of this kind is returned for every table 95cdf0e10cSrcweir fragment that is contained in the page. 96cdf0e10cSrcweir A table fragment is the part of a table that is 97cdf0e10cSrcweir displayed on a certain page. 98cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 99cdf0e10cSrcweir >AccessibleTextFrameView</type>: 100cdf0e10cSrcweir A child of this kind is returned for every text 101cdf0e10cSrcweir frame that is conrtained in the page. These objects 102cdf0e10cSrcweir are children of the <type>AccessiblePageView</type> 103cdf0e10cSrcweir regardless whether they are bound to the page, a 104cdf0e10cSrcweir paragarph, a frame, or a character. The only 105cdf0e10cSrcweir exception are text frames that are bound as 106cdf0e10cSrcweir character. They are childen of the paragraph they 107cdf0e10cSrcweir are contained in. 108cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 109cdf0e10cSrcweir >AccessibleTextGraphicObject</type>: 110cdf0e10cSrcweir A child of this kind is returned for every graphic that 111cdf0e10cSrcweir is contained in the page. These objects are 112cdf0e10cSrcweir children of the <type>AccessiblePageView</type> 113cdf0e10cSrcweir regardless whether they are bound to a page, paragraph, 114cdf0e10cSrcweir a frame or a character. The only exception 115cdf0e10cSrcweir are text frames that are bound as character. They are 116cdf0e10cSrcweir childen of the paragraph they are contained in. 117cdf0e10cSrcweir <li><type scope="::com::sun::star::text" 118cdf0e10cSrcweir >AccessibleTextEmbeddedObject</type>: 119cdf0e10cSrcweir A child of this kind is returned for every embedded 120cdf0e10cSrcweir object that is conatained in the page. 121cdf0e10cSrcweir These objects are children of the 122cdf0e10cSrcweir <type>AccessibleTextDocumentView</type> regardless 123cdf0e10cSrcweir whether they are bound to a page, a paragarph, a frame, 124cdf0e10cSrcweir or a character. They are childen of the paragraph they 125cdf0e10cSrcweir are contained in. 126cdf0e10cSrcweir <li><type scope="::com::sun::star::drawing" 127cdf0e10cSrcweir >AccessibleShape</type>: 128cdf0e10cSrcweir A child of this kind (or one of its derived 129cdf0e10cSrcweir interfaces) is returned for every shape that is 130cdf0e10cSrcweir contained in the page. These objects are children of 131cdf0e10cSrcweir the <type>AccessibleTextDocumentView</type> 132cdf0e10cSrcweir regardless whether they are bound to a page, a 133cdf0e10cSrcweir paragraph, a frame or a character. 134cdf0e10cSrcweir </ul> 135cdf0e10cSrcweir <p>The following rules apply to the children order: 136cdf0e10cSrcweir <ul> 137cdf0e10cSrcweir <li>The logical order of paragraph and table fragments is 138cdf0e10cSrcweir never changed. 139cdf0e10cSrcweir <li>Headers appear immediately before the first paragraph or 140cdf0e10cSrcweir table fragment of the header's page. 141cdf0e10cSrcweir <li>Footnotes appear immediately after the last paragraph or 142cdf0e10cSrcweir table fragment of the footnote's page. The logical order 143cdf0e10cSrcweir of footnotes isn't changed. 144cdf0e10cSrcweir <li>Endnotes appear immediately after the last footnote of 145cdf0e10cSrcweir the endnote's page or after the last paragraph or 146cdf0e10cSrcweir table fragment of this page if there are no footnotes. 147cdf0e10cSrcweir The logical order of endnotes isn't changed. 148cdf0e10cSrcweir <li>Footers appear immediately after the last endnote, 149cdf0e10cSrcweir footnote, paragraph or table fragment of the footer's 150cdf0e10cSrcweir page. 151cdf0e10cSrcweir <li>Text frames, graphics, embedded objects and shapes that 152cdf0e10cSrcweir are painted in the background appear before any other 153cdf0e10cSrcweir children. Their order reflects the z order. 154cdf0e10cSrcweir <li>Text frames, graphics, embedded objects and shapes 155cdf0e10cSrcweir that are painted in the foreground appear behind any 156cdf0e10cSrcweir other children. Their order reflects the z order, 157cdf0e10cSrcweir with the exception of controls that appear really last, 158cdf0e10cSrcweir but also keep the z order. 159cdf0e10cSrcweir </ul> 160cdf0e10cSrcweir <li>The role is <const scope="::com::sun::star::accessibility" 161cdf0e10cSrcweir >AccessibleRole::PANEL</const> 162cdf0e10cSrcweir <li>The name is "page" (or the equivalent term 163cdf0e10cSrcweir in application's language) with a number appended. 164cdf0e10cSrcweir <li>The description is "page" (or the equivalent term 165cdf0e10cSrcweir in application's language) with the page number or 166cdf0e10cSrcweir character appended in the format that is specified in the 167cdf0e10cSrcweir page style. 168cdf0e10cSrcweir <li>There are no relations.</li> 169cdf0e10cSrcweir <li>The following states might be contained in the state set 170cdf0e10cSrcweir returned by <method scope="::com::sun::star::accessibility" 171cdf0e10cSrcweir >XAccessibleContext::getAccessibleStateSet</method>: 172cdf0e10cSrcweir <ul> 173cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 174cdf0e10cSrcweir >AccessibleStateType::DEFUNC</const> (indicates that 175cdf0e10cSrcweir the document window has been closed or the endnote 176cdf0e10cSrcweir is not existing any longer)</li> 177cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 178cdf0e10cSrcweir >AccessibleStateType::ENABLED</const> (always 179cdf0e10cSrcweir contained)</li> 180cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 181cdf0e10cSrcweir >AccessibleStateType::OPAQUE</const> 182cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 183cdf0e10cSrcweir >AccessibleStateType::FOCUSABLE</const> 184cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 185cdf0e10cSrcweir >AccessibleStateType::FOCUSED</const> 186cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 187cdf0e10cSrcweir >AccessibleStateType::SHOWING</const> 188cdf0e10cSrcweir <li><const scope="::com::sun::star::accessibility" 189cdf0e10cSrcweir >AccessibleStateType::VISIBLE</const> 190cdf0e10cSrcweir </ul> 191cdf0e10cSrcweir <li>The locale is the application's locale. 192cdf0e10cSrcweir </ul> 193cdf0e10cSrcweir 194cdf0e10cSrcweir */ 195cdf0e10cSrcweir interface ::com::sun::star::accessibility::XAccessibleContext; 196cdf0e10cSrcweir 197cdf0e10cSrcweir /** This interface describes the graphical representation of a 198cdf0e10cSrcweir endnote. 199cdf0e10cSrcweir */ 200cdf0e10cSrcweir interface ::com::sun::star::accessibility::XAccessibleComponent; 201cdf0e10cSrcweir 202cdf0e10cSrcweir /** This is the interface for listeners */ 203cdf0e10cSrcweir interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster; 204cdf0e10cSrcweir}; 205cdf0e10cSrcweir 206cdf0e10cSrcweir//============================================================================= 207cdf0e10cSrcweir 208cdf0e10cSrcweir}; }; }; }; 209cdf0e10cSrcweir 210cdf0e10cSrcweir#endif 211