XAccessibleHypertext
From Apache OpenOffice Wiki
< Documentation | DevGuide
- Overview
- Bridges
- Accessibility Tree
- Content Information
- Listeners and Broadcasters
- Implementing Accessible Objects
- Using the Accessibility API
- XAccessibleContext
- XAccessibleComponent
- XAccessibleExtendedComponent
- XAccessibleText
- XAccessibleEditableText
- XAccessibleTable
- XAccessibleEventBroadcaster
- XAccessibleEventListener
- XAccessibleSelection
- XAccessibleRelationSet
- XAccessibleStateSet
- XAccessibleValue
- XAccessibleImage
- XAccessibleAction
- XAccessibleKeyBinding
- XAccessibleHypertext
- XAccessibleHyperlink
The interface com.sun.star.accessibility.XAccessibleHypertext is derived from com.sun.star.accessibility.XAccessibleText. This interface represents text that contains hyperlinks. Those hyperlinks are represented by com.sun.star.accessibility.XAccessibleHyperlink objects, which are described next.
To iterate over all hyperlinks in a text, use getHyperLinkCount() to determine the number of links. The getHyperLink() function returns the com.sun.star.accessibility.XAccessibleHyperlink object for a specific index. If you want to know whether there is a link at a certain text position, use the getHyperLinkIndex() function to obtain the corresponding object. When the returned reference is empty then there is no hyperlink at that position.
Content on this page is licensed under the Public Documentation License (PDL). |