5 Replies Latest reply: Dec 26, 2011 5:26 AM by [Jongware] RSS

    Identify a pageitem with a hyperlink

    Manan Joshi Community Member

      Hello All,

       

      I need to find a way so that i could identify if a selected pageitem has a hyperlink on it. I have not been able to find a property or method on the pageitem that shows whether it has a hyperlink on it or not.

       

      One possible way i found, was to get the list of hyperlinksources from the document, get their source and match it with the selection but i think there should be a better way as this would require me to look into the list for every single item in the selection. I have been able to do this through C++ sdk, so i suppose there must be a way in javascript for this too.

       

      Kindly point me in the right direction.

       

      Manan Joshi.