Diagram Colors Part

Content Type:

application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml

Root Namespace:

http://schemas.openxmlformats.org/drawingml/2006/diagram

Source Relationship:

http://schemas.openxmlformats.org/officeDocument/2006/relationships/diagramColors

An instance of this part type contains color information for a diagram.

A package shall contain exactly one Diagram Colors part per diagram. Each Diagram Colors part shall be the target of an explicit relationship in a WordprocessingML Main Document (§11.3.10), SpreadsheetML Drawings (§12.3.8), or PresentationML Slide (§13.3.8) part.

example:
<Relationships xmlns="…">
  <Relationship Id="rId4" 
     Type="http://…/diagramColors" Target="../graphics/colors1.xml"/>
  <Relationship Id="rId8" 
    Type="http://…/diagramColors" Target="../graphics/colors2.xml"/>
</Relationships>

The root element for a part of this content type shall be< colorsDef>.

example:
<cs:colorsDef xmlns:cs="…" uniqueId="…" minVer="12.0">
  <cs:title lang="" val="Primary Accent 2"/>
  <cs:desc lang="" val="Primary Accent 2"/>
  <cs:catLst>
    <cs:cat type="accent1" pri="11200"/>
  </cs:catLst>
  <cs:styleLbl …>
    
  </cs:styleLbl>
  
  <cs:styleLbl …>
    
  </cs:styleLbl>
</cs:colorsDef>

A Diagram Colors 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 Colors part shall not have implicit or explicit relationships to any other part defined by this Standard.