[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

docPartObj (Built-In Document Part Structured Document Tag)

This element specifies that the parent structured document tag shall be of a document part type.

This type setting does not require or imply that the contents of the structured document tag shall contain only the exact contents of a document part of the specified gallery and category which is present on the current machine, it shall only be used to specify that the structured document tag is of this type, which shall be used by an application to present the possible list of choices for insertion into the parent structured document tag.

This element differs from the docPartList element (§ in that it may be used to semantically tag a set of block-level objects in a WordprocessingML document without requiring the ability to specify a category and gallery of objects which may be swapped with it via the user interface.

[Example: Consider the following structured document tag:





The docPartObj element in this structured document tag's properties specify that the type of structured document tag is a document part. The child elements shall specify the gallery and category semantics for this part, if any. end example]

Parent Elements



Child Elements


docPartCategory (Document Part Category Filter)


docPartGallery (Document Part Gallery Filter)


docPartUnique (Built-In Document Part)


The following XML Schema fragment defines the contents of this element:

<complexType name="CT_SdtDocPart">


   <element name="docPartGallery" type="CT_String" minOccurs="0"/>

   <element name="docPartCategory" type="CT_String" minOccurs="0"/>

   <element name="docPartUnique" type="CT_OnOff" minOccurs="0"/>