paper-pptxAPI referenceinspect
EffectiveFont
paper-pptx 0.2.0 API reference
Effective size, name, color, and emphasis of one run.
EffectiveFont(size: EffectiveValue, name: EffectiveValue, color_rgb: EffectiveValue, bold: EffectiveValue = None, italic: EffectiveValue = None, underline: EffectiveValue = None)Attributes
bold
attributeboldEffectiveValue= Nonecolor_rgb
attributecolor_rgbEffectiveValueitalic
attributeitalicEffectiveValue= Nonename
attributenameEffectiveValuesize
attributesizeEffectiveValueunderline
attributeunderlineEffectiveValue= NoneFunctions
to_dict
functo_dict() -> dictReturn the resolved font as a JSON-ready dict under the paper-effective-font schema.
Use it to report or diff typography without walking the inheritance chain again.
Returns
dict