Crate hayro_write

Crate hayro_write 

Source
Expand description

A crate for converting PDF pages into either XObjects or a new page via pdf-writer.

This is an internal crate and not meant for external use. Therefore, it’s not very well-documented.

Structs§

ExtractionQuery
An extraction query.
ExtractionResult
The result of an extraction.
Page
A PDF page.
Pages
A structure holding the pages of a PDF document.
Pdf
A PDF file.

Enums§

ExtractionError
An error that occurred during page extraction.
ExtractionQueryType
A type of extraction query, indicating as what kind of object you want to extract the page.
LoadPdfError
An error that occurred while loading a PDF file.
PdfVersion
The version of a PDF document.

Functions§

extract
Apply the extraction queries to the given PDF and return the results.

Type Aliases§

PdfData
A container for the bytes of a PDF file.