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§

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