Paper Office
paper-pptxAPI referenceslide

SlideMaster

paper-pptx 0.2.0 API reference

Slide master object.

Provides access to slide layouts. Access to placeholders, regular shapes, and slide master-level properties is inherited from _BaseMaster.

Attributes

background

attributebackground_Background

_Background object providing slide background properties.

This property returns a _Background object whether or not the slide, master, or layout has an explicitly defined background.

The same _Background object is returned on every call for the same slide object.

element

attributeelement

The lxml element proxied by this object.

header_footers

attributeheader_footersHeaderFooters

HeaderFooters flags for this master (paper-pptx addition).

name

attributenamestr

String representing the internal name of this slide.

Returns an empty string ('') if no name is assigned. Assigning an empty string or None to this property causes any name to be removed.

part

attributepartXmlPart

The package part containing this object.

placeholders

attributeplaceholdersMasterPlaceholders

MasterPlaceholders collection of placeholder shapes in this master.

Sequence sorted in idx order.

shapes

attributeshapes

Instance of MasterShapes containing sequence of shape objects appearing on this slide.

slide_layouts

attributeslide_layoutsSlideLayouts

SlideLayouts object providing access to this slide-master's layouts.

On this page