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

attributeafterdict

after_location

attributeafter_locationdict

after_run_index

attributeafter_run_indexint

before

attributebeforedict

before_location

attributebefore_locationdict

before_run_index

attributebefore_run_indexint

part

attributepartstr

shape

attributeshapeShapeRef

text

attributetextstr

Functions

to_dict

functo_dict() -> dict

Return this location-aware shift as a JSON-ready dictionary.

Returns

dict

On this page