1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com
{ module sun
{ module star
{ module awt
{
22 /** specifies accessibility support for an edit.
26 service AccessibleEdit
28 /** This interface gives access to the structural information of an edit:
31 <li>Role: The role of an edit is
32 com::sun::star::accessibility::AccessibleRole::TEXT.
33 If the text content of the edit is password protected
35 com::sun::star::accessibility::AccessibleRole::PASSWORD_TEXT.</li>
36 <li>Name: If the relation of type
37 com::sun::star::accessibility::AccessibleRelationType::LABELED_BY
38 is set, the name of the edit is the localized label of the target
39 object, otherwise there is no name.</li>
40 <li>Description: The description of an edit is its localized
42 <li>Children: There are no children.</li>
43 <li>Parent: The parent is the window that contains the edit.</li>
44 <li>Relations: The relations supported by this service are
46 <li>com::sun::star::accessibility::AccessibleRelationType::LABELED_BY
47 is set if the object is labeled by one or more target
51 <li>States: The states supported by this service are
53 <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC
54 is set if the object has already been disposed
55 and subsequent calls to this object result in
56 com::sun::star::lang::DisposedException
58 <li>com::sun::star::accessibility::AccessibleStateType::EDITABLE
60 if the content of the object can be changed by the user.</li>
61 <li>com::sun::star::accessibility::AccessibleStateType::ENABLED
62 is set if the object is enabled.</li>
63 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE
65 <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED
66 is set if the object currently has the keyboard focus.</li>
67 <li>com::sun::star::accessibility::AccessibleStateType::SHOWING
68 is set if the object is displayed on the screen.</li>
69 <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE
75 interface ::com
::sun
::star
::accessibility
::XAccessibleContext
;
77 interface ::com
::sun
::star
::accessibility
::XAccessibleEventBroadcaster
;
79 interface ::com
::sun
::star
::accessibility
::XAccessibleComponent
;
81 interface ::com
::sun
::star
::accessibility
::XAccessibleExtendedComponent
;
83 /** This interface gives read-only access to the text representation
86 interface ::com
::sun
::star
::accessibility
::XAccessibleText
;
88 /** This interface extends the
89 com::sun::star::accessibility::XAccessibleText
90 interface and gives read and write access to the text representation
93 interface ::com
::sun
::star
::accessibility
::XAccessibleEditableText
;
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */