1 /*************************************************************************
3 * File Name (IA2CommonTypes.idl)
5 * IAccessible2 IDL Specification
7 * Copyright (c) IBM Corp. 2007
8 * Copyright (c) Sun Microsystems, Inc. 2000, 2006
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License version 2.1, as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
24 ************************************************************************/
26 /// These constants control the scrolling of an object or substring into a window.
29 /** Scroll the top left of the object or substring to the top left of the
30 window (or as close as possible).
32 IA2_SCROLL_TYPE_TOP_LEFT
,
34 /** Scroll the bottom right of the object or substring to the bottom right of
35 the window (or as close as possible).
37 IA2_SCROLL_TYPE_BOTTOM_RIGHT
,
39 /** Scroll the top edge of the object or substring to the top edge of the
40 window (or as close as possible).
42 IA2_SCROLL_TYPE_TOP_EDGE
,
44 /** Scroll the bottom edge of the object or substring to the bottom edge of
45 the window (or as close as possible).
47 IA2_SCROLL_TYPE_BOTTOM_EDGE
,
49 /** Scroll the left edge of the object or substring to the left edge of the
50 window (or as close as possible).
52 IA2_SCROLL_TYPE_LEFT_EDGE
,
54 /** Scroll the right edge of the object or substring to the right edge of the
55 window (or as close as possible).
57 IA2_SCROLL_TYPE_RIGHT_EDGE
60 /// These constants define which coordinate system a point is located in.
61 enum IA2CoordinateType
{
63 /// The coordinates are relative to the screen.
64 IA2_COORDTYPE_SCREEN_RELATIVE
,
66 /** The coordinates are relative to the upper left corner of the bounding box
67 of the immediate parent.
69 IA2_COORDTYPE_PARENT_RELATIVE