<html> <head> <title>Service AccessibleChartElement</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimain"><a href="AccessibleChartElement-xref.html" class="navimain">Use</a></td> <td class="navimainnone">Devguide</td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub">Included Services</td> <td class="navisub"><a href="#ExportedInterfaces" class="navisub">Exported Interfaces</a></td> <td class="navisub">Properties' Summary</td> <td class="navisub">Properties' Details</td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">chart</a> :: </p> </td> </tr> <tr> <td class="title">service AccessibleChartElement</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>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. </dd> <dd><p>The list of objects that implement this service is <a href="ChartTitle.html">ChartTitle</a>, <a href="ChartLegend.html">ChartLegend</a>, <a href="Diagram.html">Diagram</a>, <a href="ChartAxis.html">ChartAxis</a>, <a href="ChartDataRowProperties.html">ChartDataRowProperties</a>, <a href="ChartDataPointProperties.html">ChartDataPointProperties</a>. </p> <p>The ::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleExtendedComponent.html">XAccessibleExtendedComponent</a> is suported by all chart elements.</p> </dd> <dt><b>Since </b></dt> <dd>OpenOffice 1.1.2</dd> </dl> </td> </tr> </table> <hr> <a name="ExportedInterfaces"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Exported Interfaces</td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessible.html">XAccessible</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>Base interface for being accessible. It gives access to the ::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleContext.html">XAccessibleContext</a> interface. </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleContext.html">XAccessibleContext</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>Give access to the structural information of a chart element. </dd> <dd><p>You can access the following information for the shapes of the above listed types: <dl> <dt>Role</dt> <dd>All chart elements have the role <b>AccessibleRole::SHAPE</b>. </dd> <dt>Name</dt> <dd>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.</dd> <dt>Description</dt> <dd>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.</dd> <dt>Children</dt> <dd>The <a href="Diagram.html">Diagram</a> and the <a href="ChartLegend.html">ChartLegend</a> contain children, all other objects in a chart do not, i.e., are leaves in the document representation tree.</dd> <dt>Parent</dt> <dd>Because the <code>setParent</code> method from the JAA has been removed, the reference to the parent has to be provided in an implementation specific way.</dd> <dt>Relations</dt> <dd>They are not used at the moment.</dd> <dt>States</dt> <dd>The states supported by this service are: <ul> <li><b>AccessibleStateType::DEFUNC</b> 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. </li> <li><b>AccessibleStateType::EDITABLE</b></li> <li><b>AccessibleStateType::ENABLED</b> is always set.<sup>†</sup></li> <li><b>AccessibleStateType::MULTILINE</b> is set for all titles.</li> <li><b>AccessibleStateType::OPAQUE</b> is set for all elements that do have a transparency attributes set to 0% and no transparency gradient.</li> <li><b>AccessibleStateType::RESIZABLE</b> Is set for the diagram object only. All other chart elements may not be resized.</li> <li><b>AccessibleStateType::SELECTABLE</b></li> <li><b>AccessibleStateType::SELECTED</b></li> <li><b>AccessibleStateType::SHOWING</b> is always set.<sup>†</sup></li> <li><b>AccessibleStateType::VISIBLE</b> is always set.<sup>†</sup></li> </ul> <sup>†</sup>always, except if the state <b>AccessibleStateType::DEFUNC</b> is set.</dd> <dt>Locale</dt> <dd>is supported.</dd> <dt>Property change listeners</dt> <dd>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.</dd> </dl> </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleComponent.html">XAccessibleComponent</a></td> <td class="imsum_right"><dl> <dt><b>Description</b></dt> <dd>Give access to the graphical representation of a chart element. </dd> <dd><p>The coordinate oriented methods <code>contains</code>, <code>getAccessibleAt</code>, <code>getBounds</code>, <code>getLocation</code>, <code>getLocationOnScreen</code>, and <code>getSize</code> 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).</p> <p>Focus handling depends on support of the ::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleText.html">XAccessibleText</a> and ::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleEditableText.html">XAccessibleEditableText</a> interfaces.</p> <p>Key bindings are not supported at the moment</p> </dd> </dl> </td> </tr> <tr> <td class="imsum_left">::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleExtendedComponent.html">XAccessibleExtendedComponent</a></td> <td class="imsum_right"><dl> <dt><b>Usage Restrictions</b></dt> <dd><i>optional</i></dd> <dt><b>Description</b></dt> <dd>Give extended access to the graphical representation of a chart element. </dd> <dd><p>This interface is used primarily to provide the predominant foreground and background colors and—if applicable, i.e. the ::com::sun::star::<a href="../accessibility/module-ix.html">accessibility</a>::<a href="../accessibility/XAccessibleText.html">XAccessibleText</a> interface is supported—information about the font used to display text.</p> <p>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.</p> <p>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.</p> <p>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.</p> </dd> </dl> </td> </tr> </table> <br> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>