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.

Modules§

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

Functions§

render_all_pages
Render all pages to PNG bytes.
render_page_to_png
Render a single page to PNG bytes.
render_to_pdf
Render a laid-out document to PDF bytes.