1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>atspi-hypertext</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7 <link rel="home" href="index.html" title="libatspi Reference Manual">
8 <link rel="up" href="ch01.html" title="API reference">
9 <link rel="prev" href="AtspiEventListener.html" title="atspi-event-listener">
10 <link rel="next" href="libatspi-atspi-component.html" title="atspi-component">
11 <meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17 <td><a accesskey="p" href="AtspiEventListener.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18 <td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20 <th width="100%" align="center">libatspi Reference Manual</th>
21 <td><a accesskey="n" href="libatspi-atspi-component.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23 <tr><td colspan="5" class="shortcuts">
24 <a href="#libatspi-atspi-hypertext.synopsis" class="shortcut">Top</a>
26 <a href="#libatspi-atspi-hypertext.description" class="shortcut">Description</a>
28 <a href="#libatspi-atspi-hypertext.object-hierarchy" class="shortcut">Object Hierarchy</a>
30 <a href="#libatspi-atspi-hypertext.implementations" class="shortcut">Known Implementations</a>
33 <div class="refentry">
34 <a name="libatspi-atspi-hypertext"></a><div class="titlepage"></div>
35 <div class="refnamediv"><table width="100%"><tr>
37 <h2><span class="refentrytitle"><a name="libatspi-atspi-hypertext.top_of_page"></a>atspi-hypertext</span></h2>
38 <p>atspi-hypertext — An interface used for objects which implement linking between
39 multiple resource locations.</p>
41 <td valign="top" align="right"></td>
43 <div class="refsynopsisdiv">
44 <a name="libatspi-atspi-hypertext.synopsis"></a><h2>Synopsis</h2>
45 <a name="AtspiHypertext"></a><pre class="synopsis"> <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext-struct" title="AtspiHypertext">AtspiHypertext</a>;
46 <a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libatspi-atspi-hypertext.html#atspi-hypertext-get-n-links" title="atspi_hypertext_get_n_links ()">atspi_hypertext_get_n_links</a> (<em class="parameter"><code><a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> *obj</code></em>,
47 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
48 <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="returnvalue">AtspiHyperlink</span></a> * <a class="link" href="libatspi-atspi-hypertext.html#atspi-hypertext-get-link" title="atspi_hypertext_get_link ()">atspi_hypertext_get_link</a> (<em class="parameter"><code><a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> *obj</code></em>,
49 <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> link_index</code></em>,
50 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
51 <a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> <a class="link" href="libatspi-atspi-hypertext.html#atspi-hypertext-get-link-index" title="atspi_hypertext_get_link_index ()">atspi_hypertext_get_link_index</a> (<em class="parameter"><code><a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> *obj</code></em>,
52 <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> character_offset</code></em>,
53 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
56 <div class="refsect1">
57 <a name="libatspi-atspi-hypertext.object-hierarchy"></a><h2>Object Hierarchy</h2>
58 <pre class="synopsis">
63 <div class="refsect1">
64 <a name="libatspi-atspi-hypertext.implementations"></a><h2>Known Implementations</h2>
66 AtspiHypertext is implemented by
67 <a class="link" href="AtspiAccessible.html" title="AtspiAccessible">AtspiAccessible</a>.</p>
69 <div class="refsect1">
70 <a name="libatspi-atspi-hypertext.description"></a><h2>Description</h2>
72 An interface used for objects which implement linking between
73 multiple resource or content locations, or multiple 'markers'
74 within a single document. A hypertext instance is associated
75 with one or more hyperlinks which are associated with particular
76 offests within the hypertext's content.
79 <div class="refsect1">
80 <a name="libatspi-atspi-hypertext.details"></a><h2>Details</h2>
81 <div class="refsect2">
82 <a name="AtspiHypertext-struct"></a><h3>AtspiHypertext</h3>
83 <pre class="programlisting">typedef struct _AtspiHypertext AtspiHypertext;</pre>
88 <div class="refsect2">
89 <a name="atspi-hypertext-get-n-links"></a><h3>atspi_hypertext_get_n_links ()</h3>
90 <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> atspi_hypertext_get_n_links (<em class="parameter"><code><a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> *obj</code></em>,
91 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
93 Gets the total number of <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="type">AtspiHyperlink</span></a> objects that an
94 <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> implementor has.
96 <div class="variablelist"><table border="0" class="variablelist">
98 <col align="left" valign="top">
103 <td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
104 <td>a pointer to the <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> implementor on which to operate.</td>
107 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
108 <td>a <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> indicating the number of <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="type">AtspiHyperlink</span></a> objects
109 of the <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> implementor, or -1 if
110 the number cannot be determined (for example, if the
111 <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> object is so large that it is not
112 all currently in the memory cache).</td>
118 <div class="refsect2">
119 <a name="atspi-hypertext-get-link"></a><h3>atspi_hypertext_get_link ()</h3>
120 <pre class="programlisting"><a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="returnvalue">AtspiHyperlink</span></a> * atspi_hypertext_get_link (<em class="parameter"><code><a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> *obj</code></em>,
121 <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> link_index</code></em>,
122 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
124 Gets the <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="type">AtspiHyperlink</span></a> object at a specified index.
126 <div class="variablelist"><table border="0" class="variablelist">
128 <col align="left" valign="top">
133 <td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
134 <td>a pointer to the <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> implementor on which to operate.</td>
137 <td><p><span class="term"><em class="parameter"><code>link_index</code></em> :</span></p></td>
138 <td>a (zero-index) <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> indicating which hyperlink to query.</td>
141 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
142 <td>the <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="type">AtspiHyperlink</span></a> object specified by
143 <em class="parameter"><code>link_index</code></em>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
150 <div class="refsect2">
151 <a name="atspi-hypertext-get-link-index"></a><h3>atspi_hypertext_get_link_index ()</h3>
152 <pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a> atspi_hypertext_get_link_index (<em class="parameter"><code><a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> *obj</code></em>,
153 <em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> character_offset</code></em>,
154 <em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
156 Gets the index of the <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="type">AtspiHyperlink</span></a> object at a specified
159 <div class="variablelist"><table border="0" class="variablelist">
161 <col align="left" valign="top">
166 <td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
167 <td>a pointer to the <a class="link" href="libatspi-atspi-hypertext.html#AtspiHypertext"><span class="type">AtspiHypertext</span></a> implementor on which to operate.</td>
170 <td><p><span class="term"><em class="parameter"><code>character_offset</code></em> :</span></p></td>
171 <td>a <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> specifying the character offset to query.</td>
174 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
175 <td>the linkIndex of the <a class="link" href="AtspiHyperlink.html" title="atspi-hyperlink"><span class="type">AtspiHyperlink</span></a> active at
176 character offset <em class="parameter"><code>character_offset</code></em>, or -1 if there is
177 no hyperlink at the specified character offset.</td>
186 Generated by GTK-Doc V1.18.1</div>