Working with Headers and Footers

Introduction

When talking about headers and footers within a Notes slide context, we are referring to the minor elements located at the upper and lower regions of your Notes slides. These elements typically encompass a text header, date, text footer, and slide number. This article shows methods to manage headers and footers within Notes slides.

API Information

API Type Description Resource
/slides/{name}/slides/{slideIndex}/notesSlide/headerFooter GET Reads the header and footer information from the Notes slide. GetNotesSlideHeaderFooter
/slides/{name}/slides/{slideIndex}/notesSlide/headerFooter PUT Sets a header and footer to the Notes slide. SetNotesSlideHeaderFooter

Request Parameters

GetNotesSlideHeaderFooter
Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of the Notes slide.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.
SetNotesSlideHeaderFooter
Name Type Location Required Description
name string path true The name of a presentation file.
slideIndex integer path true The 1-based index of the Notes slide.
dto object body true The data transfer object with parameters for the header and footer.
password string header false The password to open the presentation.
folder string query false The path to the folder containing the presentation.
storage string query false The name of the storage contaning the folder.

Examples

In MyPresentation.pptx document, enable the header with the value “This is my header”, the date/time with the value “1/1/2023”, footer with the value “This is my footer”, and slide numbers for the first Notes slide. Read the header text, date/time text, and footer text.

cURL Solution

SDK Solutions

SDKs

Check Available SDKs to learn how to add an SDK to your project.