Paper Office
paper-pptxAPI referenceslide

SlideMasters

paper-pptx 0.2.0 API reference

Sequence of SlideMaster objects belonging to a presentation.

Has list access semantics, supporting indexed access, len(), and iteration.

SlideMasters(sldMasterIdLst: CT_SlideMasterIdList, parent: Presentation)

Attributes

element

attributeelement

The lxml element proxied by this object.

parent

attributeparent

The ancestor proxy object to this one.

For example, the parent of a shape is generally the SlideShapes object that contains it.

part

attributepartPresentationPart

Functions

__getitem__

func__getitem__(idx: int) -> SlideMaster

Provides indexed access, e.g. slide_masters[2].

paramidxint

Returns

pptx.slide.SlideMaster

__iter__

func__iter__()

Generate each SlideMaster instance in the collection, in sequence.

__len__

func__len__()

Support len() built-in function, e.g. len(slide_masters) == 4.

On this page