Compartir a través de


HeaderShapeDefaults Class

Default Properties for VML Objects in Header and Footer.When the object is serialized out as xml, its qualified name is w:hdrShapeDefaults.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.ShapeDefaultsType
        DocumentFormat.OpenXml.Wordprocessing.HeaderShapeDefaults

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

Syntax

'Declaración
Public Class HeaderShapeDefaults _
    Inherits ShapeDefaultsType
'Uso
Dim instance As HeaderShapeDefaults
public class HeaderShapeDefaults : ShapeDefaultsType

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Vml.Office.ShapeDefaults <o:shapedefaults>

  • DocumentFormat.OpenXml.Vml.Office.ShapeLayout <o:shapelayout>

[ISO/IEC 29500-1 1ª edición]

9.7.2.1 hdrShapeDefaults (Default Properties for VML Objects in Header and Footer)

This element specifies the default parameters for object using the VML syntax (§14.1) inserted in the header and footer of a WordprocessingML document. The definition and semantics of these parameters is described in the VML - Office Drawing subclause (§14.2) of ISO/IEC 29500.

If this element is omitted, then no default properties are applied to VML objects in the header and footer of this document.

[Example: Consider a WordprocessingML document whose document settings contain the following markup:

<w:hdrShapeDefaults>
<o:shapedefaults v:ext="edit" spidmax="2050" fillcolor="none [3207]" strokecolor="none [3041]">
<v:fill color="none [3207]" />
<v:stroke color="none [3041]" weight="3pt" />
<v:shadow on="t" type="perspective" color="none [1607]" opacity=".5" offset="1pt" offset2="1pt" />
</o:shapedefaults>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="2" />
</o:shapelayout>
</w:hdrShapeDefaults>

The hdrShapeDefaults element specifies a set of shape defaults which must be applied to the set of all shapes present in the header and footer of this document. end example]

Parent Elements

settings (Part 1, §17.15.1.78)

Child Elements

Subclause

Any element in the urn:schemas-microsoft-com:office:office namespace

§14.2

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

© ISO/IEC29500: 2008. Los extractos anteriores han sido traducidos del inglés al español por Microsoft (o algunos de sus agentes) e ISO no asume ningún tipo de responsabilidad por dichas traducciones.

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

HeaderShapeDefaults Members

DocumentFormat.OpenXml.Wordprocessing Namespace