Hi @Andreas Davros
Thank you for posting your question in Microsoft Q&A.
Based on your inquiry, I understand that you are looking for a way to manipulate headers and footers in a PowerPoint file using office.js or a similar technology within the Office Add-ins context.
Currently, office.js does not support a dedicated API to directly manipulate Headers/Footers in PowerPoint. While these objects exist in the COM/VBA object models, they have not yet been exposed in the PowerPoint JavaScript API.
According to the documentation I've found, the current API requirement set (PowerPointApi 1.9) primarily supports operations with Slides, Shapes, and SlideMasters, but it does not include a HeadersFooters property. As of now, Microsoft has not released any public announcements regarding the addition of this specific API capability.
Since this capability is not currently available, I recommend submitting a feature request directly to the Microsoft Feedback Portal. Once you have submitted your request, please share the link here. I (and other community members) will vote for it to help get it prioritized.
In the meantime, you might consider a workaround: creating a 'fake' footer using shapes.
You can use office.js to add a textbox to the SlideMaster (or individual slides) and place it in a fixed position. However, please note that this only simulates a footer and cannot be toggled on/off using the native Header & Footer feature
Reference: Work with shapes using the PowerPoint JavaScript API
If you have any additional concerns, feel free to comment below. I would be more than happy to assist.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.