Overview | Module | Use | Devguide | Index

Services' Summary | Interfaces' Summary | Properties' Summary | Services' Details | Interfaces' Details | Properties' Details

:: com :: sun :: star :: chart ::
unpublished | service AccessibleChartElement |
Usage Restrictions not published Description This service is supported by all components that are contained in the view of a chart document that are controlled by the chart. Shapes added by a user via the clipboard are not treated as chart elements. The list of objects that implement this service is ChartTitle, ChartLegend, Diagram, ChartAxis, ChartDataRowProperties, ChartDataPointProperties. The ::com::sun::star::accessibility::XAccessibleExtendedComponent is supported by all chart elements. Since OOo 1.1.2

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 | Give access to the structural information of a chart element. (details)
::com::sun::star::accessibility::XAccessibleComponent | Give access to the graphical representation of a chart element. (details)
::com::sun::star::accessibility::XAccessibleExtendedComponent | Give extended access to the graphical representation of a chart element. (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 Give access to the structural information of a chart element. You can access the following information for the shapes of the above listed types: Role All chart elements have the role AccessibleRole::SHAPE. Name For unique elements you get fixed names. The unique elements are the titles, legend, diagram and axes. The names you get for them are "main-title", "sub-title", "(x|y|z)-axis-title", "legend", "diagram", "(x|y|z)-axis" and "second-(x|y)-axis", respectively. Description Descriptions contain a list of selected attributes. These attributes are, if applicable: foreground and background color, line width, font name and size. The purpose of these attributes is to give a rough description of the more simple geometric shapes. The list is very restricted in order to avoid overwhelming or confusing the user. Children The Diagram and the ChartLegend contain children, all other objects in a chart do not, i.e., are leaves in the document representation tree. Parent Because the `setParent` method from the JAVA has been removed, the reference to the parent has to be provided in an implementation specific way. Relations They are not used at the moment. States The states supported by this service are: AccessibleStateType::DEFUNC is set if an object was removed. This indicates that the user should release all references to the accessible object. If this state is set then no other of the states below is set. AccessibleStateType::EDITABLE AccessibleStateType::ENABLED is always set.† AccessibleStateType::MULTILINE is set for all titles. AccessibleStateType::OPAQUE is set for all elements that do have a transparency attributes set to 0% and no transparency gradient. AccessibleStateType::RESIZABLE Is set for the diagram object only. All other chart elements may not be resized. AccessibleStateType::SELECTABLE AccessibleStateType::SELECTED AccessibleStateType::SHOWING is always set.† AccessibleStateType::VISIBLE is always set.† †always, except if the state AccessibleStateType::DEFUNC is set. Locale is supported. Property change listeners Property change listeners that are registered with a chart element are informed if the size or position or an attribute changed. The last point needs a short explanation: An attribute change is signaled even if that attribute is not part of the shape's description and is therefore not explicitly represented by the UAA.
::com::sun::star::accessibility::XAccessibleComponent
Description Give access to the graphical representation of a chart element. The coordinate oriented methods `contains`, `getAccessibleAt`, `getBounds`, `getLocation`, `getLocationOnScreen`, and `getSize` work on pixel coordinates. (To transform between the internal 100th of mm and pixels a chart element has to have access to information that allows it to do so. These information are the enclosing window's size in pixel, 100th of mm, and its own relative position in one or the other coordinate system). Focus handling depends on support of the ::com::sun::star::accessibility::XAccessibleText and ::com::sun::star::accessibility::XAccessibleEditableText interfaces. 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 chart element. This interface is used primarily to provide the predominant foreground and background colors and—if applicable, i.e. the ::com::sun::star::accessibility::XAccessibleText interface is supported—information about the font used to display text. The foreground and background colors may in some cases be directly taken from the object. In other cases, for example when a gradient or a texture is used, they have to be interpolated. The color returned may not be appropriate in all cases. Specifying the font used for displaying text depends on the transformation of UNO API font information into the Java™ format. However, if the UAA is used directly, this is of course not an issue. 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.

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.