TemporarySdt class
Defines the TemporarySdt Class. When the object is serialized out as xml, its qualified name is w:temporary.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.TemporarySdt
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
temporary (Remove Structured Document Tag When Contents Are Edited)
This element specifies whether the parent structured document tag shall be removed from the WordprocessingML document when the its contents are modified.
[Note: This setting is primarily intended for creating structured document tags whose sole purpose is one-time placeholder text, and which should not return once replaced with content. end note]
If this element is omitted, then the parent structured document tag shall not be automatically removed when its contents are modified.
[Example: Consider the following plain text structured document tag:
<w:sdt>
<w:sdtPr>
<w:temporary/>
<w:text/>
</w:sdtPr>
…</w:sdt>This plain text structured document tag's properties contain a temporary element, specifying that the structured document tag itself must be deleted from the document whenever its contents are first modified. end example]
Parent Elements |
|---|
sdtPr (§17.5.2.38) |
This element’s content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008.