Search found 604 matches

by jPV
Sat Jul 13, 2019 1:07 pm
Forum: Polybios
Topic: Polybios doesn't find links from all PDFs
Replies: 1
Views: 4915

Polybios doesn't find links from all PDFs

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: @...
by jPV
Sat Jul 13, 2019 12:57 pm
Forum: Polybios
Topic: Links in wrong position with a certain PDF
Replies: 1
Views: 5007

Links in wrong position with a certain PDF

I came up with this one PDF file, which gives links in slightly wrong positions with Polybios, but they seem to be in correct positions, for example, with VPDF. So is there something wrong in Polybios regarding this? Here's the file: kamera.pdf This code draws the boxes where the links are... they a...
by jPV
Sat Jul 13, 2019 12:20 pm
Forum: Polybios
Topic: Y-coordinates in PDFs
Replies: 3
Views: 6117

Y-coordinates in PDFs

Is there a reason why you get coordinates from pdf.GetRects and pdf.GetPageLinks (and probably elsewhere too) so that origin is at bottom? For example with this PDF: sample-link_1.pdf And this code: @REQUIRE "polybios", {Version=1, Revision=1} pdf.OpenDocument(1, "sample-link_1.pdf&qu...
by jPV
Sat Jul 13, 2019 11:55 am
Forum: Polybios
Topic: pdf.GetLastError on MorphOS
Replies: 5
Views: 7641

pdf.GetLastError on MorphOS

pdf.GetLastError state doesn't seem to reset on MorphOS... if you had a fail, but then open successfully, pdf.GetLastError still shows a fail. @REQUIRE "polybios", {Version=1, Revision=1} ; Trying to open a non-existent pdf: ExitOnError(False) pdf.OpenDocument(1, "PDFReference.pdf.not...
by jPV
Sat Jul 13, 2019 11:33 am
Forum: Polybios
Topic: pdf.GetBookmarks and stack overflow
Replies: 1
Views: 5066

pdf.GetBookmarks and stack overflow

I get stack overflow error when trying to get bookmarks from some PDF files. For example with this PDF: PDFReference.pdf And this code: @REQUIRE "polybios", {Version=1, Revision=1} pdf.OpenDocument(1, "PDFReference.pdf") t=pdf.GetBookmarks(1) This happens on both MorphOS and Wind...
by jPV
Fri Jun 28, 2019 6:53 am
Forum: General programming
Topic: how to avoid new OnMouseUp happen from old OnMouseUp?
Replies: 2
Views: 2363

Re: how to avoid new OnMouseUp happen from old OnMouseUp?

How about a short example code of the problem? :)
by jPV
Mon Jun 24, 2019 5:34 pm
Forum: Showcase
Topic: RNOPDF
Replies: 33
Views: 31836

Re: RNOPDF

Yeah, have to make an update, but before that I'll finish few things in another program to get that into betatesting stage first :)
by jPV
Wed Jun 12, 2019 6:05 pm
Forum: Newbie questions
Topic: capture cli output
Replies: 8
Views: 6753

Re: capture cli output

Great work \o/
by jPV
Tue Jun 11, 2019 9:24 pm
Forum: Newbie questions
Topic: How handle dates to make a little agenda?
Replies: 10
Views: 7038

Re: How handle dates to make a little agenda?

for example something like this: addressbook = { {name="Juan", phone="0815", address="One Way 10", email="jc@gmail.com"}, {name="Andreas", phone="1337", address="AllWays 43", email="andreas@hw.com"} } ; Print names and e...
by jPV
Tue Jun 11, 2019 5:22 pm
Forum: Newbie questions
Topic: How handle dates to make a little agenda?
Replies: 10
Views: 7038

Re: How handle dates to make a little agenda?

Does it have to be human readable text files? If not, you could use WriteTable() and ReadTable() to get a really easy solution.