Skip to main content

Crate rpptx_render

Crate rpptx_render 

Source
Expand description

Presentation rendering inputs and package assembly helpers.

Modules§

timeline
Composition of evaluated slide frames and transitions.

Structs§

AutofitMeasurement
One real authoring layout trial before vertical anchoring.
MediaData
Media bytes available to a renderer, with their package content type.
RelScopes
Relationship maps kept separate by their source-part scope.
RenderInput
Frozen, format-neutral input consumed by the rendering stage.
ResolvedRel
A package relationship after its target has been resolved against its source part.
ShapeTextLayout
One shape’s text as the slide renderer lays it out, in points.
SlideBundle
Raw package parts assembled before inheritance resolution.
TextLineLayout
One laid-out line of shape text, in points.

Enums§

RelScope
The source part whose relationship map owns an identifier.
RenderInputError
Package assembly failures that retain relationship source context.

Constants§

AUTOFIT_CANDIDATES
Ordered, bounded native-informed authoring candidates, in OOXML units. Ordinary render-time autofit does not use this authoring policy.

Functions§

authoring_table_cell
Projects the exact merged cell box used by table lowering for authoring. Continuation cells have no independently sized text owner.
authoring_text_fits_at_anchor
Checks a proposed frame using its actual persisted anchor and provider. Unlike the unanchored sizing trial, this validates the published placement.
layout_presentation
Lower every resolved slide to one fixed-size page in presentation order.
layout_presentation_deterministic
Lower every resolved slide using only bundled and presentation-embedded fonts.
layout_presentation_with_displayed_numbers
Layout with explicit displayed slide numbering and unchanged physical page IDs. The facade and timeline assembly share this checked number context.
layout_presentation_with_font_manager
Lowers every slide with the same manager that shaped any frozen group content.
layout_presentation_with_font_manager_and_text_directions
Lowers every slide with paragraph directions from the additive resolver path.
layout_shape_text
Lays out one resolved shape’s text exactly as slide lowering draws it.
layout_slide
Lower one zero-based resolved slide to a fixed-size page.
measure_authoring_text
Measures actual selected-face segments with the shared line breaker. This is used by explicit mutation and its read-only report, not by ordinary rendering. The provided body may already own stored Normal values.
measure_autofit_candidate
Runs independent Q native-informed and S persisted-render trials for one candidate. Every invocation re-shapes its own source clone. Q’s rounding never changes the original nominal values or ordinary fractional rendering.
resolve_media_relationship
Resolve one scoped media relationship into the deck’s content-addressed store.
shape_transform
The complete painter transform used by explicit authoring to preserve a resized shape’s physical anchor, including parent-group contributions.