SlideLayout-Klasse

Slide Layout. It is the root element of SlideLayoutPart.When the object is serialized out as xml, its qualified name is p:sldLayout.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

The following table lists the possible child types:

  • CommonSlideData <p:cSld>

  • ColorMapOverride <p:clrMapOvr>

  • Transition <p:transition>

  • Timing <p:timing>

  • HeaderFooter <p:hf>

  • ExtensionListWithModification <p:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

19.3.1.39 sldLayout (Slide Layout)

This element specifies an instance of a slide layout. The slide layout contains in essence a template slide design that can be applied to any existing slide. When applied to an existing slide all corresponding content should be mapped to the new slide layout.

Parent Elements

Root element of PresentationML Slide Layout part

Child Elements

Subclause

clrMapOvr (Color Scheme Map Override)

§19.3.1.7

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

timing (Slide Timing Information for a Slide Layout)

§19.3.1.48

transition (Slide Transition for a Slide Layout)

§19.3.1.50

Attributes

Description

matchingName (Matching Name)

Specifies a name to be used in place of the name attribute within the cSld element. This is used for layout matching in response to layout changes and template applications.

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

preserve (Preserve Slide Layout)

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.

showMasterPhAnim (Show Master Placeholder Animations)

Specifies whether or not to display animations on placeholders from the master slide.

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

showMasterSp (Show Master Shapes)

Specifies if shapes on the master slide should be shown on slides or not.

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

type (Slide Layout Type)

Specifies the slide layout type that is used by this slide.

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

userDrawn (Is User Drawn)

Specifies if the corresponding object has been drawn by the user and should thus not be deleted. This allows for the flagging of slides that contain user drawn data.

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_SlideLayout) 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

SlideLayout-Member

DocumentFormat.OpenXml.Presentation-Namespace