X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=blobdiff_plain;f=idl%2FAccessibility_Hypertext.idl;h=552483d85f93b2cb069c7d6aac172b57818fc077;hp=383400bda53b2c9ba9be584370e8d405b80ccc03;hb=36a4131a9cc9fc8d474058d2a9448bc9eac91f17;hpb=a347294874e78498e894b614dae376012a8e9e3d diff --git a/idl/Accessibility_Hypertext.idl b/idl/Accessibility_Hypertext.idl index 383400b..552483d 100644 --- a/idl/Accessibility_Hypertext.idl +++ b/idl/Accessibility_Hypertext.idl @@ -23,10 +23,52 @@ #include module Accessibility { - - interface Hypertext : Text { + /** + * An interface used for objects which implement linking between + * multiple resource or content locations, or multiple 'markers' + * within a single document. A Hypertext instance is associated with + * one or more Hyperlinks, which are associated with particular + * offsets within the Hypertext's included content. + * + * @note While this interface is derived from ::Text, + * there is no requirement that Hypertext instances have + * textual content; they may implement ::Image as well, + * and Hyperlinks need not have non-zero text offsets. + */ + interface Hypertext : Bonobo::Unknown { + /** + * Query the hypertext object for the number of Hyperlinks it + * contains. + * + * @returns the number of Hyperlinks associated with this Hypertext + * object, as a long integer. + */ long getNLinks (); + /** + * Get one of the Hyperlinks associated with this Hypertext object, + * by index. + * + * @param linkIndex an integer from 0 to getNLinks() - 1. + * @returns the Hyperlink in this Hypertext object. + */ Hyperlink getLink (in long linkIndex); + /** + * Get the hyperlink index, if any, associated with a + * particular character offset in the Hypertext object. + * For Hypertext implementors without textual content, all + * hyperlinks are associated with character offset '0'. + * + * @return the index of the Hyperlink associated with character + * offset \c characterIndex, or -1 if no Hyperlink is associated + * with that character offset. + */ long getLinkIndex (in long characterIndex); + + /** \cond */ + void unImplemented (); + void unImplemented2 (); + void unImplemented3 (); + void unImplemented4 (); + /** \endcond */ }; };