Page 1 of 32

PurePDF Version 2.0

Posted: Mon Oct 17, 2005 3:34 pm
by LuckyLuke
Hi,

A new version of the PurePDF is available. Please note that I will release very soon extension libraries of PurePDF. The lib is also uploaded to PBOSL.
For the moment not all previous functions are available !

New functions :
- pdf_InsertTOC()
- pdf_TOCEntry()

The files can be download here.

Any comments are welcome.

Enjoy,

LuckyLuke

Posted: Mon Oct 17, 2005 3:42 pm
by Flype
very thank you.

EDIT: bug while installing... please note the double '\\'
Image

Posted: Mon Oct 17, 2005 4:03 pm
by LuckyLuke
The following directory should exist : ..\Examples\Source.

@NUM3: Can you fix this problem in the installer ? Thanks.

Posted: Mon Oct 17, 2005 4:03 pm
by techjunkie
Great! :)

Yeah... :cry: the same error during installation here...

Posted: Mon Oct 17, 2005 4:39 pm
by techjunkie
Got an error after PurePDF 2.0 installation,

Error: Constant already declared with a different value: #PDF_ALIGN_CENTER

[pause]

Hmmm... two .res files?!? One "pdf.res" and one "pdfres.res". The "pdfres.res" is from the new installation. Another Installer error? ;)

[edit]

I just renamed "pdfres.res" to "pdf.res" and deleted the other.

Posted: Mon Oct 17, 2005 6:38 pm
by Num3
LuckyLuke wrote:The following directory should exist : ..\Examples\Source.

@NUM3: Can you fix this problem in the installer ? Thanks.
Upssss...

Stupid bug!

This will happen when you add files before you type the library name!

Code: Select all

FileData()\target_dir="Examples"+GetGadgetText(#Gadget_Li_name)+"\Source"
I've created an extra check to prevent this bug!

You can get the fixed version here: http://io-soft.planetaclix.pt/files/Li2.zip

Posted: Mon Oct 17, 2005 7:00 pm
by LuckyLuke
Thanks Num3 for this very fast reply ! :)

Important Note :
The previous version of PurePDF should be uninstalled ! Else you'll get :
Error: Constant already declared with a different value: #PDF_ALIGN_CENTER
My excuses for all these problems, but I was still at work ... (still sleeping) :wink:

New links to download from :Install or Zip

Posted: Mon Oct 17, 2005 9:18 pm
by Droopy
Very, very good !! :D

Posted: Tue Oct 18, 2005 7:56 am
by LuckyLuke
PDFDraw, the first extension library is available here.
It contains the following functions :
  • pdf_Circle()
    pdf_Ellipse()
    pdf_Rotate()
    pdf_Sector()
    pdf_SetDash()

Posted: Tue Oct 18, 2005 9:25 am
by Flype
the pdf_PageNo() function disappeared... :?

Posted: Tue Oct 18, 2005 10:40 am
by LuckyLuke
pdf_PageNo() became pdf_GetPageNo().

Some other changes :
pdf_Open() => pdf_Create()
pdf_SetFooter() => pdf_SetProcFooter()
pdf_SetHeader() => pdf_SetProcHeader()
pdf_Close() => not needed anymore
pdf_CreateIndex() => removed and replaced by more flexible
pdf_InsertTOC()
pdf_SetProtection() => removed
pdf_Protection() => removed
...

Posted: Tue Oct 18, 2005 9:04 pm
by GeoTrail
Excellent lib :)

Posted: Wed Oct 19, 2005 2:39 am
by Intrigued
For some reason... only half the PDF Draw functions show in PB and none of the main functions show for the PDF plugin when I code.

I tried reinstalling to no avail.

Ideas?

Posted: Wed Oct 19, 2005 7:29 am
by LuckyLuke
@Intrigued :
Do you have the following files installed in the UserLibraries
  • mem
    pdf
    pdfDraw
Or try these downloads :
PurePDF
PDFDraw

Or can you send me the files mentioned above from your UserLibraries ?

Posted: Thu Oct 20, 2005 6:19 pm
by Thorsten1867
I look at the new version and found in the helpfiles a lot of "ipf_"-commands. What's the difference between "pdf_" and "ipf_"?