Getting links from a page

Discuss PDF file handling with the Polybios plugin here
Post Reply
User avatar
jPV
Posts: 275
Joined: Sat Mar 26, 2016 10:44 am
Location: RNO
Contact:

Getting links from a page

Post by jPV » Wed Oct 24, 2018 4:48 pm

Is there a way to get links (to another page, URLs, etc) from a PDF page when reading it? If not, could for example pdf.GetBrush return a table containing link coordinates and destinations from that page?

User avatar
airsoftsoftwair
Posts: 3121
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Getting links from a page

Post by airsoftsoftwair » Fri Oct 26, 2018 11:06 pm

Yes, should be possible to add. I'll see what I can do.

User avatar
airsoftsoftwair
Posts: 3121
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Getting links from a page

Post by airsoftsoftwair » Fri May 17, 2019 6:37 pm

Code: Select all

- New: Added optional argument to pdf.GetBrush(); if this is set to TRUE, pdf.GetBrush() will return
  an additional table that contains a collection of all links in the page; the table will contain
  information about the position, type, and target of each link in the page

Post Reply