<meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Surely you mean something like:<div><br></div><div> Links *links = page->getLinks(catalog) ?<br>
<br></div><div>This shouldn't be returning NULL (ever), and remember to free the Links class it returns.</div><div><br></div><div>It does contain a nice utility method: Links::find(double x, double y).</div><div><br></div>
<div>I do have one qualm though, LinkAction base class doesn't include much so I have to `dynamic_cast` to the different types based on LinkAction::getKind() to safely get any more info (like the URI from LinkIURI).</div>
<div><br></div><div>Pretty straightforward anyway...</div></span><br><div class="gmail_quote">On 4 August 2010 14:06, Albert Astals Cid <span dir="ltr"><<a href="mailto:aacid@kde.org">aacid@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">A Dimecres, 4 d'agost de 2010, <a href="mailto:vidhyapria.arunkumar@nokia.com">vidhyapria.arunkumar@nokia.com</a> va escriure:<br>
<div><div></div><div class="h5">> We use poppler engine for PDF viewer and I would need to open a browser on<br>
> clicking url links in my PDF document. Are there any actions like TextTool<br>
> that is to be activated on short tap for hyperlink recognition ? In short<br>
> tap of the page, we get the page widget and check for link taped by<br>
> invoking Poppler::Page *Links() function, which returns NULL always. Is<br>
> there something that should be handled before invoking the above function?<br>
<br>
</div></div>There is no Poppler::Page *Links() function. Can you please be more exact on<br>
which function are you trying to use?<br>
<br>
Albert<br>
<br>
><br>
> Regards<br>
> Vidhya<br>
_______________________________________________<br>
poppler mailing list<br>
<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/poppler" target="_blank">http://lists.freedesktop.org/mailman/listinfo/poppler</a><br>
</blockquote></div><br>