Search found 275 matches

by jPV
Mon Jul 15, 2019 8:28 am
Forum: Polybios
Topic: pdf.GetLastError on MorphOS
Replies: 5
Views: 298

Re: pdf.GetLastError on MorphOS

airsoftsoftwair wrote:
Sun Jul 14, 2019 6:01 pm
You must only call pdf.GetLastError() if pdf.OpenDocument() actually failed
Why there is #PDFERR_SUCCESS (No error occurred.) then?
by jPV
Sat Jul 13, 2019 1:07 pm
Forum: Polybios
Topic: Polybios doesn't find links from all PDFs
Replies: 1
Views: 128

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: 110

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: 191

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") pdf.LoadPage(1,...
by jPV
Sat Jul 13, 2019 11:55 am
Forum: Polybios
Topic: pdf.GetLastError on MorphOS
Replies: 5
Views: 298

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.notfound") ExitOnE...
by jPV
Sat Jul 13, 2019 11:33 am
Forum: Polybios
Topic: pdf.GetBookmarks and stack overflow
Replies: 1
Views: 112

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 Windows, and increasing ...
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: 234

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: 22
Views: 3007

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: 2084

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: 612

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 emails just for a test: For Local i=0 To ListItems(addressbook)-1 DebugPrint(addr...