Paper Office
paper-pptxAPI referenceinspect

ShapeManifest

paper-pptx 0.2.0 API reference

Structural facts of one shape (paper-pptx addition). Group children nest.

ShapeManifest(shape_id: int, name: str, kind: str, z_index: int, placeholder_type: Optional[str], x: Optional[int], y: Optional[int], cx: Optional[int], cy: Optional[int], rotation: Optional[float], text_block_count: int, autofit: Optional[dict], table: Optional[dict], chart: Optional[dict], image: Optional[dict], children: Tuple['ShapeManifest', ...] = ())

Attributes

autofit

attributeautofitOptional[dict]

chart

attributechartOptional[dict]

children

attributechildrenTuple['ShapeManifest', ...]
= ()

cx

attributecxOptional[int]

cy

attributecyOptional[int]

image

attributeimageOptional[dict]

kind

attributekindstr

name

attributenamestr

placeholder_type

attributeplaceholder_typeOptional[str]

rotation

attributerotationOptional[float]

shape_id

attributeshape_idint

table

attributetableOptional[dict]

text_block_count

attributetext_block_countint

x

attributexOptional[int]

y

attributeyOptional[int]

z_index

attributez_indexint

Functions

to_dict

functo_dict() -> dict

Return this shape's manifest entry as a JSON-ready dict.

Returns

dict

On this page