Freigeben über


ShowingPlaceholder-Klasse

Current Contents Are Placeholder Text.When the object is serialized out as xml, its qualified name is w:showingPlcHdr.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Wordprocessing.OnOffType
        DocumentFormat.OpenXml.Wordprocessing.ShowingPlaceholder

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ShowingPlaceholder _
    Inherits OnOffType
'Usage
Dim instance As ShowingPlaceholder
public class ShowingPlaceholder : OnOffType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

17.5.2.39 showingPlcHdr (Current Contents Are Placeholder Text)

This element specifies whether the content of the sdtContent element (§17.5.2.34; §17.5.2.33; §17.5.2.35; §17.5.2.36) for the parent structured document tag shall be interpreted to contain placeholder text for this structured document tag (as opposed to regular text contents within the structured document tag). If this element is present and set to true, this state shall be resumed (showing placeholder text) upon opening this document.

If this element is omitted, then the structured document tag shall not be interpreted to be showing placeholder text when the document is displayed.

[Example: Consider the following structured document tag:

<w:sdt>
<w:sdtPr>
<w:showingPlcHdr/>
…
<w:richText/>
</w:sdtPr>
<w:sdtContent>
<w:r>
<w:t>[Type your name here]</w:t>
</w:r>
</w:sdtContent>
</w:sdt>

This structured document tag has run contents which read [Type your name here], which would typically be interpreted as the current contents of the structured document tag. However, since the showingPlcHdr element has been specified in the structured document tag's properties, this content must instead be interpreted as the placeholder text for the structured document tag. 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. 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.

Siehe auch

Referenz

ShowingPlaceholder-Member

DocumentFormat.OpenXml.Wordprocessing-Namespace