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
attributekindstrname
attributenamestrplaceholder_type
attributeplaceholder_typeOptional[str]rotation
attributerotationOptional[float]shape_id
attributeshape_idinttable
attributetableOptional[dict]text_block_count
attributetext_block_countintx
attributexOptional[int]y
attributeyOptional[int]z_index
attributez_indexintFunctions
to_dict
functo_dict() -> dictReturn this shape's manifest entry as a JSON-ready dict.
Returns
dict