Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>From the MSDN pages for <a href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.sdtcell.aspx" rel="nofollow">sdtcell</a> and <a href="http://msdn.microsoft.com/en-us/library/documentformat.openxml.wordprocessing.sdtblock.aspx" rel="nofollow">sdtblock</a>, <em>emphasis mine below</em> </p> <p>The main difference is what type of content <code>&lt;w:sdtContent&gt;</code> you will have within the <code>&lt;w:sdt&gt;</code></p> <p><strong>SDTCELL</strong></p> <p>This element specifies the presence of a structured document tag <strong>around a single table cell</strong>. The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.</p> <p>[Example: Consider a structured document tag with the friendly name company that must be located around a single table cell in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:</p> <pre><code>&lt;w:tr&gt; &lt;w:sdt&gt; &lt;w:sdtPr&gt; &lt;w:alias w:val="company"/&gt; &lt;/w:sdtPr&gt; &lt;w:sdtContent&gt; &lt;w:tc&gt; … &lt;/w:tc&gt; &lt;/w:sdtContent&gt; &lt;/w:sdt&gt; … &lt;/w:tr&gt; </code></pre> <p>The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to company, <strong>and the sdtContent element contains a single table cell (it is a cell-level structured document tag)</strong>. </p> <p><strong>SDTBLOCK</strong></p> <p>This element specifies the presence of a <strong>structured document tag around one or more block-level structures (paragraphs, tables, etc.)</strong>. The two child elements of this element shall be used to specify the properties and content of the current structured document tag via the sdtPr and sdtContent elements, respectively.</p> <p>[Example: Consider a structured document tag with the friendly name address that must be located around a single paragraph in a WordprocessingML document. This requirement would be specified as follows in the WordprocessingML:</p> <pre><code>&lt;w:body&gt; &lt;w:sdt&gt; &lt;w:sdtPr&gt; &lt;w:alias w:val="address"/&gt; &lt;/w:sdtPr&gt; &lt;w:sdtContent&gt; &lt;w:p&gt; … &lt;/w:p&gt; &lt;/w:sdtContent&gt; &lt;/w:sdt&gt; … &lt;/w:body&gt; </code></pre> <p>The sdt element specifies the structured document tag, the child sdtPr element contains the friendly name property set to address, <strong>and the sdtContent element contains a single paragraph (it is a block-level structured document tag)</strong>.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload