<patternFill> (Pattern)

This element is used to specify cell fill information for pattern and solid color cell fills. For solid cell fills (no pattern), <fgColor> is used. For cell fills with patterns specified, then the cell fill color is specified by the <bgColor> element.

Parent Elements

<fill>3.8.19)

Child Elements

Subclause

<bgColor> (Background Color)

§3.8.3

<fgColor> (Foreground Color)

§3.8.18

Attributes

Description

<patternType> (Pattern Type)

Specifies the fill pattern type (including solid and none) Default is none, when missing.

The possible values for this attribute are defined by the ST_PatternType simple type (§3.18.57).

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

<complexType name="CT_PatternFill">
	<sequence>
	<element name="fgColor" type="CT_Color" minOccurs="0" maxOccurs="1"/>
	<element name="bgColor" type="CT_Color" minOccurs="0" maxOccurs="1"/>
	</sequence>
	<attribute name="patternType" type="ST_PatternType" use="optional"/>
</complexType>