DoNotEmbedSmartTags Class
Remove Smart Tags When Saving.When the object is serialized out as xml, its qualified name is w:doNotEmbedSmartTags.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Wordprocessing.OnOffType
DocumentFormat.OpenXml.Wordprocessing.DoNotEmbedSmartTags
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Class DoNotEmbedSmartTags _
Inherits OnOffType
'使用
Dim instance As DoNotEmbedSmartTags
public class DoNotEmbedSmartTags : OnOffType
Remarks
[ISO/IEC 29500-1 初版]
17.15.1.36 doNotEmbedSmartTags (Remove Smart Tags When Saving)
This element specifies if any smart tags specified using the smartTag element shall be removed from the contents of this document before it is resaved. This setting shall also prevent the addition of new smart tags to the content of the document.
If this element is omitted, then smart tags shall not be removed from the file when it is saved.
[Example: Consider a WordprocessingML document which should never be saved with smartTag elements in its contents. This requirement is specified using the following WordprocessingML fragment in the document settings:
<w:doNotEmbedSmartTags w:val="true"/>
The doNotEmbedSmartTags element's val attribute has a value of true specifying that smart tags must never be saved in the contents of this document. For example, if a run formerly looked like this:
<w:p>
<w:r>
<w:t xml:space="preserve">Hello</w:t>
</w:r>
<w:smartTag … >
<w:r>
<w:t>world</w:t>
</w:r>
</w:smartTag>
</w:p>
The presence of this element specifies that the SmartTag element must be removed, and applications might then choose to combine duplicated runs as desired. end example]
Parent Elements |
---|
settings (§17.15.1.78) |
This element's content model is defined by the common boolean property definition in §17.17.4.
© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.