17.15.1.36 doNotEmbedSmartTags

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]

This element’s content model is defined by the common boolean property definition in 17.17.4.

Last updated on