ObjectDefaults Class

Office 2010

Object Defaults.When the object is serialized out as xml, its qualified name is a:objectDefaults.

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

[ChildElementInfoAttribute(typeof(ShapeDefault))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(LineDefault))]
[ChildElementInfoAttribute(typeof(TextDefault))]
public class ObjectDefaults : OpenXmlCompositeElement

The following table lists the possible child types:

  • ShapeDefault <a:spDef>

  • LineDefault <a:lnDef>

  • TextDefault <a:txDef>

  • ExtensionList <a:extLst>


[ISO/IEC 29500-1 1st Edition]

20.1.6.7 objectDefaults (Object Defaults)

This element allows for the definition of default shape, line, and textbox formatting properties. An application can use this information to format a shape (or text) initially on insertion into a document.

Parent Elements

theme (§20.1.6.9)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

lnDef (Line Default)

§20.1.4.1.20

spDef (Shape Default)

§20.1.4.1.27

txDef (Text Default)

§20.1.4.1.28

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

© ISO/IEC29500: 2008.

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

Community Additions

ADD
Show:
© 2014 Microsoft