Hyperlink - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: Hyperlink

Hyperlink 4 years 3 weeks ago #7494

  • abhishekjaju
  • abhishekjaju's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
I want to hyperlink text in pdf which is not already hyperlinked (At time of creation of pdf ). I want to add hyperlink to text like "Obstacle" is present in pdf. Then how can i hyperlink that text.
After that I want to get the on click listener of that hyperlinked text.


So please help me we are in final satage of delivering product, so please help us.
The topic has been locked.

Hyperlink 4 years 3 weeks ago #7497

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
You can start by searching this word in the page, to get it's cooredinates ... then call AddAnnotURI passing the found word rect.
To handle the click listener, you need to implement PDFReaderListener.OnOpenURI, make sure that m_reader.PDFPerformAnnot is called in PDFReaderListener.OnAnnotClicked.

to search for the word, you can check
www.androidpdf.mobi/forum/Android-develo...in-a-pdf-search#2640
to add annotation:
www.androidpdf.mobi/forum/Android-develo...ith-addannoturi#5349
The topic has been locked.

Hyperlink 4 years 3 weeks ago #7499

  • abhishekjaju
  • abhishekjaju's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
I want to know how can I get the co-ordinates of the search result text
The topic has been locked.

Hyperlink 4 years 3 weeks ago #7505

  • abhishekjaju
  • abhishekjaju's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
Hey,
Genetal man can you reply for this question.
How can I get the co-ORDINATES of the searched text result
The topic has been locked.

Hyperlink 4 years 3 weeks ago #7508

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
The topic has been locked.

Hyperlink 4 years 3 weeks ago #7514

  • abhishekjaju
  • abhishekjaju's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 40
  • Thank you received: 1
After I search the word, I am able to find the co-ordinates of the searched word.
We are planning to create a Glossary/Dictionary.
We need to bind Dictionary with this PDF, need to show meaning of words on the PDF.
For the same we are not able to find co-ordinates.
But I am not able to find the co-ordinates of this word to show the meaning of the word.
We need your guided help.
Please guide us in finding a proper solution.
The topic has been locked.
  • Page:
  • 1
  • 2
Powered by Kunena Forum