Confirmed users
1,396
edits
| Line 131: | Line 131: | ||
Propose: way to get range for list of text attributes. | Propose: way to get range for list of text attributes. | ||
<pre> | <pre> | ||
interface IAccessibleText2 : public IAccessibleText | interface IAccessibleText2 : public IAccessibleText | ||
| Line 150: | Line 149: | ||
}; | }; | ||
</pre> | </pre> | ||
==IAccessibleEditableText2 interface== | |||
Propose: clean up clipboard methods | |||
Introduce new kind of [http://accessibility.linuxfoundation.org/a11yspecs/ia2/docs/html/_generalinfo.html#_specialOffsets special offset] to deal with selection. If both start and end offsets are equal to -3 then they point to start and end offset of active selection (i.e. start or end of selection has a caret). Make them applicable to all methods of the interface except insertText method. | |||
<pre> | |||
interface IAccessibleEditableText2: public IAccessibleEditableText | |||
{ | |||
/** | |||
* Replace the text between start and end offsets by data from clipboard of the given mime type. If mime type is missed then | |||
* application choose more appropriate one depending on insertion context. | |||
*/ | |||
HRESULT pasteText | |||
( | |||
[in] long startOffset, | |||
[in] long endOffset, | |||
[in] BSTR mimeType | |||
); | |||
}; | |||
</pre> | |||
See [https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-September/001219.html 1st IA2 thread] and [https://lists.linux-foundation.org/pipermail/accessibility-ia2/2010-October/001227.html 2nd IA2 thread] for discussion. | |||
==IAccessibleHypertext2 interface== | ==IAccessibleHypertext2 interface== | ||