Paper Office
paper-pptxAPI referenceinspect

DeckManifest

paper-pptx 0.2.0 API reference

Structural survey of a whole deck. .to_dict() is deterministic (golden-tested).

DeckManifest(slide_width: Optional[int], slide_height: Optional[int], slides: Tuple[SlideManifest, ...], masters: Tuple[dict, ...])

Attributes

masters

attributemastersTuple[dict, ...]

slide_count

attributeslide_countint

Number of slides the manifest describes.

slide_height

attributeslide_heightOptional[int]

slide_width

attributeslide_widthOptional[int]

slides

attributeslidesTuple[SlideManifest, ...]

Functions

to_dict

functo_dict() -> dict

Return the deck manifest as a JSON-ready dict stamped with its schema and version.

This is the payload to hand a caller that cannot hold Python objects.

Returns

dict

On this page