Well to explain let me give me a test scenario. Create a rectangle, select it and then using the hyperlink panel create a hyperlink over it.
Now what i want to do is to identify a pageitem that has a hyperlink over it applied this way.
I even saw a class "hyperlinksourcepageitem" in the scripting model what does this represent, could you please explain.
Sorry if its pretty straighforward, actually i am pretty naive in scripting
I'm sorry. You're right. I got mixed up between sources and destinations.
Either way, you can only discover hyperlink sources by looping through the document hyperlink sources and comparing them against your object(s).
BTW, I just now noticed that they added a findHyperlinks() method to Text in CS5...
Thanks Harbs this is what i was trying to ascertain.
But one query if you could shed some light on, i can do this in C++ without using the document table of hyperlinks using the
"IHyperlinkPageItemData" interface which is present on the pagitem. so i was wodering why this capability has been hidden in scripting dom.