21.4.4.3 colorsDef

This element is the root element for color transforms. Held within this element are all of the available color transforms themselves along with other elements and attributes associated with defining the general color transform properties and attributes.

[Example:

Consider the following example of a colorsDef in DiagramML:

<dgm:colorsDef
xmlns:dgm="http://schemas.openxmlformats.org/drawingml/2006/diagram"
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
uniqueId="urn:microsoft.com/office/officeart/2005/8/colors/accent0_3"
minVer="12.0">
  <dgm:title lang="" val=""/>
  <dgm:desc lang="" val=""/>
  <dgm:catLst>
    <dgm:cat type="mainScheme" pri="10300"/>
  </dgm:catLst>
  <dgm:styleLbl name="node0">
  </dgm:styleLbl>
</dgm:colorsDef>

In this example we see a sampling of a colorsDef being defined with a number of styleLbl elements held within the colorsDef. end example]

Attributes

minVer (Minimum Version)

The minimum product version that can support this color transform.

[Example:

Consider the following example:

    <colorsDef uniqueId="urn:colors/accent0_3" minVer="12.0">
    </colorsDef>

In this example we see the minVer set to 12.0. end example]

The possible values for this attribute are defined by the W3C XML Schema string datatype.

uniqueId (Unique ID)

A unique id associated with the color transform definition.

[Example:

Consider the following example:

    <colorsDef uniqueId="urn:colors/accent0_3" minVer="12.0">
    </colorsDef>

In this example we see the uniqueId set to urn:colors/accent0_3. end example]

The possible values for this attribute are defined by the W3C XML Schema string datatype.

[Note: The W3C XML Schema definition of this element’s content model (CT_ColorTransform) is located in A.5.3. end note]

Last updated on