Viewing PDF documents, capture link click events

Discussions about document viewing.
Post Reply
bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Viewing PDF documents, capture link click events

Post by bazzz » Tue Jan 29, 2013 5:44 pm

Hi,

I'm making my first steps with GdViewer, searched the forums, but haven't found a solution.

I have a PDF document with embedded links. The links are clickable, when I open the document with GdViewer.

How can I capture that event and read the link URL?

EDIT: of course, simple MouseClick-Events, etc. work - but I don't know how to get say - link text and destination URL - with that event.

Thank you!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Viewing PDF documents, capture link click events

Post by Loïc » Wed Jan 30, 2013 7:37 pm

Hello there,

Currently we do not raise any event to inform that a url will be reached. We will add that for the next minor release that should be published soon.

With best regards,

loïc

bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Re: Viewing PDF documents, capture link click events

Post by bazzz » Wed Jan 30, 2013 8:29 pm

Loïc wrote:Hello there,

Currently we do not raise any event to inform that a url will be reached. We will add that for the next minor release that should be published soon.

With best regards,

loïc
Thanks for your reply. Sadly I'm in a hurry (not my fault) and currently evaluating PDF components with the requirement to get a link event, the link URL and (preferred) the text, probably that's not too exotic.

Is it possible to get a timeframe for the next minor release or a nightly build with that exact feature? It doesn't have to be stable, I just need to provide a showcase within the coming two or three weeks (using that feature).

Thanks!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Viewing PDF documents, capture link click events

Post by Loïc » Thu Jan 31, 2013 10:55 am

Hello ,
Is it possible to get a timeframe for the next minor release
Sure, it should be between 3 and 10 days. If you need a BETA release with the implemented feature just contact our team through https://www.gdpicture.com/support/getting-support-from-our-team

We will be able to provide one in no time.

With best regards,

Loïc

bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Re: Viewing PDF documents, capture link click events

Post by bazzz » Thu Jan 31, 2013 11:10 am

Thanks a lot!

I opened a ticket.

Sounds very good.

bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Re: Viewing PDF documents, capture link click events

Post by bazzz » Thu Jan 31, 2013 12:58 pm

I downloaded the beta. Very fast reply, thanks!

Links (in my case regular http:// links) are now displayed as such and are clickable, resulting in the default browser opening the webpage.

Do you know if it's generally possible - with the upcoming minor release - to intercept that link-click-event and not open the default browser, but get the URL and do anything else with that? Haven't found any event handler / any way to achieve that in the beta.

That would be very helpful.

bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Re: Viewing PDF documents, capture link click events

Post by bazzz » Thu Jan 31, 2013 4:52 pm

This feature request now works in the latest beta builds. Thanks for the _very_ quick support here!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Viewing PDF documents, capture link click events

Post by Loïc » Thu Jan 31, 2013 7:51 pm

Thank you for the update :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests