other-licenses/ia2/AccessibleHypertext.idlNot scriptableIAccessibleText
Last changed in Gecko 1.9 (Firefox 3)The IAccessibleHypertext interface is the main interface to expose hyperlinks in a document, typically a text document, that are used to reference other documents. A typical implementation is to implement this interface on the smallest text object such as a paragraph of text.
[propget] HRESULT hyperlink([in] long index, [out] IAccessibleHyperlink hyperlink ); |  
[propget] HRESULT hyperlinkIndex([in] long charIndex, [out] long hyperlinkIndex ); |  
[propget] HRESULT nHyperlinks([out] long hyperlinkCount ); |  
Returns the specified link. The returned IAccessibleHyperlink object encapsulates the hyperlink and provides several kinds of information describing it.
[propget] HRESULT hyperlink( [in] long index, [out] IAccessibleHyperlink hyperlink );
indexhyperlinknull pointer is returned.E_INVALIDARG if bad [in] passed, [out] value is null. S_OK.
Returns the index of the hyperlink that is associated with this character index. This is the case when a link spans the given character index.
[propget] HRESULT hyperlinkIndex( [in] long charIndex, [out] long hyperlinkIndex );
charIndexhyperlinkIndexE_INVALIDARG if bad [in] passed, [out] value is null. S_FALSE if there is nothing to return, [out] value is -1. S_OK.
Returns the number of links and link groups contained within this hypertext paragraph.
[propget] HRESULT nHyperlinks( [out] long hyperlinkCount );
hyperlinkCountS_OK.