17.5.2.13 docPartObj

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

This 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 kind, which shall be used by an application to present the possible list of choices for insertion into the nearest ancestor structured document tag.

This element differs from the docPartList element (17.5.2.12) in that it can 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 can 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 must specify the gallery and category semantics for this part, if any. end example]

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

Last updated on