goals:
- simple, easy to use.
- no user interaction.
- optimized for speed.
- mdot safe.
- all-in-one prg file. No dependencies.
typical usage:
report form myReport object pdf3() to file "filename.pdf" [preview]
local opdf
m.opdf=pdf3()
report form report1 object m.opdf noeject
report form report2 object m.opdf noeject
report form report3 object m.opdf to file "filename.pdf" [preview]
requirements:
- only jpg, png and gdiPlus images in report. Other types are NOT supported.
- dynamic properties - only "rotate".
based on the work of many peoples:
- and many others who participated on pdf output for foxpro.
license:
this file "pdf3.prg" is in public domain. Use at your own risk.
This file contains libhpdf230.dll file, base64 encoded. It's my own build
of libharu. Builded specially for HPDF_LoadJpeg(Png)ImageFromMem function,
because the origin libhpdf does not have it.
Pdf3 may be useful also for other PDF developers, because it demonstrate
how to correctly rotate the pdf content.
Enjoy.
Martin Krivka 2013