[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
behaviors (Entry Insertion Behaviors)
This element specifies the set of behaviors which shall be applied to the contents of the parent glossary document entry (§2.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:behavior>
…
</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 shall be applied to this entry when it is inserted into the document, in this case:
• The entry shall be inserted into its own paragraph in the document
• The entry shall be inserted onto a new page in the document (i.e. it shall be preceded by a page break)
end example]
Parent Elements |
docPartPr (§2.12.7) |
Child Elements |
Subclause |
behavior (Entry Insertion Behavior) |
§2.12.1 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_DocPartBehaviors">
<choice>
<element name="behavior" type="CT_DocPartBehavior" maxOccurs="unbounded"/>
</choice>
</complexType>