TET Cookbook

cookbook

Source code and XSLT/TETML Cookbook for PDFlib TET

The TET Cookbook is a collection of TET coding fragments for solving specific PDF content extraction problems. It is maintained as a list of sample programs. TET Cookbook topics can be used as follows:

  • The code samples can be used with the TET API. The Cookbook topics are written in Java, but can easily be ported to other programming languages since the TET API is identical for all supported language bindings.
  • XSLT samples demonstrate postprocessing of TETML, the XML output created by TET for the contents of PDF documents. TETML can be created with the TET API (any language binding) and the TET command-line tool.
  • Cookbook topics in the category TET and PDFlib demonstrate the combination of both products; they require PDFlib in addition to TET.
  • Examples for the pCOS interface (which is integrated in TET) are presented in the pCOS Cookbook.

All Cookbook topics can be used with the free TET evaluation packages.

Browse all TET Cookbook Topics

Each topic can be viewed individually in the browser together with its source code, description and output PDF. For a complete list of all topics currently being available, see Browse all Topics.

TET Cookbook for Java and XSLT/TETML

The TET Cookbook package contains the source files and sample input data, as well as an Ant build file and an Eclipse project. The Cookbook topics can conveniently be compiled and run with the Java build tool Apache Ant. Alternatively, you can manually compile and run the samples. For installing and working with the TET cookbook, see the "readme" file in the "doc" folder of the Cookbook Package.

The TET Cookbook package contains an Eclipse project file that allows the direct import of the Cookbook into an Eclipse workspace.

The TET Cookbook also contains XSLT samples which demonstrate postprocessing of TETML, the XML output created by TET for the contents of PDF documents.

As a prerequisite for compiling and executing the PDFlib TET Cookbook topics the TET binary library Java must be installed. You can download the appropriate TET evaluation package here.

Download the PDFlib TET Cookbook package:

TET-cookbook-2017-05-29.tar.gz (2.1 MB)

TET-cookbook-2017-05-29.zip (2.2 MB)