Exported Interfaces - Details |
::com::sun::star::accessibility::XAccessible
|
::com::sun::star::accessibility::XAccessibleContext
- Description
- Give access to the structural information of a shape.
You can access the following information for the shape being made
accessible:
- Role: The role of all shapes is AccessibleRole::SHAPE.
- Name: The name of a shape is its localized type name.
- Description: Descriptions are localized and start with the
shape's type and style. After that follow some properties that
differ from the defaults with respect to the style.
- Children: The children of a shape are either other accessible
shapes or accessible text paragraphs. Only group shapes, 3D scene
shapes, and OLE shapes may contain other shapes as children.
Some of the shapes may have text paragraphs as (additional)
children. See ::com::sun::star::text::AccessibleParagraphView for details of
how this text is represented.
- Parent: The parent is either the document view as represented by
AccessibleDrawDocumentView or a group shape, 3D
scene shape, or OLE shape.
- Relations: Are set and maintained from the outside. See the
service description of the object that has accessible shapes as
children for details.
- States: The states supported by this service are:
AccessibleStateType::DEFUNC is set if an accessible
shape is not visible but still existent for some reason.
This should not really happen and is a sign that someone,
e.g. an AT-Tool holds references to such a shape. The
reason for this is that either the owner of the accessible
shape did not remove it from its list of children or that
the AT-Tool does not care for the events indicating
this.
Usually an object that has the AccessibleStateType::DEFUNC state set has already
been disposed and subsequent calls to this object result in
::com::sun::star::lang::DisposedException
exceptions.
If this state is set then no other of the states below is
set. This is also true for the states that are otherwise
allways set (which makes 'allways' more of a sort of
'normally').
- AccessibleStateType::EDITABLE
is always set.
This state is interpreted to mean that not only text but
also other, graphical, properties of a shape can be modified.
- AccessibleStateType::ENABLED is always set.
- AccessibleStateType::FOCUSABLE is always set.
- AccessibleStateType::FOCUSED is set according to
whether the shape currently has the focus.
- AccessibleStateType::MULTI_LINE is set if a shape
supports the ::com::sun::star::accessibility::XAccessibleText interface.
- AccessibleStateType::OPAQUE is set for certain shapes
with certain attributes like for a filled rectangle.
- AccessibleStateType::RESIZABLE is always set.
- AccessibleStateType::SELECTABLE is always set.
- AccessibleStateType::SELECTED is set according to
whether the shape is currently selected.
- AccessibleStateType::SHOWING is always set.
- AccessibleStateType::VISIBLE is always set.
- Locale: The shape returns the locale of its parent.
- Property change listeners: Property change listeners that are
registered with a shape are informed of the usual events.
|
|
::com::sun::star::accessibility::XAccessibleComponent
- Description
- Give access to the graphical representation of a shape.
The bounding box returned by the XAccessibleComponent::getBounds function returns the
shape's bounding box clipped at its parent's bounding box
An accessible shape tries as best as it can to return proper
values for calls to the
XAccessibleExtendedComponent::getForeground and
XAccessibleExtendedComponent::getBackground functions.
If the shape is painted with a uniform and non-transparent color
then the returned colors may differ from the ones visible on the
screen.
Key bindings are not supported at the moment
|
|
::com::sun::star::accessibility::XAccessibleExtendedComponent
- Usage Restrictions
- optional
- Description
- Give extended access to the graphical representation of a shape.
The functions XAccessibleExtendedComponent::getFont,
XAccessibleExtendedComponent::getTitledBorderText, and
XAccessibleExtendedComponent::getToolTipText are not
supported and return empty references respectively empty
strings.
The support of this interface is optional to reduce overhead in
case that no text is displayed and color information can not be
determined with an acceptable cost.
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.