import "AccessibleHyperlink.idl";
Inheritance diagram for IAccessibleHyperlink:
Public Member Functions | |
HRESULT | anchor ([in] long index,[out, retval] VARIANT *anchor) |
Returns an object that represents the link anchor, as appropriate for the link at the specified index. | |
HRESULT | anchorTarget ([in] long index,[out, retval] VARIANT *anchorTarget) |
Returns an object representing the target of the link, as appropriate for the link at the specified index. | |
HRESULT | startIndex ([out, retval] long *index) |
Returns the index at which the textual representation of the hyperlink starts. | |
HRESULT | endIndex ([out, retval] long *index) |
Returns the index at which the textual rerpesentation of the hyperlink ends. | |
HRESULT | valid ([out, retval] boolean *valid) |
Returns whether the target object referenced by this link is still valid. |
This interface represents a hyperlink associated with a single substring of text or single non-text object. Non-text objects can have either a single link or a collection of links such as when the non-text object is an image map.
Linked objects and anchors are implementation dependent. This interface is derived from IAccessibleAction. IAccessibleAction::nActions indicates the maximum value for the indices used with the methods of this interface.
Furthermore, the object that implements this interface has to be connected implicitly or explicitly with an object that implements IAccessibleText. IAccessibleHyperlink::startIndex and IAccessibleHyperlink::endIndex are indices with respect to the text exposed by IAccessibleText.
|
Returns an object that represents the link anchor, as appropriate for the link at the specified index.
|
|
Returns an object representing the target of the link, as appropriate for the link at the specified index.
|
|
Returns the index at which the textual rerpesentation of the hyperlink ends. The returned value is related to the IAccessibleText interface of the object that owns this hyperlink. The character at the index is not part of the hypertext.
|
|
Returns the index at which the textual representation of the hyperlink starts. The returned value is related to the IAccessibleText interface of the object that owns this hyperlink.
|
|
Returns whether the target object referenced by this link is still valid. This is a volatile state that may change without sending an appropriate event. Returns TRUE if the referenced target is still valid and FALSE otherwise.
|