15.2.11 Embedded Package Part
Content Type:
Any content type is allowed
Root Namespace:
not applicable
Source Relationship:
http://purl.oclc.org/ooxml/officeDocument/relationships/package
An instance of this part type contains a complete package. For example, a WordprocessingML document might contain a SpreadsheetML or PresentationML document, in which case, the WordprocessingML document package would contain an embedded package part that defined that SpreadsheetML or PresentationML document.
A package is permitted to contain zero or more Embedded Package parts, and each such part shall be the target of an explicit relationship from a Chart (14.2.1), Comments (11.3.2), Endnotes (11.3.4), Footer (11.3.6), Footnotes (11.3.7), Header (11.3.9), or Main Document (11.3.10) part in a WordprocessingML package; a Chart (14.2.1), or Worksheet part (12.3.24) in a SpreadsheetML package; or a Chart (14.2.1), Handout Master (13.3.3), Notes Slide (13.3.5), Notes Master (13.3.4), Slide (13.3.8), Slide Layout (13.3.9), Slide Master (13.3.10) part in a PresentationML package.
[Example: The following Presentation part-relationship item contains relationships to two Embedded Package parts: one is a SpreadsheetML package, which is stored in the ZIP item embeddings/Worksheet1.xlsx, the other is a PresentationML package, which is stored in the ZIP item embeddings/Presentation2.pptx. The image files are used as document display placeholders if the consumer cannot handle the embedded package type:
<Relationships xmlns="…">
<Relationship Id="rId4"
Type="http://…/image" Target="media/image1.emf"/>
<Relationship Id="rId5"
Type="http:package" Target="embeddings/Worksheet1.xlsx"/>
<Relationship Id="rId6"
Type="http://…/image" Target="media/image2.emf"/>
<Relationship Id="rId7"
Type="http://…/package" Target="embeddings/Presentation2.pptx"/>
</Relationships>
end example]
An Embedded Package part can be located within or external to the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element can be Internal or External).
An Embedded Package part is permitted to have an explicit relationship to the following parts defined by ISO/IEC 29500:
- Hyperlink (15.3)
An Embedded Package part shall not have any implicit or explicit relationships to other parts defined by ISO/IEC 29500.