[Table of Contents] [docx version]

PresentationML Reference Material - Table of Contents

sndTgt (Sound Target)

This element describes the sound information for a target object.

[Example: Consider a shape with a sound effect animation. The <sndTgt> element should be used as follows:

<p:subTnLst>

<p:audio>

<p:cMediaNode>

<p:cTn display="0" masterRel="sameClick">...

<p:tgtEl>

<p:sndTgt r:embed="rId2" r:link="rId3"/>

</p:tgtEl>

</p:cMediaNode>

</p:audio>

</p:subTnLst>

End Example]

Parent Elements

tgtEl4.6.81)

 

Attributes

Description

builtIn (Recognized Built-In Sound)

 

Namespace: .../drawingml/2006/main

Specifies whether or not this sound is a built-in sound. If this attribute is set to true then the generating application is alerted to check the name attribute specified for this sound in it's list of built-in sounds and can then surface a custom name or UI as needed.

 

The possible values for this attribute are defined by the XML Schema boolean datatype.

embed (Embedded Audio File Relationship ID)

 

Namespace: .../officeDocument/2006/relationships

Specifies the identification information for an embedded audio file. This attribute is used to specify the location of an object that resides locally within the file.

 

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

name (Sound Name)

 

Namespace: .../drawingml/2006/main

Specifies the original name or given short name for the corresponding sound. This is used to distinguish this sound from others by providing a human readable name for the attached sound should the user need to identify the sound among others within the UI.

 

The possible values for this attribute are defined by the XML Schema string datatype.

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

<complexType name="CT_EmbeddedWAVAudioFile">

   <attribute ref="r:embed" use="required"/>

   <attribute name="name" type="xsd:string" use="optional" default=""/>

   <attribute name="builtIn" type="xsd:boolean" use="optional" default="false"/>

</complexType>