12.3.8 Drawings Part
Content Type:
application/vnd.openxmlformats-officedocument.drawing+xml
Root Namespace:
http://purl.oclc.org/ooxml/drawingml/spreadsheetDrawing
Source Relationship:
http://purl.oclc.org/ooxml/officeDocument/relationships/drawing
An instance of this part type contains the presentation and layout information for one or more drawing elements that are present on this worksheet.
A package is permitted to contain one or more Drawings parts, and each such part shall be the target of an explicit relationship from a Worksheet part (12.3.24), or a Chartsheet part (12.3.2). There shall be only one Drawings part per worksheet or chartsheet.
[Example: The following Chartsheet part-relationship item contains a relationship to a Drawings part, which is stored in the ZIP item ../drawings/drawing1.xml:
<Relationships xmlns="…">
<Relationship Id="rId1"
Type="http:// …/drawing" Target="../drawings/drawing1.xml"/>
</Relationships>
end example]
The root element for a part of this content type shall be wsDr.
[Example: drawing1.xml refers to a chart that is the target of a relationship in the Drawing part’s relationship item:
<xdr:wsDr xmlns:xdr="…" xmlns:a="…">
<xdr:absoluteAnchor>
<xdr:pos x="1518046" y="-1443632"/>
<xdr:extents cx="8587382" cy="5848945"/>
<xdr:graphicFrame macro="">
<xdr:nvGraphicFramePr>
<xdr:cNvPr id="24" name="Chart 24" descr=""/>
<xdr:cNvGraphicFramePr/>
</xdr:nvGraphicFramePr>
<xdr:xfrm>
<a:off x="0" y="0"/>
<a:ext cx="0" cy="0"/>
</xdr:xfrm>
<a:graphic>
<a:graphicData uri="http://…/chart">
<a:chart relId="rId1"/>
</a:graphicData>
</a:graphic>
</xdr:graphicFrame>
<xdr:clientData/>
</xdr:absoluteAnchor>
</xdr:wsDr>
end example]
A Drawings part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Drawings part is permitted to have explicit relationships to the following parts defined by ISO/IEC 29500:
-
Chart (14.2.1)
-
Content Part (15.2.4)
-
Diagrams: Diagram Colors(14.2.3), Diagram Data(14.2.4), Diagram Layout Definition(14.2.5) and
-
Diagram Styles (14.2.6)
-
Hyperlinks (15.3)
-
Images (15.2.14)
A Drawings part shall not have any implicit or explicit relationships to any other part defined by ISO/IEC 29500.