1 #include <cspi/spi-private.h>
4 * AccessibleHypertext_ref:
5 * @obj: a pointer to the #AccessibleHypertext object on which to operate.
7 * Increment the reference count for an #AccessibleHypertext object.
8 * Since AccessibleHypertext is derived from AccessibleText,
9 * this is the same as AccessibleText_unref().
11 * Returns: (no return code implemented yet).
15 AccessibleHypertext_ref (AccessibleHypertext *obj)
17 cspi_object_ref (obj);
21 * AccessibleHypertext_unref:
22 * @obj: a pointer to the #AccessibleHypertext object on which to operate.
24 * Decrement the reference count for an #AccessibleHypertext object.
25 * Since AccessibleHypertext is derived from AccessibleText,
26 * this is the same as AccessibleText_unref().
28 * Returns: (no return code implemented yet).
32 AccessibleHypertext_unref (AccessibleHypertext *obj)
34 cspi_object_unref (obj);
38 * AccessibleHypertext_getNLinks:
39 * @obj: a pointer to the #AccessibleHypertext implementor on which to operate.
41 * Get the total number of #AccessibleHyperlinks which an
42 * #AccessibleHypertext implementor has.
44 * Returns: a #long indicating the number of #AccessibleHyperlinks
45 * of the #AccessibleHypertext implementor, or -1 if
46 * the number cannot be determined (for example, if the
47 * #AccessibleHypertext object is so large that it is not
48 * all currently in the memory cache).
52 AccessibleHypertext_getNLinks (AccessibleHypertext *obj)
55 Accessibility_Hypertext_getNLinks (CSPI_OBJREF (obj), cspi_ev ());
60 * AccessibleHypertext_getLink:
61 * @obj: a pointer to the #AccessibleHypertext implementor on which to operate.
62 * @linkIndex: a (zero-index) long integer indicating which hyperlink to query.
64 * Get the #AccessibleHyperlink object at a specified index.
66 * Returns: the #AccessibleHyperlink object specified by #linkIndex.
70 AccessibleHypertext_getLink (AccessibleHypertext *obj,
73 return (AccessibleHyperlink *)
74 Accessibility_Hypertext_getLink (CSPI_OBJREF (obj),
75 (CORBA_long) linkIndex, cspi_ev ());
80 * AccessibleHypertext_getLinkIndex:
81 * @obj: a pointer to the #AccessibleHypertext implementor on which to operate.
82 * @characterOffset: an integer specifying the character offset to query.
84 * Get the index of the #AccessibleHyperlink object at a specified
87 * Returns: the linkIndex of the #AccessibleHyperlink active at
88 * character offset @characterOffset, or -1 if there is
89 * no hyperlink at the specified character offset.
93 AccessibleHypertext_getLinkIndex (AccessibleHypertext *obj,
94 long int characterOffset)
97 Accessibility_Hypertext_getLinkIndex (CSPI_OBJREF (obj),
98 (CORBA_long) characterOffset, cspi_ev ());