Partager via


SlideMasterId Class

Slide Master ID.When the object is serialized out as xml, its qualified name is p:sldMasterId.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Presentation.SlideMasterId

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class SlideMasterId _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As SlideMasterId
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class SlideMasterId : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition]

19.2.1.36 sldMasterId (Slide Master ID)

This element specifies a slide master that is available within the corresponding presentation. A slide master is a slide that is specifically designed to be a template for all related child layout slides.

[Example: Consider the following specification of a slide master within a presentation

<p:presentation xmlns:a="" xmlns:r="" xmlns:p="" embedTrueTypeFonts="1">
  …
  <p:sldMasterIdLst>
    <p:sldMasterId id="2147483648" r:id="rId1"/>
  </p:sldMasterIdLst>
  …
</p:presentation>

end example]

Parent Elements

sldMasterIdLst (§19.2.1.37)

Child Elements

Subclause

extLst (Extension List)

§19.2.1.12

Attributes

Description

id (Relationship Identifier)

Namespace: .../officeDocument/2006/relationships

Specifies the relationship identifier that is used in conjunction with a corresponding relationship file to resolve the location within a presentation of the sldMaster element defining this slide master.

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

id (Slide Master Identifier)

Specifies the slide master identifier that is to contain a value that is unique throughout the presentation.

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

[Note: The W3C XML Schema definition of this element’s content model (CT_SlideMasterIdListEntry) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SlideMasterId Members

DocumentFormat.OpenXml.Presentation Namespace