17.12.2 behaviors

This element specifies the set of behaviors which shall be applied to the contents of the parent glossary document entry (17.12.5) when it is added to the main document story of a WordprocessingML document. Since multiple behaviors can be specified for a single part, the sum total of all behaviors shall be used to insert the parent entry into the contents of the WordprocessingML document.

[Example: Consider the WordprocessingML fragment for a glossary document entry containing a single run, defined as follows:

<w:docPart>
  <w:docPartPr>
    <w:behaviors>
      <w:behavior w:val="p" />
      <w:behavior w:val="pg" />
    </w:behaviors>
  </w:docPartPr>
  <w:docPartBody>
    <w:p>
      <w:r>
        <w:t>Sample entry.</w:t>
      </w:r>
    </w:p>
  </w:docPartBody>
</w:docPart>

The behaviors element contains the set of behaviors which must be applied to this entry when it is inserted into the document, in this case:

  • The entry must be inserted into its own paragraph in the document
  • The entry must be inserted onto a new page in the document (i.e. it must be preceded by a page break)

end example]

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

Last updated on