NotesSlide
paper-pptx 0.2.0 API reference
Notes slide object.
Provides access to slide notes placeholder and other shapes on the notes handout page.
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
attributeelementCT_NotesSlidename
attributenamestrString 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.
notes_placeholder
attributenotes_placeholderNotesSlidePlaceholder | Nonethe notes placeholder on this notes slide, the shape that contains the actual notes text.
Return None if no notes placeholder is present; while this is probably uncommon, it can
happen if the notes master does not have a body placeholder, or if the notes placeholder
has been deleted from the notes slide.
notes_text_frame
attributenotes_text_frameTextFrame | NoneThe text frame of the notes placeholder on this notes slide.
None if there is no notes placeholder. This is a shortcut to accommodate the common case
of simply adding "notes" text to the notes "page".
part
attributepartXmlPartThe package part containing this object.
placeholders
attributeplaceholdersNotesSlidePlaceholdersInstance of NotesSlidePlaceholders for this notes-slide.
Contains the sequence of placeholder shapes in this notes slide.
shapes
attributeshapesNotesSlideShapesSequence of shape objects appearing on this notes slide.
Functions
clone_master_placeholders
funcclone_master_placeholders(notes_master: NotesMaster) -> NoneSelectively add placeholder shape elements from notes_master.
Selected placeholder shape elements from notes_master are added to the shapes
collection of this notes slide. Z-order of placeholders is preserved. Certain
placeholders (header, date, footer) are not cloned.
paramnotes_masterNotesMasterReturns
None