Represents the root element for the document.

Usage


<wordDocument
	macrosPresent="yesNoType"
	embeddedObjPresent="yesNoType"
	ocxPresent="yesNoType"
	xml:space="[external type]"
/>

Element Information

Element type wordDocumentElt
Namespace http://schemas.microsoft.com/office/word/2003/wordml
Schema name wordnet

Elements and Attributes

Child Elements

Element Type Description
ignoreSubtree stringProperty Specifies whether to ignore an element and its contents. If a namespace is specified for the ignoreSubtree element's val attribute (val=uri), when Word encounters an element in this namespace, Word will ignore the element and all of its contents.
ignoreElements stringProperty Specifies whether to ignore an element, but process its contents. If a namespace is specified for the ignoreElements element's val attribute (val=uri), when Word encounters an element in this namespace, Word ignores only the element (all of the element's contents will be processed).
fonts fontsListElt Represents the font definitions.
frameset framesetElt Specifies the HTML framesets in this document.
lists listsElt Represents the list definitions (for example, the Bullets and Numbering options).
styles stylesElt Represents the style definitions.
divs divsElt Represents the HTML DIV elements in the document.
docOleData binDataProperty Represents oledata.mso store, base64 encoded. Contains storages for OLE objects.
docSuppData binDataProperty Represents editdata.mso store, base64 encoded. Contains toolbar customizations, envelope data, and the Visual Basic project.
shapeDefaults shapeDefaultsElt Represents the wrapper for the shape defaults.
bgPict pictureType Represents background picture information.
docPr docPrElt Represents the document properties.
body bodyElt Contains the body of the document.
rtTagType external ref See external namespace.
umentProperties external ref See external namespace.
tomDocumentProperties external ref See external namespace.
hemaLibrary external ref See external namespace.

Attributes

Attribute Type Required Description Possible Values
macrosPresent yesNoType optional Indicates that macros are present in the document. If the macrosPresent attribute is missing or if its set to no, Word wont load a document that has a docSuppData element. This attribute is strictly enforced.
  • yes
  • no
embeddedObjPresent yesNoType optional Indicates that an OCX control may have been used in the document. If the embeddedObjPresent attribute is missing or if its set to no, Word wont load a document that has a docOleData element. This attribute is not, however, strictly enforced. If the attribute is present and is set to yes, but Word doesnt find a docOleData element before the body element, Word will still load the document.
  • yes
  • no
ocxPresent yesNoType optional Indicates that an OCX control may have been used in the document. If this file contains any OCX tags and this attribute is not present and set to yes, the file is corrupt.
  • yes
  • no
xml:space external ref optional See external namespace. n/a

Definition

XML

<xsd:element name="wordDocument" type="wordDocumentElt" ">
    
  </xsd:element>

©2006 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at:
http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice12.asp