oxml-pdf
Format-neutral PDF generation from the positioned output model in oxml-layout.
Use it when
Use this crate when a custom OOXML frontend already produces shared layout frames. Use rdocx::Document::to_pdf or rpptx::Presentation::to_pdf_deterministic for normal document conversion.
Relationship
This is the shared successor to the deprecated rdocx-pdf shim.
Example
use LayoutResult;
use render_to_pdf;
let layout = new;
let pdf = render_to_pdf;
assert!;
Add oxml-pdf = "0.2.0" and oxml-layout = "0.2.0" to your dependencies. See the renderer API for the accepted layout model.