Getting links from a page

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

Getting links from a page

Post by jPV »

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: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Getting links from a page

Post by airsoftsoftwair »

Yes, should be possible to add. I'll see what I can do.
User avatar
airsoftsoftwair
Posts: 5433
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Getting links from a page

Post by airsoftsoftwair »

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