locked
Is there an explanation of the different files in a PPTX file? RRS feed

  • Question

  • Hi all;

    Is there something that explains the purpose of the different files in a PPTX file.

    First off, what's the purpose of the SlideMaster.xml & SlideLayout.xml files? And how do they relate to the Slide.xml files?

    Second, there are often multiple theme.xml files - why? Word & XL each have a single theme file. No reason PPTX can't have multiple, but what drives that?

    Third, there are several notes files. What is the purpose of those?

    And finally there are a bunch of customXml files. What is the purpose of those?

    thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Monday, August 3, 2020 7:43 PM

Answers

  • Hi David,

    To address your first question, the slideLayout.xml and slideMaster.xml are used to define default styles and layout for a slide.

    A Slide Master Part has an explicit relationship to 0 or more Slide Layout Parts and the Slide Part has an implicit relationship with a Slide Layout Part.

    Styles defined in the Slide Part will override style from the Slide Layout Part and the Slide Master Part style from the Slide Layout Part will override style from the Slide Master Part.

    In a PowerPoint file, if you click the View tab, then click Slide Master you will be able to see the Slide Masters and their child Slide Layouts and edit the defaults.

    You can download the full spec here. The relevant sections are 13.3.9, 13.3.10 and 13.3.8

    Mike

    • Marked as answer by DavidThielen Saturday, August 8, 2020 4:39 PM
    Wednesday, August 5, 2020 1:22 AM
  • Hi Dave,

    Regarding your third question, a notesSlide.xml file indicates that there is a note for a slide.xml file. Slides can have 0 or 1 Notes Slides associated with them. If the slide.xml file has a note, then the slide.xml will have an implicit relationship to a notesSlide.xml file.

    The notes for a slide are information for the presenter. When displaying in Slide Show mode the notes are hidden in the slides, but the presenter can still view them in PowerPoint. To add a note for a slide click Notes on the bottom bar of the PowerPoint window. A box will appear below the slide where the user can enter notes.

    The relevant sections in ISO 295000 are 13.3.8 and 19.3.1.26.

    Mike

    • Marked as answer by DavidThielen Saturday, August 8, 2020 4:41 PM
    Thursday, August 6, 2020 5:05 PM
  • Hi Dave,

    Thanks for posting this. In general, customXml Parts are used to store arbitrary xml data in an office xml file. They are not unique to a pptx file. What are you doing that creates the customXml/item1.xml files?

    Mike

    • Marked as answer by DavidThielen Wednesday, August 12, 2020 12:30 AM
    Tuesday, August 11, 2020 10:51 PM
  • Hi Dave, I did some more research on the customXml and I can add some more context for you. The customXml files were most likely added when the PPTX was uploaded to SharePoint. If you delete them there might be issues depending on how they are deleted. If you remove them via the app so all relationships are updated that’s fine (but SharePoint will probably add them again if the file is uploaded)

    If they are just manually deleted from the archive it will probably corrupt the document as the rels will point to nothing.

    Mike
    • Marked as answer by DavidThielen Wednesday, August 12, 2020 9:03 PM
    Wednesday, August 12, 2020 7:56 PM

