14.2.6 Diagram Style Part
Content Type:
application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml
Root Namespace:
http://purl.oclc.org/ooxml/drawingml/diagram
Source Relationship:
http://purl.oclc.org/ooxml/officeDocument/relationships/diagramQuickStyle
An instance of this part type maps diagram semantic information to a document’s theme.
A package shall contain exactly one Diagram Style part per diagram. Each Style 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.
[Example: The following SpreadsheetML Drawings part-relationship item contains a relationship to two Diagram Style parts, which are stored in the ZIP items ../graphics/quickStyleN.xml.
<Relationships xmlns="…">
<Relationship Id="rId3"
Type="http://…/diagramQuickStyle"
Target="../graphics/quickStyle1.xml"/>
<Relationship Id="rId7"
Type="http://…/diagramQuickStyle"
Target="../graphics/quickStyle2.xml"/>
</Relationships>
end example]
The root element for a part of this content type shall be styleDef.
[Example: quickStyle1.xml contains the following:
<qs:styleDef xmlns:qs="…" uniqueId="…" minVer="12.0">
<qs:title lang="" val="Style 2"/>
<qs:desc lang="" val="Style 2"/>
<qs:catLst>
<qs:cat type="simple" pri="10200"/>
</qs:catLst>
<qs:scene3d>
…
</qs:scene3d>
<qs:style>
…
</qs:style>
<qs:styleLbl name="…">
…
</qs:styleLbl>
…
<qs:styleLbl name="…">
…
</qs:styleLbl>
</qs:styleDef>
end example]
A Diagram Style part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).
A Diagram Style part shall not have implicit or explicit relationships to other parts defined by ISO/IEC 29500.