Diagram Layout Definition Part
Content Type: |
application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml |
Root Namespace: |
http://schemas.openxmlformats.org/drawingml/2006/diagram |
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramLayout |
An instance of this part type is a template that describes how diagram-related data is mapped to a shape.
A package shall contain exactly one Diagram Layout Definition part per diagram. Each Layout Definition part shall be the target of an explicit relationship from a WordprocessingML Main Document (§11.3.10); a SpreadsheetML Drawings part (§12.3.8); or a PresentationML Handout Master (§13.3.3), Notes Master (§13.3.4), Notes Slide (§13.3.5), Slide (§13.3.8), Slide Layout (§13.3.9), or Slide Master (§13.3.10) part. If a document contains multiple diagrams having the same graphic layout definition, each of those diagrams shall have its own copy of that Diagram Layout Definition part.
<Relationships xmlns="…"> <Relationship Id="rId2" Type="http://…/diagramLayout" Target="../graphics/layout1.xml"/> <Relationship Id="rId6" Type="http://…/diagramLayout" Target="../graphics/layout2.xml"/> </Relationships>
The root element for a part of this content type shall be< layoutDef>
.
<lo:layoutDef xmlns:lo="…" uniqueId="…2" minVer="12.0" defStyle=""> <lo:title lang="" val="Hierarchy 2"/> <lo:desc lang="" val=""/> <lo:catLst> <lo:cat type="hierarchy" pri="2000"/> </lo:catLst> <lo:sampData> … </lo:sampData> <lo:styleData> … </lo:styleData> <lo:clrData> … </lo:clrData> <lo:layoutNode name="Name0" styleLbl="" moveWith=""> … </lo:layoutNode> </lo:layoutDef>
A Diagram Layout Definition part shall be located within the package containing the source relationship (expressed syntactically, the @TargetMode
attribute of the <Relationship>
element shall be Internal
).
A Diagram Layout Definition part is permitted to have explicit relationships to the following parts and items defined by this Standard:
Image (§15.2.13)
A Diagram Layout Definition part shall not have any implicit or explicit relationships to other parts defined by this Standard.