Crate textr

Source
Expand description

TeXtr is an interface for the generation of PDF documents from the parsing of a JSON document which adheres to a specific format compatible with the library. This format is specified in the Document struct, which offers a method called to_pdf that converts this high-level representation into a PDF document.

In this crate, PDF documents are represented by the struct PdfDocument, which offers a high-level interface for direct PDF manipulation. The nitty-gritty details for the manipulation of PDF documents are hidden in the implementation of this struct, but in any case, if needed, they are to a certain degree exposed to the end-user.

Modulesยง

document
The module were the Document interface is presented.
error
This module contains the ContextError type which is the error type used throughout this library.
pdf
The module were the PdfDocument interface for working with PDF documents is presented.