A slide’s notes are in a part of their own, usually
ppt/notesSlides/notesSlideN.xml, reached through the slide’s
notesSlide relationship. The root element is p:notes, and its
layout is the same as a slide’s.
What a notes page holds
| Placeholder type | Holds |
|---|---|
sldImg | An image of the slide. |
body | The speaker notes text. |
sldNum, dt, hdr, ftr | Page number, date, header and footer. |
The notes text is in the a:p paragraphs of the body placeholder, as on a
slide.
The notes master
Notes slides are based on the notes master, p:notesMaster, listed in
p:notesMasterIdLst in presentation.xml. A presentation has at
most one.
Rules, attributes and divergences
Sources read: ECMA-376 5th edition Part 1 (research/ooxml/ecma376/p1/part1.txt) 19.2.1.20-22 (notesMasterId,
notesMasterIdLst, notesSz), 19.3.1.26-28 (notes, notesMaster, notesStyle),
13.3.4 and 13.3.5, and the schema types CT_NotesSlide, CT_NotesMaster, EG_TopLevelSlide,
EG_ChildSlide and AG_ChildSlide in the Annex A text of Part 1; MS-OI29500 2.1.1105, 2.1.1121, 2.1.1124, 2.1.1125;
python-pptx oxml/slide.py and Apache POI XSLFNotes.java (research/pptx/src/).
p:notes(CT_NotesSlide): children in ordercSld(required),clrMapOvr(optional),extLst. AttributesshowMasterSp(show the master’s shapes) andshowMasterPhAnim(show animations on the master’s placeholders), both Booleans that default to true.p:notesMaster(CT_NotesMaster):cSld,clrMap(required, so a notes master always maps its colours),hf,notesStyle(a list style of the same type astxStyleslevels),extLst.notesStyleformats all other text within the notes slides (19.3.1.28).- Where the notes master is named.
notesMasterIdLstin the presentation holds at most onenotesMasterId(r:id, a relationship id that resolves to the master part);notesSzis required inpresentation, and gives the surface used for notes slides and handout slides (cx,cyin EMU). Objects may lie outside it, but the notes page has a background of that size when shown or printed (19.2.1.22). Examples in the standard use 6858000 × 9144000 (portrait, 13.3.6) and 9144000 × 6858000 (19.2.1.22). - One notes slide exists for each slide that has notes; its relationships may only point to the parts listed on the package page, and its notes master through an implicit relationship (13.3.5).
Divergence from spec
- MS-OI29500 2.1.1124 quotes the standard as saying that
notesMasterspecifies an instance of a handout master slide; the text of 19.3.1.27 in the part1.txt used here already says notes master slide, so that note applies to the older wording only. PowerPoint draws the shapes of a notes master in the order written, and always draws the note text in front. - 2.1.1125: PowerPoint uses
notesStylefor the text in the notes section of the notes page view and the notes master view. - 2.1.1121: PowerPoint does not allow
controlsin acSldwhose parent isnotes,notesMasterorhandoutMaster, although the standard allows it. - 2.1.1105: PowerPoint types the
cxandcyofnotesSzasST_SlideSizeCoordinateinstead ofST_PositiveCoordinate, and readscxas the width andcyas the height of the rectangle (the standard callscythe width). - python-pptx lists the children of
notesMasterascSld,clrMap,hf,notesStyle,extLst(CT_NotesMaster._tag_seq), as the schema does, and builds new notes from a built-in template (CT_NotesSlide.new), so that placeholders inherit from the notes master. POI’sXSLFNotestakes its theme from its notes master (getTheme, line 83) and finds the master as the first related part of that type (getMasterSheet, lines 89-96); a notes slide without a notes master has no theme. POI maps scheme colours with the notes slide’s ownclrMapOvr(lines 110-113) and lists only text shapes ingetTextParagraphs(lines 98-108), so text inside a group or a table in the notes is not listed; the explorer draws notes content through the same shape renderer as slides.