[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

style (Shape Style)

This element specifies the style information for a shape. This is used to define a shape's appearance in terms of the preset styles defined by the style matrix for the theme.

[Example:

<p:style>

<a:lnRef idx="3">

<a:schemeClr val="lt1"/>

</a:lnRef>

<a:fillRef idx="1">

<a:schemeClr val="accent3"/>

</a:fillRef>

<a:effectRef idx="1">

<a:schemeClr val="accent3"/>

</a:effectRef>

<a:fontRef idx="minor">

<a:schemeClr val="lt1"/>

</a:fontRef>

</p:style>

The parent shape of the above code is to have an outline that uses the third line style defined by the theme, use the first fill defined by the scheme, and be rendered with the first effect defined by the theme. Text inside the shape is to use the minor font defined by the theme.

end example]

Parent Elements

cxnSp4.4.1.17); pic4.4.1.34); sp4.4.1.40)

 

Child Elements

Subclause

effectRef (Effect Reference)

§5.1.4.2.8

fillRef (Fill Reference)

§5.1.4.2.10

fontRef (Font Reference)

§5.1.4.1.17

lnRef (Line Reference)

§5.1.4.2.19

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

<complexType name="CT_ShapeStyle">

   <sequence>

   <element name="lnRef" type="CT_StyleMatrixReference" minOccurs="1" maxOccurs="1"/>

   <element name="fillRef" type="CT_StyleMatrixReference" minOccurs="1" maxOccurs="1"/>

   <element name="effectRef" type="CT_StyleMatrixReference" minOccurs="1" maxOccurs="1"/>

   <element name="fontRef" type="CT_FontReference" minOccurs="1" maxOccurs="1"/>

   </sequence>

</complexType>