The PDFlib Cookbook is a collection of PDFlib coding fragments for solving specific problems. It is maintained as a growing list of sample programs which will result in a new Cookbook package at regular intervals. The Cookbook topics are written in the Java language, but can easily be ported to other programming languages since the PDFlib API is almost identical for all supported language bindings. For some topics, code in other languages like PHP or C is provided. Each Cookbook topic denotes the PDFlib product required for its execution.
The PDFlib Cookbook package contains the Java files and all required input data, as well as an Ant build file and an Eclipse project. The Cookbook topcis can conveniently be compiled and run with the Java build tool Apache Ant. Form more information, see ant.apache.org. Alternatively, you can manually compile and run the samples.
As a prerequisite for compiling and executing the PDFlib Cookbook topics the PDFlib binary library for Java must have been installed. You can download the appropriate PDFlib 7 evaluation package here.
Download the PDFlib Cookbook archive released on April 9, 2008. Unpack the archive and open the "doc/readme.txt" file for further information on installing and working with the PDFlib Cookbook.
For the most recent changes, see the change log.
PDFlib-cookbook-2008-04.tar.gz (5.0 MB)
PDFlib-cookbook-2008-04.zip (5.1 MB)