XbpPDF Version 6 Available

Announcements about new features or events.
Post Reply
Message
Author
eborger
Posts: 5
Joined: Fri Apr 16, 2010 8:55 am

XbpPDF Version 6 Available

#1 Post by eborger »

Hello,

we are happy to announce the new version 6.0 of the XbpPDF and GraPDF classes. Some new features have been added to both classes, as well as a rewrite of some of the existing methods, to make the classes more reliable and efficient.

The new version is 100% compatible with Express++, once you create your Express++ report, you can save it as a PDF with one click.

The new files and the upgrade option are available in our site, http://www.borger.com.br/softsupply

__________________________________________________________________________
Changes for XbpPDF Version 6.0

New Rendering options, see the NEW() method.

New SetPDFAMode, to create PDF/A type files

New EmbedFile and EmbedRelationFile to embed files into the PDF, accept XML files according to the German ZUGFeRD specification

New Encoding support for UNICODE characters, text can now be in ANSI, OEM or UNICODE (UTF-16LE).

New Compress method, to compress PDF files, reducing the size of the created or an existing PDF file.

Font now accepts non whole numbers (ex. oPdf:Font( '8.5 Verdana') )

Two new printing methods PrintA and PrintO, with different rendering options, fell free to try and compare the results a choose whichever gives you a better result.

Several minor fixes to the library

__________________________________________________________________________

Please feel free to contact us at any time at softsupply@terra.com.br

Best regards,
Edgar


skiman
Posts: 1183
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: XbpPDF Version 6 Available

#2 Post by skiman »

Hi,
The new version is 100% compatible with Express++, once you create your Express++ report, you can save it as a PDF with one click.
Do you have a sample of this? I didn't find this in the docs on your site.
Best regards,

Chris.
www.aboservice.be

Koverhage
Posts: 150
Joined: Mon Feb 01, 2010 8:45 am

Re: XbpPDF Version 6 Available

#3 Post by Koverhage »

Chris,

here the way we do it. Edgar has a express.prg included.
But note: As we know, this is only possible in preview mode.

Code: Select all

IF empty( fo->pdfname )
   aadd(aAddButtons,{60,20,"PDF",{||CreatePDF(,fo->pdfshow, fo->pdfemail, NIL, NIL,cOwnerPW, cUserPW)} })
ELSE
   aadd(aAddButtons,{60,20,"PDF",{||CreatePDF(GenOutDir(m_az,Nil,.t.)+rtrim( fo->pdfname)+"_"+dtos(date())+".pdf",fo->pdfshow, fo->pdfemail, NIL, NIL,cOwnerPW, cUserPW)} })
ENDIF

  case drpreview     
        DCPRINT on to oPrinter OPTIONS aOptions PREVIEW HIDE FINDBUTTON ADDBUTTONS aAddButtons;
        ZOOMFACTOR drzoomfakt ;
        PPOSITION aPos[1], aPos[2] PSIZE nMaxCol, nMaxRow
Klaus

Post Reply