/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_awt_AccessibleEdit_idl__ #define __com_sun_star_awt_AccessibleEdit_idl__ #include #include #include #include #include #include module com { module sun { module star { module awt { /** specifies accessibility support for an edit. @since OOo 1.1.2 */ published service AccessibleEdit { /** This interface gives access to the structural information of an edit:
  • Role: The role of an edit is AccessibleRole::TEXT. If the text content of the edit is password protected the role is AccessibleRole::PASSWORD_TEXT.
  • Name: If the relation of type AccessibleRelationType::LABELED_BY is set, the name of the edit is the localized label of the target object, otherwise there is no name.
  • Description: The description of an edit is its localized help text.
  • Children: There are no children.
  • Parent: The parent is the window that contains the edit.
  • Relations: The relations supported by this service are
    • AccessibleRelationType::LABELED_BY is set if the object is labeled by one or more target objects.
  • States: The states supported by this service are
    • AccessibleStateType::DEFUNC is set if the object has already been disposed and subsequent calls to this object result in DisposedException exceptions.
    • AccessibleStateType::EDITABLE is set if the content of the object can be changed by the user.
    • AccessibleStateType::ENABLED is set if the object is enabled.
    • AccessibleStateType::FOCUSABLE is always set.
    • AccessibleStateType::FOCUSED is set if the object currently has the keyboard focus.
    • AccessibleStateType::SHOWING is set if the object is displayed on the screen.
    • AccessibleStateType::VISIBLE is always set.
*/ interface ::com::sun::star::accessibility::XAccessibleContext; interface ::com::sun::star::accessibility::XAccessibleEventBroadcaster; interface ::com::sun::star::accessibility::XAccessibleComponent; interface ::com::sun::star::accessibility::XAccessibleExtendedComponent; /** This interface gives read-only access to the text representation of an edit. */ interface ::com::sun::star::accessibility::XAccessibleText; /** This interface extends the XAccessibleText interface and gives read and write access to the text representation of an edit. */ interface ::com::sun::star::accessibility::XAccessibleEditableText; }; }; }; }; }; #endif