[poppler] Url links

Pino Toscano pino at kde.org
Thu Aug 5 06:08:43 PDT 2010


Hi,

Alle giovedì 5 agosto 2010, vidhyapria.arunkumar ha scritto:
> The function we invoke for hyperlink reside in
> qt4/src/poppler-page.cc
> 
> QList<Link*> Page::links()
> 
> Whenever I click on an url, this function is invoked which returns
> NULL always.

Note that:
-) the return value is a QList, so it cannot be "NULL", but at most an 
empty list
-) the Link* in the list are new object everytime, so be sure to delete 
them
-) what this function returns is always the same anytime, it does not 
matter whether you call it after loading the document or when doing 
something in your viewer
-) if it  really returns an empty list, it could mean that that page has 
no actual links

What are you really doing? Also note a snippet of the code would be 
nice.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20100805/5a245288/attachment.pgp>


More information about the poppler mailing list