Paper Office
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]
= None

font

attributefontEffectiveFont

text

attributetextstr

Functions

to_dict

functo_dict() -> dict

Return this run as a JSON-ready dict, omitting field_type for ordinary text.

Returns

dict

On this page