User Tools

Site Tools


start

PDFtalk

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

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).

Get started

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

Load the {PDFtalk Project} bundle from the Cincom Public Store into your VisualWorks image.

Try the demos and examples.

Read the documentation.

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

Libraries

Values A base library for immutable complex objects facilitating functional programming.

RDF The implementation of the W3C Recommendation RDF 1.1 XML Syntax.

Gemstone

PDFtalk for Gemstone The port of the library to Gemstone Smalltalk. A talk about this was held at ESUG 2017: “PDFtalk for Gemstone” (slides are here).

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.

Tools

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.

References

The slides "PDF in Smalltalk" from the ESUG 2011 talk give an overview.

The slides "PDFtalk for Gemstone" from the ESUG 2017 talk.

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!

start.txt · Last modified: 2018/08/04 19:34 by christian