+2006-06-23 Bill Haneman <bill.haneman@sun.com>
+
+ * idl/Accessibility_Role.idl:
+ * libspi/accessiblerole.c:
+ * cspi/spi_accessible.c: Added ROLE_LINK,
+ ROLE_REDUNDANT_OBJECT, and ROLE_INPUT_METHOD_WINDOW.
+ Bug #345758 and bug #140635.
+
+
2006-06-22 Bill Haneman <bill.haneman@sun.com>
Bug #345701.
* web form or user-input form within a document. This role is primarily a tag/convenience for
* clients when navigating complex documents, it is not expected that ordinary GUI containers will
* always have ATK_ROLE_FORM.
+ * @SPI_ROLE_LINK: The object is a hypertext anchor.
+ * @SPI_ROLE_INPUT_METHOD_WINDOW: The object is an input method window used
+ * to input or compose a text character (typically a "complex text" character).
* @SPI_ROLE_LAST_DEFINED: Used to determine the end of the role enumeration.
*
* Describes the role of an object
SPI_ROLE_PAGE,
SPI_ROLE_SECTION,
SPI_ROLE_FORM,
+ SPI_ROLE_REDUNDANT_OBJECT,
+ SPI_ROLE_LINK,
+ SPI_ROLE_INPUT_METHOD_WINDOW,
SPI_ROLE_LAST_DEFINED
} AccessibleRole;
"heading",
"page",
"section",
- "form"
+ "form",
+ "redundant object",
+ "link",
+ "input method window"
};
#define MAX_ROLES (sizeof (role_names) / sizeof (char *))
role_table [Accessibility_ROLE_PAGE] = SPI_ROLE_PAGE;
role_table [Accessibility_ROLE_SECTION] = SPI_ROLE_SECTION;
role_table [Accessibility_ROLE_FORM] = SPI_ROLE_FORM;
+ role_table [Accessibility_ROLE_REDUNDANT_OBJECT] = SPI_ROLE_REDUNDANT_OBJECT;
+ role_table [Accessibility_ROLE_LINK] = SPI_ROLE_LINK;
+ role_table [Accessibility_ROLE_INPUT_METHOD_WINDOW] = SPI_ROLE_INPUT_METHOD_WINDOW;
return TRUE;
}
*/
ROLE_SECTION,
/**
+ * The object is redundant with another object in the hierarchy,
+ * and is exposed for purely technical reasons. Objects of this role
+ * should be ignored by clients, if they are encountered at all.
+ *
+ * @since AT-SPI 1.7.6
+ */
+ ROLE_REDUNDANT_OBJECT,
+ /**
* The object is a containing instance of document content which constitutes
* a particular 'logical' section of the document. The type of content within
* a section, and the nature of the section division itself, may be obtained
* by querying the object's attributes. Sections may be nested.
*
- * @since AT-SPI 1.7.1
+ * @since AT-SPI 1.7.6
*/
ROLE_FORM,
+ /**
+ * The object is a hypertext anchor, i.e. a "link" in a
+ * hypertext document. Such objects are distinct from 'inline'
+ * content which may also use the Hypertext/Hyperlink interfaces
+ * to indicate the range/location within a text object where
+ * an inline or embedded object lies.
+ *
+ * @since AT-SPI 1.7.6
+ */
+ ROLE_LINK,
+ /**
+ * The object is a window or similar viewport which is used
+ * to allow composition or input of a 'complex character',
+ * in other words it is an "input method window."
+ *
+ * @since AT-SPI 1.7.6
+ */
+ ROLE_INPUT_METHOD_WINDOW,
/** not a valid role, used for finding end of enumeration. */
ROLE_LAST_DEFINED
role_table [ATK_ROLE_PAGE] = Accessibility_ROLE_PAGE;
role_table [ATK_ROLE_SECTION] = Accessibility_ROLE_SECTION;
role_table [ATK_ROLE_FORM] = Accessibility_ROLE_FORM;
+ role_table [ATK_ROLE_REDUNDANT_OBJECT] = Accessibility_ROLE_REDUNDANT_OBJECT;
+ role_table [ATK_ROLE_LINK] = Accessibility_ROLE_LINK;
+ role_table [ATK_ROLE_INPUT_METHOD_WINDOW] = Accessibility_ROLE_INPUT_METHOD_WINDOW;
return TRUE;
}