Package Structure
A PresentationML package shall contain a package-relationship item and a content-type item. The package-relationship item shall contain implicit relationships with targets of the following type:
One Presentation part (§13.3.6).
The package-relationship item is permitted to contain implicit relationships with targets of the following type:
Digital Signature Origin (§15.2.6)
File Property parts (§15.2.11) (Application-Defined File Properties, Core File Properties, and Custom File Properties), as appropriate.
Thumbnail (§15.2.14).
The required and optional relationships between parts are defined in §13.3 and its subordinate clauses.
First, the content type for relationship parts and the Main Presentation part (the only required part) must be defined (physically located at /[Content_Types].xml in the package):
<Types xmlns="…"> <Default Extension="rels" ContentType="application/vnd.openxmlformats- package.relationships+xml"/> <Override PartName="/presentation.xml" ContentType="application/vnd.openxmlformats- officedocument.presentationml.presentation.main+xml"/> </Types>
Next, the single required relationship (the package-level relationship to the Main Presentation part) must be defined (physically located at /_rels/.rels in the package):
<Relationships xmlns="…"> <Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/ relationships/officeDocument" Target="presentation.xml"/> </Relationships>
Finally, the minimum content for the Main Presentation part must be defined (physically located at /presentation.xml in the package):
<p:presentation xmlns:p="…"> <p:notesSz cx="913607" cy="913607"/> </p:presentation>
/_rels/.rels Package-relationship item /[Content_Types].xml Content-type item /docProps/app.xml Application-Defined File Properties part /docProps/core.xml Core File Properties part /docProps/custom.xml Custom File Properties part /docProps/thumbnail.wmf Package thumbnail image /ppt/presentation.xml Presentation part /ppt/_rels/presentation.xml.rels Part-relationship item /ppt/presProps.xml Presentation Properties part /ppt/tableStyles.xml Table Styles part /ppt/viewProps.xml View Properties part /ppt/handoutMasters/handoutMaster1.xml Handout Master part /ppt/handoutMasters/_rels/handoutMaster1.xml.rels Part-relationship item /ppt/media/image1.jpeg Slide template image /ppt/notesMasters/notesMaster1.xml Notes Master part /ppt/notesMasters/_rels/notesMaster1.xml.rels Part-relationship item /ppt/notesSlides/notesSlide1.xml Notes Slide parts /ppt/notesSlides/notesSlide2.xml /ppt/notesSlides/_rels/notesSlide1.xml.rels Part-relationship items /ppt/notesSlides/_rels/notesSlide2.xml.rels /ppt/slideLayouts/slideLayout1.xml Slide Layout parts 1–6 /ppt/slideLayouts/slideLayout2.xml /ppt/slideLayouts/slideLayout3.xml /ppt/slideLayouts/slideLayout4.xml /ppt/slideLayouts/slideLayout5.xml /ppt/slideLayouts/slideLayout6.xml /ppt/slideLayouts/_rels/slideLayout1.xml.rels Part-relationship items /ppt/slideLayouts/_rels/slideLayout2.xml.rels /ppt/slideLayouts/_rels/slideLayout3.xml.rels /ppt/slideLayouts/_rels/slideLayout4.xml.rels /ppt/slideLayouts/_rels/slideLayout5.xml.rels /ppt/slideLayouts/_rels/slideLayout6.xml.rels /ppt/slideMasters/slideMaster1.xml Slide Master part /ppt/slideMasters/_rels/slideMaster1.xml.rels Part-relationship item /ppt/slides/slide1.xml Slide parts /ppt/slides/slide2.xml /ppt/slides/_rels/slide1.xml.rels Part-relationship items /ppt/slides/_rels/slide2.xml.rels /ppt/theme/theme1.xml Theme parts /ppt/theme/theme2.xml /ppt/theme/theme3.xml /ppt/theme/themeOverride1.xml Theme Override parts /ppt/theme/themeOverride2.xml /ppt/theme/themeOverride3.xml /ppt/theme/themeOverride4.xml /ppt/theme/themeOverride5.xml /ppt/theme/themeOverride6.xml /ppt/theme/themeOverride7.xml /ppt/theme/themeOverride8.xml /ppt/theme/themeOverride9.xml /ppt/theme/themeOverride10.xml
The package-relationship item contains the following:
<Relationships xmlns="…"> <Relationship Id="rId1" Type="http://…/officeDocument" Target="ppt/presentation.xml"/> <Relationship Id="rId3" Type="http://…/core-properties" Target="docProps/core.xml"/> <Relationship Id="rId2" Type="http://…/thumbnail" Target="docProps/thumbnail.wmf"/> <Relationship Id="rId4" Type="http://…/extended-properties" Target="docProps/app.xml"/> </Relationships>