All replies

  • Thanks, Dave, for the question.  An engineer from the protocols team will contact you soon.

    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team

    Monday, August 3, 2020 8:29 PM
  • Hi Dave, I will assist you with this. I will work on the first question and provide information. Then I'll move on  to the others. 

    Mike Bowen Escalation Engineer Microsoft Open Specifications Team


    Monday, August 3, 2020 10:36 PM
  • Hi David,

    To address your first question, the slideLayout.xml and slideMaster.xml are used to define default styles and layout for a slide.

    A Slide Master Part has an explicit relationship to 0 or more Slide Layout Parts and the Slide Part has an implicit relationship with a Slide Layout Part.

    Styles defined in the Slide Part will override style from the Slide Layout Part and the Slide Master Part style from the Slide Layout Part will override style from the Slide Master Part.

    In a PowerPoint file, if you click the View tab, then click Slide Master you will be able to see the Slide Masters and their child Slide Layouts and edit the defaults.

    You can download the full spec here. The relevant sections are 13.3.9, 13.3.10 and 13.3.8

    Mike

    • Marked as answer by DavidThielen Saturday, August 8, 2020 4:39 PM
    Wednesday, August 5, 2020 1:22 AM
  • Hi Dave,

    For your second question, instead of a single theme file, which is the target of an implicit relationship with the Main Document like there is in a Word or Excel file with PPTX the presentation has an implicit relationship to zero or one theme files per Handout Master, Slide Master, and Presentation.

    In PowerPoint, click view and you will have the option to view and edit the themes for Slide Masters, Handout Master, or Notes Master. Clicking Edit Theme will give you the option to use an existing theme or use a custom one.

    The relevant sections in the ISO standard is 14.2.7

    Mike

    Wednesday, August 5, 2020 10:15 PM
  • Hi Dave,

    Regarding your third question, a notesSlide.xml file indicates that there is a note for a slide.xml file. Slides can have 0 or 1 Notes Slides associated with them. If the slide.xml file has a note, then the slide.xml will have an implicit relationship to a notesSlide.xml file.

    The notes for a slide are information for the presenter. When displaying in Slide Show mode the notes are hidden in the slides, but the presenter can still view them in PowerPoint. To add a note for a slide click Notes on the bottom bar of the PowerPoint window. A box will appear below the slide where the user can enter notes.

    The relevant sections in ISO 295000 are 13.3.8 and 19.3.1.26.

    Mike

    • Marked as answer by DavidThielen Saturday, August 8, 2020 4:41 PM
    Thursday, August 6, 2020 5:05 PM
  • Hi Dave,

    In your fourth question, when you mention “customXml files” are your referring to the customXml namespace from section 15.2.5 from the ISO 29500 or the custom.xml file that represents a Custom File Properties Part described in section 15.2.12.1?

    Also, if you can, please post the xml from one of the files.

    Thanks!

    Mike

    Thursday, August 6, 2020 11:43 PM
  • Hi;

    Does each slide, slideLayout, & slideMaster reference just one theme? And if a slide references a different theme from layout/master, is that theme applied in layout/master when pulling settings for that slide?

    thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Saturday, August 8, 2020 4:41 PM
  • Hi;

    The files in the customXml path in the pptx:


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Saturday, August 8, 2020 4:43 PM
  • Hi Dave,

    Thanks for posting this. In general, customXml Parts are used to store arbitrary xml data in an office xml file. They are not unique to a pptx file. What are you doing that creates the customXml/item1.xml files?

    Mike

    • Marked as answer by DavidThielen Wednesday, August 12, 2020 12:30 AM
    Tuesday, August 11, 2020 10:51 PM
  • Thanks for the answer. We got this from one of our customers so no idea what/how it ended up in there. I'm guessing this means we can ignore what's in them.

    And hopefully, if they're removed from the PPTX, it's still a valid file???

    thanks - dave


    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Wednesday, August 12, 2020 12:32 AM
  • Hi Dave, Since the customXml was added by your customer, I don't know if it might be needed or referenced by something else, but as far as a valid file, customXml parts are optional, so removing them and their references should not invalidate the file.

    Mike

    Wednesday, August 12, 2020 4:40 PM
  • Hi Dave, I did some more research on the customXml and I can add some more context for you. The customXml files were most likely added when the PPTX was uploaded to SharePoint. If you delete them there might be issues depending on how they are deleted. If you remove them via the app so all relationships are updated that’s fine (but SharePoint will probably add them again if the file is uploaded)

    If they are just manually deleted from the archive it will probably corrupt the document as the rels will point to nothing.

    Mike
    • Marked as answer by DavidThielen Wednesday, August 12, 2020 9:03 PM
    Wednesday, August 12, 2020 7:56 PM
  • thank you - that makes sense

    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Wednesday, August 12, 2020 9:03 PM