1 <node name="/node" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
3 <tp:title>AT-SPI - Assistive Technology Service Provider Interface </tp:title>
4 <tp:copyright>Copyright 2008 Novell, Inc.</tp:copyright>
5 <tp:copyright>Copyright 2001 Sun Microsystems, Inc.</tp:copyright>
6 <tp:license xmlns="http://www.w3.org/1999/xhtml">
7 <p>This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.</p>
12 <p>This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.</p>
17 <p>You should have received a copy of the GNU Library General Public
18 License along with this library; if not, write to the
19 Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.</p>
22 <interface name="org.freedesktop.atspi.Hypertext">
23 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
24 <p>An interface used for objects which implement linking between
25 multiple resource or content locations, or multiple 'markers'
26 within a single document. A Hypertext instance is associated with
27 one or more Hyperlinks, which are associated with particular
28 offsets within the Hypertext's included content. </p>
30 <p>@note While this interface is derived from ::Text,
31 there is no requirement that Hypertext instances have
32 textual content; they may implement ::Image as well,
33 and Hyperlinks need not have non-zero text offsets.</p>
35 <method name="getNLinks">
36 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
37 <p>Query the hypertext object for the number of Hyperlinks it
40 <arg direction="out" type="i">
42 the number of Hyperlinks associated with this Hypertextobject, as a long integer.
46 <method name="getLink">
47 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
48 <p>Get one of the Hyperlinks associated with this Hypertext object,
51 <p>@param linkIndex an integer from 0 to getNLinks() - 1.</p>
53 <arg direction="in" name="linkIndex" type="i"/>
54 <arg direction="out" type="o" tp:type="Hyperlink">
56 the Hyperlink in this Hypertext object.
60 <method name="getLinkIndex">
61 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
62 <p>Get the hyperlink index, if any, associated with a
63 particular character offset in the Hypertext object.
64 For Hypertext implementors without textual content, all
65 hyperlinks are associated with character offset '0'. </p>
67 <p>@return the index of the Hyperlink associated with character
68 offset \c characterIndex, or -1 if no Hyperlink is associated
69 with that character offset.</p>
71 <arg direction="in" name="characterIndex" type="i"/>
72 <arg direction="out" type="i"/>
74 <method name="unImplemented">
79 <method name="unImplemented2">
81 <method name="unImplemented3">
83 <method name="unImplemented4">