[Okular-devel] getting the links in a pdf document
Wilbert Berendsen
wbsoft at xs4all.nl
Mon Dec 7 10:09:54 CET 2009
Hi,
I use an embedded okular part in my application, and I would like to get the
list of links for each page and their coordinates (so that I for example could
highlight a link, or have Okular scroll to the place a link is defined).
I am mainly concerned with source links (textedit://).
I know that it is possible using libpopplerqt4 to render pages and get the
links. But it is somehow possible (via QMetaObject or anything) to get at the
links in a document displayed by the okular part, to know where they are
displayed, to scoll to a link or get a signal on hover/click etc.? Or are
there plans in that direction?
Otherwise I might need to implement my own PDF rendering widget (based on
libpopplerqt4).
with may regards,
Wilbert Berendsen
--
http://www.wilbertberendsen.nl/
"You must be the change you wish to see in the world."
-- Mahatma Gandhi
More information about the Okular-devel
mailing list