Difference between revisions of "Documentation/DevGuide/Accessibility/XAccessibleHypertext"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Accessibility)
Line 14: Line 14:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Accessibility]]
+
 
 +
[[Category:Documentation/Developers Guide/Accessibility]]

Revision as of 12:36, 4 June 2008



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).
Personal tools