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

color_rgb

attributecolor_rgbEffectiveValue

italic

attributeitalicEffectiveValue
= None

name

attributenameEffectiveValue

size

attributesizeEffectiveValue

underline

attributeunderlineEffectiveValue
= None

Functions

to_dict

functo_dict() -> dict

Return 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

On this page