:: com :: sun :: star :: drawing ::

service AccessibleDrawDocumentView

Exported Interfaces - Summary
::com::sun::star::accessibility::XAccessible

Base interface for being accessible. It gives access to the ::com::sun::star::accessibility::XAccessibleContext interface.

::com::sun::star::accessibility::XAccessibleContext

Provide access to the view of a document. (details)

::com::sun::star::accessibility::XAccessibleComponent

Provide access to a draw document's graphical representation. (details)

Exported Interfaces - Details
::com::sun::star::accessibility::XAccessible
Description
Base interface for being accessible. It gives access to the ::com::sun::star::accessibility::XAccessibleContext interface.
::com::sun::star::accessibility::XAccessibleContext
Description
Provide access to the view of a document.

You can access the following information:

  • Role: The object's role is AccessibleRole::DOCUMENT.
  • Name: Its name is "AccessibleDrawDocumentView", "AccessibleOutlineView", or "slide window".
  • Description: The description is "Draw Document", "Accessible Draw Document Outline", or "slide window".
  • Children: The shapes of the current draw page that are currently visible are direct and indirect children of (an object implementing) this service. Group shapes, 3D scenes, and OLE objects introduce further levels into the hierarchy. If the visibility of shapes changes--due to scrolling, switching the current draw page, or changing the view mode--the appropriate listeners are called and the user gets informed of this.
  • Parent: The parent will usually be the window that contains the draw document view. It has to be set via implementation dependent ways.
  • Relations: Relations are set and modified from the outside.
  • States: AccessibleStateType::DEFUNC is set if a document view becomes obsolete like when the window, which displays the view, is closed. Otherwise the states AccessibleStateType::ENABLED, AccessibleStateType::SHOWING, AccessibleStateType::VISIBLE, AccessibleStateType::FOCUSABLE, and AccessibleStateType::SELECTABLE are always set.
  • Locale: Is obtained from the parent and returned unchanged.

::com::sun::star::accessibility::XAccessibleComponent
Description
Provide access to a draw document's graphical representation.

The main purpose of this interface is to provide a bounding box of the currently visible area and to let the user find children (i.e. shapes) that cover a given test point. The more interesting part of the graphical representation of a draw page lies in its children. See the AccessibleShape service for more information about shapes.

See also
AccessibleShape

 
Top of Page