346
edits
mNo edit summary |
|||
| Line 8: | Line 8: | ||
== Summary == | == Summary == | ||
The following method returns a collection of text attributes at the given offset, and calculates the range where returned attributes are stretched. | The following method returns a collection of text attributes at the given offset, and calculates the range where returned attributes are stretched. | ||
{| summary="Method to get text attributes" border="1" cellspacing="1" cellpadding="1" | |||
! API | |||
! Method | |||
|- | |||
| Internal nsIAccessible/XPCOM | |||
| | |||
<pre> | |||
nsIPersistentProperties | |||
getTextAttributes(in long offset, | |||
out long rangeStartOffset, | |||
out long rangeEndOffset);</pre> | |||
|- | |||
| IAccessible2 | |||
| | |||
<pre> | |||
HRESULT get_attributes(in long offset, | |||
long *rangeStartOffset, | |||
long *rangeEndOFfset, | |||
BSTR *textAttributes);</pre> | |||
|- | |||
| AT-SPI | |||
| | |||
<pre> | |||
string getAttributes(in long offset, | |||
out long *startOffset, | |||
out long *endOffset);</pre> | |||
|} | |||
== Parameters == | == Parameters == | ||
edits