[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 (§2.5.2.12) 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:
<w:sdt>
<w:sdtPr>
…
<w:docPartObj>
…
</w:docPartObj>
</w:sdtPr>
…
</w:sdt>
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 |
sdtPr (§2.5.2.37) |
Child Elements |
Subclause |
docPartCategory (Document Part Category Filter) |
§2.5.2.10 |
docPartGallery (Document Part Gallery Filter) |
§2.5.2.11 |
docPartUnique (Built-In Document Part) |
§2.5.2.14 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SdtDocPart">
<sequence>
<element name="docPartGallery" type="CT_String" minOccurs="0"/>
<element name="docPartCategory" type="CT_String" minOccurs="0"/>
<element name="docPartUnique" type="CT_OnOff" minOccurs="0"/>
</sequence>
</complexType>