Library for reading and writing PDF files.
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.
The library implements the PDF specification (ISO standard PDF 32000-1:2008) in Cincom's VisualWorks Smalltalk.
The syntax and basic machinery is covered comprehensively, which let's you read any PDF file and write any PDF object in a conforming way.
The library is for programmers who want full control over all details of PDFs.
The current version is version 2.0 from October 2017. See the release notes for details.
The licence is MIT.
PDF objects are typically dictionaries or arrays. The object types and their attributes are well documented by the PDF Specification. The library defines many PDF objects as Smalltalk objects (and it is easy to add more PDF types).
The code is as close to the specification as possible. The names of types and attributes are directly used for the implementation when appropriate. When studying the PDF specification (a nice read in most parts!), it is easy to find the relevant implementation in the library.
The library code is annotated with the original descriptions and definitions from the specification, so that learning about PDF itself is well supported.
Included is a UI tool to inspect PDFs: the PDFExplorer (internal version of the PDFtalkSnooper application).
Try the demos and examples.
Read the documentation.
To get the latest news and to participate in discussions, subscribe to the mailing list.
Values A base library for immutable complex objects facilitating functional programming.
Gemstone Fileout A VisualWorks to Gemstone translation tool. This tool, with project specific code transformation declarations, creates a Gemstone filein. Used to create the Gemstone PDFtalkLibrary from the Values package and PDFtalk bundle.
The projects above are open source with MIT licence.
PDFtalkSnooper Stand-alone UI tool to inspect PDFs. This is the packaged version of the internal PDFExplorer.
The tool is free, but not open-sourced.