ShapeDefaults Class
Default Properties for VML Objects in Main Document.When the object is serialized out as xml, its qualified name is w:shapeDefaults.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.ShapeDefaultsType
DocumentFormat.OpenXml.Wordprocessing.ShapeDefaults
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaración
Public Class ShapeDefaults _
Inherits ShapeDefaultsType
'Uso
Dim instance As ShapeDefaults
public class ShapeDefaults : 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.2 shapeDefaults (Default Properties for VML Objects in Main Document)
This element specifies the default parameters for object using the VML syntax (§14.1) inserted in the body (the main document story, comments, footnotes, and endnotes) of the 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 body of this document.
[Example: Consider a WordprocessingML document whose document settings contain the following markup:
<w:shapeDefaults>
<o:shapedefaults v:ext="edit" spidmax="1026" />
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout>
</w:shapeDefaults>
The shapeDefaults element specifies a set of shape defaults which must be applied to the set of all shapes present in the body 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.