paper-pptxAPI referencediff
EffectiveShift
paper-pptx 0.2.0 API reference
One uniquely matched run in a unique unchanged paragraph whose resolved font changed.
EffectiveShift(part: str, shape: ShapeRef, before_location: dict, after_location: dict, before_run_index: int, after_run_index: int, text: str, before: dict, after: dict)Attributes
after
attributeafterdictafter_location
attributeafter_locationdictafter_run_index
attributeafter_run_indexintbefore
attributebeforedictbefore_location
attributebefore_locationdictbefore_run_index
attributebefore_run_indexintpart
attributepartstrshape
attributeshapeShapeReftext
attributetextstrFunctions
to_dict
functo_dict() -> dictReturn this location-aware shift as a JSON-ready dictionary.
Returns
dict