Paper Office
paper-pptxAPI referenceslide

SlideClonePolicy

paper-pptx 0.2.0 API reference

Relationship policy for Slides.clone (paper-pptx addition).

Defaults encode the production-proven policy: charts (with their embedded workbooks and style parts) and speaker notes are deep-copied so clone and original can never cross-contaminate; image/media parts are shared deliberately.

  • deep_copy_charts: must be True to clone a slide bearing charts; False refuses (RelationshipPolicyError) rather than share an editable chart part between slides.
  • deep_copy_notes: False drops the notes slide from the clone (original unaffected).
  • share_media: False deep-copies image/media parts instead of sharing them.
SlideClonePolicy(deep_copy_charts: bool = True, deep_copy_notes: bool = True, share_media: bool = True)

Attributes

deep_copy_charts

attributedeep_copy_chartsbool
= True

deep_copy_notes

attributedeep_copy_notesbool
= True

share_media

attributeshare_mediabool
= True

On this page