Freigeben über


SlideMaster-Klasse

Slide Master. It is the root element of SlideMasterPart.When the object is serialized out as xml, its qualified name is p:sldMaster.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.OpenXmlPartRootElement
        DocumentFormat.OpenXml.Presentation.SlideMaster

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionListWithModification))> _
<ChildElementInfoAttribute(GetType(CommonSlideData))> _
<ChildElementInfoAttribute(GetType(ColorMap))> _
<ChildElementInfoAttribute(GetType(SlideLayoutIdList))> _
<ChildElementInfoAttribute(GetType(Transition))> _
<ChildElementInfoAttribute(GetType(Timing))> _
<ChildElementInfoAttribute(GetType(HeaderFooter))> _
<ChildElementInfoAttribute(GetType(TextStyles))> _
Public Class SlideMaster _
    Inherits OpenXmlPartRootElement
'Usage
Dim instance As SlideMaster
[ChildElementInfoAttribute(typeof(ExtensionListWithModification))]
[ChildElementInfoAttribute(typeof(CommonSlideData))]
[ChildElementInfoAttribute(typeof(ColorMap))]
[ChildElementInfoAttribute(typeof(SlideLayoutIdList))]
[ChildElementInfoAttribute(typeof(Transition))]
[ChildElementInfoAttribute(typeof(Timing))]
[ChildElementInfoAttribute(typeof(HeaderFooter))]
[ChildElementInfoAttribute(typeof(TextStyles))]
public class SlideMaster : OpenXmlPartRootElement

Hinweise

The following table lists the possible child types:

  • CommonSlideData <p:cSld>

  • ColorMap <p:clrMap>

  • SlideLayoutIdList <p:sldLayoutIdLst>

  • Transition <p:transition>

  • Timing <p:timing>

  • HeaderFooter <p:hf>

  • TextStyles <p:txStyles>

  • ExtensionListWithModification <p:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

19.3.1.42 sldMaster (Slide Master)

This element specifies an instance of a slide master slide. Within a slide master slide are contained all elements that describe the objects and their corresponding formatting for within a presentation slide. Within a slide master slide are two main elements. The cSld element specifies the common slide elements such as shapes and their attached text bodies. Then the txStyles element specifies the formatting for the text within each of these shapes. The other properties within a slide master slide specify other properties for within a presentation slide such as color information, headers and footers, as well as timing and transition information for all corresponding presentation slides.

Parent Elements

Root element of PresentationML Slide Master part

Child Elements

Subclause

clrMap (Color Scheme Map)

§19.3.1.6

cSld (Common Slide Data)

§19.3.1.16

extLst (Extension List with Modification Flag)

§19.3.1.20

hf (Header/Footer information for a slide master)

§19.3.1.25

sldLayoutIdLst (List of Slide Layouts)

§19.3.1.41

timing (Slide Timing Information for a Slide Layout)

§19.3.1.48

transition (Slide Transition for a Slide Layout)

§19.3.1.50

txStyles (Slide Master Text Styles)

§19.3.1.52

Attributes

Description

preserve (Preserve Slide Master)

Specifies whether the corresponding slide layout is deleted when all the slides that follow that layout are deleted. If this attribute is not specified then a value of false should be assumed by the generating application. This would mean that the slide would in fact be deleted if no slides within the presentation were related to it.

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

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

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

SlideMaster-Member

DocumentFormat.OpenXml.Presentation-Namespace