<fillRef> (Fill Reference)

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.

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.

Parent Elements

<style>5.6.2.30); <style>5.9.2.28); <style>4.4.1.43); <style>5.8.2.24); <style>5.1.2.1.37); <tblBg>5.1.4.2.25); <tcStyle>5.1.4.2.29)

Child Elements

Subclause

<hslClr> (Hue, Saturation, Luminance Color Model)

§5.1.2.2.13

<prstClr> (Preset Color)

§5.1.2.2.22

<schemeClr> (Scheme Color)

§5.1.2.2.29

<scrgbClr> (RGB Color Model - Percentage Variant)

§5.1.2.2.30

<srgbClr> (RGB Color Model - Hex Variant)

§5.1.2.2.32

<sysClr> (System Color)

§5.1.2.2.33

Attributes

Description

<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 (§5.1.12.57).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_StyleMatrixReference">
	<sequence>
	<group ref="EG_ColorChoice" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="idx" type="ST_StyleMatrixColumnIndex" use="required"/>
</complexType>