paper-pptxAPI referenceinspect
InspectedRun
paper-pptx 0.2.0 API reference
One run of text paired with the font that renders it.
InspectedRun(text: str, font: EffectiveFont, field_type: Optional[str] = None)Attributes
field_type
attributefield_typeOptional[str]= Nonefont
attributefontEffectiveFonttext
attributetextstrFunctions
to_dict
functo_dict() -> dictReturn this run as a JSON-ready dict, omitting field_type for ordinary text.
Returns
dict