Skip to main content

Crate oxml_pdf

Crate oxml_pdf 

Source
Expand description

PDF renderer for format-neutral OOXML layout output.

Converts LayoutResult (positioned page frames with glyph runs, lines, rectangles, and images) into a PDF document.

Re-exports§

pub use raster::RasterError;
pub use raster::RasterFormat;
pub use raster::RasterOptions;
pub use raster::RasterOutput;

Modules§

raster
Page-to-image rendering using tiny-skia software rasterizer.

Structs§

PdfOptions
Options for the explicit archival PDF renderer.

Enums§

PdfConformance
An archival conformance level supported by the PDF backend.
PdfError
A reason an input cannot be represented by the requested PDF/A profile.

Functions§

render_all_pages
Render all pages to PNG bytes.
render_page_to_png
Render a single page to PNG bytes.
render_pages
Render selected zero-based pages to the requested raster image format.
render_to_pdf
Render a laid-out document to PDF bytes.
render_to_pdf_with_options
Render a laid-out document to one explicitly selected archival PDF profile.