Table of Contents

iaccessible2/objectattributes

Object Attributes

Contents

General Information

Referenced Specifications

CSS2 values information

Formating

Attributes

List

Bulleted and numbered lists have been implemented in two different ways in IAccessible2 implementations.

In versions 2 and later of IBM Lotus Symphony the list items are objects of role IA2_ROLE_PARAGRAPH; each of those paragraph objects implements IAccessible2::attributes; one of the attributes is the list attribute described below. For these list items IAccessibleText exposes the contents after the non-editable prefix string. The prefix string is in the form of a bullet character, a numbering prefix string, or an image. The reason for this separation of access mechanisms is because the caret is movable through the list text but not through the prefix text.

In Firefox the full string including the prefix is provided via IAccessibleText::text and the “auto-generated” text attribute is used for the string of characters representing the list prefix.

Name Values Comments Reference
list level=<integer>, style=bullet, number, image, prefix=<string> <integer> must be positive. ODF Specification 14.10

List Subattributes

Name Values Comments Reference
level <integer> <integer> must be positive.ODF Specification 14.10.1
style bullet, number, image Specifies the style of the list. ODF Specification 14.10
prefix <string>


Paragraph

Text objects such as those with role paragraph can have per paragraph object attributes as listed in the table below.

Name Values Comments Reference
line-height normal, <length>, <percentage> <length> is zero or positive. This value should be specified in mm, e.g. 4mm. CSS2 Specification 10.8.1
line-spacing <length> <length> is zero or positive. This value should be specified in mm, e.g. 4mm. ODF Specification 15.5.3
margin-top <length>, <percentage> A typical use of this attribute is to define the margin adjacent to a paragraph but it could be used on any object. Negative values for the margin property <length> are allowed, but there may be implementation-specific limits. This value should be specified in mm, e.g. 4mm. CSS2 Specification 8.3
margin-bottom <length>, <percentage> A typical use of this attribute is to define the margin adjacent to a paragraph but it could be used on any object. Negative values for the margin property <length> are allowed, but there may be implementation-specific limits. This value should be specified in mm, e.g. 4mm. CSS2 Specification 8.3
margin-left <length>, <percentage> A typical use of this attribute is to define the margin adjacent to a paragraph but it could be used on any object. Negative values for the margin property <length> are allowed, but there may be implementation-specific limits. This value should be specified in mm, e.g. 4mm. CSS2 Specification 8.3
margin-right <length>, <percentage> A typical use of this attribute is to define the margin adjacent to a paragraph but it could be used on any object. Negative values for the margin property <length> are allowed, but there may be implementation-specific limits. This value should be specified in mm, e.g. 4mm. CSS2 Specification 8.3
tab-stop tab-stop:position=<length>, type=left, center, right, char, char=<character>, leader-text=<character>, leader-style=none, solid, dotted, dash, long-dash, dot-dash, dot-dot-dash, wave Position must be 0 or positive. char and leader-text are single UNICODE characters. ODF Specification 15.5.11
text-align left, right, justify, center CSS2 Specification 16.2
text-indent <length> Negative values for the margin property <length> are allowed, but there may be implementation-specific limits. This value should be specified in mm, e.g. 4mm. CSS2 Specification 16.1