20.1.4.2.10 fillRef

This element defines a reference to a fill style within the style matrix. The idx attribute refers to the index of a fill style or background fill style within the presentation’s style matrix, defined by the fmtScheme element. A value of 0 or 1000 indicates no background, values 1-999 refer to the index of a fill style within the fillStyleLst element, and values 1001 and above refer to the index of a background fill style within the bgFillStyleLst element. The value 1001 corresponds to the first background fill style, 1002 to the second background fill style, and so on.

[Example:

<a:fillRef idx="2">
  <a:schemeClr val="accent2"/>
</a:fillRef>

The above code indicates the object is to have the style’s second fill style using the accent2 color of the color scheme.

end example]

[Example:

<a:fillRef idx="1001">
  <a:schemeClr val="accent2"/>
</a:fillRef>

The above code indicates the object is to have the style’s first background fill style using the accent2 color of the color scheme.

end example]

Attributes

idx (Style Matrix Index)

Specifies the style matrix index of the style referred to.

The possible values for this attribute are defined by the ST_StyleMatrixColumnIndex simple type (20.1.10.57).

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

Last updated on