19.3.1.3 bgRef
This element specifies the slide background is to use a fill style defined in the style matrix. The idx attribute refers to the index of a background fill style or 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:
<p:bgRef idx="2">
<a:schemeClr val="bg2"/>
</p:bgRef>
The above code indicates a slide background with the style’s second fill style using the second background color of the color scheme.
end example]
[Example:
<p:bgRef idx="1001">
<a:schemeClr val="bg2"/>
</p:bgRef>
The above code indicates a slide background with the style’s first background fill style using the second background color of the color scheme.
end example]
Attributes
Namespace: http://purl.oclc.or g/ooxml/drawing ml/main
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]