Polybios doesn't find links from all PDFs
Posted: Sat Jul 13, 2019 1:07 pm
I have many PDF files where you have some kind of links, they are clickable on VPDF and other readers, but for some reason Polybios doesn't see them. Are there some other kind of links that Polybios doesn't support or why doesn't it find them?
For example this file: PDFReference.pdf
And this code:
Gives you "0 links", while there should be clickable links in the table of content page.
For example this file: PDFReference.pdf
And this code:
Code: Select all
@REQUIRE "polybios", {Version=1, Revision=1}
pdf.OpenDocument(1, "PDFReference.pdf")
id, t = pdf.GetBrush(1, 3, 1, False, True)
ChangeDisplaySize(GetAttribute(#BRUSH,1,#ATTRWIDTH), GetAttribute(#BRUSH,1,#ATTRHEIGHT))
DisplayBrush(1,0,0)
DebugPrint(ListItems(t), "links")
WaitLeftMouse()