1*cdf0e10cSrcweir<html><body bgcolor="#fffaf0">
2*cdf0e10cSrcweir<h1>Help for the AWB v1.7</h1>
3*cdf0e10cSrcweir
4*cdf0e10cSrcweir<p>The AWB, or <em>A</em>ccessibility <em>W</em>ork <em>B</em>ench, is a tool
5*cdf0e10cSrcweirfor testing the implementation UNO Accessibility API.</p>
6*cdf0e10cSrcweir
7*cdf0e10cSrcweir<p>The main window is roughly divided into three areas:
8*cdf0e10cSrcweir<ul>
9*cdf0e10cSrcweir<li>The <a href="#treeview">tree view</a> on the left shows a part of the
10*cdf0e10cSrcweiraccessibility tree of one or more StarOffice/OpenOffice applications.</li>
11*cdf0e10cSrcweir<li>The <a href="#graphicalview">graphical view</a> on the right side shows
12*cdf0e10cSrcweira graphical representation of the accessibility objects in the tree.  To
13*cdf0e10cSrcweirmake objects missing in the graphical view visible expand the corresponding
14*cdf0e10cSrcweirnodes in the tree view.</li>
15*cdf0e10cSrcweir
16*cdf0e10cSrcweir<li>The text window at the bottom logs important messages.</li>
17*cdf0e10cSrcweir</ul>
18*cdf0e10cSrcweir</p>
19*cdf0e10cSrcweir
20*cdf0e10cSrcweir<h2><a name="treeview">Tree View</a></h2>
21*cdf0e10cSrcweir<p>The tree view has a top-level node for every open
22*cdf0e10cSrcweir  document window of StarOffice/OpenOffice.  Expand those nodes to make them
23*cdf0e10cSrcweir  visible in the <a href="#graphicalview">graphical view</a>.</p>
24*cdf0e10cSrcweir
25*cdf0e10cSrcweir<h3>Nodes</h3>
26*cdf0e10cSrcweir<p>The nodes in the tree view belong to different classes, some of which
27*cdf0e10cSrcweir  have children others do not:
28*cdf0e10cSrcweir<ul>
29*cdf0e10cSrcweir<li><b>Accessible Object</b><br>
30*cdf0e10cSrcweir  The node represents an accessible object and has corresponding shape in
31*cdf0e10cSrcweir  the graphical view.  Only this kind of node gets highlighted by clicking
32*cdf0e10cSrcweir  on those shapes.</li>
33*cdf0e10cSrcweir<li><b>Simple Property</b><br>
34*cdf0e10cSrcweir  These leaves represent simple properties of their parent nodes.  Examples
35*cdf0e10cSrcweir  are the position, size, and color of an accessible object.</li>
36*cdf0e10cSrcweir<li><b>Complex Properties</b><br>
37*cdf0e10cSrcweir  These nodes have children that are not accessible objects.  Examples are
38*cdf0e10cSrcweir  the lists of interfaces or services supported by an accessible object.</li>
39*cdf0e10cSrcweir</ul>
40*cdf0e10cSrcweir</p>
41*cdf0e10cSrcweir
42*cdf0e10cSrcweir<h3>Actions</h3>
43*cdf0e10cSrcweir<p>The tree view supports the following actions:
44*cdf0e10cSrcweir<ul><li>Left double click expands the node under the mouse pointer.</li>
45*cdf0e10cSrcweir<li>Right click shows a context menu.  Entries, when supported, are:
46*cdf0e10cSrcweir<ul>
47*cdf0e10cSrcweir<li><b>Expand Shapes</b><br>
48*cdf0e10cSrcweirExpands all nodes in the sub-tree that lie on a path from the root to a shape.</li>
49*cdf0e10cSrcweir<li><b>Expand Subtree</b><br>
50*cdf0e10cSrcweirExpands all nodes in the sub-tree.</li>
51*cdf0e10cSrcweir<li><b>Select...</b><br>
52*cdf0e10cSrcweirShow a dialog that gives access to the XAccessibleSelection interface.</li>
53*cdf0e10cSrcweir<li><b>select...</b>, <b>copy...</b>, <b>cut...</b>, <b>paste...</b>,
54*cdf0e10cSrcweir  <b>edit...</b>, <b>format...</b><br>
55*cdf0e10cSrcweirShow dialogs that give access to the XAccessibleText and
56*cdf0e10cSrcweirXAccessibleEditableText interfaces.
57*cdf0e10cSrcweir</ul></li>
58*cdf0e10cSrcweir</ul>
59*cdf0e10cSrcweir</p>
60*cdf0e10cSrcweir
61*cdf0e10cSrcweir
62*cdf0e10cSrcweir
63*cdf0e10cSrcweir<h2><a name="graphicalview">Graphical View</a></h2>
64*cdf0e10cSrcweir<p>The graphical view shows several properties of accessibility objects:
65*cdf0e10cSrcweir<ul>
66*cdf0e10cSrcweir<li>The bounding box is represented as a rectangle.</li>
67*cdf0e10cSrcweir<li>The background color of the accessible object is taken to draw the
68*cdf0e10cSrcweir  bounding box rectangle.</li>
69*cdf0e10cSrcweir<li>The foreground color is used to fill the bounding box.</li>
70*cdf0e10cSrcweir<li>The accessible name is shown when the menu checkbox Options->Show Name
71*cdf0e10cSrcweir  is check.</li>
72*cdf0e10cSrcweir<li>The accessible description is shown when the menu checkbox Options->Show
73*cdf0e10cSrcweir  Descriptons is checked.</li>
74*cdf0e10cSrcweir<li>If the XAccessibleText interface is supported and the menu checkbox
75*cdf0e10cSrcweir  Options->Show Text is checked then the text of the accessible object is
76*cdf0e10cSrcweir  shown.</li>
77*cdf0e10cSrcweir</ul>
78*cdf0e10cSrcweir</p>
79*cdf0e10cSrcweir
80*cdf0e10cSrcweir<h3>Actions</h3>
81*cdf0e10cSrcweir<p>The graphical view supports three the following actions:
82*cdf0e10cSrcweir<ul>
83*cdf0e10cSrcweir<li>Left click (no modifiers) highlights the object under the mouse as well
84*cdf0e10cSrcweir  as the corresponding node in the tree view.</li>
85*cdf0e10cSrcweir<li>Left click with Control modifier expands the object under the
86*cdf0e10cSrcweir  mouse.</li>
87*cdf0e10cSrcweir<li>Mouse motion with Shift modifier highlights the object under the mouse
88*cdf0e10cSrcweir  as well as the corresponding node in the tree view.</li>
89*cdf0e10cSrcweir</ul>
90*cdf0e10cSrcweir
91*cdf0e10cSrcweir</body></html>