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);
23 * AccessibleHypertext_unref:
24 * @obj: a pointer to the #AccessibleHypertext object on which to operate.
26 * Decrement the reference count for an #AccessibleHypertext object.
27 * Since AccessibleHypertext is derived from AccessibleText,
28 * this is the same as AccessibleText_unref().
30 * Returns: (no return code implemented yet).
34 AccessibleHypertext_unref (AccessibleHypertext *obj)
36 cspi_object_unref (obj);
43 * AccessibleHypertext_getNLinks:
44 * @obj: a pointer to the #AccessibleHypertext implementor on which to operate.
46 * Get the total number of #AccessibleHyperlinks which an
47 * #AccessibleHypertext implementor has.
49 * Returns: a #long indicating the number of #AccessibleHyperlinks
50 * of the #AccessibleHypertext implementor, or -1 if
51 * the number cannot be determined (for example, if the
52 * #AccessibleHypertext object is so large that it is not
53 * all currently in the memory cache).
57 AccessibleHypertext_getNLinks (AccessibleHypertext *obj)
60 Accessibility_Hypertext_getNLinks (CSPI_OBJREF (obj), cspi_ev ());
65 * AccessibleHypertext_getLink:
66 * @obj: a pointer to the #AccessibleHypertext implementor on which to operate.
67 * @linkIndex: a (zero-index) long integer indicating which hyperlink to query.
69 * Get the #AccessibleHyperlink object at a specified index.
71 * Returns: the #AccessibleHyperlink object specified by #linkIndex.
75 AccessibleHypertext_getLink (AccessibleHypertext *obj,
78 return (AccessibleHyperlink *)
79 Accessibility_Hypertext_getLink (CSPI_OBJREF (obj),
80 (CORBA_long) linkIndex, cspi_ev ());
85 * AccessibleHypertext_getLinkIndex:
86 * @obj: a pointer to the #AccessibleHypertext implementor on which to operate.
87 * @characterOffset: an integer specifying the character offset to query.
89 * Get the index of the #AccessibleHyperlink object at a specified
92 * Returns: the linkIndex of the #AccessibleHyperlink active at
93 * character offset @characterOffset, or -1 if there is
94 * no hyperlink at the specified character offset.
98 AccessibleHypertext_getLinkIndex (AccessibleHypertext *obj,
99 long int characterOffset)
102 Accessibility_Hypertext_getLinkIndex (CSPI_OBJREF (obj),
103 (CORBA_long) characterOffset, cspi_ev ());