Behaviors-Klasse
Entry Insertion Behaviors.When the object is serialized out as xml, its qualified name is w:behaviors.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Wordprocessing.Behaviors
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Behavior))> _
Public Class Behaviors _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As Behaviors
[ChildElementInfoAttribute(typeof(Behavior))]
public class Behaviors : OpenXmlCompositeElement
Hinweise
The following table lists the possible child types:
- Behavior <w:behavior>
[ISO/IEC 29500-1 1. Ausgabe]
17.12.2 behaviors (Entry Insertion 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]
Parent Elements |
---|
docPartPr (§17.12.7) |
Child Elements |
Subclause |
---|---|
behavior (Entry Insertion Behavior) |
§17.12.1 |
[Note: The W3C XML Schema definition of this element's content model (CT_DocPartBehaviors) is located in §A.1. end note]
© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.