Diagram Colors Part

Content Type:


Root Namespace:


Source Relationship:


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.

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

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

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

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.