Links in a PDF - 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

TOPIC: Links in a PDF

Links in a PDF 4 years 3 months ago #6682

  • stefan.opitz@deutschebahn.com
  • stefan.opitz@deutschebahn.com's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hello,

We are currently with a problem that in some pdfs that contains links (in the index for example) those links are not working correctly.

They are being displaying with another background (which is ok) but when you try to click is not jumping. We just checked that the links are correctly linked while using another viewer.

We have a premium license, I tell this because I saw in another similar topic talking about the type of license also.

Thanks in advance

Please Log in or Create an account to join the conversation.

Links in a PDF 4 years 3 months ago #6686

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
You need to implement the listener PDFReaderListener
You need to call m_reader.PDFPerformAnnot() in OnAnnotClicked(PDFVPage, Annotation)
And for links you need to imlpement OnOpenURI(String)
The following user(s) said Thank You: xiaofanwjj

Please Log in or Create an account to join the conversation.

Links in a PDF 4 years 3 months ago #6692

  • stefan.opitz@deutschebahn.com
  • stefan.opitz@deutschebahn.com's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thanks, the anchor problem was solved overriding the method.

@Override
public void OnAnnotClicked(PDFVPage vpage, Annotation annot) {
this.PDFPerformAnnot();
}

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum