paper-pptxAPI referenceinspect
EffectiveShapeFormat
paper-pptx 0.2.0 API reference
Effective solid fill and line color of one shape (paper-pptx addition).
It resolves EXPLICIT p:spPr fills fully (solid colors through the scheme/clrMap/
theme walk; "none" for noFill). A shape whose fill comes only from its p:style
fill/line reference reports unresolved — the provenance carries the reference index and
its resolved phClr color, but theme format-scheme modulation is not applied (guessing it
would violate fail-loudly).
EffectiveShapeFormat(fill_rgb: EffectiveValue, line_rgb: EffectiveValue)Attributes
fill_rgb
attributefill_rgbEffectiveValueline_rgb
attributeline_rgbEffectiveValueFunctions
to_dict
functo_dict() -> dictReturn the resolved fill and line colors as a JSON-ready dict.
Returns
dict