Table of Contents

PDF4Smalltalk

This is a Smalltalk library for PDF.
PDF files can be opened and all PDF objects are available as Smalltalk objects, which can be manipulated in any way you like. Likewise, any Smalltalk PDF object (net) can be written out as conforming PDF file.

This is a system library implementing the PDF specification (ISO standard PDF 32000-1:2008) in Cincom's VisualWorks Smalltalk in version 7.10 and up. The syntax is covered comprehensively, which means that any PDF file can be read and any PDF object can be written in a conforming way.

Most of the common PDF types are modeled explicitely as Smalltalk classes, while non-modeled types are represented by dictionaries.

The library code is annotated with the original descriptions and definitions from the specification, so that learning about PDF itself is well supported.

There is also a tool to inspect PDFs: the PDFExplorer.

This library is for programmers who need full control over all details of PDFs.

Get started

The slides "PDF in Smalltalk" (a talk at ESUG 2011), give an overview of what this project is about.

Load the PDF Development bundle from the Cincom Public Store into your VisualWorks image.

Try the demos and examples.

To get the latest news and to participate in discussions, subscribe to the mailing list.

Documentation

The PDF specification is vast and this implementation covers only parts of it. Topics of interest:

Brief descriptions of the releases are documented in the History of the project.

References

The project was discussed in a podcast (German) from Smalltalk Inspect (mentioned in Joachims Small World).

Bob Nemec is using the library to build a report generator!