Surely you mean something like: Links *links = page->getLinks(catalog) ?
This shouldn't be returning NULL (ever), and remember to free the Links class it returns. It does contain a nice utility method: Links::find(double x, double y). 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). Pretty straightforward anyway... On 4 August 2010 14:06, Albert Astals Cid <[email protected]> wrote: > A Dimecres, 4 d'agost de 2010, [email protected] va escriure: > > We use poppler engine for PDF viewer and I would need to open a browser > on > > clicking url links in my PDF document. Are there any actions like > TextTool > > that is to be activated on short tap for hyperlink recognition ? In short > > tap of the page, we get the page widget and check for link taped by > > invoking Poppler::Page *Links() function, which returns NULL always. Is > > there something that should be handled before invoking the above > function? > > There is no Poppler::Page *Links() function. Can you please be more exact > on > which function are you trying to use? > > Albert > > > > > Regards > > Vidhya > _______________________________________________ > poppler mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/poppler >
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
