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
attributeelementThe lxml element proxied by this object.
parent
attributeparentThe ancestor proxy object to this one.
For example, the parent of a shape is generally the SlideShapes object that contains it.
part
attributepartPresentationPartFunctions
__getitem__
func__getitem__(idx: int) -> SlideMasterProvides indexed access, e.g. slide_masters[2].
paramidxintReturns
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.