Hyperlink is not working inside the PDF

43 views
Skip to first unread message

Neha

unread,
Jun 24, 2012, 10:17:30 AM6/24/12
to Leaves Developers
Hello ,

I have use the leaves for reading the PDF reader. All the
functionality inside the leaves are very good. But only problem is
that hyperlink is not working. If you have any solution on this please
share with me.

Thanks.

ron johnson

unread,
Jun 24, 2012, 10:24:40 AM6/24/12
to leaves-d...@googlegroups.com

Has anyone mastered the code to where I can create a magazine, I need to know how to change the images, has anyone experimented with video or audio, please help.

overlordhammer

unread,
Jun 25, 2012, 4:07:41 AM6/25/12
to Leaves Developers
Neha,

Default leaves implementation doesn't handle hyperlinks, you must
supply that functionality withing your application. There is a good
article about how to get hyperlinks dictionary here
http://stackoverflow.com/questions/4080373/get-pdf-hyperlinks-on-ios-with-quartz
also you will need to create a handle for touch events on leaves view
to compare pressing point against link areas (don't forget to take
into account zoom level in comparison if you enable zoom handling when
page is zoomed in / out), after that you will need to create a way to
deal with the selected link (such as opening a browser or changing to
another view inside your app).

Hope this helps,

Cheers!

Sapana Patil

unread,
Jun 25, 2012, 1:08:54 PM6/25/12
to leaves-d...@googlegroups.com
Thanks for the reply. I have tried to implement the code of the given link. In the portrait mode the link is work but in the landscape mode the link is not working. And not get the exact co-ordinates of the link in the portrait mode also. So please if you have any tutorial related to this provide me.

Thanks.

Madhu Bhilwadi

unread,
Jun 25, 2012, 11:48:29 PM6/25/12
to leaves-d...@googlegroups.com
Hi Sapana,

Can u paste your renderPageAtIndex method code here. so that i can view that suggest some solution for you.
--
Thanks & Regards
Madhu B.
 
This is my profile:
http://www.google.com/profiles/madhu.bhilwadi88

  

Reply all
Reply to author
Forward
0 new messages