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
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ poppler mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/poppler
